@matech/thebigpos-sdk 3.2.1 → 3.3.0-dev-1625

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/src/index.ts CHANGED
@@ -30,6 +30,10 @@ export type TaskStatus =
30
30
  | "Rejected"
31
31
  | "Unknown";
32
32
 
33
+ export type TableKey = "Pipeline";
34
+
35
+ export type SortDirection = "Asc" | "Desc";
36
+
33
37
  export type SiteTileLocation = "HomePage" | "Dashboard";
34
38
 
35
39
  export type SiteConfigurationType =
@@ -68,7 +72,8 @@ export type LosOperationStatus =
68
72
  | "Failed"
69
73
  | "ConfigurationError"
70
74
  | "PermanentFailure"
71
- | "Locked";
75
+ | "Locked"
76
+ | "Skipped";
72
77
 
73
78
  export type LosCredentialHealthStatus =
74
79
  | "Unknown"
@@ -106,6 +111,13 @@ export type LoanRole =
106
111
  | "SettlementAgent"
107
112
  | "Admin";
108
113
 
114
+ export type LoanRefinancePurpose =
115
+ | "CashOutDebtConsolidation"
116
+ | "CashOutHomeImprovement"
117
+ | "CashOutOther"
118
+ | "NoCashOut"
119
+ | "LimitedCashOut";
120
+
109
121
  export type LoanRealEstateStatus = "Keep" | "Rent" | "Sell" | "PendingSale";
110
122
 
111
123
  export type LoanRealEstateOccupancyType =
@@ -252,7 +264,8 @@ export type LoanLogType =
252
264
  | "TaskReminderSent"
253
265
  | "DocumentClassified"
254
266
  | "CoBorrowerEmailAutoFixed"
255
- | "LosFieldWriteBack";
267
+ | "LosFieldWriteBack"
268
+ | "ReferrerChangeDiscarded";
256
269
 
257
270
  export type LoanLienPosition = "First" | "Subordinate";
258
271
 
@@ -524,6 +537,8 @@ export type CompanyDocumentIndexStatus =
524
537
 
525
538
  export type ClassificationSource = "Textract" | "Llm" | "Manual";
526
539
 
540
+ export type BulkLoanTaskOperationType = "SetStatus";
541
+
527
542
  export type BranchType = "Mortgage" | "RealEstate";
528
543
 
529
544
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
@@ -615,7 +630,10 @@ export type AiAuditEventType =
615
630
  | "AgentLoopLimitReached"
616
631
  | "RequestCancelled"
617
632
  | "KnowledgeBaseRetrieved"
618
- | "PromptResolutionFailed";
633
+ | "PromptResolutionFailed"
634
+ | "PromptTriggerPublished"
635
+ | "PromptTriggerSkipped"
636
+ | "PromptRunCompleted";
619
637
 
620
638
  export type AddressFamily =
621
639
  | "Unspecified"
