@matech/thebigpos-sdk 3.3.0 → 3.3.1-dev-1839

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 CHANGED
@@ -20,6 +20,7 @@ export type LoanTrustType = "Living" | "Land" | "Testamentary" | "Other";
20
20
  export type LoanTitleHeld = "Sole" | "JointWithSpouse" | "JointWithOtherThanSpouse";
21
21
  export type LoanTaskActivityFilter = "Active" | "Inactive" | "All";
22
22
  export type LoanRole = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
23
+ export type LoanRefinancePurpose = "CashOutDebtConsolidation" | "CashOutHomeImprovement" | "CashOutOther" | "NoCashOut" | "LimitedCashOut";
23
24
  export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
24
25
  export type LoanRealEstateOccupancyType = "PrimaryHome" | "SecondHome" | "InvestmentProperty" | "FHASecondaryResidence";
25
26
  export type LoanRealEstateIntendedUsageType = "PrimaryResidence" | "SecondHome" | "Investment" | "Other";
@@ -79,7 +80,7 @@ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
79
80
  export type CompanyDocumentSourceType = "File" | "FreeText";
80
81
  export type CompanyDocumentIndexStatus = "Uploaded" | "Indexing" | "Indexed" | "Failed";
81
82
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
82
- export type BulkLoanTaskOperationType = "SetStatus";
83
+ export type BulkLoanTaskOperationType = "SetStatus" | "Delete";
83
84
  export type BranchType = "Mortgage" | "RealEstate";
