@matech/thebigpos-sdk 2.22.4-rc1 → 2.23.1-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +344 -344
- package/dist/index.js +327 -326
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +366 -367
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
32
32
|
import axios from "axios";
|
|
33
33
|
export var ContentType;
|
|
34
34
|
(function (ContentType) {
|
|
35
|
+
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
35
36
|
ContentType["Json"] = "application/json";
|
|
36
37
|
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
37
38
|
ContentType["FormData"] = "multipart/form-data";
|
|
@@ -103,7 +104,7 @@ export class HttpClient {
|
|
|
103
104
|
}
|
|
104
105
|
/**
|
|
105
106
|
* @title The Big POS API
|
|
106
|
-
* @version v2.
|
|
107
|
+
* @version v2.23.0
|
|
107
108
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
108
109
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
109
110
|
*/
|
|
@@ -117,7 +118,7 @@ export class Api extends HttpClient {
|
|
|
117
118
|
* @name PostRoot
|
|
118
119
|
* @request POST:/
|
|
119
120
|
* @secure
|
|
120
|
-
* @response `200` `void`
|
|
121
|
+
* @response `200` `void` Success
|
|
121
122
|
*/
|
|
122
123
|
this.postRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "POST", secure: true }, params));
|
|
123
124
|
/**
|
|
@@ -127,7 +128,7 @@ export class Api extends HttpClient {
|
|
|
127
128
|
* @name GetRoot
|
|
128
129
|
* @request GET:/
|
|
129
130
|
* @secure
|
|
130
|
-
* @response `200` `string`
|
|
131
|
+
* @response `200` `string` Success
|
|
131
132
|
*/
|
|
132
133
|
this.getRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "GET", secure: true }, params));
|
|
133
134
|
this.api = {
|
|
@@ -139,7 +140,7 @@ export class Api extends HttpClient {
|
|
|
139
140
|
* @summary Get
|
|
140
141
|
* @request GET:/api/account
|
|
141
142
|
* @secure
|
|
142
|
-
* @response `200` `Account`
|
|
143
|
+
* @response `200` `Account` Success
|
|
143
144
|
* @response `404` `ProblemDetails` Not Found
|
|
144
145
|
*/
|
|
145
146
|
getMyAccount: (params = {}) => this.request(Object.assign({ path: `/api/account`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -151,9 +152,9 @@ export class Api extends HttpClient {
|
|
|
151
152
|
* @summary Replace
|
|
152
153
|
* @request PUT:/api/account
|
|
153
154
|
* @secure
|
|
154
|
-
* @response `200` `Account`
|
|
155
|
+
* @response `200` `Account` Success
|
|
155
156
|
* @response `404` `ProblemDetails` Not Found
|
|
156
|
-
* @response `422` `ProblemDetails`
|
|
157
|
+
* @response `422` `ProblemDetails` Client Error
|
|
157
158
|
*/
|
|
158
159
|
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
159
160
|
/**
|
|
@@ -164,7 +165,7 @@ export class Api extends HttpClient {
|
|
|
164
165
|
* @summary Get Site Configuration
|
|
165
166
|
* @request GET:/api/account/site-configurations
|
|
166
167
|
* @secure
|
|
167
|
-
* @response `200` `SiteConfiguration`
|
|
168
|
+
* @response `200` `SiteConfiguration` Success
|
|
168
169
|
*/
|
|
169
170
|
getSiteConfigurationByAccount: (params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
|
|
170
171
|
/**
|
|
@@ -175,8 +176,8 @@ export class Api extends HttpClient {
|
|
|
175
176
|
* @summary Update Site Configuration
|
|
176
177
|
* @request PUT:/api/account/site-configurations
|
|
177
178
|
* @secure
|
|
178
|
-
* @response `200` `SiteConfiguration`
|
|
179
|
-
* @response `422` `UnprocessableEntity`
|
|
179
|
+
* @response `200` `SiteConfiguration` Success
|
|
180
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
180
181
|
*/
|
|
181
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)),
|
|
182
183
|
/**
|
|
@@ -187,7 +188,7 @@ export class Api extends HttpClient {
|
|
|
187
188
|
* @summary Get All
|
|
188
189
|
* @request GET:/api/accounts
|
|
189
190
|
* @secure
|
|
190
|
-
* @response `200` `(Account)[]`
|
|
191
|
+
* @response `200` `(Account)[]` Success
|
|
191
192
|
*/
|
|
192
193
|
getAccounts: (params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "GET", secure: true, format: "json" }, params)),
|
|
193
194
|
/**
|
|
@@ -199,7 +200,7 @@ export class Api extends HttpClient {
|
|
|
199
200
|
* @request POST:/api/accounts
|
|
200
201
|
* @secure
|
|
201
202
|
* @response `201` `Account` Created
|
|
202
|
-
* @response `422` `ProblemDetails`
|
|
203
|
+
* @response `422` `ProblemDetails` Client Error
|
|
203
204
|
*/
|
|
204
205
|
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
205
206
|
/**
|
|
@@ -211,7 +212,7 @@ export class Api extends HttpClient {
|
|
|
211
212
|
* @request GET:/api/accounts/{id}
|
|
212
213
|
* @secure
|
|
213
214
|
* @response `201` `Account` Created
|
|
214
|
-
* @response `422` `ProblemDetails`
|
|
215
|
+
* @response `422` `ProblemDetails` Client Error
|
|
215
216
|
*/
|
|
216
217
|
getAccount: (id, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
217
218
|
/**
|
|
@@ -224,7 +225,7 @@ export class Api extends HttpClient {
|
|
|
224
225
|
* @secure
|
|
225
226
|
* @response `204` `Account` No Content
|
|
226
227
|
* @response `404` `ProblemDetails` Not Found
|
|
227
|
-
* @response `422` `ProblemDetails`
|
|
228
|
+
* @response `422` `ProblemDetails` Client Error
|
|
228
229
|
*/
|
|
229
230
|
deleteAccount: (id, query, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "DELETE", query: query, secure: true, format: "json" }, params)),
|
|
230
231
|
/**
|
|
@@ -235,9 +236,9 @@ export class Api extends HttpClient {
|
|
|
235
236
|
* @summary Update Loans
|
|
236
237
|
* @request PUT:/api/accounts/{id}/loan
|
|
237
238
|
* @secure
|
|
238
|
-
* @response `200` `void`
|
|
239
|
+
* @response `200` `void` Success
|
|
239
240
|
* @response `404` `ProblemDetails` Not Found
|
|
240
|
-
* @response `422` `UnprocessableEntity`
|
|
241
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
241
242
|
*/
|
|
242
243
|
updateLoansByAccount: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/loan`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
243
244
|
/**
|
|
@@ -248,7 +249,7 @@ export class Api extends HttpClient {
|
|
|
248
249
|
* @summary Get Loans
|
|
249
250
|
* @request GET:/api/accounts/{id}/loan
|
|
250
251
|
* @secure
|
|
251
|
-
* @response `200` `(Loan)[]`
|
|
252
|
+
* @response `200` `(Loan)[]` Success
|
|
252
253
|
* @response `404` `ProblemDetails` Not Found
|
|
253
254
|
*/
|
|
254
255
|
getLoansByAccount: (id, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/loan`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -260,8 +261,8 @@ export class Api extends HttpClient {
|
|
|
260
261
|
* @summary Generate Token From Refresh Token
|
|
261
262
|
* @request POST:/api/refresh-token
|
|
262
263
|
* @secure
|
|
263
|
-
* @response `200` `Token`
|
|
264
|
-
* @response `422` `UnprocessableEntity`
|
|
264
|
+
* @response `200` `Token` Success
|
|
265
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
265
266
|
*/
|
|
266
267
|
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
267
268
|
/**
|
|
@@ -272,8 +273,8 @@ export class Api extends HttpClient {
|
|
|
272
273
|
* @summary Get Token
|
|
273
274
|
* @request POST:/api/token
|
|
274
275
|
* @secure
|
|
275
|
-
* @response `200` `Token`
|
|
276
|
-
* @response `422` `UnprocessableEntity`
|
|
276
|
+
* @response `200` `Token` Success
|
|
277
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
277
278
|
*/
|
|
278
279
|
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
279
280
|
/**
|
|
@@ -284,8 +285,8 @@ export class Api extends HttpClient {
|
|
|
284
285
|
* @summary Get Token From Challenge Code
|
|
285
286
|
* @request POST:/api/token/code
|
|
286
287
|
* @secure
|
|
287
|
-
* @response `200` `Token`
|
|
288
|
-
* @response `422` `UnprocessableEntity`
|
|
288
|
+
* @response `200` `Token` Success
|
|
289
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
289
290
|
*/
|
|
290
291
|
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
291
292
|
/**
|
|
@@ -296,8 +297,8 @@ export class Api extends HttpClient {
|
|
|
296
297
|
* @summary Get System Token
|
|
297
298
|
* @request POST:/api/oauth2/token
|
|
298
299
|
* @secure
|
|
299
|
-
* @response `200` `Token`
|
|
300
|
-
* @response `422` `UnprocessableEntity`
|
|
300
|
+
* @response `200` `Token` Success
|
|
301
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
301
302
|
*/
|
|
302
303
|
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
303
304
|
/**
|
|
@@ -308,8 +309,8 @@ export class Api extends HttpClient {
|
|
|
308
309
|
* @summary Get SSO Guid Token
|
|
309
310
|
* @request POST:/api/token/sso
|
|
310
311
|
* @secure
|
|
311
|
-
* @response `200` `SSOToken`
|
|
312
|
-
* @response `422` `UnprocessableEntity`
|
|
312
|
+
* @response `200` `SSOToken` Success
|
|
313
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
313
314
|
*/
|
|
314
315
|
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
315
316
|
/**
|
|
@@ -320,7 +321,7 @@ export class Api extends HttpClient {
|
|
|
320
321
|
* @summary Get All
|
|
321
322
|
* @request GET:/api/branches
|
|
322
323
|
* @secure
|
|
323
|
-
* @response `200` `GetBranchPaginated`
|
|
324
|
+
* @response `200` `GetBranchPaginated` Success
|
|
324
325
|
*/
|
|
325
326
|
getBranches: (query, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
326
327
|
/**
|
|
@@ -331,8 +332,8 @@ export class Api extends HttpClient {
|
|
|
331
332
|
* @summary Create
|
|
332
333
|
* @request POST:/api/branches
|
|
333
334
|
* @secure
|
|
334
|
-
* @response `200` `GetBranch`
|
|
335
|
-
* @response `422` `UnprocessableEntity`
|
|
335
|
+
* @response `200` `GetBranch` Success
|
|
336
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
336
337
|
*/
|
|
337
338
|
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
338
339
|
/**
|
|
@@ -343,7 +344,7 @@ export class Api extends HttpClient {
|
|
|
343
344
|
* @summary Search
|
|
344
345
|
* @request POST:/api/branches/search
|
|
345
346
|
* @secure
|
|
346
|
-
* @response `200` `GetBranchPaginated`
|
|
347
|
+
* @response `200` `GetBranchPaginated` Success
|
|
347
348
|
*/
|
|
348
349
|
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
349
350
|
/**
|
|
@@ -354,7 +355,7 @@ export class Api extends HttpClient {
|
|
|
354
355
|
* @summary Get by ID
|
|
355
356
|
* @request GET:/api/branches/{branchId}
|
|
356
357
|
* @secure
|
|
357
|
-
* @response `200` `GetBranch`
|
|
358
|
+
* @response `200` `GetBranch` Success
|
|
358
359
|
*/
|
|
359
360
|
getBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
360
361
|
/**
|
|
@@ -365,8 +366,8 @@ export class Api extends HttpClient {
|
|
|
365
366
|
* @summary Replace
|
|
366
367
|
* @request PUT:/api/branches/{branchId}
|
|
367
368
|
* @secure
|
|
368
|
-
* @response `200` `GetBranch`
|
|
369
|
-
* @response `422` `UnprocessableEntity`
|
|
369
|
+
* @response `200` `GetBranch` Success
|
|
370
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
370
371
|
*/
|
|
371
372
|
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
372
373
|
/**
|
|
@@ -400,8 +401,8 @@ export class Api extends HttpClient {
|
|
|
400
401
|
* @summary Create Branch Site Configuration
|
|
401
402
|
* @request POST:/api/branches/{branchId}/site-configurations
|
|
402
403
|
* @secure
|
|
403
|
-
* @response `200` `SiteConfiguration`
|
|
404
|
-
* @response `422` `UnprocessableEntity`
|
|
404
|
+
* @response `200` `SiteConfiguration` Success
|
|
405
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
405
406
|
*/
|
|
406
407
|
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
407
408
|
/**
|
|
@@ -412,7 +413,7 @@ export class Api extends HttpClient {
|
|
|
412
413
|
* @summary Get Branch Site Configuration
|
|
413
414
|
* @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
|
|
414
415
|
* @secure
|
|
415
|
-
* @response `200` `SiteConfigurationWithInherited`
|
|
416
|
+
* @response `200` `SiteConfigurationWithInherited` Success
|
|
416
417
|
*/
|
|
417
418
|
getBranchSiteConfiguration: (branchId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
418
419
|
/**
|
|
@@ -423,8 +424,8 @@ export class Api extends HttpClient {
|
|
|
423
424
|
* @summary Replace Branch Site Configuration
|
|
424
425
|
* @request PUT:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
|
|
425
426
|
* @secure
|
|
426
|
-
* @response `200` `SiteConfiguration`
|
|
427
|
-
* @response `422` `UnprocessableEntity`
|
|
427
|
+
* @response `200` `SiteConfiguration` Success
|
|
428
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
428
429
|
*/
|
|
429
430
|
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
430
431
|
/**
|
|
@@ -435,7 +436,7 @@ export class Api extends HttpClient {
|
|
|
435
436
|
* @summary Get Branch Loan Officers
|
|
436
437
|
* @request GET:/api/branches/{branchId}/loan-officers
|
|
437
438
|
* @secure
|
|
438
|
-
* @response `200` `LoanOfficerPublic`
|
|
439
|
+
* @response `200` `LoanOfficerPublic` Success
|
|
439
440
|
*/
|
|
440
441
|
getLoanOfficersByBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
|
|
441
442
|
/**
|
|
@@ -446,7 +447,7 @@ export class Api extends HttpClient {
|
|
|
446
447
|
* @summary Get All
|
|
447
448
|
* @request GET:/api/business-rules
|
|
448
449
|
* @secure
|
|
449
|
-
* @response `200` `(BusinessRule)[]`
|
|
450
|
+
* @response `200` `(BusinessRule)[]` Success
|
|
450
451
|
*/
|
|
451
452
|
getBusinessRules: (query, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
452
453
|
/**
|
|
@@ -457,8 +458,8 @@ export class Api extends HttpClient {
|
|
|
457
458
|
* @summary Create
|
|
458
459
|
* @request POST:/api/business-rules
|
|
459
460
|
* @secure
|
|
460
|
-
* @response `200` `BusinessRule`
|
|
461
|
-
* @response `422` `UnprocessableEntity`
|
|
461
|
+
* @response `200` `BusinessRule` Success
|
|
462
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
462
463
|
*/
|
|
463
464
|
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
464
465
|
/**
|
|
@@ -469,7 +470,7 @@ export class Api extends HttpClient {
|
|
|
469
470
|
* @summary Get by ID
|
|
470
471
|
* @request GET:/api/business-rules/{id}
|
|
471
472
|
* @secure
|
|
472
|
-
* @response `200` `BusinessRule`
|
|
473
|
+
* @response `200` `BusinessRule` Success
|
|
473
474
|
*/
|
|
474
475
|
getBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
475
476
|
/**
|
|
@@ -480,8 +481,8 @@ export class Api extends HttpClient {
|
|
|
480
481
|
* @summary Replace
|
|
481
482
|
* @request PUT:/api/business-rules/{id}
|
|
482
483
|
* @secure
|
|
483
|
-
* @response `200` `BusinessRule`
|
|
484
|
-
* @response `422` `UnprocessableEntity`
|
|
484
|
+
* @response `200` `BusinessRule` Success
|
|
485
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
485
486
|
*/
|
|
486
487
|
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
487
488
|
/**
|
|
@@ -503,7 +504,7 @@ export class Api extends HttpClient {
|
|
|
503
504
|
* @summary Restore
|
|
504
505
|
* @request POST:/api/business-rules/{id}/restore
|
|
505
506
|
* @secure
|
|
506
|
-
* @response `200` `BusinessRule`
|
|
507
|
+
* @response `200` `BusinessRule` Success
|
|
507
508
|
*/
|
|
508
509
|
restoreBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
|
|
509
510
|
/**
|
|
@@ -514,7 +515,7 @@ export class Api extends HttpClient {
|
|
|
514
515
|
* @summary Get All
|
|
515
516
|
* @request GET:/api/corporates
|
|
516
517
|
* @secure
|
|
517
|
-
* @response `200` `CorporatePaginated`
|
|
518
|
+
* @response `200` `CorporatePaginated` Success
|
|
518
519
|
*/
|
|
519
520
|
getCorporates: (query, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
520
521
|
/**
|
|
@@ -525,8 +526,8 @@ export class Api extends HttpClient {
|
|
|
525
526
|
* @summary Create
|
|
526
527
|
* @request POST:/api/corporates
|
|
527
528
|
* @secure
|
|
528
|
-
* @response `200` `Corporate`
|
|
529
|
-
* @response `422` `UnprocessableEntity`
|
|
529
|
+
* @response `200` `Corporate` Success
|
|
530
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
530
531
|
*/
|
|
531
532
|
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
532
533
|
/**
|
|
@@ -537,7 +538,7 @@ export class Api extends HttpClient {
|
|
|
537
538
|
* @summary Search
|
|
538
539
|
* @request POST:/api/corporates/search
|
|
539
540
|
* @secure
|
|
540
|
-
* @response `200` `CorporatePaginated`
|
|
541
|
+
* @response `200` `CorporatePaginated` Success
|
|
541
542
|
*/
|
|
542
543
|
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)),
|
|
543
544
|
/**
|
|
@@ -548,7 +549,7 @@ export class Api extends HttpClient {
|
|
|
548
549
|
* @summary Get by ID
|
|
549
550
|
* @request GET:/api/corporates/{id}
|
|
550
551
|
* @secure
|
|
551
|
-
* @response `200` `Corporate`
|
|
552
|
+
* @response `200` `Corporate` Success
|
|
552
553
|
*/
|
|
553
554
|
getCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
554
555
|
/**
|
|
@@ -559,8 +560,8 @@ export class Api extends HttpClient {
|
|
|
559
560
|
* @summary Replace
|
|
560
561
|
* @request PUT:/api/corporates/{id}
|
|
561
562
|
* @secure
|
|
562
|
-
* @response `200` `Corporate`
|
|
563
|
-
* @response `422` `UnprocessableEntity`
|
|
563
|
+
* @response `200` `Corporate` Success
|
|
564
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
564
565
|
*/
|
|
565
566
|
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
566
567
|
/**
|
|
@@ -593,8 +594,8 @@ export class Api extends HttpClient {
|
|
|
593
594
|
* @summary Create Site Configuration
|
|
594
595
|
* @request POST:/api/corporates/{corporateId}/site-configurations
|
|
595
596
|
* @secure
|
|
596
|
-
* @response `200` `SiteConfiguration`
|
|
597
|
-
* @response `422` `UnprocessableEntity`
|
|
597
|
+
* @response `200` `SiteConfiguration` Success
|
|
598
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
598
599
|
*/
|
|
599
600
|
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)),
|
|
600
601
|
/**
|
|
@@ -605,7 +606,7 @@ export class Api extends HttpClient {
|
|
|
605
606
|
* @summary Get Site Configuration
|
|
606
607
|
* @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
|
|
607
608
|
* @secure
|
|
608
|
-
* @response `200` `SiteConfigurationWithInherited`
|
|
609
|
+
* @response `200` `SiteConfigurationWithInherited` Success
|
|
609
610
|
*/
|
|
610
611
|
getCorporateSiteConfiguration: (corporateId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
611
612
|
/**
|
|
@@ -616,8 +617,8 @@ export class Api extends HttpClient {
|
|
|
616
617
|
* @summary Replace Site Configuration
|
|
617
618
|
* @request PUT:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
|
|
618
619
|
* @secure
|
|
619
|
-
* @response `200` `SiteConfiguration`
|
|
620
|
-
* @response `422` `UnprocessableEntity`
|
|
620
|
+
* @response `200` `SiteConfiguration` Success
|
|
621
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
621
622
|
*/
|
|
622
623
|
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)),
|
|
623
624
|
/**
|
|
@@ -628,7 +629,7 @@ export class Api extends HttpClient {
|
|
|
628
629
|
* @summary Get Branches
|
|
629
630
|
* @request GET:/api/corporates/{id}/branches
|
|
630
631
|
* @secure
|
|
631
|
-
* @response `200` `(BranchReduced)[]`
|
|
632
|
+
* @response `200` `(BranchReduced)[]` Success
|
|
632
633
|
*/
|
|
633
634
|
getBranchesByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/branches`, method: "GET", secure: true, format: "json" }, params)),
|
|
634
635
|
/**
|
|
@@ -639,7 +640,7 @@ export class Api extends HttpClient {
|
|
|
639
640
|
* @summary Get Loan Officers
|
|
640
641
|
* @request GET:/api/corporates/{id}/loan-officers
|
|
641
642
|
* @secure
|
|
642
|
-
* @response `200` `LoanOfficerPublic`
|
|
643
|
+
* @response `200` `LoanOfficerPublic` Success
|
|
643
644
|
*/
|
|
644
645
|
getLoanOfficersByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
|
|
645
646
|
/**
|
|
@@ -650,7 +651,7 @@ export class Api extends HttpClient {
|
|
|
650
651
|
* @summary Get All
|
|
651
652
|
* @request GET:/api/devices
|
|
652
653
|
* @secure
|
|
653
|
-
* @response `200` `DevicePaginated`
|
|
654
|
+
* @response `200` `DevicePaginated` Success
|
|
654
655
|
*/
|
|
655
656
|
getDevices: (query, params = {}) => this.request(Object.assign({ path: `/api/devices`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
656
657
|
/**
|
|
@@ -661,7 +662,7 @@ export class Api extends HttpClient {
|
|
|
661
662
|
* @summary Get by ID
|
|
662
663
|
* @request GET:/api/devices/{id}
|
|
663
664
|
* @secure
|
|
664
|
-
* @response `200` `Device`
|
|
665
|
+
* @response `200` `Device` Success
|
|
665
666
|
*/
|
|
666
667
|
getDevice: (id, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
667
668
|
/**
|
|
@@ -672,7 +673,7 @@ export class Api extends HttpClient {
|
|
|
672
673
|
* @summary Update
|
|
673
674
|
* @request PUT:/api/devices/{id}
|
|
674
675
|
* @secure
|
|
675
|
-
* @response `200` `Device`
|
|
676
|
+
* @response `200` `Device` Success
|
|
676
677
|
*/
|
|
677
678
|
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
678
679
|
/**
|
|
@@ -683,7 +684,7 @@ export class Api extends HttpClient {
|
|
|
683
684
|
* @summary Get by Serial Number
|
|
684
685
|
* @request GET:/api/devices/{sn}/profile
|
|
685
686
|
* @secure
|
|
686
|
-
* @response `200` `DeviceMDM`
|
|
687
|
+
* @response `200` `DeviceMDM` Success
|
|
687
688
|
*/
|
|
688
689
|
getDeviceBySerialNumber: (sn, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/profile`, method: "GET", secure: true, format: "json" }, params)),
|
|
689
690
|
/**
|
|
@@ -694,7 +695,7 @@ export class Api extends HttpClient {
|
|
|
694
695
|
* @summary Create Action by Serial Number
|
|
695
696
|
* @request POST:/api/devices/{sn}/actions/{actionName}
|
|
696
697
|
* @secure
|
|
697
|
-
* @response `200` `Action`
|
|
698
|
+
* @response `200` `Action` Success
|
|
698
699
|
*/
|
|
699
700
|
createDeviceActionBySerialNumber: (sn, actionName, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/actions/${actionName}`, method: "POST", secure: true, format: "json" }, params)),
|
|
700
701
|
/**
|
|
@@ -705,7 +706,7 @@ export class Api extends HttpClient {
|
|
|
705
706
|
* @summary Get All
|
|
706
707
|
* @request GET:/api/document-buckets
|
|
707
708
|
* @secure
|
|
708
|
-
* @response `200` `(string)[]`
|
|
709
|
+
* @response `200` `(string)[]` Success
|
|
709
710
|
*/
|
|
710
711
|
getDocumentBuckets: (query, params = {}) => this.request(Object.assign({ path: `/api/document-buckets`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
711
712
|
/**
|
|
@@ -716,7 +717,7 @@ export class Api extends HttpClient {
|
|
|
716
717
|
* @summary Get All
|
|
717
718
|
* @request GET:/api/document-templates
|
|
718
719
|
* @secure
|
|
719
|
-
* @response `200` `(DocumentTemplateBase)[]`
|
|
720
|
+
* @response `200` `(DocumentTemplateBase)[]` Success
|
|
720
721
|
*/
|
|
721
722
|
getDocumentTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
722
723
|
/**
|
|
@@ -729,7 +730,7 @@ export class Api extends HttpClient {
|
|
|
729
730
|
* @secure
|
|
730
731
|
* @response `201` `DocumentTemplateBase` Created
|
|
731
732
|
* @response `404` `ProblemDetails` Not Found
|
|
732
|
-
* @response `422` `UnprocessableEntity`
|
|
733
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
733
734
|
*/
|
|
734
735
|
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
735
736
|
/**
|
|
@@ -740,7 +741,7 @@ export class Api extends HttpClient {
|
|
|
740
741
|
* @summary Get Custom
|
|
741
742
|
* @request GET:/api/document-templates/{type}
|
|
742
743
|
* @secure
|
|
743
|
-
* @response `200` `(DocumentTemplateBase)[]`
|
|
744
|
+
* @response `200` `(DocumentTemplateBase)[]` Success
|
|
744
745
|
*/
|
|
745
746
|
getCustomDocumentTemplates: (type, query, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${type}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
746
747
|
/**
|
|
@@ -751,7 +752,7 @@ export class Api extends HttpClient {
|
|
|
751
752
|
* @summary Get By ID
|
|
752
753
|
* @request GET:/api/document-templates/{id}
|
|
753
754
|
* @secure
|
|
754
|
-
* @response `200` `DocumentTemplate`
|
|
755
|
+
* @response `200` `DocumentTemplate` Success
|
|
755
756
|
* @response `404` `ProblemDetails` Not Found
|
|
756
757
|
*/
|
|
757
758
|
getDocumentTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -763,10 +764,10 @@ export class Api extends HttpClient {
|
|
|
763
764
|
* @summary Replace
|
|
764
765
|
* @request PUT:/api/document-templates/{id}
|
|
765
766
|
* @secure
|
|
766
|
-
* @response `200` `DocumentTemplateBase`
|
|
767
|
+
* @response `200` `DocumentTemplateBase` Success
|
|
767
768
|
* @response `401` `ProblemDetails` Unauthorized
|
|
768
769
|
* @response `404` `ProblemDetails` Not Found
|
|
769
|
-
* @response `422` `UnprocessableEntity`
|
|
770
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
770
771
|
*/
|
|
771
772
|
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)),
|
|
772
773
|
/**
|
|
@@ -803,7 +804,7 @@ export class Api extends HttpClient {
|
|
|
803
804
|
* @summary Get All
|
|
804
805
|
* @request GET:/api/document-templates/{documentId}/versions
|
|
805
806
|
* @secure
|
|
806
|
-
* @response `200` `(DocumentTemplateVersion)[]`
|
|
807
|
+
* @response `200` `(DocumentTemplateVersion)[]` Success
|
|
807
808
|
*/
|
|
808
809
|
getDocumentTemplateVersions: (documentId, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "GET", secure: true, format: "json" }, params)),
|
|
809
810
|
/**
|
|
@@ -814,7 +815,7 @@ export class Api extends HttpClient {
|
|
|
814
815
|
* @summary Create
|
|
815
816
|
* @request POST:/api/document-templates/{documentId}/versions
|
|
816
817
|
* @secure
|
|
817
|
-
* @response `200` `DocumentTemplateVersion`
|
|
818
|
+
* @response `200` `DocumentTemplateVersion` Success
|
|
818
819
|
*/
|
|
819
820
|
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)),
|
|
820
821
|
/**
|
|
@@ -825,7 +826,7 @@ export class Api extends HttpClient {
|
|
|
825
826
|
* @summary Get by ID
|
|
826
827
|
* @request GET:/api/document-templates/{documentId}/versions/{id}
|
|
827
828
|
* @secure
|
|
828
|
-
* @response `200` `DocumentTemplateVersion`
|
|
829
|
+
* @response `200` `DocumentTemplateVersion` Success
|
|
829
830
|
*/
|
|
830
831
|
getDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
831
832
|
/**
|
|
@@ -836,7 +837,7 @@ export class Api extends HttpClient {
|
|
|
836
837
|
* @summary Replace
|
|
837
838
|
* @request PUT:/api/document-templates/{documentId}/versions/{id}
|
|
838
839
|
* @secure
|
|
839
|
-
* @response `200` `DocumentTemplateVersion`
|
|
840
|
+
* @response `200` `DocumentTemplateVersion` Success
|
|
840
841
|
*/
|
|
841
842
|
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)),
|
|
842
843
|
/**
|
|
@@ -847,7 +848,7 @@ export class Api extends HttpClient {
|
|
|
847
848
|
* @summary Delete
|
|
848
849
|
* @request DELETE:/api/document-templates/{documentId}/versions/{id}
|
|
849
850
|
* @secure
|
|
850
|
-
* @response `200` `DocumentTemplateVersion`
|
|
851
|
+
* @response `200` `DocumentTemplateVersion` Success
|
|
851
852
|
*/
|
|
852
853
|
deleteDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
853
854
|
/**
|
|
@@ -858,7 +859,7 @@ export class Api extends HttpClient {
|
|
|
858
859
|
* @summary Get All
|
|
859
860
|
* @request GET:/api/files
|
|
860
861
|
* @secure
|
|
861
|
-
* @response `200` `FilePaginated`
|
|
862
|
+
* @response `200` `FilePaginated` Success
|
|
862
863
|
*/
|
|
863
864
|
getAllFiles: (query, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
864
865
|
/**
|
|
@@ -870,7 +871,7 @@ export class Api extends HttpClient {
|
|
|
870
871
|
* @request POST:/api/files
|
|
871
872
|
* @secure
|
|
872
873
|
* @response `201` `File` Created
|
|
873
|
-
* @response `422` `UnprocessableEntity`
|
|
874
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
874
875
|
*/
|
|
875
876
|
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
876
877
|
/**
|
|
@@ -892,8 +893,8 @@ export class Api extends HttpClient {
|
|
|
892
893
|
* @summary Replace
|
|
893
894
|
* @request PUT:/api/files/{id}
|
|
894
895
|
* @secure
|
|
895
|
-
* @response `200` `string`
|
|
896
|
-
* @response `422` `UnprocessableEntity`
|
|
896
|
+
* @response `200` `string` Success
|
|
897
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
897
898
|
*/
|
|
898
899
|
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
899
900
|
/**
|
|
@@ -915,7 +916,7 @@ export class Api extends HttpClient {
|
|
|
915
916
|
* @summary Search
|
|
916
917
|
* @request POST:/api/files/search
|
|
917
918
|
* @secure
|
|
918
|
-
* @response `200` `FilePaginated`
|
|
919
|
+
* @response `200` `FilePaginated` Success
|
|
919
920
|
*/
|
|
920
921
|
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)),
|
|
921
922
|
/**
|
|
@@ -926,7 +927,7 @@ export class Api extends HttpClient {
|
|
|
926
927
|
* @summary Get All
|
|
927
928
|
* @request GET:/api/forms
|
|
928
929
|
* @secure
|
|
929
|
-
* @response `200` `(AdminAccessGetForms)[]`
|
|
930
|
+
* @response `200` `(AdminAccessGetForms)[]` Success
|
|
930
931
|
*/
|
|
931
932
|
getForms: (query, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
932
933
|
/**
|
|
@@ -938,7 +939,7 @@ export class Api extends HttpClient {
|
|
|
938
939
|
* @request POST:/api/forms
|
|
939
940
|
* @secure
|
|
940
941
|
* @response `201` `Form` Created
|
|
941
|
-
* @response `422` `UnprocessableEntity`
|
|
942
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
942
943
|
*/
|
|
943
944
|
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
944
945
|
/**
|
|
@@ -949,7 +950,7 @@ export class Api extends HttpClient {
|
|
|
949
950
|
* @summary Get By ID
|
|
950
951
|
* @request GET:/api/forms/{id}
|
|
951
952
|
* @secure
|
|
952
|
-
* @response `200` `Form`
|
|
953
|
+
* @response `200` `Form` Success
|
|
953
954
|
*/
|
|
954
955
|
getForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
955
956
|
/**
|
|
@@ -960,8 +961,8 @@ export class Api extends HttpClient {
|
|
|
960
961
|
* @summary Replace
|
|
961
962
|
* @request PUT:/api/forms/{id}
|
|
962
963
|
* @secure
|
|
963
|
-
* @response `200` `Form`
|
|
964
|
-
* @response `422` `UnprocessableEntity`
|
|
964
|
+
* @response `200` `Form` Success
|
|
965
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
965
966
|
*/
|
|
966
967
|
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
967
968
|
/**
|
|
@@ -983,7 +984,7 @@ export class Api extends HttpClient {
|
|
|
983
984
|
* @summary Restore
|
|
984
985
|
* @request POST:/api/forms/{id}/restore
|
|
985
986
|
* @secure
|
|
986
|
-
* @response `200` `Form`
|
|
987
|
+
* @response `200` `Form` Success
|
|
987
988
|
*/
|
|
988
989
|
restoreForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
|
|
989
990
|
/**
|
|
@@ -994,7 +995,7 @@ export class Api extends HttpClient {
|
|
|
994
995
|
* @summary Add
|
|
995
996
|
* @request POST:/api/form-submissions/{formSubmissionId}/files
|
|
996
997
|
* @secure
|
|
997
|
-
* @response `200` `FormSubmissionFile`
|
|
998
|
+
* @response `200` `FormSubmissionFile` Success
|
|
998
999
|
*/
|
|
999
1000
|
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)),
|
|
1000
1001
|
/**
|
|
@@ -1016,7 +1017,7 @@ export class Api extends HttpClient {
|
|
|
1016
1017
|
* @summary Download by Id
|
|
1017
1018
|
* @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
|
|
1018
1019
|
* @secure
|
|
1019
|
-
* @response `200` `FileWithBytes`
|
|
1020
|
+
* @response `200` `FileWithBytes` Success
|
|
1020
1021
|
*/
|
|
1021
1022
|
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)),
|
|
1022
1023
|
/**
|
|
@@ -1027,7 +1028,7 @@ export class Api extends HttpClient {
|
|
|
1027
1028
|
* @summary Get All
|
|
1028
1029
|
* @request GET:/api/form-submissions
|
|
1029
1030
|
* @secure
|
|
1030
|
-
* @response `200` `FormSubmissionPaginated`
|
|
1031
|
+
* @response `200` `FormSubmissionPaginated` Success
|
|
1031
1032
|
*/
|
|
1032
1033
|
getFormSubmissions: (query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1033
1034
|
/**
|
|
@@ -1049,7 +1050,7 @@ export class Api extends HttpClient {
|
|
|
1049
1050
|
* @summary Get by ID
|
|
1050
1051
|
* @request GET:/api/form-submissions/{id}
|
|
1051
1052
|
* @secure
|
|
1052
|
-
* @response `200` `FormSubmission`
|
|
1053
|
+
* @response `200` `FormSubmission` Success
|
|
1053
1054
|
*/
|
|
1054
1055
|
getFormSubmission: (id, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1055
1056
|
/**
|
|
@@ -1060,7 +1061,7 @@ export class Api extends HttpClient {
|
|
|
1060
1061
|
* @summary Replace
|
|
1061
1062
|
* @request PUT:/api/form-submissions/{id}
|
|
1062
1063
|
* @secure
|
|
1063
|
-
* @response `200` `FormSubmission`
|
|
1064
|
+
* @response `200` `FormSubmission` Success
|
|
1064
1065
|
*/
|
|
1065
1066
|
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)),
|
|
1066
1067
|
/**
|
|
@@ -1082,7 +1083,7 @@ export class Api extends HttpClient {
|
|
|
1082
1083
|
* @summary Search
|
|
1083
1084
|
* @request POST:/api/form-submissions/search
|
|
1084
1085
|
* @secure
|
|
1085
|
-
* @response `200` `FormSubmissionPaginated`
|
|
1086
|
+
* @response `200` `FormSubmissionPaginated` Success
|
|
1086
1087
|
*/
|
|
1087
1088
|
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)),
|
|
1088
1089
|
/**
|
|
@@ -1093,7 +1094,7 @@ export class Api extends HttpClient {
|
|
|
1093
1094
|
* @summary Get All
|
|
1094
1095
|
* @request GET:/api/forms/{formId}/versions
|
|
1095
1096
|
* @secure
|
|
1096
|
-
* @response `200` `(FormVersion)[]`
|
|
1097
|
+
* @response `200` `(FormVersion)[]` Success
|
|
1097
1098
|
*/
|
|
1098
1099
|
getFormVersions: (formId, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "GET", secure: true, format: "json" }, params)),
|
|
1099
1100
|
/**
|
|
@@ -1104,7 +1105,7 @@ export class Api extends HttpClient {
|
|
|
1104
1105
|
* @summary Create
|
|
1105
1106
|
* @request POST:/api/forms/{formId}/versions
|
|
1106
1107
|
* @secure
|
|
1107
|
-
* @response `200` `FormVersion`
|
|
1108
|
+
* @response `200` `FormVersion` Success
|
|
1108
1109
|
*/
|
|
1109
1110
|
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)),
|
|
1110
1111
|
/**
|
|
@@ -1115,7 +1116,7 @@ export class Api extends HttpClient {
|
|
|
1115
1116
|
* @summary Get by ID
|
|
1116
1117
|
* @request GET:/api/forms/{formId}/versions/{id}
|
|
1117
1118
|
* @secure
|
|
1118
|
-
* @response `200` `FormVersion`
|
|
1119
|
+
* @response `200` `FormVersion` Success
|
|
1119
1120
|
*/
|
|
1120
1121
|
getFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1121
1122
|
/**
|
|
@@ -1126,7 +1127,7 @@ export class Api extends HttpClient {
|
|
|
1126
1127
|
* @summary Replace
|
|
1127
1128
|
* @request PUT:/api/forms/{formId}/versions/{id}
|
|
1128
1129
|
* @secure
|
|
1129
|
-
* @response `200` `FormVersion`
|
|
1130
|
+
* @response `200` `FormVersion` Success
|
|
1130
1131
|
*/
|
|
1131
1132
|
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)),
|
|
1132
1133
|
/**
|
|
@@ -1137,7 +1138,7 @@ export class Api extends HttpClient {
|
|
|
1137
1138
|
* @summary Delete
|
|
1138
1139
|
* @request DELETE:/api/forms/{formId}/versions/{id}
|
|
1139
1140
|
* @secure
|
|
1140
|
-
* @response `200` `FormVersion`
|
|
1141
|
+
* @response `200` `FormVersion` Success
|
|
1141
1142
|
*/
|
|
1142
1143
|
deleteFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
1143
1144
|
/**
|
|
@@ -1148,7 +1149,7 @@ export class Api extends HttpClient {
|
|
|
1148
1149
|
* @summary Get By ID
|
|
1149
1150
|
* @request GET:/api/los/loan/application/{loanID}
|
|
1150
1151
|
* @secure
|
|
1151
|
-
* @response `200` `Record<string,any>`
|
|
1152
|
+
* @response `200` `Record<string,any>` Success
|
|
1152
1153
|
*/
|
|
1153
1154
|
getLoanData: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1154
1155
|
/**
|
|
@@ -1159,10 +1160,10 @@ export class Api extends HttpClient {
|
|
|
1159
1160
|
* @summary Update Loan Consent
|
|
1160
1161
|
* @request PATCH:/api/los/loan/application/{loanID}
|
|
1161
1162
|
* @secure
|
|
1162
|
-
* @response `200` `string`
|
|
1163
|
-
* @response `422` `UnprocessableEntity`
|
|
1163
|
+
* @response `200` `string` Success
|
|
1164
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1164
1165
|
*/
|
|
1165
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.
|
|
1166
|
+
updateLoanConsent: (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)),
|
|
1166
1167
|
/**
|
|
1167
1168
|
* No description
|
|
1168
1169
|
*
|
|
@@ -1171,7 +1172,7 @@ export class Api extends HttpClient {
|
|
|
1171
1172
|
* @summary Get Report
|
|
1172
1173
|
* @request POST:/api/los/loan/reports
|
|
1173
1174
|
* @secure
|
|
1174
|
-
* @response `200` `GetReport`
|
|
1175
|
+
* @response `200` `GetReport` Success
|
|
1175
1176
|
*/
|
|
1176
1177
|
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1177
1178
|
/**
|
|
@@ -1182,9 +1183,9 @@ export class Api extends HttpClient {
|
|
|
1182
1183
|
* @summary Create Loan
|
|
1183
1184
|
* @request POST:/api/los/loan/application
|
|
1184
1185
|
* @secure
|
|
1185
|
-
* @response `200` `string`
|
|
1186
|
-
* @response `422` `UnprocessableEntity`
|
|
1187
|
-
* @response `423` `UnprocessableEntity`
|
|
1186
|
+
* @response `200` `string` Success
|
|
1187
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1188
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
1188
1189
|
*/
|
|
1189
1190
|
createLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1190
1191
|
/**
|
|
@@ -1195,7 +1196,7 @@ export class Api extends HttpClient {
|
|
|
1195
1196
|
* @summary Get Documents
|
|
1196
1197
|
* @request GET:/api/los/loan/tasks/documents/{loanID}
|
|
1197
1198
|
* @secure
|
|
1198
|
-
* @response `200` `(DocumentData)[]`
|
|
1199
|
+
* @response `200` `(DocumentData)[]` Success
|
|
1199
1200
|
*/
|
|
1200
1201
|
getTaskDocumentsByLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/tasks/documents/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1201
1202
|
/**
|
|
@@ -1206,7 +1207,7 @@ export class Api extends HttpClient {
|
|
|
1206
1207
|
* @summary Get Document Content
|
|
1207
1208
|
* @request GET:/api/los/loan/{loanID}/document/{documentId}/content
|
|
1208
1209
|
* @secure
|
|
1209
|
-
* @response `200` `void`
|
|
1210
|
+
* @response `200` `void` Success
|
|
1210
1211
|
*/
|
|
1211
1212
|
getLoanDocumentContent: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/document/${documentId}/content`, method: "GET", query: query, secure: true }, params)),
|
|
1212
1213
|
/**
|
|
@@ -1228,7 +1229,7 @@ export class Api extends HttpClient {
|
|
|
1228
1229
|
* @summary Get Preliminary Conditions
|
|
1229
1230
|
* @request GET:/api/los/loan/{loanID}/conditions/preliminary
|
|
1230
1231
|
* @secure
|
|
1231
|
-
* @response `200` `(PreliminaryCondition)[]`
|
|
1232
|
+
* @response `200` `(PreliminaryCondition)[]` Success
|
|
1232
1233
|
*/
|
|
1233
1234
|
getPreliminaryConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/preliminary`, method: "GET", secure: true, format: "json" }, params)),
|
|
1234
1235
|
/**
|
|
@@ -1239,7 +1240,7 @@ export class Api extends HttpClient {
|
|
|
1239
1240
|
* @summary Get Underwriting Conditions
|
|
1240
1241
|
* @request GET:/api/los/loan/{loanID}/conditions/underwriting
|
|
1241
1242
|
* @secure
|
|
1242
|
-
* @response `200` `(UnderwritingCondition)[]`
|
|
1243
|
+
* @response `200` `(UnderwritingCondition)[]` Success
|
|
1243
1244
|
*/
|
|
1244
1245
|
getUnderwritingConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/underwriting`, method: "GET", secure: true, format: "json" }, params)),
|
|
1245
1246
|
/**
|
|
@@ -1250,7 +1251,7 @@ export class Api extends HttpClient {
|
|
|
1250
1251
|
* @summary Get Embedded Signing Link
|
|
1251
1252
|
* @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
|
|
1252
1253
|
* @secure
|
|
1253
|
-
* @response `200` `string`
|
|
1254
|
+
* @response `200` `string` Success
|
|
1254
1255
|
*/
|
|
1255
1256
|
getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
|
|
1256
1257
|
/**
|
|
@@ -1262,7 +1263,7 @@ export class Api extends HttpClient {
|
|
|
1262
1263
|
* @request POST:/api/los/loan/generatedocument
|
|
1263
1264
|
* @deprecated
|
|
1264
1265
|
* @secure
|
|
1265
|
-
* @response `200` `DocumentDataRequest`
|
|
1266
|
+
* @response `200` `DocumentDataRequest` Success
|
|
1266
1267
|
*/
|
|
1267
1268
|
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1268
1269
|
/**
|
|
@@ -1273,7 +1274,7 @@ export class Api extends HttpClient {
|
|
|
1273
1274
|
* @summary Add
|
|
1274
1275
|
* @request POST:/api/listings/{listingId}/files
|
|
1275
1276
|
* @secure
|
|
1276
|
-
* @response `200` `ListingFile`
|
|
1277
|
+
* @response `200` `ListingFile` Success
|
|
1277
1278
|
*/
|
|
1278
1279
|
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)),
|
|
1279
1280
|
/**
|
|
@@ -1284,9 +1285,9 @@ export class Api extends HttpClient {
|
|
|
1284
1285
|
* @summary Update
|
|
1285
1286
|
* @request PATCH:/api/listings/{listingId}/files
|
|
1286
1287
|
* @secure
|
|
1287
|
-
* @response `200` `ListingFile`
|
|
1288
|
+
* @response `200` `ListingFile` Success
|
|
1288
1289
|
*/
|
|
1289
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.
|
|
1290
|
+
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)),
|
|
1290
1291
|
/**
|
|
1291
1292
|
* No description
|
|
1292
1293
|
*
|
|
@@ -1306,7 +1307,7 @@ export class Api extends HttpClient {
|
|
|
1306
1307
|
* @summary Add
|
|
1307
1308
|
* @request POST:/api/listings/{listingId}/photos
|
|
1308
1309
|
* @secure
|
|
1309
|
-
* @response `200` `ListingPhoto`
|
|
1310
|
+
* @response `200` `ListingPhoto` Success
|
|
1310
1311
|
*/
|
|
1311
1312
|
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)),
|
|
1312
1313
|
/**
|
|
@@ -1317,9 +1318,9 @@ export class Api extends HttpClient {
|
|
|
1317
1318
|
* @summary Update
|
|
1318
1319
|
* @request PATCH:/api/listings/{listingId}/photos
|
|
1319
1320
|
* @secure
|
|
1320
|
-
* @response `200` `(ListingPhoto)[]`
|
|
1321
|
+
* @response `200` `(ListingPhoto)[]` Success
|
|
1321
1322
|
*/
|
|
1322
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.
|
|
1323
|
+
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)),
|
|
1323
1324
|
/**
|
|
1324
1325
|
* No description
|
|
1325
1326
|
*
|
|
@@ -1339,7 +1340,7 @@ export class Api extends HttpClient {
|
|
|
1339
1340
|
* @summary Get All
|
|
1340
1341
|
* @request GET:/api/listings
|
|
1341
1342
|
* @secure
|
|
1342
|
-
* @response `200` `ListingPaginated`
|
|
1343
|
+
* @response `200` `ListingPaginated` Success
|
|
1343
1344
|
*/
|
|
1344
1345
|
getListings: (query, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1345
1346
|
/**
|
|
@@ -1361,7 +1362,7 @@ export class Api extends HttpClient {
|
|
|
1361
1362
|
* @summary Get by Slug
|
|
1362
1363
|
* @request GET:/api/listings/slug/{slug}
|
|
1363
1364
|
* @secure
|
|
1364
|
-
* @response `200` `Listing`
|
|
1365
|
+
* @response `200` `Listing` Success
|
|
1365
1366
|
*/
|
|
1366
1367
|
getListingBySlug: (slug, params = {}) => this.request(Object.assign({ path: `/api/listings/slug/${slug}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1367
1368
|
/**
|
|
@@ -1372,7 +1373,7 @@ export class Api extends HttpClient {
|
|
|
1372
1373
|
* @summary Get by ID
|
|
1373
1374
|
* @request GET:/api/listings/{id}
|
|
1374
1375
|
* @secure
|
|
1375
|
-
* @response `200` `Listing`
|
|
1376
|
+
* @response `200` `Listing` Success
|
|
1376
1377
|
*/
|
|
1377
1378
|
getListing: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1378
1379
|
/**
|
|
@@ -1383,7 +1384,7 @@ export class Api extends HttpClient {
|
|
|
1383
1384
|
* @summary Replace
|
|
1384
1385
|
* @request PUT:/api/listings/{id}
|
|
1385
1386
|
* @secure
|
|
1386
|
-
* @response `200` `Listing`
|
|
1387
|
+
* @response `200` `Listing` Success
|
|
1387
1388
|
*/
|
|
1388
1389
|
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1389
1390
|
/**
|
|
@@ -1405,7 +1406,7 @@ export class Api extends HttpClient {
|
|
|
1405
1406
|
* @summary Search
|
|
1406
1407
|
* @request POST:/api/listings/search
|
|
1407
1408
|
* @secure
|
|
1408
|
-
* @response `200` `ListingPaginated`
|
|
1409
|
+
* @response `200` `ListingPaginated` Success
|
|
1409
1410
|
*/
|
|
1410
1411
|
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)),
|
|
1411
1412
|
/**
|
|
@@ -1416,7 +1417,7 @@ export class Api extends HttpClient {
|
|
|
1416
1417
|
* @summary Update Background Image
|
|
1417
1418
|
* @request PUT:/api/listings/{id}/background-image
|
|
1418
1419
|
* @secure
|
|
1419
|
-
* @response `200` `File`
|
|
1420
|
+
* @response `200` `File` Success
|
|
1420
1421
|
*/
|
|
1421
1422
|
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)),
|
|
1422
1423
|
/**
|
|
@@ -1438,7 +1439,7 @@ export class Api extends HttpClient {
|
|
|
1438
1439
|
* @summary Get Open House Flyer
|
|
1439
1440
|
* @request GET:/api/listings/{id}/open-house-flyer
|
|
1440
1441
|
* @secure
|
|
1441
|
-
* @response `200` `File`
|
|
1442
|
+
* @response `200` `File` Success
|
|
1442
1443
|
*/
|
|
1443
1444
|
getListingOpenHouseFlyer: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/open-house-flyer`, method: "GET", secure: true, format: "json" }, params)),
|
|
1444
1445
|
/**
|
|
@@ -1449,7 +1450,7 @@ export class Api extends HttpClient {
|
|
|
1449
1450
|
* @summary Get
|
|
1450
1451
|
* @request GET:/api/loans/{loanID}/calculators/loan-calculator
|
|
1451
1452
|
* @secure
|
|
1452
|
-
* @response `200` `RunLOCalculation`
|
|
1453
|
+
* @response `200` `RunLOCalculation` Success
|
|
1453
1454
|
*/
|
|
1454
1455
|
getLoanCalculator: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "GET", secure: true, format: "json" }, params)),
|
|
1455
1456
|
/**
|
|
@@ -1460,9 +1461,9 @@ export class Api extends HttpClient {
|
|
|
1460
1461
|
* @summary Run
|
|
1461
1462
|
* @request POST:/api/loans/{loanID}/calculators/loan-calculator
|
|
1462
1463
|
* @secure
|
|
1463
|
-
* @response `200` `RunLOCalculation`
|
|
1464
|
-
* @response `422` `UnprocessableEntity`
|
|
1465
|
-
* @response `423` `UnprocessableEntity`
|
|
1464
|
+
* @response `200` `RunLOCalculation` Success
|
|
1465
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1466
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
1466
1467
|
*/
|
|
1467
1468
|
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)),
|
|
1468
1469
|
/**
|
|
@@ -1473,7 +1474,7 @@ export class Api extends HttpClient {
|
|
|
1473
1474
|
* @summary Get All
|
|
1474
1475
|
* @request GET:/api/loans/{loanID}/loan-comparison
|
|
1475
1476
|
* @secure
|
|
1476
|
-
* @response `200` `LoanComparison`
|
|
1477
|
+
* @response `200` `LoanComparison` Success
|
|
1477
1478
|
*/
|
|
1478
1479
|
getLoanComparisons: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison`, method: "GET", secure: true, format: "json" }, params)),
|
|
1479
1480
|
/**
|
|
@@ -1485,8 +1486,8 @@ export class Api extends HttpClient {
|
|
|
1485
1486
|
* @request POST:/api/loans/{loanID}/loan-comparison/{index}
|
|
1486
1487
|
* @secure
|
|
1487
1488
|
* @response `201` `LoanComparisonScenario` Created
|
|
1488
|
-
* @response `422` `UnprocessableEntity`
|
|
1489
|
-
* @response `423` `UnprocessableEntity`
|
|
1489
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1490
|
+
* @response `423` `UnprocessableEntity` Client Error
|
|
1490
1491
|
*/
|
|
1491
1492
|
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)),
|
|
1492
1493
|
/**
|
|
@@ -1509,7 +1510,7 @@ export class Api extends HttpClient {
|
|
|
1509
1510
|
* @request POST:/api/loans/{loanID}/loan-comparison/pdf
|
|
1510
1511
|
* @secure
|
|
1511
1512
|
* @response `204` `void` No Content
|
|
1512
|
-
* @response `422` `UnprocessableEntity`
|
|
1513
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1513
1514
|
*/
|
|
1514
1515
|
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)),
|
|
1515
1516
|
/**
|
|
@@ -1520,7 +1521,7 @@ export class Api extends HttpClient {
|
|
|
1520
1521
|
* @summary Get All
|
|
1521
1522
|
* @request GET:/api/loans/{loanId}/documents/buckets
|
|
1522
1523
|
* @secure
|
|
1523
|
-
* @response `200` `(string)[]`
|
|
1524
|
+
* @response `200` `(string)[]` Success
|
|
1524
1525
|
*/
|
|
1525
1526
|
getLoanDocumentBuckets: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "GET", secure: true, format: "json" }, params)),
|
|
1526
1527
|
/**
|
|
@@ -1542,7 +1543,7 @@ export class Api extends HttpClient {
|
|
|
1542
1543
|
* @summary Get By ID
|
|
1543
1544
|
* @request GET:/api/loans/{loanId}/documents/{documentId}
|
|
1544
1545
|
* @secure
|
|
1545
|
-
* @response `200` `LoanDocument`
|
|
1546
|
+
* @response `200` `LoanDocument` Success
|
|
1546
1547
|
* @response `404` `ProblemDetails` Not Found
|
|
1547
1548
|
*/
|
|
1548
1549
|
getLoanDocument: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
@@ -1554,7 +1555,7 @@ export class Api extends HttpClient {
|
|
|
1554
1555
|
* @summary Search loan documents
|
|
1555
1556
|
* @request POST:/api/loans/{loanId}/documents/search
|
|
1556
1557
|
* @secure
|
|
1557
|
-
* @response `200` `LoanDocumentSearchPaginated`
|
|
1558
|
+
* @response `200` `LoanDocumentSearchPaginated` Success
|
|
1558
1559
|
*/
|
|
1559
1560
|
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)),
|
|
1560
1561
|
/**
|
|
@@ -1565,7 +1566,7 @@ export class Api extends HttpClient {
|
|
|
1565
1566
|
* @summary Download By ID
|
|
1566
1567
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
1567
1568
|
* @secure
|
|
1568
|
-
* @response `200` `string`
|
|
1569
|
+
* @response `200` `string` Success
|
|
1569
1570
|
* @response `404` `ProblemDetails` Not Found
|
|
1570
1571
|
*/
|
|
1571
1572
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -1579,7 +1580,7 @@ export class Api extends HttpClient {
|
|
|
1579
1580
|
* @secure
|
|
1580
1581
|
* @response `201` `LoanDocument` Created
|
|
1581
1582
|
* @response `404` `ProblemDetails` Not Found
|
|
1582
|
-
* @response `422` `UnprocessableEntity`
|
|
1583
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1583
1584
|
*/
|
|
1584
1585
|
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)),
|
|
1585
1586
|
/**
|
|
@@ -1590,9 +1591,9 @@ export class Api extends HttpClient {
|
|
|
1590
1591
|
* @summary Retry
|
|
1591
1592
|
* @request POST:/api/loans/{loanId}/documents/{documentId}/retry
|
|
1592
1593
|
* @secure
|
|
1593
|
-
* @response `200` `LoanDocument`
|
|
1594
|
+
* @response `200` `LoanDocument` Success
|
|
1594
1595
|
* @response `404` `ProblemDetails` Not Found
|
|
1595
|
-
* @response `422` `UnprocessableEntity`
|
|
1596
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1596
1597
|
*/
|
|
1597
1598
|
retryFailedLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/retry`, method: "POST", secure: true, format: "json" }, params)),
|
|
1598
1599
|
/**
|
|
@@ -1603,7 +1604,7 @@ export class Api extends HttpClient {
|
|
|
1603
1604
|
* @summary Generate PDF Document
|
|
1604
1605
|
* @request POST:/api/loans/{loanId}/documents/generate
|
|
1605
1606
|
* @secure
|
|
1606
|
-
* @response `200` `DocumentDataRequest`
|
|
1607
|
+
* @response `200` `DocumentDataRequest` Success
|
|
1607
1608
|
*/
|
|
1608
1609
|
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)),
|
|
1609
1610
|
/**
|
|
@@ -1614,7 +1615,7 @@ export class Api extends HttpClient {
|
|
|
1614
1615
|
* @summary Send existing documents to loan users or external emails
|
|
1615
1616
|
* @request POST:/api/loans/{loanId}/documents/distribute
|
|
1616
1617
|
* @secure
|
|
1617
|
-
* @response `200` `void`
|
|
1618
|
+
* @response `200` `void` Success
|
|
1618
1619
|
* @response `400` `ProblemDetails` Bad Request
|
|
1619
1620
|
* @response `404` `ProblemDetails` Not Found
|
|
1620
1621
|
*/
|
|
@@ -1638,7 +1639,7 @@ export class Api extends HttpClient {
|
|
|
1638
1639
|
* @summary Get All
|
|
1639
1640
|
* @request GET:/api/loans/drafts
|
|
1640
1641
|
* @secure
|
|
1641
|
-
* @response `200` `(DraftContent)[]`
|
|
1642
|
+
* @response `200` `(DraftContent)[]` Success
|
|
1642
1643
|
*/
|
|
1643
1644
|
getLoanDrafts: (params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "GET", secure: true, format: "json" }, params)),
|
|
1644
1645
|
/**
|
|
@@ -1649,7 +1650,7 @@ export class Api extends HttpClient {
|
|
|
1649
1650
|
* @summary Get by ID
|
|
1650
1651
|
* @request GET:/api/loans/drafts/{draftId}
|
|
1651
1652
|
* @secure
|
|
1652
|
-
* @response `200` `DraftContent`
|
|
1653
|
+
* @response `200` `DraftContent` Success
|
|
1653
1654
|
*/
|
|
1654
1655
|
getLoanDraft: (draftId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1655
1656
|
/**
|
|
@@ -1660,7 +1661,7 @@ export class Api extends HttpClient {
|
|
|
1660
1661
|
* @summary Replace
|
|
1661
1662
|
* @request PUT:/api/loans/drafts/{draftId}
|
|
1662
1663
|
* @secure
|
|
1663
|
-
* @response `200` `Draft`
|
|
1664
|
+
* @response `200` `Draft` Success
|
|
1664
1665
|
*/
|
|
1665
1666
|
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)),
|
|
1666
1667
|
/**
|
|
@@ -1693,7 +1694,7 @@ export class Api extends HttpClient {
|
|
|
1693
1694
|
* @summary Reassign Loan officer
|
|
1694
1695
|
* @request PUT:/api/loans/drafts/{draftId}/reassign
|
|
1695
1696
|
* @secure
|
|
1696
|
-
* @response `200` `Draft`
|
|
1697
|
+
* @response `200` `Draft` Success
|
|
1697
1698
|
*/
|
|
1698
1699
|
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)),
|
|
1699
1700
|
/**
|
|
@@ -1704,7 +1705,7 @@ export class Api extends HttpClient {
|
|
|
1704
1705
|
* @summary Get Loan Imports
|
|
1705
1706
|
* @request GET:/api/loan-imports
|
|
1706
1707
|
* @secure
|
|
1707
|
-
* @response `200` `LoanImportPaginated`
|
|
1708
|
+
* @response `200` `LoanImportPaginated` Success
|
|
1708
1709
|
*/
|
|
1709
1710
|
getLoanImports: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1710
1711
|
/**
|
|
@@ -1726,7 +1727,7 @@ export class Api extends HttpClient {
|
|
|
1726
1727
|
* @summary Get Loan Import
|
|
1727
1728
|
* @request GET:/api/loan-imports/{id}
|
|
1728
1729
|
* @secure
|
|
1729
|
-
* @response `200` `LoanImport`
|
|
1730
|
+
* @response `200` `LoanImport` Success
|
|
1730
1731
|
*/
|
|
1731
1732
|
getLoanImport: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1732
1733
|
/**
|
|
@@ -1737,7 +1738,7 @@ export class Api extends HttpClient {
|
|
|
1737
1738
|
* @summary Get Loan Import Logs
|
|
1738
1739
|
* @request GET:/api/loan-imports/{id}/logs
|
|
1739
1740
|
* @secure
|
|
1740
|
-
* @response `200` `LoanImportLogPaginated`
|
|
1741
|
+
* @response `200` `LoanImportLogPaginated` Success
|
|
1741
1742
|
*/
|
|
1742
1743
|
getLoanImportLogs: (id, query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}/logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1743
1744
|
/**
|
|
@@ -1748,7 +1749,7 @@ export class Api extends HttpClient {
|
|
|
1748
1749
|
* @summary Get Invites
|
|
1749
1750
|
* @request GET:/api/loans/{loanId}/invites
|
|
1750
1751
|
* @secure
|
|
1751
|
-
* @response `200` `(Invite)[]`
|
|
1752
|
+
* @response `200` `(Invite)[]` Success
|
|
1752
1753
|
* @response `404` `ProblemDetails` Not Found
|
|
1753
1754
|
*/
|
|
1754
1755
|
getLoanInvites: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -1760,7 +1761,7 @@ export class Api extends HttpClient {
|
|
|
1760
1761
|
* @summary Invite Contacts
|
|
1761
1762
|
* @request POST:/api/loans/{loanId}/invites
|
|
1762
1763
|
* @secure
|
|
1763
|
-
* @response `200` `(Invite)[]`
|
|
1764
|
+
* @response `200` `(Invite)[]` Success
|
|
1764
1765
|
* @response `404` `ProblemDetails` Not Found
|
|
1765
1766
|
*/
|
|
1766
1767
|
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)),
|
|
@@ -1772,7 +1773,7 @@ export class Api extends HttpClient {
|
|
|
1772
1773
|
* @summary Search loan logs
|
|
1773
1774
|
* @request POST:/api/loans/{loanId}/logs/search
|
|
1774
1775
|
* @secure
|
|
1775
|
-
* @response `200` `LoanLogPaginated`
|
|
1776
|
+
* @response `200` `LoanLogPaginated` Success
|
|
1776
1777
|
*/
|
|
1777
1778
|
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)),
|
|
1778
1779
|
/**
|
|
@@ -1783,7 +1784,7 @@ export class Api extends HttpClient {
|
|
|
1783
1784
|
* @summary Get All
|
|
1784
1785
|
* @request GET:/api/loan-officers
|
|
1785
1786
|
* @secure
|
|
1786
|
-
* @response `200` `BranchUserPaginated`
|
|
1787
|
+
* @response `200` `BranchUserPaginated` Success
|
|
1787
1788
|
*/
|
|
1788
1789
|
getLoanOfficers: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1789
1790
|
/**
|
|
@@ -1794,7 +1795,7 @@ export class Api extends HttpClient {
|
|
|
1794
1795
|
* @summary Search
|
|
1795
1796
|
* @request POST:/api/loan-officers/search
|
|
1796
1797
|
* @secure
|
|
1797
|
-
* @response `200` `BranchUserPaginated`
|
|
1798
|
+
* @response `200` `BranchUserPaginated` Success
|
|
1798
1799
|
*/
|
|
1799
1800
|
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)),
|
|
1800
1801
|
/**
|
|
@@ -1805,7 +1806,7 @@ export class Api extends HttpClient {
|
|
|
1805
1806
|
* @summary Get by ID
|
|
1806
1807
|
* @request GET:/api/loan-officers/{id}
|
|
1807
1808
|
* @secure
|
|
1808
|
-
* @response `200` `BranchUser`
|
|
1809
|
+
* @response `200` `BranchUser` Success
|
|
1809
1810
|
*/
|
|
1810
1811
|
getLoanOfficer: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1811
1812
|
/**
|
|
@@ -1816,8 +1817,8 @@ export class Api extends HttpClient {
|
|
|
1816
1817
|
* @summary Create Site Configuration
|
|
1817
1818
|
* @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
|
|
1818
1819
|
* @secure
|
|
1819
|
-
* @response `200` `SiteConfiguration`
|
|
1820
|
-
* @response `422` `UnprocessableEntity`
|
|
1820
|
+
* @response `200` `SiteConfiguration` Success
|
|
1821
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1821
1822
|
*/
|
|
1822
1823
|
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)),
|
|
1823
1824
|
/**
|
|
@@ -1828,7 +1829,7 @@ export class Api extends HttpClient {
|
|
|
1828
1829
|
* @summary Get Site Configuration
|
|
1829
1830
|
* @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
|
|
1830
1831
|
* @secure
|
|
1831
|
-
* @response `200` `SiteConfigurationWithInherited`
|
|
1832
|
+
* @response `200` `SiteConfigurationWithInherited` Success
|
|
1832
1833
|
*/
|
|
1833
1834
|
getLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1834
1835
|
/**
|
|
@@ -1839,8 +1840,8 @@ export class Api extends HttpClient {
|
|
|
1839
1840
|
* @summary Replace Site Configuration
|
|
1840
1841
|
* @request PUT:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
|
|
1841
1842
|
* @secure
|
|
1842
|
-
* @response `200` `SiteConfiguration`
|
|
1843
|
-
* @response `422` `UnprocessableEntity`
|
|
1843
|
+
* @response `200` `SiteConfiguration` Success
|
|
1844
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1844
1845
|
*/
|
|
1845
1846
|
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)),
|
|
1846
1847
|
/**
|
|
@@ -1851,7 +1852,7 @@ export class Api extends HttpClient {
|
|
|
1851
1852
|
* @summary Search
|
|
1852
1853
|
* @request POST:/api/loans/queue/search
|
|
1853
1854
|
* @secure
|
|
1854
|
-
* @response `200` `LoanQueuePaginated`
|
|
1855
|
+
* @response `200` `LoanQueuePaginated` Success
|
|
1855
1856
|
*/
|
|
1856
1857
|
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)),
|
|
1857
1858
|
/**
|
|
@@ -1862,7 +1863,7 @@ export class Api extends HttpClient {
|
|
|
1862
1863
|
* @summary Get Loan Queue Record
|
|
1863
1864
|
* @request GET:/api/loans/queue/{loanQueueId}
|
|
1864
1865
|
* @secure
|
|
1865
|
-
* @response `200` `any`
|
|
1866
|
+
* @response `200` `any` Success
|
|
1866
1867
|
* @response `404` `ProblemDetails` Not Found
|
|
1867
1868
|
*/
|
|
1868
1869
|
getLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -1874,7 +1875,7 @@ export class Api extends HttpClient {
|
|
|
1874
1875
|
* @summary Replace Loan Queue Record
|
|
1875
1876
|
* @request PUT:/api/loans/queue/{loanQueueId}
|
|
1876
1877
|
* @secure
|
|
1877
|
-
* @response `200` `LoanQueueWithData`
|
|
1878
|
+
* @response `200` `LoanQueueWithData` Success
|
|
1878
1879
|
* @response `404` `ProblemDetails` Not Found
|
|
1879
1880
|
*/
|
|
1880
1881
|
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)),
|
|
@@ -1910,8 +1911,8 @@ export class Api extends HttpClient {
|
|
|
1910
1911
|
* @summary Create Loan by DraftId
|
|
1911
1912
|
* @request POST:/api/loans
|
|
1912
1913
|
* @secure
|
|
1913
|
-
* @response `200` `string`
|
|
1914
|
-
* @response `422` `UnprocessableEntity`
|
|
1914
|
+
* @response `200` `string` Success
|
|
1915
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
1915
1916
|
*/
|
|
1916
1917
|
createLoanByDraftId: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1917
1918
|
/**
|
|
@@ -1922,7 +1923,7 @@ export class Api extends HttpClient {
|
|
|
1922
1923
|
* @summary Get Loans
|
|
1923
1924
|
* @request GET:/api/loans
|
|
1924
1925
|
* @secure
|
|
1925
|
-
* @response `200` `GetApplications`
|
|
1926
|
+
* @response `200` `GetApplications` Success
|
|
1926
1927
|
*/
|
|
1927
1928
|
getLoans: (params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "GET", secure: true, format: "json" }, params)),
|
|
1928
1929
|
/**
|
|
@@ -1933,7 +1934,7 @@ export class Api extends HttpClient {
|
|
|
1933
1934
|
* @summary Get Loans by Account Setting
|
|
1934
1935
|
* @request POST:/api/loans/temp-pipeline
|
|
1935
1936
|
* @secure
|
|
1936
|
-
* @response `200` `any`
|
|
1937
|
+
* @response `200` `any` Success
|
|
1937
1938
|
*/
|
|
1938
1939
|
getLoansByAccountSetting: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/temp-pipeline`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1939
1940
|
/**
|
|
@@ -1944,7 +1945,7 @@ export class Api extends HttpClient {
|
|
|
1944
1945
|
* @summary Get By ID
|
|
1945
1946
|
* @request GET:/api/loans/{loanID}
|
|
1946
1947
|
* @secure
|
|
1947
|
-
* @response `200` `Loan`
|
|
1948
|
+
* @response `200` `Loan` Success
|
|
1948
1949
|
* @response `404` `ProblemDetails` Not Found
|
|
1949
1950
|
*/
|
|
1950
1951
|
getLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -1956,7 +1957,7 @@ export class Api extends HttpClient {
|
|
|
1956
1957
|
* @summary Search
|
|
1957
1958
|
* @request POST:/api/loans/search
|
|
1958
1959
|
* @secure
|
|
1959
|
-
* @response `200` `LoanListPaginated`
|
|
1960
|
+
* @response `200` `LoanListPaginated` Success
|
|
1960
1961
|
*/
|
|
1961
1962
|
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)),
|
|
1962
1963
|
/**
|
|
@@ -1967,7 +1968,7 @@ export class Api extends HttpClient {
|
|
|
1967
1968
|
* @summary Import from LOS
|
|
1968
1969
|
* @request POST:/api/loans/import-from-los/{loanId}
|
|
1969
1970
|
* @secure
|
|
1970
|
-
* @response `200` `Loan`
|
|
1971
|
+
* @response `200` `Loan` Success
|
|
1971
1972
|
*/
|
|
1972
1973
|
importLoanFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/import-from-los/${loanId}`, method: "POST", secure: true, format: "json" }, params)),
|
|
1973
1974
|
/**
|
|
@@ -1978,9 +1979,9 @@ export class Api extends HttpClient {
|
|
|
1978
1979
|
* @summary Update loan fields
|
|
1979
1980
|
* @request PATCH:/api/loans/{loanId}
|
|
1980
1981
|
* @secure
|
|
1981
|
-
* @response `200` `Loan`
|
|
1982
|
+
* @response `200` `Loan` Success
|
|
1982
1983
|
*/
|
|
1983
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.
|
|
1984
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1984
1985
|
/**
|
|
1985
1986
|
* No description
|
|
1986
1987
|
*
|
|
@@ -1989,7 +1990,7 @@ export class Api extends HttpClient {
|
|
|
1989
1990
|
* @summary Search
|
|
1990
1991
|
* @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
|
|
1991
1992
|
* @secure
|
|
1992
|
-
* @response `200` `TaskCommentPaginated`
|
|
1993
|
+
* @response `200` `TaskCommentPaginated` Success
|
|
1993
1994
|
* @response `404` `ProblemDetails` Not Found
|
|
1994
1995
|
*/
|
|
1995
1996
|
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)),
|
|
@@ -2001,7 +2002,7 @@ export class Api extends HttpClient {
|
|
|
2001
2002
|
* @summary Get by ID
|
|
2002
2003
|
* @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
|
|
2003
2004
|
* @secure
|
|
2004
|
-
* @response `200` `TaskComment`
|
|
2005
|
+
* @response `200` `TaskComment` Success
|
|
2005
2006
|
* @response `404` `ProblemDetails` Not Found
|
|
2006
2007
|
*/
|
|
2007
2008
|
getLoanTaskComment: (id, loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2025,7 +2026,7 @@ export class Api extends HttpClient {
|
|
|
2025
2026
|
* @summary Replace
|
|
2026
2027
|
* @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
|
|
2027
2028
|
* @secure
|
|
2028
|
-
* @response `200` `TaskComment`
|
|
2029
|
+
* @response `200` `TaskComment` Success
|
|
2029
2030
|
* @response `404` `ProblemDetails` Not Found
|
|
2030
2031
|
*/
|
|
2031
2032
|
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)),
|
|
@@ -2051,7 +2052,7 @@ export class Api extends HttpClient {
|
|
|
2051
2052
|
* @secure
|
|
2052
2053
|
* @response `201` `UserLoanTask` Created
|
|
2053
2054
|
* @response `404` `ProblemDetails` Not Found
|
|
2054
|
-
* @response `422` `UnprocessableEntity`
|
|
2055
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2055
2056
|
*/
|
|
2056
2057
|
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)),
|
|
2057
2058
|
/**
|
|
@@ -2063,7 +2064,7 @@ export class Api extends HttpClient {
|
|
|
2063
2064
|
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
|
|
2064
2065
|
* @secure
|
|
2065
2066
|
* @response `204` `UserLoanTask` No Content
|
|
2066
|
-
* @response `422` `UnprocessableEntity`
|
|
2067
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2067
2068
|
*/
|
|
2068
2069
|
createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
|
|
2069
2070
|
/**
|
|
@@ -2074,7 +2075,7 @@ export class Api extends HttpClient {
|
|
|
2074
2075
|
* @summary Get All
|
|
2075
2076
|
* @request GET:/api/loans/{loanID}/tasks
|
|
2076
2077
|
* @secure
|
|
2077
|
-
* @response `200` `(UserLoanTask)[]`
|
|
2078
|
+
* @response `200` `(UserLoanTask)[]` Success
|
|
2078
2079
|
* @response `404` `ProblemDetails` Not Found
|
|
2079
2080
|
*/
|
|
2080
2081
|
getLoanTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2086,7 +2087,7 @@ export class Api extends HttpClient {
|
|
|
2086
2087
|
* @summary Get by ID
|
|
2087
2088
|
* @request GET:/api/loans/{loanID}/tasks/{id}
|
|
2088
2089
|
* @secure
|
|
2089
|
-
* @response `200` `UserLoanTask`
|
|
2090
|
+
* @response `200` `UserLoanTask` Success
|
|
2090
2091
|
* @response `404` `ProblemDetails` Not Found
|
|
2091
2092
|
*/
|
|
2092
2093
|
getLoanTask: (id, loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2098,7 +2099,7 @@ export class Api extends HttpClient {
|
|
|
2098
2099
|
* @summary Get Difference
|
|
2099
2100
|
* @request GET:/api/loans/{loanID}/tasks/diff
|
|
2100
2101
|
* @secure
|
|
2101
|
-
* @response `200` `(UserLoanTask)[]`
|
|
2102
|
+
* @response `200` `(UserLoanTask)[]` Success
|
|
2102
2103
|
* @response `404` `ProblemDetails` Not Found
|
|
2103
2104
|
*/
|
|
2104
2105
|
getLoanTaskDifference: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/diff`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2134,7 +2135,7 @@ export class Api extends HttpClient {
|
|
|
2134
2135
|
* @summary Replace
|
|
2135
2136
|
* @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
|
|
2136
2137
|
* @secure
|
|
2137
|
-
* @response `200` `UserLoanTask`
|
|
2138
|
+
* @response `200` `UserLoanTask` Success
|
|
2138
2139
|
* @response `404` `ProblemDetails` Not Found
|
|
2139
2140
|
*/
|
|
2140
2141
|
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)),
|
|
@@ -2170,9 +2171,9 @@ export class Api extends HttpClient {
|
|
|
2170
2171
|
* @summary Create
|
|
2171
2172
|
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
|
|
2172
2173
|
* @secure
|
|
2173
|
-
* @response `200` `UserLoanTask`
|
|
2174
|
+
* @response `200` `UserLoanTask` Success
|
|
2174
2175
|
* @response `404` `ProblemDetails` Not Found
|
|
2175
|
-
* @response `422` `UnprocessableEntity`
|
|
2176
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2176
2177
|
*/
|
|
2177
2178
|
createLoanTaskVerification: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/verifications`, method: "POST", secure: true, format: "json" }, params)),
|
|
2178
2179
|
/**
|
|
@@ -2183,7 +2184,7 @@ export class Api extends HttpClient {
|
|
|
2183
2184
|
* @summary Get Loan User
|
|
2184
2185
|
* @request GET:/api/loans/{loanId}/users/{userId}
|
|
2185
2186
|
* @secure
|
|
2186
|
-
* @response `200` `LoanUser`
|
|
2187
|
+
* @response `200` `LoanUser` Success
|
|
2187
2188
|
*/
|
|
2188
2189
|
getLoanUser: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2189
2190
|
/**
|
|
@@ -2227,7 +2228,7 @@ export class Api extends HttpClient {
|
|
|
2227
2228
|
* @summary Get All
|
|
2228
2229
|
* @request GET:/api/milestones
|
|
2229
2230
|
* @secure
|
|
2230
|
-
* @response `200` `(MilestoneConfiguration)[]`
|
|
2231
|
+
* @response `200` `(MilestoneConfiguration)[]` Success
|
|
2231
2232
|
*/
|
|
2232
2233
|
getMilestones: (params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "GET", secure: true, format: "json" }, params)),
|
|
2233
2234
|
/**
|
|
@@ -2239,7 +2240,7 @@ export class Api extends HttpClient {
|
|
|
2239
2240
|
* @request POST:/api/milestones
|
|
2240
2241
|
* @secure
|
|
2241
2242
|
* @response `201` `MilestoneConfiguration` Created
|
|
2242
|
-
* @response `422` `UnprocessableEntity`
|
|
2243
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2243
2244
|
*/
|
|
2244
2245
|
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2245
2246
|
/**
|
|
@@ -2250,7 +2251,7 @@ export class Api extends HttpClient {
|
|
|
2250
2251
|
* @summary Get By ID
|
|
2251
2252
|
* @request GET:/api/milestones/{id}
|
|
2252
2253
|
* @secure
|
|
2253
|
-
* @response `200` `MilestoneConfiguration`
|
|
2254
|
+
* @response `200` `MilestoneConfiguration` Success
|
|
2254
2255
|
* @response `404` `Error` Not Found
|
|
2255
2256
|
*/
|
|
2256
2257
|
getMilestone: (id, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2262,9 +2263,9 @@ export class Api extends HttpClient {
|
|
|
2262
2263
|
* @summary Replace
|
|
2263
2264
|
* @request PUT:/api/milestones/{id}
|
|
2264
2265
|
* @secure
|
|
2265
|
-
* @response `200` `MilestoneConfiguration`
|
|
2266
|
+
* @response `200` `MilestoneConfiguration` Success
|
|
2266
2267
|
* @response `404` `Error` Not Found
|
|
2267
|
-
* @response `422` `UnprocessableEntity`
|
|
2268
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2268
2269
|
*/
|
|
2269
2270
|
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2270
2271
|
/**
|
|
@@ -2287,8 +2288,8 @@ export class Api extends HttpClient {
|
|
|
2287
2288
|
* @summary Calculate Monthly Payment
|
|
2288
2289
|
* @request POST:/api/mortgage-calculators/monthly-payment
|
|
2289
2290
|
* @secure
|
|
2290
|
-
* @response `200` `MonthlyPaymentCalculator`
|
|
2291
|
-
* @response `422` `ProblemDetails`
|
|
2291
|
+
* @response `200` `MonthlyPaymentCalculator` Success
|
|
2292
|
+
* @response `422` `ProblemDetails` Client Error
|
|
2292
2293
|
*/
|
|
2293
2294
|
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)),
|
|
2294
2295
|
/**
|
|
@@ -2299,8 +2300,8 @@ export class Api extends HttpClient {
|
|
|
2299
2300
|
* @summary Calculate Affordability
|
|
2300
2301
|
* @request POST:/api/mortgage-calculators/affordability
|
|
2301
2302
|
* @secure
|
|
2302
|
-
* @response `200` `AffordabilityCalculator`
|
|
2303
|
-
* @response `422` `ProblemDetails`
|
|
2303
|
+
* @response `200` `AffordabilityCalculator` Success
|
|
2304
|
+
* @response `422` `ProblemDetails` Client Error
|
|
2304
2305
|
*/
|
|
2305
2306
|
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2306
2307
|
/**
|
|
@@ -2311,8 +2312,8 @@ export class Api extends HttpClient {
|
|
|
2311
2312
|
* @summary Calculate Loan Comparison
|
|
2312
2313
|
* @request POST:/api/mortgage-calculators/loan-comparison
|
|
2313
2314
|
* @secure
|
|
2314
|
-
* @response `200` `LoanComparisonCalculator`
|
|
2315
|
-
* @response `422` `ProblemDetails`
|
|
2315
|
+
* @response `200` `LoanComparisonCalculator` Success
|
|
2316
|
+
* @response `422` `ProblemDetails` Client Error
|
|
2316
2317
|
*/
|
|
2317
2318
|
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)),
|
|
2318
2319
|
/**
|
|
@@ -2323,8 +2324,8 @@ export class Api extends HttpClient {
|
|
|
2323
2324
|
* @summary Calculate Refinance
|
|
2324
2325
|
* @request POST:/api/mortgage-calculators/refinance
|
|
2325
2326
|
* @secure
|
|
2326
|
-
* @response `200` `RefinanceCalculator`
|
|
2327
|
-
* @response `422` `ProblemDetails`
|
|
2327
|
+
* @response `200` `RefinanceCalculator` Success
|
|
2328
|
+
* @response `422` `ProblemDetails` Client Error
|
|
2328
2329
|
*/
|
|
2329
2330
|
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2330
2331
|
/**
|
|
@@ -2335,8 +2336,8 @@ export class Api extends HttpClient {
|
|
|
2335
2336
|
* @summary Send Notification for Loan
|
|
2336
2337
|
* @request POST:/api/notifications
|
|
2337
2338
|
* @secure
|
|
2338
|
-
* @response `200` `void`
|
|
2339
|
-
* @response `422` `UnprocessableEntity`
|
|
2339
|
+
* @response `200` `void` Success
|
|
2340
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2340
2341
|
*/
|
|
2341
2342
|
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2342
2343
|
/**
|
|
@@ -2347,8 +2348,8 @@ export class Api extends HttpClient {
|
|
|
2347
2348
|
* @summary Send Test Notification for Loan
|
|
2348
2349
|
* @request POST:/api/notifications/test
|
|
2349
2350
|
* @secure
|
|
2350
|
-
* @response `200` `void`
|
|
2351
|
-
* @response `422` `UnprocessableEntity`
|
|
2351
|
+
* @response `200` `void` Success
|
|
2352
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2352
2353
|
*/
|
|
2353
2354
|
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2354
2355
|
/**
|
|
@@ -2359,7 +2360,7 @@ export class Api extends HttpClient {
|
|
|
2359
2360
|
* @summary Get All
|
|
2360
2361
|
* @request GET:/api/notification-templates
|
|
2361
2362
|
* @secure
|
|
2362
|
-
* @response `200` `(NotificationTemplateBase)[]`
|
|
2363
|
+
* @response `200` `(NotificationTemplateBase)[]` Success
|
|
2363
2364
|
*/
|
|
2364
2365
|
getNotificationTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2365
2366
|
/**
|
|
@@ -2371,7 +2372,7 @@ export class Api extends HttpClient {
|
|
|
2371
2372
|
* @request POST:/api/notification-templates
|
|
2372
2373
|
* @secure
|
|
2373
2374
|
* @response `201` `NotificationTemplate` Created
|
|
2374
|
-
* @response `422` `UnprocessableEntity`
|
|
2375
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2375
2376
|
*/
|
|
2376
2377
|
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2377
2378
|
/**
|
|
@@ -2382,7 +2383,7 @@ export class Api extends HttpClient {
|
|
|
2382
2383
|
* @summary Get by ID
|
|
2383
2384
|
* @request GET:/api/notification-templates/{id}
|
|
2384
2385
|
* @secure
|
|
2385
|
-
* @response `200` `NotificationTemplate`
|
|
2386
|
+
* @response `200` `NotificationTemplate` Success
|
|
2386
2387
|
*/
|
|
2387
2388
|
getNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2388
2389
|
/**
|
|
@@ -2393,8 +2394,8 @@ export class Api extends HttpClient {
|
|
|
2393
2394
|
* @summary Replace
|
|
2394
2395
|
* @request PUT:/api/notification-templates/{id}
|
|
2395
2396
|
* @secure
|
|
2396
|
-
* @response `200` `NotificationTemplate`
|
|
2397
|
-
* @response `422` `UnprocessableEntity`
|
|
2397
|
+
* @response `200` `NotificationTemplate` Success
|
|
2398
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2398
2399
|
*/
|
|
2399
2400
|
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)),
|
|
2400
2401
|
/**
|
|
@@ -2416,7 +2417,7 @@ export class Api extends HttpClient {
|
|
|
2416
2417
|
* @summary Restore
|
|
2417
2418
|
* @request POST:/api/notification-templates/{id}/restore
|
|
2418
2419
|
* @secure
|
|
2419
|
-
* @response `200` `NotificationTemplate`
|
|
2420
|
+
* @response `200` `NotificationTemplate` Success
|
|
2420
2421
|
*/
|
|
2421
2422
|
restoreNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
|
|
2422
2423
|
/**
|
|
@@ -2427,7 +2428,7 @@ export class Api extends HttpClient {
|
|
|
2427
2428
|
* @summary Get All
|
|
2428
2429
|
* @request GET:/api/notification-templates/{notificationId}/versions
|
|
2429
2430
|
* @secure
|
|
2430
|
-
* @response `200` `(NotificationTemplateVersion)[]`
|
|
2431
|
+
* @response `200` `(NotificationTemplateVersion)[]` Success
|
|
2431
2432
|
*/
|
|
2432
2433
|
getNotificationTemplateVersions: (notificationId, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "GET", secure: true, format: "json" }, params)),
|
|
2433
2434
|
/**
|
|
@@ -2438,7 +2439,7 @@ export class Api extends HttpClient {
|
|
|
2438
2439
|
* @summary Create
|
|
2439
2440
|
* @request POST:/api/notification-templates/{notificationId}/versions
|
|
2440
2441
|
* @secure
|
|
2441
|
-
* @response `200` `NotificationTemplateVersion`
|
|
2442
|
+
* @response `200` `NotificationTemplateVersion` Success
|
|
2442
2443
|
*/
|
|
2443
2444
|
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)),
|
|
2444
2445
|
/**
|
|
@@ -2449,7 +2450,7 @@ export class Api extends HttpClient {
|
|
|
2449
2450
|
* @summary Get by ID
|
|
2450
2451
|
* @request GET:/api/notification-templates/{notificationId}/versions/{id}
|
|
2451
2452
|
* @secure
|
|
2452
|
-
* @response `200` `NotificationTemplateVersion`
|
|
2453
|
+
* @response `200` `NotificationTemplateVersion` Success
|
|
2453
2454
|
*/
|
|
2454
2455
|
getNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2455
2456
|
/**
|
|
@@ -2460,7 +2461,7 @@ export class Api extends HttpClient {
|
|
|
2460
2461
|
* @summary Replace
|
|
2461
2462
|
* @request PUT:/api/notification-templates/{notificationId}/versions/{id}
|
|
2462
2463
|
* @secure
|
|
2463
|
-
* @response `200` `NotificationTemplateVersion`
|
|
2464
|
+
* @response `200` `NotificationTemplateVersion` Success
|
|
2464
2465
|
*/
|
|
2465
2466
|
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)),
|
|
2466
2467
|
/**
|
|
@@ -2471,7 +2472,7 @@ export class Api extends HttpClient {
|
|
|
2471
2472
|
* @summary Delete
|
|
2472
2473
|
* @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
|
|
2473
2474
|
* @secure
|
|
2474
|
-
* @response `200` `NotificationTemplateVersion`
|
|
2475
|
+
* @response `200` `NotificationTemplateVersion` Success
|
|
2475
2476
|
*/
|
|
2476
2477
|
deleteNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
2477
2478
|
/**
|
|
@@ -2482,7 +2483,7 @@ export class Api extends HttpClient {
|
|
|
2482
2483
|
* @summary Get All
|
|
2483
2484
|
* @request GET:/api/partners
|
|
2484
2485
|
* @secure
|
|
2485
|
-
* @response `200` `BranchUserPaginated`
|
|
2486
|
+
* @response `200` `BranchUserPaginated` Success
|
|
2486
2487
|
*/
|
|
2487
2488
|
getPartners: (query, params = {}) => this.request(Object.assign({ path: `/api/partners`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2488
2489
|
/**
|
|
@@ -2493,7 +2494,7 @@ export class Api extends HttpClient {
|
|
|
2493
2494
|
* @summary Search
|
|
2494
2495
|
* @request POST:/api/partners/search
|
|
2495
2496
|
* @secure
|
|
2496
|
-
* @response `200` `BranchUserPaginated`
|
|
2497
|
+
* @response `200` `BranchUserPaginated` Success
|
|
2497
2498
|
*/
|
|
2498
2499
|
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)),
|
|
2499
2500
|
/**
|
|
@@ -2504,7 +2505,7 @@ export class Api extends HttpClient {
|
|
|
2504
2505
|
* @summary Get by ID
|
|
2505
2506
|
* @request GET:/api/partners/{id}
|
|
2506
2507
|
* @secure
|
|
2507
|
-
* @response `200` `BranchUser`
|
|
2508
|
+
* @response `200` `BranchUser` Success
|
|
2508
2509
|
*/
|
|
2509
2510
|
getPartner: (id, params = {}) => this.request(Object.assign({ path: `/api/partners/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2510
2511
|
/**
|
|
@@ -2515,8 +2516,8 @@ export class Api extends HttpClient {
|
|
|
2515
2516
|
* @summary Create Site Configuration
|
|
2516
2517
|
* @request POST:/api/partners/{realtorId}/site-configurations
|
|
2517
2518
|
* @secure
|
|
2518
|
-
* @response `200` `SiteConfiguration`
|
|
2519
|
-
* @response `422` `UnprocessableEntity`
|
|
2519
|
+
* @response `200` `SiteConfiguration` Success
|
|
2520
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2520
2521
|
*/
|
|
2521
2522
|
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)),
|
|
2522
2523
|
/**
|
|
@@ -2527,7 +2528,7 @@ export class Api extends HttpClient {
|
|
|
2527
2528
|
* @summary Get Site Configuration
|
|
2528
2529
|
* @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
|
|
2529
2530
|
* @secure
|
|
2530
|
-
* @response `200` `SiteConfigurationWithInherited`
|
|
2531
|
+
* @response `200` `SiteConfigurationWithInherited` Success
|
|
2531
2532
|
*/
|
|
2532
2533
|
getPartnerSiteConfiguration: (realtorId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2533
2534
|
/**
|
|
@@ -2538,8 +2539,8 @@ export class Api extends HttpClient {
|
|
|
2538
2539
|
* @summary Replace Site Configuration
|
|
2539
2540
|
* @request PUT:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
|
|
2540
2541
|
* @secure
|
|
2541
|
-
* @response `200` `SiteConfiguration`
|
|
2542
|
-
* @response `422` `UnprocessableEntity`
|
|
2542
|
+
* @response `200` `SiteConfiguration` Success
|
|
2543
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2543
2544
|
*/
|
|
2544
2545
|
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)),
|
|
2545
2546
|
/**
|
|
@@ -2551,7 +2552,7 @@ export class Api extends HttpClient {
|
|
|
2551
2552
|
* @request GET:/api/request-queues
|
|
2552
2553
|
* @deprecated
|
|
2553
2554
|
* @secure
|
|
2554
|
-
* @response `200` `(RequestQueue)[]`
|
|
2555
|
+
* @response `200` `(RequestQueue)[]` Success
|
|
2555
2556
|
*/
|
|
2556
2557
|
getRequestQueues: (params = {}) => this.request(Object.assign({ path: `/api/request-queues`, method: "GET", secure: true, format: "json" }, params)),
|
|
2557
2558
|
/**
|
|
@@ -2563,7 +2564,7 @@ export class Api extends HttpClient {
|
|
|
2563
2564
|
* @request POST:/api/request-queues/{id}/run
|
|
2564
2565
|
* @deprecated
|
|
2565
2566
|
* @secure
|
|
2566
|
-
* @response `200` `void`
|
|
2567
|
+
* @response `200` `void` Success
|
|
2567
2568
|
*/
|
|
2568
2569
|
runRequestQueue: (id, query, params = {}) => this.request(Object.assign({ path: `/api/request-queues/${id}/run`, method: "POST", query: query, secure: true }, params)),
|
|
2569
2570
|
/**
|
|
@@ -2586,7 +2587,7 @@ export class Api extends HttpClient {
|
|
|
2586
2587
|
* @summary Get By ID
|
|
2587
2588
|
* @request GET:/api/site-configurations/{id}
|
|
2588
2589
|
* @secure
|
|
2589
|
-
* @response `200` `SiteConfiguration`
|
|
2590
|
+
* @response `200` `SiteConfiguration` Success
|
|
2590
2591
|
*/
|
|
2591
2592
|
getSiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2592
2593
|
/**
|
|
@@ -2598,8 +2599,8 @@ export class Api extends HttpClient {
|
|
|
2598
2599
|
* @request POST:/api/site-configurations/url
|
|
2599
2600
|
* @deprecated
|
|
2600
2601
|
* @secure
|
|
2601
|
-
* @response `200` `SiteConfigurationByUrl`
|
|
2602
|
-
* @response `422` `UnprocessableEntity`
|
|
2602
|
+
* @response `200` `SiteConfigurationByUrl` Success
|
|
2603
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2603
2604
|
*/
|
|
2604
2605
|
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2605
2606
|
/**
|
|
@@ -2610,8 +2611,8 @@ export class Api extends HttpClient {
|
|
|
2610
2611
|
* @summary Get By URL
|
|
2611
2612
|
* @request GET:/api/site-configurations
|
|
2612
2613
|
* @secure
|
|
2613
|
-
* @response `200` `SiteConfigurationByUrl`
|
|
2614
|
-
* @response `422` `UnprocessableEntity`
|
|
2614
|
+
* @response `200` `SiteConfigurationByUrl` Success
|
|
2615
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2615
2616
|
*/
|
|
2616
2617
|
getSiteConfigurationByUrl: (query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2617
2618
|
/**
|
|
@@ -2623,8 +2624,8 @@ export class Api extends HttpClient {
|
|
|
2623
2624
|
* @request POST:/api/site-configurations/louser
|
|
2624
2625
|
* @deprecated
|
|
2625
2626
|
* @secure
|
|
2626
|
-
* @response `200` `SiteConfiguration`
|
|
2627
|
-
* @response `422` `UnprocessableEntity`
|
|
2627
|
+
* @response `200` `SiteConfiguration` Success
|
|
2628
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2628
2629
|
*/
|
|
2629
2630
|
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2630
2631
|
/**
|
|
@@ -2635,8 +2636,8 @@ export class Api extends HttpClient {
|
|
|
2635
2636
|
* @summary Get By Loan Officer User
|
|
2636
2637
|
* @request GET:/api/site-configurations/louser/{loUserId}
|
|
2637
2638
|
* @secure
|
|
2638
|
-
* @response `200` `SiteConfiguration`
|
|
2639
|
-
* @response `422` `UnprocessableEntity`
|
|
2639
|
+
* @response `200` `SiteConfiguration` Success
|
|
2640
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2640
2641
|
*/
|
|
2641
2642
|
getSiteConfigurationByLoanOfficerUser: (loUserId, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser/${loUserId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2642
2643
|
/**
|
|
@@ -2647,8 +2648,8 @@ export class Api extends HttpClient {
|
|
|
2647
2648
|
* @summary Search
|
|
2648
2649
|
* @request POST:/api/site-configurations/search
|
|
2649
2650
|
* @secure
|
|
2650
|
-
* @response `200` `SiteConfigurationSummaryPaginated`
|
|
2651
|
-
* @response `422` `UnprocessableEntity`
|
|
2651
|
+
* @response `200` `SiteConfigurationSummaryPaginated` Success
|
|
2652
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2652
2653
|
*/
|
|
2653
2654
|
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)),
|
|
2654
2655
|
/**
|
|
@@ -2659,7 +2660,7 @@ export class Api extends HttpClient {
|
|
|
2659
2660
|
* @summary Get Forms by Site Configuration
|
|
2660
2661
|
* @request GET:/api/site-configurations/{id}/forms
|
|
2661
2662
|
* @secure
|
|
2662
|
-
* @response `200` `(AdminAccessGetForms)[]`
|
|
2663
|
+
* @response `200` `(AdminAccessGetForms)[]` Success
|
|
2663
2664
|
*/
|
|
2664
2665
|
getFormsBySiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}/forms`, method: "GET", secure: true, format: "json" }, params)),
|
|
2665
2666
|
/**
|
|
@@ -2670,7 +2671,7 @@ export class Api extends HttpClient {
|
|
|
2670
2671
|
* @summary Get Saml Metadata
|
|
2671
2672
|
* @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
|
|
2672
2673
|
* @secure
|
|
2673
|
-
* @response `200` `File`
|
|
2674
|
+
* @response `200` `File` Success
|
|
2674
2675
|
* @response `404` `ProblemDetails` Not Found
|
|
2675
2676
|
*/
|
|
2676
2677
|
getSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "GET", secure: true }, params)),
|
|
@@ -2682,7 +2683,7 @@ export class Api extends HttpClient {
|
|
|
2682
2683
|
* @summary Create or Replace Saml Metadata
|
|
2683
2684
|
* @request POST:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
|
|
2684
2685
|
* @secure
|
|
2685
|
-
* @response `200` `File`
|
|
2686
|
+
* @response `200` `File` Success
|
|
2686
2687
|
*/
|
|
2687
2688
|
createOrReplaceSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "POST", secure: true }, params)),
|
|
2688
2689
|
/**
|
|
@@ -2693,7 +2694,7 @@ export class Api extends HttpClient {
|
|
|
2693
2694
|
* @summary List all site configurations assigned to a workflow
|
|
2694
2695
|
* @request GET:/api/workflows/{workflowId}/site-configurations
|
|
2695
2696
|
* @secure
|
|
2696
|
-
* @response `200` `(SiteConfigurationForm)[]`
|
|
2697
|
+
* @response `200` `(SiteConfigurationForm)[]` Success
|
|
2697
2698
|
*/
|
|
2698
2699
|
getWorkflowSiteConfigurations: (workflowId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
|
|
2699
2700
|
/**
|
|
@@ -2704,7 +2705,7 @@ export class Api extends HttpClient {
|
|
|
2704
2705
|
* @summary Get the workflow-site configuration assignment by composite key
|
|
2705
2706
|
* @request GET:/api/workflows/{workflowId}/site-configurations/{siteConfigurationId}
|
|
2706
2707
|
* @secure
|
|
2707
|
-
* @response `200` `SiteConfigurationForm`
|
|
2708
|
+
* @response `200` `SiteConfigurationForm` Success
|
|
2708
2709
|
* @response `404` `ProblemDetails` Not Found
|
|
2709
2710
|
*/
|
|
2710
2711
|
getWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2718,7 +2719,7 @@ export class Api extends HttpClient {
|
|
|
2718
2719
|
* @secure
|
|
2719
2720
|
* @response `201` `SiteConfigurationForm` Created
|
|
2720
2721
|
* @response `409` `ProblemDetails` Conflict
|
|
2721
|
-
* @response `422` `UnprocessableEntity`
|
|
2722
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2722
2723
|
*/
|
|
2723
2724
|
createWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "POST", secure: true, format: "json" }, params)),
|
|
2724
2725
|
/**
|
|
@@ -2740,7 +2741,7 @@ export class Api extends HttpClient {
|
|
|
2740
2741
|
* @summary Get By Site Configuration Slug
|
|
2741
2742
|
* @request POST:/api/site-forms
|
|
2742
2743
|
* @secure
|
|
2743
|
-
* @response `200` `GetForm`
|
|
2744
|
+
* @response `200` `GetForm` Success
|
|
2744
2745
|
*/
|
|
2745
2746
|
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2746
2747
|
/**
|
|
@@ -2751,7 +2752,7 @@ export class Api extends HttpClient {
|
|
|
2751
2752
|
* @summary Get by Users
|
|
2752
2753
|
* @request GET:/api/surveys
|
|
2753
2754
|
* @secure
|
|
2754
|
-
* @response `200` `(SocialSurveyRecord)[]`
|
|
2755
|
+
* @response `200` `(SocialSurveyRecord)[]` Success
|
|
2755
2756
|
*/
|
|
2756
2757
|
getSurveysByUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2757
2758
|
/**
|
|
@@ -2762,8 +2763,8 @@ export class Api extends HttpClient {
|
|
|
2762
2763
|
* @summary Get by User
|
|
2763
2764
|
* @request POST:/api/surveys
|
|
2764
2765
|
* @secure
|
|
2765
|
-
* @response `200` `(SocialSurveyRecord)[]`
|
|
2766
|
-
* @response `422` `UnprocessableEntity`
|
|
2766
|
+
* @response `200` `(SocialSurveyRecord)[]` Success
|
|
2767
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
2767
2768
|
*/
|
|
2768
2769
|
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2769
2770
|
/**
|
|
@@ -2774,7 +2775,7 @@ export class Api extends HttpClient {
|
|
|
2774
2775
|
* @summary Get All
|
|
2775
2776
|
* @request GET:/api/tasks
|
|
2776
2777
|
* @secure
|
|
2777
|
-
* @response `200` `Task`
|
|
2778
|
+
* @response `200` `Task` Success
|
|
2778
2779
|
* @response `404` `ProblemDetails` Not Found
|
|
2779
2780
|
*/
|
|
2780
2781
|
getTasks: (query, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
@@ -2797,7 +2798,7 @@ export class Api extends HttpClient {
|
|
|
2797
2798
|
* @summary Get By ID
|
|
2798
2799
|
* @request GET:/api/tasks/{id}
|
|
2799
2800
|
* @secure
|
|
2800
|
-
* @response `200` `Task`
|
|
2801
|
+
* @response `200` `Task` Success
|
|
2801
2802
|
* @response `404` `ProblemDetails` Not Found
|
|
2802
2803
|
*/
|
|
2803
2804
|
getTask: (id, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2809,10 +2810,10 @@ export class Api extends HttpClient {
|
|
|
2809
2810
|
* @summary Replace
|
|
2810
2811
|
* @request PUT:/api/tasks/{id}
|
|
2811
2812
|
* @secure
|
|
2812
|
-
* @response `200` `
|
|
2813
|
+
* @response `200` `void` Success
|
|
2813
2814
|
* @response `404` `ProblemDetails` Not Found
|
|
2814
2815
|
*/
|
|
2815
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json
|
|
2816
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2816
2817
|
/**
|
|
2817
2818
|
* No description
|
|
2818
2819
|
*
|
|
@@ -2833,7 +2834,7 @@ export class Api extends HttpClient {
|
|
|
2833
2834
|
* @summary Search
|
|
2834
2835
|
* @request POST:/api/tasks/search
|
|
2835
2836
|
* @secure
|
|
2836
|
-
* @response `200` `TaskPaginated`
|
|
2837
|
+
* @response `200` `TaskPaginated` Success
|
|
2837
2838
|
*/
|
|
2838
2839
|
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)),
|
|
2839
2840
|
/**
|
|
@@ -2843,7 +2844,7 @@ export class Api extends HttpClient {
|
|
|
2843
2844
|
* @name IntegrationsLosLoansCreate
|
|
2844
2845
|
* @request POST:/api/integrations/los/loans
|
|
2845
2846
|
* @secure
|
|
2846
|
-
* @response `200` `void`
|
|
2847
|
+
* @response `200` `void` Success
|
|
2847
2848
|
*/
|
|
2848
2849
|
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2849
2850
|
/**
|
|
@@ -2878,7 +2879,7 @@ export class Api extends HttpClient {
|
|
|
2878
2879
|
* @summary Get draft users
|
|
2879
2880
|
* @request GET:/api/loans/drafts/{draftId}/users
|
|
2880
2881
|
* @secure
|
|
2881
|
-
* @response `200` `UserDraftPaginated`
|
|
2882
|
+
* @response `200` `UserDraftPaginated` Success
|
|
2882
2883
|
*/
|
|
2883
2884
|
getDraftUsers: (draftId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
2884
2885
|
/**
|
|
@@ -2889,7 +2890,7 @@ export class Api extends HttpClient {
|
|
|
2889
2890
|
* @summary Get draft user
|
|
2890
2891
|
* @request GET:/api/loans/drafts/{draftId}/users/{userId}
|
|
2891
2892
|
* @secure
|
|
2892
|
-
* @response `200` `UserDraft`
|
|
2893
|
+
* @response `200` `UserDraft` Success
|
|
2893
2894
|
*/
|
|
2894
2895
|
getDraftUser: (draftId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2895
2896
|
/**
|
|
@@ -2900,7 +2901,7 @@ export class Api extends HttpClient {
|
|
|
2900
2901
|
* @summary Add draft user
|
|
2901
2902
|
* @request POST:/api/loans/drafts/{draftId}/users/{userId}
|
|
2902
2903
|
* @secure
|
|
2903
|
-
* @response `200` `UserDraft`
|
|
2904
|
+
* @response `200` `UserDraft` Success
|
|
2904
2905
|
*/
|
|
2905
2906
|
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)),
|
|
2906
2907
|
/**
|
|
@@ -2918,90 +2919,79 @@ export class Api extends HttpClient {
|
|
|
2918
2919
|
* No description
|
|
2919
2920
|
*
|
|
2920
2921
|
* @tags UserGroupAccessScopes
|
|
2921
|
-
* @name
|
|
2922
|
-
* @summary
|
|
2922
|
+
* @name GetUserGroupAccessScopes
|
|
2923
|
+
* @summary Get All
|
|
2923
2924
|
* @request GET:/api/user-groups/{groupId}/scopes
|
|
2924
2925
|
* @secure
|
|
2925
|
-
* @response `200` `(UserGroupAccessScope)[]`
|
|
2926
|
+
* @response `200` `(UserGroupAccessScope)[]` Success
|
|
2926
2927
|
*/
|
|
2927
|
-
|
|
2928
|
+
getUserGroupAccessScopes: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "GET", secure: true, format: "json" }, params)),
|
|
2928
2929
|
/**
|
|
2929
2930
|
* No description
|
|
2930
2931
|
*
|
|
2931
2932
|
* @tags UserGroupAccessScopes
|
|
2932
|
-
* @name
|
|
2933
|
-
* @summary Create
|
|
2933
|
+
* @name CreateUserGroupAccessScope
|
|
2934
|
+
* @summary Create a new scope
|
|
2934
2935
|
* @request POST:/api/user-groups/{groupId}/scopes
|
|
2935
2936
|
* @secure
|
|
2936
|
-
* @response `200` `UserGroupAccessScope`
|
|
2937
|
+
* @response `200` `UserGroupAccessScope` Success
|
|
2937
2938
|
*/
|
|
2938
|
-
|
|
2939
|
+
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)),
|
|
2939
2940
|
/**
|
|
2940
2941
|
* No description
|
|
2941
2942
|
*
|
|
2942
2943
|
* @tags UserGroupAccessScopes
|
|
2943
|
-
* @name
|
|
2944
|
-
* @summary
|
|
2944
|
+
* @name DeleteUserGroupAccessScope
|
|
2945
|
+
* @summary Delete a scope
|
|
2945
2946
|
* @request DELETE:/api/user-groups/{groupId}/scopes/{scopeId}
|
|
2946
2947
|
* @secure
|
|
2947
2948
|
* @response `204` `void` No Content
|
|
2948
2949
|
*/
|
|
2949
|
-
|
|
2950
|
+
deleteUserGroupAccessScope: (groupId, scopeId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes/${scopeId}`, method: "DELETE", secure: true }, params)),
|
|
2950
2951
|
/**
|
|
2951
2952
|
* No description
|
|
2952
2953
|
*
|
|
2953
2954
|
* @tags UserGroupMembers
|
|
2954
|
-
* @name
|
|
2955
|
-
* @summary
|
|
2955
|
+
* @name GetUserGroupMembers
|
|
2956
|
+
* @summary Get All
|
|
2956
2957
|
* @request GET:/api/user-groups/{groupId}/members
|
|
2957
2958
|
* @secure
|
|
2958
|
-
* @response `200` `(UserGroupMember)[]`
|
|
2959
|
+
* @response `200` `(UserGroupMember)[]` Success
|
|
2959
2960
|
*/
|
|
2960
|
-
|
|
2961
|
+
getUserGroupMembers: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "GET", secure: true, format: "json" }, params)),
|
|
2961
2962
|
/**
|
|
2962
2963
|
* No description
|
|
2963
2964
|
*
|
|
2964
2965
|
* @tags UserGroupMembers
|
|
2965
|
-
* @name
|
|
2966
|
-
* @summary Create Group Member
|
|
2966
|
+
* @name CreateUserGroupMember
|
|
2967
|
+
* @summary Create User Group Member
|
|
2967
2968
|
* @request POST:/api/user-groups/{groupId}/members
|
|
2968
2969
|
* @secure
|
|
2969
|
-
* @response `200` `UserGroupMember`
|
|
2970
|
+
* @response `200` `UserGroupMember` Success
|
|
2970
2971
|
*/
|
|
2971
|
-
|
|
2972
|
+
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)),
|
|
2972
2973
|
/**
|
|
2973
2974
|
* No description
|
|
2974
2975
|
*
|
|
2975
2976
|
* @tags UserGroupMembers
|
|
2976
|
-
* @name
|
|
2977
|
-
* @summary
|
|
2977
|
+
* @name DeleteUserGroupMember
|
|
2978
|
+
* @summary Delete User Group Member
|
|
2978
2979
|
* @request DELETE:/api/user-groups/{groupId}/members/{userId}
|
|
2979
2980
|
* @secure
|
|
2980
2981
|
* @response `204` `void` No Content
|
|
2981
2982
|
*/
|
|
2982
|
-
|
|
2983
|
+
deleteUserGroupMember: (groupId, userId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members/${userId}`, method: "DELETE", secure: true }, params)),
|
|
2983
2984
|
/**
|
|
2984
2985
|
* No description
|
|
2985
2986
|
*
|
|
2986
2987
|
* @tags UserGroups
|
|
2987
|
-
* @name
|
|
2988
|
-
* @summary
|
|
2989
|
-
* @request
|
|
2988
|
+
* @name SearchUserGroups
|
|
2989
|
+
* @summary Get All
|
|
2990
|
+
* @request POST:/api/user-groups/search
|
|
2990
2991
|
* @secure
|
|
2991
|
-
* @response `200` `UserGroupPaginated`
|
|
2992
|
+
* @response `200` `UserGroupPaginated` Success
|
|
2992
2993
|
*/
|
|
2993
|
-
|
|
2994
|
-
/**
|
|
2995
|
-
* No description
|
|
2996
|
-
*
|
|
2997
|
-
* @tags UserGroups
|
|
2998
|
-
* @name CreateUserGroup
|
|
2999
|
-
* @summary Create User Group
|
|
3000
|
-
* @request POST:/api/user-groups
|
|
3001
|
-
* @secure
|
|
3002
|
-
* @response `201` `UserGroup` Created
|
|
3003
|
-
*/
|
|
3004
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2994
|
+
searchUserGroups: (query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/search`, method: "POST", query: query, secure: true, format: "json" }, params)),
|
|
3005
2995
|
/**
|
|
3006
2996
|
* No description
|
|
3007
2997
|
*
|
|
@@ -3010,7 +3000,7 @@ export class Api extends HttpClient {
|
|
|
3010
3000
|
* @summary Get User Group by ID
|
|
3011
3001
|
* @request GET:/api/user-groups/{groupId}
|
|
3012
3002
|
* @secure
|
|
3013
|
-
* @response `200` `UserGroup`
|
|
3003
|
+
* @response `200` `UserGroup` Success
|
|
3014
3004
|
*/
|
|
3015
3005
|
getUserGroup: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
3016
3006
|
/**
|
|
@@ -3021,7 +3011,7 @@ export class Api extends HttpClient {
|
|
|
3021
3011
|
* @summary Update User Group
|
|
3022
3012
|
* @request PUT:/api/user-groups/{groupId}
|
|
3023
3013
|
* @secure
|
|
3024
|
-
* @response `200` `UserGroup`
|
|
3014
|
+
* @response `200` `UserGroup` Success
|
|
3025
3015
|
*/
|
|
3026
3016
|
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)),
|
|
3027
3017
|
/**
|
|
@@ -3029,12 +3019,23 @@ export class Api extends HttpClient {
|
|
|
3029
3019
|
*
|
|
3030
3020
|
* @tags UserGroups
|
|
3031
3021
|
* @name DeleteUserGroup
|
|
3032
|
-
* @summary Delete
|
|
3022
|
+
* @summary Delete User Group
|
|
3033
3023
|
* @request DELETE:/api/user-groups/{groupId}
|
|
3034
3024
|
* @secure
|
|
3035
3025
|
* @response `204` `void` No Content
|
|
3036
3026
|
*/
|
|
3037
3027
|
deleteUserGroup: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "DELETE", secure: true }, params)),
|
|
3028
|
+
/**
|
|
3029
|
+
* No description
|
|
3030
|
+
*
|
|
3031
|
+
* @tags UserGroups
|
|
3032
|
+
* @name CreateUserGroup
|
|
3033
|
+
* @summary Create User Group
|
|
3034
|
+
* @request POST:/api/user-groups
|
|
3035
|
+
* @secure
|
|
3036
|
+
* @response `201` `UserGroup` Created
|
|
3037
|
+
*/
|
|
3038
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3038
3039
|
/**
|
|
3039
3040
|
* No description
|
|
3040
3041
|
*
|
|
@@ -3045,7 +3046,7 @@ export class Api extends HttpClient {
|
|
|
3045
3046
|
* @secure
|
|
3046
3047
|
* @response `204` `void` No Content
|
|
3047
3048
|
* @response `404` `Error` Not Found
|
|
3048
|
-
* @response `422` `UnprocessableEntity`
|
|
3049
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3049
3050
|
*/
|
|
3050
3051
|
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3051
3052
|
/**
|
|
@@ -3058,7 +3059,7 @@ export class Api extends HttpClient {
|
|
|
3058
3059
|
* @secure
|
|
3059
3060
|
* @response `204` `void` No Content
|
|
3060
3061
|
* @response `404` `Error` Not Found
|
|
3061
|
-
* @response `422` `UnprocessableEntity`
|
|
3062
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3062
3063
|
*/
|
|
3063
3064
|
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3064
3065
|
/**
|
|
@@ -3071,7 +3072,7 @@ export class Api extends HttpClient {
|
|
|
3071
3072
|
* @secure
|
|
3072
3073
|
* @response `204` `void` No Content
|
|
3073
3074
|
* @response `404` `Error` Not Found
|
|
3074
|
-
* @response `422` `UnprocessableEntity`
|
|
3075
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3075
3076
|
*/
|
|
3076
3077
|
allowImpersonationWithGuid: (allowToken, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow/${allowToken}`, method: "POST", secure: true }, params)),
|
|
3077
3078
|
/**
|
|
@@ -3083,7 +3084,7 @@ export class Api extends HttpClient {
|
|
|
3083
3084
|
* @request POST:/api/users/impersonation
|
|
3084
3085
|
* @secure
|
|
3085
3086
|
* @response `204` `void` No Content
|
|
3086
|
-
* @response `422` `UnprocessableEntity`
|
|
3087
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3087
3088
|
*/
|
|
3088
3089
|
beginImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "POST", secure: true }, params)),
|
|
3089
3090
|
/**
|
|
@@ -3095,7 +3096,7 @@ export class Api extends HttpClient {
|
|
|
3095
3096
|
* @request DELETE:/api/users/impersonation
|
|
3096
3097
|
* @secure
|
|
3097
3098
|
* @response `204` `void` No Content
|
|
3098
|
-
* @response `422` `UnprocessableEntity`
|
|
3099
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3099
3100
|
*/
|
|
3100
3101
|
stopImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "DELETE", secure: true }, params)),
|
|
3101
3102
|
/**
|
|
@@ -3108,7 +3109,7 @@ export class Api extends HttpClient {
|
|
|
3108
3109
|
* @secure
|
|
3109
3110
|
* @response `204` `void` No Content
|
|
3110
3111
|
* @response `404` `Error` Not Found
|
|
3111
|
-
* @response `422` `UnprocessableEntity`
|
|
3112
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3112
3113
|
*/
|
|
3113
3114
|
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3114
3115
|
/**
|
|
@@ -3120,7 +3121,7 @@ export class Api extends HttpClient {
|
|
|
3120
3121
|
* @request POST:/api/users/impersonation/extend
|
|
3121
3122
|
* @secure
|
|
3122
3123
|
* @response `204` `void` No Content
|
|
3123
|
-
* @response `422` `UnprocessableEntity`
|
|
3124
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3124
3125
|
*/
|
|
3125
3126
|
extendImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/extend`, method: "POST", secure: true }, params)),
|
|
3126
3127
|
/**
|
|
@@ -3132,7 +3133,7 @@ export class Api extends HttpClient {
|
|
|
3132
3133
|
* @request POST:/api/users/invites
|
|
3133
3134
|
* @secure
|
|
3134
3135
|
* @response `204` `void` No Content
|
|
3135
|
-
* @response `422` `UnprocessableEntity`
|
|
3136
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3136
3137
|
*/
|
|
3137
3138
|
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3138
3139
|
/**
|
|
@@ -3156,8 +3157,8 @@ export class Api extends HttpClient {
|
|
|
3156
3157
|
* @summary Verify
|
|
3157
3158
|
* @request GET:/api/users/invites/{token}/verify
|
|
3158
3159
|
* @secure
|
|
3159
|
-
* @response `200` `Invite`
|
|
3160
|
-
* @response `422` `UnprocessableEntity`
|
|
3160
|
+
* @response `200` `Invite` Success
|
|
3161
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3161
3162
|
*/
|
|
3162
3163
|
verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
|
|
3163
3164
|
/**
|
|
@@ -3168,7 +3169,7 @@ export class Api extends HttpClient {
|
|
|
3168
3169
|
* @summary Get All
|
|
3169
3170
|
* @request GET:/api/users/{userID}/relations
|
|
3170
3171
|
* @secure
|
|
3171
|
-
* @response `200` `(UserRelation)[]`
|
|
3172
|
+
* @response `200` `(UserRelation)[]` Success
|
|
3172
3173
|
*/
|
|
3173
3174
|
getUserRelations: (userId, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "GET", secure: true, format: "json" }, params)),
|
|
3174
3175
|
/**
|
|
@@ -3190,7 +3191,7 @@ export class Api extends HttpClient {
|
|
|
3190
3191
|
* @summary Get by ID
|
|
3191
3192
|
* @request GET:/api/users/{userID}/relations/{id}
|
|
3192
3193
|
* @secure
|
|
3193
|
-
* @response `200` `UserRelation`
|
|
3194
|
+
* @response `200` `UserRelation` Success
|
|
3194
3195
|
*/
|
|
3195
3196
|
getUserRelation: (userId, id, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
3196
3197
|
/**
|
|
@@ -3212,7 +3213,7 @@ export class Api extends HttpClient {
|
|
|
3212
3213
|
* @summary Get All
|
|
3213
3214
|
* @request GET:/api/users
|
|
3214
3215
|
* @secure
|
|
3215
|
-
* @response `200` `(User)[]`
|
|
3216
|
+
* @response `200` `(User)[]` Success
|
|
3216
3217
|
*/
|
|
3217
3218
|
getUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
3218
3219
|
/**
|
|
@@ -3223,8 +3224,8 @@ export class Api extends HttpClient {
|
|
|
3223
3224
|
* @summary Create
|
|
3224
3225
|
* @request POST:/api/users
|
|
3225
3226
|
* @secure
|
|
3226
|
-
* @response `200` `DetailedUser`
|
|
3227
|
-
* @response `422` `UnprocessableEntity`
|
|
3227
|
+
* @response `200` `DetailedUser` Success
|
|
3228
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3228
3229
|
*/
|
|
3229
3230
|
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3230
3231
|
/**
|
|
@@ -3235,7 +3236,7 @@ export class Api extends HttpClient {
|
|
|
3235
3236
|
* @summary Search
|
|
3236
3237
|
* @request POST:/api/users/search
|
|
3237
3238
|
* @secure
|
|
3238
|
-
* @response `200` `UserPaginated`
|
|
3239
|
+
* @response `200` `UserPaginated` Success
|
|
3239
3240
|
*/
|
|
3240
3241
|
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)),
|
|
3241
3242
|
/**
|
|
@@ -3246,7 +3247,7 @@ export class Api extends HttpClient {
|
|
|
3246
3247
|
* @summary Get by Email
|
|
3247
3248
|
* @request POST:/api/users/byemail
|
|
3248
3249
|
* @secure
|
|
3249
|
-
* @response `200` `AdminAccessUser`
|
|
3250
|
+
* @response `200` `AdminAccessUser` Success
|
|
3250
3251
|
*/
|
|
3251
3252
|
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3252
3253
|
/**
|
|
@@ -3257,8 +3258,8 @@ export class Api extends HttpClient {
|
|
|
3257
3258
|
* @summary Sign Up
|
|
3258
3259
|
* @request POST:/api/users/register
|
|
3259
3260
|
* @secure
|
|
3260
|
-
* @response `200` `User`
|
|
3261
|
-
* @response `422` `UnprocessableEntity`
|
|
3261
|
+
* @response `200` `User` Success
|
|
3262
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3262
3263
|
*/
|
|
3263
3264
|
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3264
3265
|
/**
|
|
@@ -3269,8 +3270,8 @@ export class Api extends HttpClient {
|
|
|
3269
3270
|
* @summary Update
|
|
3270
3271
|
* @request PUT:/api/users/{id}
|
|
3271
3272
|
* @secure
|
|
3272
|
-
* @response `200` `DetailedUser`
|
|
3273
|
-
* @response `422` `UnprocessableEntity`
|
|
3273
|
+
* @response `200` `DetailedUser` Success
|
|
3274
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3274
3275
|
*/
|
|
3275
3276
|
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3276
3277
|
/**
|
|
@@ -3304,7 +3305,7 @@ export class Api extends HttpClient {
|
|
|
3304
3305
|
* @request POST:/api/users/change-password
|
|
3305
3306
|
* @secure
|
|
3306
3307
|
* @response `204` `void` No Content
|
|
3307
|
-
* @response `422` `UnprocessableEntity`
|
|
3308
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3308
3309
|
*/
|
|
3309
3310
|
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3310
3311
|
/**
|
|
@@ -3316,7 +3317,7 @@ export class Api extends HttpClient {
|
|
|
3316
3317
|
* @request POST:/api/users/verify-password
|
|
3317
3318
|
* @secure
|
|
3318
3319
|
* @response `204` `void` No Content
|
|
3319
|
-
* @response `422` `UnprocessableEntity`
|
|
3320
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3320
3321
|
*/
|
|
3321
3322
|
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3322
3323
|
/**
|
|
@@ -3328,7 +3329,7 @@ export class Api extends HttpClient {
|
|
|
3328
3329
|
* @request POST:/api/users/{id}/override-password
|
|
3329
3330
|
* @secure
|
|
3330
3331
|
* @response `204` `void` No Content
|
|
3331
|
-
* @response `422` `UnprocessableEntity`
|
|
3332
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3332
3333
|
*/
|
|
3333
3334
|
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3334
3335
|
/**
|
|
@@ -3340,7 +3341,7 @@ export class Api extends HttpClient {
|
|
|
3340
3341
|
* @request POST:/api/users/forgot-password
|
|
3341
3342
|
* @secure
|
|
3342
3343
|
* @response `204` `void` No Content
|
|
3343
|
-
* @response `422` `UnprocessableEntity`
|
|
3344
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3344
3345
|
*/
|
|
3345
3346
|
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3346
3347
|
/**
|
|
@@ -3352,7 +3353,7 @@ export class Api extends HttpClient {
|
|
|
3352
3353
|
* @request POST:/api/users/mobile-phone/send-code
|
|
3353
3354
|
* @secure
|
|
3354
3355
|
* @response `204` `void` No Content
|
|
3355
|
-
* @response `422` `UnprocessableEntity`
|
|
3356
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3356
3357
|
*/
|
|
3357
3358
|
sendMobilePhoneVerificationCode: (params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/send-code`, method: "POST", secure: true }, params)),
|
|
3358
3359
|
/**
|
|
@@ -3364,7 +3365,7 @@ export class Api extends HttpClient {
|
|
|
3364
3365
|
* @request PUT:/api/users/mobile-phone/verify-code
|
|
3365
3366
|
* @secure
|
|
3366
3367
|
* @response `204` `void` No Content
|
|
3367
|
-
* @response `422` `UnprocessableEntity`
|
|
3368
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
3368
3369
|
*/
|
|
3369
3370
|
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3370
3371
|
/**
|
|
@@ -3375,7 +3376,7 @@ export class Api extends HttpClient {
|
|
|
3375
3376
|
* @summary Get
|
|
3376
3377
|
* @request GET:/api/users/me
|
|
3377
3378
|
* @secure
|
|
3378
|
-
* @response `200` `ImpersonatedDetailedUser`
|
|
3379
|
+
* @response `200` `ImpersonatedDetailedUser` Success
|
|
3379
3380
|
*/
|
|
3380
3381
|
getMe: (params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "GET", secure: true, format: "json" }, params)),
|
|
3381
3382
|
/**
|
|
@@ -3386,7 +3387,7 @@ export class Api extends HttpClient {
|
|
|
3386
3387
|
* @summary Replace
|
|
3387
3388
|
* @request PUT:/api/users/me
|
|
3388
3389
|
* @secure
|
|
3389
|
-
* @response `200` `DetailedUser`
|
|
3390
|
+
* @response `200` `DetailedUser` Success
|
|
3390
3391
|
*/
|
|
3391
3392
|
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3392
3393
|
/**
|
|
@@ -3408,7 +3409,7 @@ export class Api extends HttpClient {
|
|
|
3408
3409
|
* @summary Get Relationships
|
|
3409
3410
|
* @request GET:/api/users/me/relationships
|
|
3410
3411
|
* @secure
|
|
3411
|
-
* @response `200` `(UserRelationship)[]`
|
|
3412
|
+
* @response `200` `(UserRelationship)[]` Success
|
|
3412
3413
|
*/
|
|
3413
3414
|
getMyRelationships: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships`, method: "GET", secure: true, format: "json" }, params)),
|
|
3414
3415
|
/**
|
|
@@ -3419,7 +3420,7 @@ export class Api extends HttpClient {
|
|
|
3419
3420
|
* @summary Get Relationship Prospects
|
|
3420
3421
|
* @request GET:/api/users/me/relationships/prospects
|
|
3421
3422
|
* @secure
|
|
3422
|
-
* @response `200` `(UserRelationshipProspect)[]`
|
|
3423
|
+
* @response `200` `(UserRelationshipProspect)[]` Success
|
|
3423
3424
|
*/
|
|
3424
3425
|
getMyRelationshipProspects: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects`, method: "GET", secure: true, format: "json" }, params)),
|
|
3425
3426
|
/**
|
|
@@ -3452,7 +3453,7 @@ export class Api extends HttpClient {
|
|
|
3452
3453
|
* @summary Get Workflow
|
|
3453
3454
|
* @request POST:/api/workflow
|
|
3454
3455
|
* @secure
|
|
3455
|
-
* @response `200` `GetForm`
|
|
3456
|
+
* @response `200` `GetForm` Success
|
|
3456
3457
|
*/
|
|
3457
3458
|
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3458
3459
|
};
|