@matech/thebigpos-sdk 3.3.1 → 3.4.0-stag-1921
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/README.md +0 -39
- package/dist/index.d.ts +66 -35
- package/dist/index.js +8 -20
- package/dist/index.js.map +1 -1
- package/package.json +5 -15
- package/scripts/apply-json-patch-content-type.js +36 -129
- package/src/index.ts +78 -56
- package/docs/sdk_generation.md +0 -149
package/README.md
CHANGED
|
@@ -40,44 +40,5 @@ apiClient.api.getSiteConfiguration().then((response) => {
|
|
|
40
40
|
});
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
## Generate SDK from Swagger
|
|
44
|
-
|
|
45
|
-
To regenerate the SDK from a specific API version, run:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/{version}/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --enum-style union
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Replace `{version}` with the target API version (e.g. `v2.34.0`):
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npx swagger-typescript-api generate -p https://api.thebigpos.dev/swagger/v2.34.0/swagger.json -o ./src -n index.ts -r true --axios --enum-names-as-values --enum-style union
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Then apply the PATCH content-type fixup, passing the **same** spec that was given
|
|
58
|
-
to the generator. The generator does not propagate `application/json-patch+json`,
|
|
59
|
-
so this step sets each PATCH method's content type from the spec (no hard-coded
|
|
60
|
-
endpoint list):
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
node scripts/apply-json-patch-content-type.js https://api.thebigpos.dev/swagger/v2.34.0/swagger.json
|
|
64
|
-
yarn build
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Publishing
|
|
68
|
-
|
|
69
|
-
1. Update the `version` field in `package.json` before publishing.
|
|
70
|
-
2. Build the project:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
yarn build
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
3. Publish to npm:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
yarn publish
|
|
80
|
-
```
|
|
81
|
-
|
|
82
43
|
____
|
|
83
44
|
© 2024 Mortgage Automation Technologies. All rights reserved
|
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.
|
|
6678
|
+
* @version v3.4.0
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
98
|
+
* @version v3.4.0
|
|
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
|
*/
|
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
@@ -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
|
-
*
|
|
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
|
|
@@ -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
|
/**
|
|
@@ -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
|
*
|