84
85
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
85
86
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
@@ -397,6 +398,9 @@ export interface AiAuditLog {
397
398
  /** @format uuid */
398
399
  messageId?: string | null;
399
400
  eventType: AiAuditLogEventTypeEnum;
401
+ trigger?: string | null;
402
+ subjectTaskName?: string | null;
403
+ subjectLoanNumber?: string | null;
400
404
  modelId?: string | null;
401
405
  /** @format int32 */
402
406
  inputTokens?: number | null;
@@ -1026,20 +1030,6 @@ export interface BranchUserPaginated {
1026
1030
  /** @format int64 */
1027
1031
  count: number;
1028
1032
  }
1029
- export interface BulkCompleteLoanTaskFailure {
1030
- /** @format uuid */
1031
- userLoanTaskID: string;
1032
- taskName: string;
1033
- errorMessage: string;
1034
- }
1035
- export interface BulkCompleteLoanTasks {
1036
- completed: string[];
1037
- skipped: string[];
1038
- failed: BulkCompleteLoanTaskFailure[];
1039
- }
1040
- export interface BulkCompleteLoanTasksRequest {
1041
- userLoanTaskIDs: string[];
1042
- }
1043
1033
  export interface BulkLoanTaskFailure {
1044
1034
  /** @format uuid */
1045
1035
  userLoanTaskID: string;
@@ -2603,6 +2593,7 @@ export interface Loan {
2603
2593
  propertyAddress?: Address | null;
2604
2594
  property?: LoanProperty | null;
2605
2595
  financial?: LoanFinancial | null;
2596
+ refinance?: LoanRefinance | null;
2606
2597
  financialTerms?: LoanFinancialTerms | null;
2607
2598
  monthlyPayment?: LoanMonthlyPayment | null;
2608
2599
  costDetails?: LoanCostDetails | null;
@@ -2629,6 +2620,7 @@ export interface LoanApplication {
2629
2620
  startDate?: string | null;
2630
2621
  property?: LoanProperty | null;
2631
2622
  financial?: LoanFinancial | null;
2623
+ refinance?: LoanRefinance | null;
2632
2624
  borrowers: LoanBorrower[];
2633
2625
  nonOwningBorrowers: LoanNonOwningBorrower[];
2634
2626
  }
@@ -2645,6 +2637,7 @@ export interface LoanApplicationRequest {
2645
2637
  companyName?: string | null;
2646
2638
  property?: LoanPropertyRequest | null;
2647
2639
  financial?: LoanFinancialRequest | null;
2640
+ refinance?: LoanRefinanceRequest | null;
2648
2641
  financialTerms?: LoanFinancialTermsRequest | null;
2649
2642
  monthlyPayment?: LoanMonthlyPaymentRequest | null;
2650
2643
  borrowers: LoanBorrowerRequest[];
@@ -2709,6 +2702,7 @@ export interface LoanBorrowerAccountAsset {
2709
2702
  }
2710
2703
  export interface LoanBorrowerAccountAssetRequest {
2711
2704
  name?: string | null;
2705
+ accountNumber?: string | null;
2712
2706
  financialInstitution?: string | null;
2713
2707
  /** @format double */
2714
2708
  value?: number | null;
@@ -4030,8 +4024,51 @@ export interface LoanRecord {
4030
4024
  loanGuid: string;
4031
4025
  loanFields: Record<string, string>;
4032
4026
  }
4027
+ export interface LoanRefinance {
4028
+ /** @format uuid */
4029
+ id?: string | null;
4030
+ /** @format int32 */
4031
+ yearAcquired?: number | null;
4032
+ /** @format double */
4033
+ valueOfLot?: number | null;
4034
+ /** @format double */
4035
+ originalCost?: number | null;
4036
+ /** @format double */
4037
+ existingLiens?: number | null;
4038
+ /** @format double */
4039
+ costOfImprovements?: number | null;
4040
+ purpose?: LoanRefinancePurpose | null;
4041
+ currentLoan?: LoanRefinanceCurrentLoan | null;
4042
+ }
4043
+ export interface LoanRefinanceCurrentLoan {
4044
+ /** @format uuid */
4045
+ id?: string | null;
4046
+ lender?: string | null;
4047
+ /** @format double */
4048
+ interestRate?: number | null;
4049
+ /** @format double */
4050
+ monthlyPayment?: number | null;
4051
+ /** @format double */
4052
+ remainingBalance?: number | null;
4053
+ loanType?: LoanType | null;
4054
+ }
4055
+ export interface LoanRefinanceCurrentLoanRequest {
4056
+ lender?: string | null;
4057
+ /** @format double */
4058
+ interestRate?: number | null;
4059
+ loanType?: LoanType | null;
4060
+ }
4061
+ export interface LoanRefinanceRequest {
4062
+ /** @format double */
4063
+ originalCost?: number | null;
4064
+ /** @format double */
4065
+ existingLiens?: number | null;
4066
+ purpose?: LoanRefinancePurpose | null;
4067
+ currentLoan?: LoanRefinanceCurrentLoanRequest | null;
4068
+ }
4033
4069
  export interface LoanSearchCriteria {
4034
4070
  searchText?: string | null;
4071
+ searchTerms?: string[] | null;
4035
4072
  /** @format uuid */
4036
4073
  loanOfficerId?: string | null;
4037
4074
  loanNumber?: string | null;
@@ -6451,12 +6488,16 @@ export interface UserTableSettings {
6451
6488
  columnOrder: string[];
6452
6489
  sortColumnId?: string | null;
6453
6490
  sortDirection?: SortDirection | null;
6491
+ searchTerms: string[];
6492
+ pinnedColumnIds: string[];
6454
6493
  }
6455
6494
  export interface UserTableSettingsRequest {
6456
6495
  hiddenColumnIds: string[];
6457
6496
  columnOrder: string[];
6458
6497
  sortColumnId?: string | null;
6459
6498
  sortDirection?: SortDirection | null;
6499
+ searchTerms: string[];
6500
+ pinnedColumnIds: string[];
6460
6501
  }
6461
6502
  export interface VerifyEmailRequest {
6462
6503
  token: string;
@@ -6634,7 +6675,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
6634
6675
  }
6635
6676
  /**
6636
6677
  * @title The Big POS API
6637
- * @version v3.3.0
6678
+ * @version v3.3.1
6638
6679
  * @termsOfService https://www.thebigpos.com/terms-of-use/
6639
6680
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6640
6681
  */
@@ -6972,7 +7013,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6972
7013
  */
6973
7014
  updateAiAdminSettings: (data: AiAdminSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
6974
7015
  /**
6975
- * No description
7016
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
6976
7017
  *
6977
7018
  * @tags AiAudit
6978
7019
  * @name GetAiAuditLogs
@@ -7002,6 +7043,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7002
7043
  pageNumber?: number;
7003
7044
  sortBy?: string;
7004
7045
  sortDirection?: string;
7046
+ eventTypes?: AiAuditEventType[];
7047
+ trigger?: string;
7005
7048
  }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
7006
7049
  /**
7007
7050
  * No description
@@ -7018,7 +7061,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7018
7061
  accountId?: string;
7019
7062
  }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
7020
7063
  /**
7021
- * No description
7064
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
7022
7065
  *
7023
7066
  * @tags AiAudit
7024
7067
  * @name GetAiAuditConversations
@@ -7043,7 +7086,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7043
7086
  sortDirection?: string;
7044
7087
  }, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
7045
7088
  /**
7046
- * No description
7089
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
7047
7090
  *
7048
7091
  * @tags AiAudit
7049
7092
  * @name GetAiStats
@@ -7061,7 +7104,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7061
7104
  endDate?: string;
7062
7105
  }, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
7063
7106
  /**
7064
- * No description
7107
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
7065
7108
  *
7066
7109
  * @tags AiAudit
7067
7110
  * @name GetAiConfigChanges
@@ -7698,7 +7741,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7698
7741
  sortDirection?: string;
7699
7742
  }, params?: RequestParams) => Promise<AxiosResponse<AiTokenUsageWindowPaginated, any, {}>>;
7700
7743
  /**
7701
- * No description
7744
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
7702
7745
  *
7703
7746
  * @tags AuditLog
7704
7747
  * @name SearchAuditLogs
@@ -9800,6 +9843,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9800
9843
  * @request POST:/api/listings
9801
9844
  * @secure
9802
9845
  * @response `201` `Listing` Created
9846
+ * @response `403` `ProblemDetails` Forbidden
9803
9847
  */
9804
9848
  createListing: (data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any, {}>>;
9805
9849
  /**
@@ -9833,6 +9877,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
9833
9877
  * @request PUT:/api/listings/{id}
9834
9878
  * @secure
9835
9879
  * @response `200` `Listing` OK
9880
+ * @response `403` `ProblemDetails` Forbidden
9836
9881
  */
9837
9882
  replaceListing: (id: string, data: ListingRequest, params?: RequestParams) => Promise<AxiosResponse<Listing, any, {}>>;
9838
9883
  /**
@@ -10878,20 +10923,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
10878
10923
  * @response `404` `ProblemDetails` Not Found
10879
10924
  */
10880
10925
  triggerAso: (loanId: string, data: TriggerAsoRequest, params?: RequestParams) => Promise<AxiosResponse<AutomatedService, any, {}>>;
10881
- /**
10882
- * @description Deprecated - use POST api/loans/tasks/bulk, which reaches every status and accepts tasks from more than one loan.
10883
- *
10884
- * @tags LoanTaskBulkCompletions
10885
- * @name BulkCompleteLoanTasks
10886
- * @summary [Deprecated] Bulk complete loan tasks
10887
- * @request POST:/api/loans/{loanID}/tasks/bulk-complete
10888
- * @deprecated
10889
- * @secure
10890
- * @response `200` `BulkCompleteLoanTasks` OK
10891
- * @response `404` `ProblemDetails` Not Found
10892
- * @response `422` `UnprocessableEntity` Unprocessable Content
10893
- */
10894
- bulkCompleteLoanTasks: (loanId: string, data: BulkCompleteLoanTasksRequest, params?: RequestParams) => Promise<AxiosResponse<BulkCompleteLoanTasks, any, {}>>;
10895
10926
  /**
10896
10927
  * No description
10897
10928
  *
package/dist/index.js CHANGED
@@ -95,7 +95,7 @@ export class HttpClient {
95
95
  }
96
96
  /**
97
97
  * @title The Big POS API
98
- * @version v3.3.0
98
+ * @version v3.3.1
99
99
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
100
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
101
  */
@@ -384,7 +384,7 @@ export class Api extends HttpClient {
384
384
  * @response `200` `AiPrompt` OK
385
385
  * @response `404` `ProblemDetails` Not Found
386
386
  */
387
- toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, type: ContentType.Json, format: "json" }, params)),
387
+ toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
388
388
  /**
389
389
  * No description
390
390
  *
@@ -432,7 +432,7 @@ export class Api extends HttpClient {
432
432
  */
433
433
  updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
434
434
  /**
435
- * No description
435
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
436
436
  *
437
437
  * @tags AiAudit
438
438
  * @name GetAiAuditLogs
@@ -454,7 +454,7 @@ export class Api extends HttpClient {
454
454
  */
455
455
  getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
456
456
  /**
457
- * No description
457
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
458
458
  *
459
459
  * @tags AiAudit
460
460
  * @name GetAiAuditConversations
@@ -465,7 +465,7 @@ export class Api extends HttpClient {
465
465
  */
466
466
  getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
467
467
  /**
468
- * No description
468
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
469
469
  *
470
470
  * @tags AiAudit
471
471
  * @name GetAiStats
@@ -476,7 +476,7 @@ export class Api extends HttpClient {
476
476
  */
477
477
  getAiStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
478
478
  /**
479
- * No description
479
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
480
480
  *
481
481
  * @tags AiAudit
482
482
  * @name GetAiConfigChanges
@@ -557,7 +557,7 @@ export class Api extends HttpClient {
557
557
  * @response `200` `AiCanonicalField` OK
558
558
  * @response `404` `ProblemDetails` Not Found
559
559
  */
560
- toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, type: ContentType.Json, format: "json" }, params)),
560
+ toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
561
561
  /**
562
562
  * No description
563
563
  *
@@ -633,7 +633,7 @@ export class Api extends HttpClient {
633
633
  * @response `403` `ProblemDetails` Forbidden
634
634
  * @response `404` `ProblemDetails` Not Found
635
635
  */
636
- renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
636
+ renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
637
637
  /**
638
638
  * No description
639
639
  *
@@ -793,7 +793,7 @@ export class Api extends HttpClient {
793
793
  * @response `200` `AiGuardrail` OK
794
794
  * @response `404` `ProblemDetails` Not Found
795
795
  */
796
- toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, type: ContentType.Json, format: "json" }, params)),
796
+ toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
797
797
  /**
798
798
  * No description
799
799
  *
@@ -982,7 +982,7 @@ export class Api extends HttpClient {
982
982
  * @response `200` `AiUrlSource` OK
983
983
  * @response `404` `ProblemDetails` Not Found
984
984
  */