@@ -884,10 +902,12 @@ export interface AffordabilityCalculatorRequest {
884
902
  export interface AiAccountSettings {
885
903
  bedrockModelId: string;
886
904
  isUsingAppDefault: boolean;
905
+ enabledTriggers: string[];
887
906
  }
888
907
 
889
908
  export interface AiAccountSettingsRequest {
890
909
  bedrockModelId?: string | null;
910
+ enabledTriggers?: string[] | null;
891
911
  }
892
912
 
893
913
  export interface AiAccountUsageOverview {
@@ -1219,6 +1239,7 @@ export interface AiPrompt {
1219
1239
  applicableUrlSourceIds: string[];
1220
1240
  knowledgeBaseFolderIds: string[];
1221
1241
  allowedRoles: string[];
1242
+ supportedTriggers: string[];
1222
1243
  systemPrompt: string;
1223
1244
  /** @format int32 */
1224
1245
  sortOrder: number;
@@ -1241,6 +1262,41 @@ export interface AiPrompt {
1241
1262
  updatedAt?: string | null;
1242
1263
  }
1243
1264
 
1265
+ export interface AiPromptRun {
1266
+ /** @format uuid */
1267
+ id: string;
1268
+ trigger: string;
1269
+ /** @format uuid */
1270
+ promptId: string;
1271
+ promptTitle?: string | null;
1272
+ /** @format uuid */
1273
+ subjectEntityId?: string | null;
1274
+ /** @format uuid */
1275
+ loanId?: string | null;
1276
+ documentIds: string[];
1277
+ status: string;
1278
+ errorType?: string | null;
1279
+ errorMessage?: string | null;
1280
+ result?: AiPromptRunResult | null;
1281
+ /** @format date-time */
1282
+ createdAt: string;
1283
+ /** @format date-time */
1284
+ updatedAt?: string | null;
1285
+ }
1286
+
1287
+ export interface AiPromptRunFinding {
1288
+ severity: string;
1289
+ message: string;
1290
+ }
1291
+
1292
+ export interface AiPromptRunResult {
1293
+ verdict: string;
1294
+ findings: AiPromptRunFinding[];
1295
+ missingItems: string[];
1296
+ /** @format double */
1297
+ confidence?: number | null;
1298
+ }
1299
+
1244
1300
  export interface AiPromptSummary {
1245
1301
  /** @format uuid */
1246
1302
  id: string;
@@ -1636,6 +1692,26 @@ export interface BulkCompleteLoanTasksRequest {
1636
1692
  userLoanTaskIDs: string[];
1637
1693
  }
1638
1694
 
1695
+ export interface BulkLoanTaskFailure {
1696
+ /** @format uuid */
1697
+ userLoanTaskID: string;
1698
+ taskName: string;
1699
+ errorMessage: string;
1700
+ }
1701
+
1702
+ export interface BulkLoanTaskOperation {
1703
+ updated: string[];
1704
+ skipped: string[];
1705
+ failed: BulkLoanTaskFailure[];
1706
+ }
1707
+
1708
+ export interface BulkLoanTaskOperationRequest {
1709
+ userLoanTaskIDs: string[];
1710
+ operation?: BulkLoanTaskOperationType | null;
1711
+ status?: TaskStatus | null;
1712
+ comment?: string | null;
1713
+ }
1714
+
1639
1715
  export interface BusinessRule {
1640
1716
  /** @format date-time */
1641
1717
  createdAt: string;
@@ -1928,6 +2004,7 @@ export interface CreateAiPromptRequest {
1928
2004
  applicableUrlSourceIds: string[];
1929
2005
  knowledgeBaseFolderIds: string[];
1930
2006
  allowedRoles: string[];
2007
+ supportedTriggers?: string[] | null;
1931
2008
  systemPrompt: string;
1932
2009
  /** @format int32 */
1933
2010
  sortOrder: number;
@@ -2727,7 +2804,6 @@ export interface EncompassWebhookSubscription {
2727
2804
  subscriptionId?: string | null;
2728
2805
  endpoint?: string | null;
2729
2806
  hasSigningKey: boolean;
2730
- isSignatureValidationEnabled: boolean;
2731
2807
  /** @format date-time */
2732
2808
  updatedAt?: string | null;
2733
2809
  }
@@ -3299,6 +3375,7 @@ export interface Loan {
3299
3375
  totalLoanAmount?: number | null;
3300
3376
  fileStarter?: string | null;
3301
3377
  source?: string | null;
3378
+ referrer?: string | null;
3302
3379
  isPOSLoan?: boolean | null;
3303
3380
  /** @format date-time */
3304
3381
  removedFromPosAt?: string | null;
@@ -3330,6 +3407,7 @@ export interface Loan {
3330
3407
  propertyAddress?: Address | null;
3331
3408
  property?: LoanProperty | null;
3332
3409
  financial?: LoanFinancial | null;
3410
+ refinance?: LoanRefinance | null;
3333
3411
  financialTerms?: LoanFinancialTerms | null;
3334
3412
  monthlyPayment?: LoanMonthlyPayment | null;
3335
3413
  costDetails?: LoanCostDetails | null;
@@ -3357,6 +3435,7 @@ export interface LoanApplication {
3357
3435
  startDate?: string | null;
3358
3436
  property?: LoanProperty | null;
3359
3437
  financial?: LoanFinancial | null;
3438
+ refinance?: LoanRefinance | null;
3360
3439
  borrowers: LoanBorrower[];
3361
3440
  nonOwningBorrowers: LoanNonOwningBorrower[];
3362
3441
  }
@@ -3374,6 +3453,7 @@ export interface LoanApplicationRequest {
3374
3453
  companyName?: string | null;
3375
3454
  property?: LoanPropertyRequest | null;
3376
3455
  financial?: LoanFinancialRequest | null;
3456
+ refinance?: LoanRefinanceRequest | null;
3377
3457
  financialTerms?: LoanFinancialTermsRequest | null;
3378
3458
  monthlyPayment?: LoanMonthlyPaymentRequest | null;
3379
3459
  borrowers: LoanBorrowerRequest[];
@@ -3440,6 +3520,7 @@ export interface LoanBorrowerAccountAsset {
3440
3520
  }
3441
3521
 
3442
3522
  export interface LoanBorrowerAccountAssetRequest {
3523
+ name?: string | null;
3443
3524
  financialInstitution?: string | null;
3444
3525
  /** @format double */
3445
3526
  value?: number | null;
@@ -3679,6 +3760,12 @@ export interface LoanBorrowerEmploymentCurrentGrossIncome {
3679
3760
  /** @format double */
3680
3761
  base?: number | null;
3681
3762
  /** @format double */
3763
+ distributions?: number | null;
3764
+ /** @format int32 */
3765
+ hoursPerWeek?: number | null;
3766
+ /** @format double */
3767
+ hourlyRate?: number | null;
3768
+ /** @format double */
3682
3769
  other?: number | null;
3683
3770
  /** @format double */
3684
3771
  bonus?: number | null;
@@ -4876,6 +4963,52 @@ export interface LoanRecord {
4876
4963
  loanFields: Record<string, string>;
4877
4964
  }
4878
4965
 
4966
+ export interface LoanRefinance {
4967
+ /** @format uuid */
4968
+ id?: string | null;
4969
+ /** @format int32 */
4970
+ yearAcquired?: number | null;
4971
+ /** @format double */
4972
+ valueOfLot?: number | null;
4973
+ /** @format double */
4974
+ originalCost?: number | null;
4975
+ /** @format double */
4976
+ existingLiens?: number | null;
4977
+ /** @format double */
4978
+ costOfImprovements?: number | null;
4979
+ purpose?: LoanRefinancePurpose | null;
4980
+ currentLoan?: LoanRefinanceCurrentLoan | null;
4981
+ }
4982
+
4983
+ export interface LoanRefinanceCurrentLoan {
4984
+ /** @format uuid */
4985
+ id?: string | null;
4986
+ lender?: string | null;
4987
+ /** @format double */
4988
+ interestRate?: number | null;
4989
+ /** @format double */
4990
+ monthlyPayment?: number | null;
4991
+ /** @format double */
4992
+ remainingBalance?: number | null;
4993
+ loanType?: LoanType | null;
4994
+ }
4995
+
4996
+ export interface LoanRefinanceCurrentLoanRequest {
4997
+ lender?: string | null;
4998
+ /** @format double */
4999
+ interestRate?: number | null;
5000
+ loanType?: LoanType | null;
5001
+ }
5002
+
5003
+ export interface LoanRefinanceRequest {
5004
+ /** @format double */
5005
+ originalCost?: number | null;
5006
+ /** @format double */
5007
+ existingLiens?: number | null;
5008
+ purpose?: LoanRefinancePurpose | null;
5009
+ currentLoan?: LoanRefinanceCurrentLoanRequest | null;
5010
+ }
5011
+
4879
5012
  export interface LoanSearchCriteria {
4880
5013
  searchText?: string | null;
4881
5014
  /** @format uuid */
@@ -5862,10 +5995,6 @@ export interface SetSingleCustomFieldValueRequest {
5862
5995
  value?: string | null;
5863
5996
  }
5864
5997
 
5865
- export interface SetWebhookSignatureValidationRequest {
5866
- enabled: boolean;
5867
- }
5868
-
5869
5998
  export interface SiteConfiguration {
5870
5999
  /** @format date-time */
5871
6000
  createdAt: string;
@@ -6641,6 +6770,8 @@ export interface Task {
6641
6770
  usedInBusinessRule: boolean;
6642
6771
  willAutocompleteAfterResponse: boolean;
6643
6772
  hasAutoPropagationOnAdd: boolean;
6773
+ /** @format uuid */
6774
+ verificationPromptId?: string | null;
6644
6775
  }
6645
6776
 
6646
6777
  export interface TaskComment {
@@ -6687,6 +6818,8 @@ export interface TaskRequest {
6687
6818
  isGlobal: boolean;
6688
6819
  willAutocompleteAfterResponse: boolean;
6689
6820
  hasAutoPropagationOnAdd: boolean;
6821
+ /** @format uuid */
6822
+ verificationPromptId?: string | null;
6690
6823
  }
6691
6824
 
6692
6825
  export interface TaskSearchCriteria {
@@ -6710,6 +6843,8 @@ export interface TaskUpdateRequest {
6710
6843
  willAutocompleteAfterResponse: boolean;
6711
6844
  hasAutoPropagationOnAdd: boolean;
6712
6845
  /** @format uuid */
6846
+ verificationPromptId?: string | null;
6847
+ /** @format uuid */
6713
6848
  id: string;
6714
6849
  }
6715
6850
 
@@ -6874,6 +7009,7 @@ export interface UpdateAiPromptRequest {
6874
7009
  applicableUrlSourceIds: string[];
6875
7010
  knowledgeBaseFolderIds: string[];
6876
7011
  allowedRoles: string[];
7012
+ supportedTriggers?: string[] | null;
6877
7013
  systemPrompt: string;
6878
7014
  /** @format int32 */
6879
7015
  sortOrder: number;
@@ -7478,6 +7614,21 @@ export interface UserSummary {
7478
7614
  lastName: string;
7479
7615
  }
7480
7616
 
7617
+ export interface UserTableSettings {
7618
+ tableKey: UserTableSettingsTableKeyEnum;
7619
+ hiddenColumnIds: string[];
7620
+ columnOrder: string[];
7621
+ sortColumnId?: string | null;
7622
+ sortDirection?: SortDirection | null;
7623
+ }
7624
+
7625
+ export interface UserTableSettingsRequest {
7626
+ hiddenColumnIds: string[];
7627
+ columnOrder: string[];
7628
+ sortColumnId?: string | null;
7629
+ sortDirection?: SortDirection | null;
7630
+ }
7631
+
7481
7632
  export interface VerifyEmailRequest {
7482
7633
  token: string;
7483
7634
  }
@@ -7542,7 +7693,10 @@ export type AiAuditLogEventTypeEnum =
7542
7693
  | "AgentLoopLimitReached"
7543
7694
  | "RequestCancelled"
7544
7695
  | "KnowledgeBaseRetrieved"
7545
- | "PromptResolutionFailed";
7696
+ | "PromptResolutionFailed"
7697
+ | "PromptTriggerPublished"
7698
+ | "PromptTriggerSkipped"
7699
+ | "PromptRunCompleted";
7546
7700
 
7547
7701
  export type AiChatStructuredDataTypeEnum =
7548
7702
  | "Table"
@@ -7954,7 +8108,8 @@ export type LoanLogTypeEnum =
7954
8108
  | "TaskReminderSent"
7955
8109
  | "DocumentClassified"
7956
8110
  | "CoBorrowerEmailAutoFixed"
7957
- | "LosFieldWriteBack";
8111
+ | "LosFieldWriteBack"
8112
+ | "ReferrerChangeDiscarded";
7958
8113
 
7959
8114
  export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
7960
8115
 
@@ -7977,7 +8132,8 @@ export type LoanLogDetailTypeEnum =
7977
8132
  | "TaskReminderSent"
7978
8133
  | "DocumentClassified"
7979
8134
  | "CoBorrowerEmailAutoFixed"
7980
- | "LosFieldWriteBack";
8135
+ | "LosFieldWriteBack"
8136
+ | "ReferrerChangeDiscarded";
7981
8137
 
7982
8138
  export type LoanTaskStatusSummaryStatusEnum =
7983
8139
  | "Outstanding"
@@ -8027,7 +8183,8 @@ export type LosOperationTrackingStatusEnum =
8027
8183
  | "Failed"
8028
8184
  | "ConfigurationError"
8029
8185
  | "PermanentFailure"
8030
- | "Locked";
8186
+ | "Locked"
8187
+ | "Skipped";
8031
8188
 
8032
8189
  export type LosSyncOutboundFailuresSearchCriteriaSeverityEnum =
8033
8190
  | "All"
@@ -8250,19 +8407,9 @@ export type UserLoanConsentLosSyncStatusEnum =
8250
8407
  | "Failed"
8251
8408
  | "Success";
8252
8409
 
8253
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
8254
-
8255
- export type SetEncompassIntegrationWebhookSignatureValidationParamsWebhookTypeEnum =
8256
- | "Legacy"
8257
- | "LoanV3"
8258
- | "WebDocuments"
8259
- | "PosfCreatePackage";
8410
+ export type UserTableSettingsTableKeyEnum = "Pipeline";
8260
8411
 
8261
- export type SetEncompassIntegrationWebhookSignatureValidationParamsEnum =
8262
- | "Legacy"
8263
- | "LoanV3"
8264
- | "WebDocuments"
8265
- | "PosfCreatePackage";
8412
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
8266
8413
 
8267
8414
  /** @default "Realtor" */
8268
8415
  export type GetPartnersParamsRoleEnum =
@@ -8300,6 +8447,14 @@ export type GetSiteTilesBySiteConfigurationParamsLocationEnum =
8300
8447
  | "HomePage"
8301
8448
  | "Dashboard";
8302
8449
 
8450
+ export type GetMyTableSettingsParamsTableKeyEnum = "Pipeline";
8451
+
8452
+ export type GetMyTableSettingsParamsEnum = "Pipeline";
8453
+
8454
+ export type UpdateMyTableSettingsParamsTableKeyEnum = "Pipeline";
8455
+
8456
+ export type UpdateMyTableSettingsParamsEnum = "Pipeline";
8457
+
8303
8458
  import type {
8304
8459
  AxiosInstance,
8305
8460
  AxiosRequestConfig,
@@ -8476,7 +8631,7 @@ export class HttpClient<SecurityDataType = unknown> {
8476
8631
 
8477
8632
  /**
8478
8633
  * @title The Big POS API
8479
- * @version v3.2.1
8634
+ * @version v3.3.0
8480
8635
  * @termsOfService https://www.thebigpos.com/terms-of-use/
8481
8636
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
8482
8637
  */
@@ -9873,18 +10028,20 @@ export class Api<
9873
10028
  *
9874
10029
  * @tags AiPrompt
9875
10030
  * @name GetAiAvailablePrompts
9876
- * @summary Get available prompts for current user
10031
+ * @summary Get available prompts for current user, optionally for one trigger surface
9877
10032
  * @request GET:/api/ai/prompts/available
9878
10033
  * @secure
9879
10034
  * @response `200` `(AiPromptSummary)[]` OK
10035
+ * @response `400` `ProblemDetails` Bad Request
9880
10036
  */
9881
10037
  getAiAvailablePrompts: (
9882
10038
  query?: {
9883
10039
  documentType?: string;
10040
+ trigger?: string;
9884
10041
  },
9885
10042
  params: RequestParams = {},
9886
10043
  ) =>
9887
- this.request<AiPromptSummary[], any>({
10044
+ this.request<AiPromptSummary[], ProblemDetails>({
9888
10045
  path: `/api/ai/prompts/available`,
9889
10046
  method: "GET",
9890
10047
  query: query,
@@ -9893,6 +10050,33 @@ export class Api<
9893
10050
  ...params,
9894
10051
  }),
9895
10052
 
10053
+ /**
10054
+ * No description
10055
+ *
10056
+ * @tags AiPromptRun
10057
+ * @name GetAiPromptRuns
10058
+ * @summary Get triggered prompt runs for a subject entity
10059
+ * @request GET:/api/ai/prompt-runs
10060
+ * @secure
10061
+ * @response `200` `(AiPromptRun)[]` OK
10062
+ * @response `400` `ProblemDetails` Bad Request
10063
+ */
10064
+ getAiPromptRuns: (
10065
+ query?: {
10066
+ /** @format uuid */
10067
+ subjectEntityId?: string;
10068
+ },
10069
+ params: RequestParams = {},
10070
+ ) =>
10071
+ this.request<AiPromptRun[], ProblemDetails>({
10072
+ path: `/api/ai/prompt-runs`,
10073
+ method: "GET",
10074
+ query: query,
10075
+ secure: true,
10076
+ format: "json",
10077
+ ...params,
10078
+ }),
10079
+
9896
10080
  /**
9897
10081
  * No description
9898
10082
  *
@@ -12919,36 +13103,6 @@ export class Api<
12919
13103
  ...params,
12920
13104
  }),
12921
13105
 
12922
- /**
12923
- * No description
12924
- *
12925
- * @tags EncompassIntegrations
12926
- * @name SetEncompassIntegrationWebhookSignatureValidation
12927
- * @summary Turn inbound signature validation on or off for one Encompass webhook subscription (SuperAdmin)
12928
- * @request PUT:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookType}/signature-validation
12929
- * @secure
12930
- * @response `200` `EncompassWebhookSubscription` OK
12931
- * @response `400` `ProblemDetails` Bad Request
12932
- * @response `401` `ProblemDetails` Unauthorized
12933
- * @response `403` `ProblemDetails` Forbidden
12934
- * @response `404` `ProblemDetails` Not Found
12935
- */
12936
- setEncompassIntegrationWebhookSignatureValidation: (
12937
- accountId: string,
12938
- webhookType: SetEncompassIntegrationWebhookSignatureValidationParamsEnum,
12939
- data: SetWebhookSignatureValidationRequest,
12940
- params: RequestParams = {},
12941
- ) =>
12942
- this.request<EncompassWebhookSubscription, ProblemDetails>({
12943
- path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookType}/signature-validation`,
12944
- method: "PUT",
12945
- body: data,
12946
- secure: true,
12947
- type: "application/json",
12948
- format: "json",
12949
- ...params,
12950
- }),
12951
-
12952
13106
  /**
12953
13107
  * No description
12954
13108
  *
@@ -14221,9 +14375,10 @@ export class Api<
14221
14375
  * @request POST:/api/listings
14222
14376
  * @secure
14223
14377
  * @response `201` `Listing` Created
14378
+ * @response `403` `ProblemDetails` Forbidden
14224
14379
  */
14225
14380
  createListing: (data: ListingRequest, params: RequestParams = {}) =>
14226
- this.request<Listing, any>({
14381
+ this.request<Listing, ProblemDetails>({
14227
14382
  path: `/api/listings`,
14228
14383
  method: "POST",
14229
14384
  body: data,
@@ -14280,13 +14435,14 @@ export class Api<
14280
14435
  * @request PUT:/api/listings/{id}
14281
14436
  * @secure
14282
14437
  * @response `200` `Listing` OK
14438
+ * @response `403` `ProblemDetails` Forbidden
14283
14439
  */
14284
14440
  replaceListing: (
14285
14441
  id: string,
14286
14442
  data: ListingRequest,
14287
14443
  params: RequestParams = {},
14288
14444
  ) =>
14289
- this.request<Listing, any>({
14445
+ this.request<Listing, ProblemDetails>({
14290
14446
  path: `/api/listings/${id}`,
14291
14447
  method: "PUT",
14292
14448
  body: data,
@@ -16076,13 +16232,14 @@ export class Api<
16076
16232
  * @response `403` `ProblemDetails` Forbidden
16077
16233
  * @response `404` `ProblemDetails` Not Found
16078
16234
  * @response `409` `any` Conflict
16235
+ * @response `422` `UnprocessableEntity` Unprocessable Content
16079
16236
  */
16080
16237
  updateLoan: (
16081
16238
  loanId: string,
16082
16239
  data: LoanPatchRequestGuidPatchDocument,
16083
16240
  params: RequestParams = {},
16084
16241
  ) =>
16085
- this.request<Loan, ProblemDetails>({
16242
+ this.request<Loan, ProblemDetails | UnprocessableEntity>({
16086
16243
  path: `/api/loans/${loanId}`,
16087
16244
  method: "PATCH",
16088
16245
  body: data,
@@ -16222,12 +16379,13 @@ export class Api<
16222
16379
  }),
16223
16380
 
16224
16381
  /**
16225
- * No description
16382
+ * @description Deprecated - use POST api/loans/tasks/bulk, which reaches every status and accepts tasks from more than one loan.
16226
16383
  *
16227
16384
  * @tags LoanTaskBulkCompletions
16228
16385
  * @name BulkCompleteLoanTasks
16229
- * @summary Bulk complete loan tasks
16386
+ * @summary [Deprecated] Bulk complete loan tasks
16230
16387
  * @request POST:/api/loans/{loanID}/tasks/bulk-complete
16388
+ * @deprecated
16231
16389
  * @secure
16232
16390
  * @response `200` `BulkCompleteLoanTasks` OK
16233
16391
  * @response `404` `ProblemDetails` Not Found
@@ -16537,6 +16695,31 @@ export class Api<
16537
16695
  ...params,
16538
16696
  }),
16539
16697
 
16698
+ /**
16699
+ * @description Applies one operation to tasks that may span several loans, grouping them by loan server-side and returning flat per-task buckets
16700
+ *
16701
+ * @tags LoanTasks
16702
+ * @name BulkLoanTaskOperation
16703
+ * @summary Bulk task operation
16704
+ * @request POST:/api/loans/tasks/bulk
16705
+ * @secure
16706
+ * @response `200` `BulkLoanTaskOperation` OK
16707
+ * @response `422` `UnprocessableEntity` Unprocessable Content
16708
+ */
16709
+ bulkLoanTaskOperation: (
16710
+ data: BulkLoanTaskOperationRequest,
16711
+ params: RequestParams = {},
16712
+ ) =>
16713
+ this.request<BulkLoanTaskOperation, UnprocessableEntity>({
16714
+ path: `/api/loans/tasks/bulk`,
16715
+ method: "POST",
16716
+ body: data,
16717
+ secure: true,
16718
+ type: "application/json",
16719
+ format: "json",
16720
+ ...params,
16721
+ }),
16722
+
16540
16723
  /**
16541
16724
  * No description
16542
16725
  *
@@ -18530,7 +18713,7 @@ export class Api<
18530
18713
  *
18531
18714
  * @tags TheBigPOS
18532
18715
  * @name GetEncompassCredentials
18533
- * @summary Get Encompass Credentials for the current account
18716
+ * @summary Get Encompass Credentials for the active site's account
18534
18717
  * @request GET:/api/los/encompass/credentials
18535
18718
  * @secure
18536
18719
  * @response `200` `EncompassCredentialsDetail` OK
@@ -18550,7 +18733,7 @@ export class Api<
18550
18733
  *
18551
18734
  * @tags TheBigPOS
18552
18735
  * @name CreateEncompassCredentials
18553
- * @summary Create Encompass Credentials for the current account
18736
+ * @summary Create Encompass Credentials for the active site's account
18554
18737
  * @request POST:/api/los/encompass/credentials
18555
18738
  * @secure
18556
18739
  * @response `201` `LosCredentials` Created
@@ -18574,7 +18757,7 @@ export class Api<
18574
18757
  *
18575
18758
  * @tags TheBigPOS
18576
18759
  * @name UpdateEncompassCredentials
18577
- * @summary Update Encompass Credentials for the current account
18760
+ * @summary Update Encompass Credentials for the active site's account
18578
18761
  * @request PUT:/api/los/encompass/credentials
18579
18762
  * @secure
18580
18763
  * @response `200` `EncompassCredentialsDetail` OK
@@ -19986,6 +20169,55 @@ export class Api<
19986
20169
  ...params,
19987
20170
  }),
19988
20171
 
20172
+ /**
20173
+ * No description
20174
+ *
20175
+ * @tags UsersMe
20176
+ * @name GetMyTableSettings
20177
+ * @summary Get Table Settings
20178
+ * @request GET:/api/users/me/table-settings/{tableKey}
20179
+ * @secure
20180
+ * @response `200` `UserTableSettings` OK
20181
+ * @response `401` `ProblemDetails` Unauthorized
20182
+ */
20183
+ getMyTableSettings: (
20184
+ tableKey: GetMyTableSettingsParamsEnum,
20185
+ params: RequestParams = {},
20186
+ ) =>
20187
+ this.request<UserTableSettings, ProblemDetails>({
20188
+ path: `/api/users/me/table-settings/${tableKey}`,
20189
+ method: "GET",
20190
+ secure: true,
20191
+ format: "json",
20192
+ ...params,
20193
+ }),
20194
+
20195
+ /**
20196
+ * No description
20197
+ *
20198
+ * @tags UsersMe
20199
+ * @name UpdateMyTableSettings
20200
+ * @summary Update Table Settings
20201
+ * @request PUT:/api/users/me/table-settings/{tableKey}
20202
+ * @secure
20203
+ * @response `200` `UserTableSettings` OK
20204
+ * @response `401` `ProblemDetails` Unauthorized
20205
+ */
20206
+ updateMyTableSettings: (
20207
+ tableKey: UpdateMyTableSettingsParamsEnum,
20208
+ data: UserTableSettingsRequest,
20209
+ params: RequestParams = {},
20210
+ ) =>
20211
+ this.request<UserTableSettings, ProblemDetails>({
20212
+ path: `/api/users/me/table-settings/${tableKey}`,
20213
+ method: "PUT",
20214
+ body: data,
20215
+ secure: true,
20216
+ type: "application/json",
20217
+ format: "json",
20218
+ ...params,
20219
+ }),
20220
+
19989
20221
  /**
19990
20222
  * @description Update the phone number If changed will send a verification code to the new number
19991
20223
  *