985
- toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, type: ContentType.Json, format: "json" }, params)),
985
+ toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
986
986
  /**
987
987
  * No description
988
988
  *
@@ -1034,7 +1034,7 @@ export class Api extends HttpClient {
1034
1034
  */
1035
1035
  getAiUsageHistory: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/usage/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
1036
1036
  /**
1037
- * No description
1037
+ * @description startDate and endDate accept any ISO-8601 value. A value with no timezone designator (2026-09-01 or 2026-09-01T00:00:00) is read as UTC; a value with Z or an offset is used as the instant it names. A date-only value names the start of that day, so endDate=2026-09-01 returns nothing recorded on the 1st; to include that day send endDate=2026-09-02, or an explicit time such as 2026-09-01T23:59:59.
1038
1038
  *
1039
1039
  * @tags AuditLog
1040
1040
  * @name SearchAuditLogs
@@ -2702,7 +2702,7 @@ export class Api extends HttpClient {
2702
2702
  * @response `200` `string` OK
2703
2703
  * @response `422` `UnprocessableEntity` Unprocessable Content
2704
2704
  */
2705
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2705
+ updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2706
2706
  /**
2707
2707
  * No description
2708
2708
  *
@@ -2752,7 +2752,7 @@ export class Api extends HttpClient {
2752
2752
  * @response `200` `string` OK
2753
2753
  * @response `422` `UnprocessableEntity` Unprocessable Content
2754
2754
  */
2755
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2755
+ updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2756
2756
  /**
2757
2757
  * No description
2758
2758
  *
@@ -2765,7 +2765,7 @@ export class Api extends HttpClient {
2765
2765
  * @response `202` `string` Accepted
2766
2766
  * @response `422` `UnprocessableEntity` Unprocessable Content
2767
2767
  */
2768
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2768
+ updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2769
2769
  /**
2770
2770
  * No description
2771
2771
  *
@@ -2856,7 +2856,7 @@ export class Api extends HttpClient {
2856
2856
  * @secure
2857
2857
  * @response `200` `ListingFile` OK
2858
2858
  */
2859
- 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)),
2859
+ updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2860
2860
  /**
2861
2861
  * No description
2862
2862
  *
@@ -2889,7 +2889,7 @@ export class Api extends HttpClient {
2889
2889
  * @secure
2890
2890
  * @response `200` `(ListingPhoto)[]` OK
2891
2891
  */
2892
- 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)),
2892
+ updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2893
2893
  /**
2894
2894
  * No description
2895
2895
  *
@@ -2921,6 +2921,7 @@ export class Api extends HttpClient {
2921
2921
  * @request POST:/api/listings
2922
2922
  * @secure
2923
2923
  * @response `201` `Listing` Created
2924
+ * @response `403` `ProblemDetails` Forbidden
2924
2925
  */
2925
2926
  createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2926
2927
  /**
@@ -2954,6 +2955,7 @@ export class Api extends HttpClient {
2954
2955
  * @request PUT:/api/listings/{id}
2955
2956
  * @secure
2956
2957
  * @response `200` `Listing` OK
2958
+ * @response `403` `ProblemDetails` Forbidden
2957
2959
  */
2958
2960
  replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2959
2961
  /**
@@ -3825,7 +3827,7 @@ export class Api extends HttpClient {
3825
3827
  * @response `409` `any` Conflict
3826
3828
  * @response `422` `UnprocessableEntity` Unprocessable Content
3827
3829
  */
3828
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3830
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
3829
3831
  /**
3830
3832
  * No description
3831
3833
  *
@@ -3900,20 +3902,6 @@ export class Api extends HttpClient {
3900
3902
  * @response `404` `ProblemDetails` Not Found
3901
3903
  */
3902
3904
  triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3903
- /**
3904
- * @description Deprecated - use POST api/loans/tasks/bulk, which reaches every status and accepts tasks from more than one loan.
3905
- *
3906
- * @tags LoanTaskBulkCompletions
3907
- * @name BulkCompleteLoanTasks
3908
- * @summary [Deprecated] Bulk complete loan tasks
3909
- * @request POST:/api/loans/{loanID}/tasks/bulk-complete
3910
- * @deprecated
3911
- * @secure
3912
- * @response `200` `BulkCompleteLoanTasks` OK
3913
- * @response `404` `ProblemDetails` Not Found
3914
- * @response `422` `UnprocessableEntity` Unprocessable Content
3915
- */
3916
- bulkCompleteLoanTasks: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/bulk-complete`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3917
3905
  /**
3918
3906
  * No description
3919
3907
  *