@matech/thebigpos-sdk 2.12.1-rc1 → 2.13.0-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/.husky/pre-commit CHANGED
@@ -1 +1,2 @@
1
- yarn build
1
+ yarn build
2
+ git add .
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ export interface Account {
37
37
  /** @format int32 */
38
38
  allowedLoginsWithoutMFA: number;
39
39
  losSettings: LOSSettings;
40
- asoSettings: ASOSettings;
40
+ asoSettings?: ASOSettings | null;
41
41
  }
42
42
  export interface Action {
43
43
  /** @format uuid */
@@ -102,7 +102,7 @@ export interface AdminAccessGetForms {
102
102
  slug?: string | null;
103
103
  status: string;
104
104
  language?: string | null;
105
- borrowerType: BorrowerType;
105
+ borrowerType?: BorrowerType | null;
106
106
  showProgressBar: boolean;
107
107
  }
108
108
  export interface AdminAccessUser {
@@ -191,11 +191,11 @@ export interface ApplicationRowData {
191
191
  subjectPropertyState?: string | null;
192
192
  subjectPropertyZip?: string | null;
193
193
  loanPurpose?: string | null;
194
- buyerAgent: LoanContact;
195
- sellerAgent: LoanContact;
196
- settlementAgent: LoanContact;
197
- escrowAgent: LoanContact;
198
- titleInsuranceAgent: LoanContact;
194
+ buyerAgent?: LoanContact | null;
195
+ sellerAgent?: LoanContact | null;
196
+ settlementAgent?: LoanContact | null;
197
+ escrowAgent?: LoanContact | null;
198
+ titleInsuranceAgent?: LoanContact | null;
199
199
  }
200
200
  export interface Attachment {
201
201
  fileName: string;
@@ -255,7 +255,7 @@ export interface BranchUserPaginated {
255
255
  }
256
256
  export interface BusinessRule {
257
257
  /** @format date-time */
258
- createdAt?: string | null;
258
+ createdAt: string;
259
259
  /** @format date-time */
260
260
  updatedAt?: string | null;
261
261
  /** @format date-time */
@@ -431,7 +431,7 @@ export interface CreateInviteRequest {
431
431
  /** @format email */
432
432
  emailAddress: string;
433
433
  phoneNumber: string;
434
- relationship: BorrowerRelationship;
434
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
435
435
  loanID: string;
436
436
  route?: string | null;
437
437
  /** @format uuid */
@@ -478,7 +478,7 @@ export interface CreateUserRequest {
478
478
  userRole: string;
479
479
  }
480
480
  export interface CustomLoanData {
481
- eConsentInformation: EConsentInformation;
481
+ eConsentInformation?: EConsentInformation | null;
482
482
  }
483
483
  export interface DetailedUser {
484
484
  /** @format date-time */
@@ -555,7 +555,7 @@ export interface DeviceMDM {
555
555
  platform_type_id?: string | null;
556
556
  device_capacity?: string | null;
557
557
  imei: string[];
558
- user: MdmUser;
558
+ user?: MdmUser | null;
559
559
  actions?: DeviceAction[] | null;
560
560
  }
561
561
  export interface DevicePaginated {
@@ -688,6 +688,8 @@ export interface Draft {
688
688
  id: string;
689
689
  customData: any;
690
690
  user: UserBase;
691
+ loanOfficer: UserBase;
692
+ siteConfiguration: SiteConfigurationReduced;
691
693
  }
692
694
  export interface DraftContent {
693
695
  /** @format date-time */
@@ -700,6 +702,8 @@ export interface DraftContent {
700
702
  id: string;
701
703
  customData: any;
702
704
  user: UserBase;
705
+ loanOfficer: UserBase;
706
+ siteConfiguration: SiteConfigurationReduced;
703
707
  applicationPayload: any;
704
708
  }
705
709
  export interface DraftContentPaginated {
@@ -711,6 +715,8 @@ export interface DraftContentPaginated {
711
715
  export interface DraftRequest {
712
716
  applicationPayload: any;
713
717
  customData?: any;
718
+ /** @format uuid */
719
+ loanOfficerID?: string | null;
714
720
  }
715
721
  export interface EConsentInformation {
716
722
  status: string;
@@ -803,19 +809,19 @@ export interface ExtendedLoan {
803
809
  loanProgram?: string | null;
804
810
  loanType?: string | null;
805
811
  status?: string | null;
806
- loanOfficer: LoanOfficer;
807
- propertyAddress: Address;
808
- borrowerContact: Contact;
809
- coBorrowerContact: Contact;
812
+ loanOfficer?: LoanOfficer | null;
813
+ propertyAddress?: Address | null;
814
+ borrowerContact?: Contact | null;
815
+ coBorrowerContact?: Contact | null;
810
816
  loanLogs: LoanLog[];
811
817
  isLocked: boolean;
812
818
  source?: string | null;
813
- buyerAgentContact: Contact;
814
- sellerAgentContact: Contact;
815
- escrowAgentContact: Contact;
816
- titleInsuranceAgentContact: Contact;
817
- settlementAgentContact: Contact;
818
- loanProcessorContact: Contact;
819
+ buyerAgentContact?: Contact | null;
820
+ sellerAgentContact?: Contact | null;
821
+ escrowAgentContact?: Contact | null;
822
+ titleInsuranceAgentContact?: Contact | null;
823
+ settlementAgentContact?: Contact | null;
824
+ loanProcessorContact?: Contact | null;
819
825
  }
820
826
  export interface ExtendedLoanPaginated {
821
827
  rows: ExtendedLoan[];
@@ -829,8 +835,8 @@ export interface File {
829
835
  fileName: string;
830
836
  name: string;
831
837
  s3FilePath: string;
832
- user: User;
833
- account: Account;
838
+ user?: User | null;
839
+ account?: Account | null;
834
840
  url: string;
835
841
  }
836
842
  export interface FilePaginated {
@@ -871,7 +877,7 @@ export interface FormRequest {
871
877
  slug?: string | null;
872
878
  status: string;
873
879
  language?: string | null;
874
- borrowerType: BorrowerType;
880
+ borrowerType?: BorrowerType | null;
875
881
  showProgressBar: boolean;
876
882
  }
877
883
  export interface FormSubmission {
@@ -896,10 +902,10 @@ export interface FormSubmission {
896
902
  loanOfficerEmail?: string | null;
897
903
  /** @format uuid */
898
904
  loanOfficerID?: string | null;
899
- loanOfficer: User;
905
+ loanOfficer?: User | null;
900
906
  /** @format uuid */
901
907
  branchID?: string | null;
902
- branch: GetBranch;
908
+ branch?: GetBranch | null;
903
909
  status: string;
904
910
  subjectPropertyAddressStreet?: string | null;
905
911
  subjectPropertyAddressCity?: string | null;
@@ -909,7 +915,7 @@ export interface FormSubmission {
909
915
  data?: any;
910
916
  /** @format uuid */
911
917
  listingID?: string | null;
912
- listing: Listing;
918
+ listing?: Listing | null;
913
919
  files: FormSubmissionFile[];
914
920
  }
915
921
  export interface FormSubmissionFile {
@@ -992,7 +998,7 @@ export interface FusionFieldDisplay {
992
998
  fieldValue: string;
993
999
  }
994
1000
  export interface FusionReportFilter {
995
- filterType: FilterType;
1001
+ filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
996
1002
  targetField: string;
997
1003
  targetValue: string;
998
1004
  }
@@ -1050,7 +1056,7 @@ export interface GetForm {
1050
1056
  slug?: string | null;
1051
1057
  status: string;
1052
1058
  language?: string | null;
1053
- borrowerType: BorrowerType;
1059
+ borrowerType?: BorrowerType | null;
1054
1060
  showProgressBar: boolean;
1055
1061
  /** @format uuid */
1056
1062
  id: string;
@@ -1168,6 +1174,7 @@ export interface LOSSettingsUpdateRequest {
1168
1174
  customEConsentBucketTitle?: string | null;
1169
1175
  loanMilestoneNotificationsEnabled: boolean;
1170
1176
  }
1177
+ export type LOSStatus = "Unknown" | "Pending" | "Retrying" | "Successful" | "Failed" | "FailedPermanently";
1171
1178
  export interface Listing {
1172
1179
  /** @format date-time */
1173
1180
  createdAt: string;
@@ -1179,7 +1186,7 @@ export interface Listing {
1179
1186
  id: string;
1180
1187
  description?: string | null;
1181
1188
  mlsNumber?: string | null;
1182
- address: Address;
1189
+ address?: Address | null;
1183
1190
  /** @format int32 */
1184
1191
  salePrice?: number | null;
1185
1192
  /** @format date-time */
@@ -1189,7 +1196,7 @@ export interface Listing {
1189
1196
  zillowURL?: string | null;
1190
1197
  photos: ListingPhoto[];
1191
1198
  files: ListingFile[];
1192
- backgroundImage: File;
1199
+ backgroundImage?: File | null;
1193
1200
  /** @format date-time */
1194
1201
  openHouseDate?: string | null;
1195
1202
  /** @format double */
@@ -1199,7 +1206,7 @@ export interface Listing {
1199
1206
  isActive: boolean;
1200
1207
  slug: string;
1201
1208
  url?: string | null;
1202
- loanOfficer: LoanOfficer;
1209
+ loanOfficer?: LoanOfficer | null;
1203
1210
  siteConfiguration: SiteConfiguration;
1204
1211
  }
1205
1212
  export interface ListingFile {
@@ -1290,10 +1297,10 @@ export interface Loan {
1290
1297
  loanProgram?: string | null;
1291
1298
  loanType?: string | null;
1292
1299
  status?: string | null;
1293
- loanOfficer: LoanOfficer;
1294
- propertyAddress: Address;
1295
- borrowerContact: Contact;
1296
- coBorrowerContact: Contact;
1300
+ loanOfficer?: LoanOfficer | null;
1301
+ propertyAddress?: Address | null;
1302
+ borrowerContact?: Contact | null;
1303
+ coBorrowerContact?: Contact | null;
1297
1304
  loanLogs: LoanLog[];
1298
1305
  isLocked: boolean;
1299
1306
  source?: string | null;
@@ -1351,7 +1358,7 @@ export interface LoanDocument {
1351
1358
  id: string;
1352
1359
  name: string;
1353
1360
  loan: Loan;
1354
- user: User;
1361
+ user?: User | null;
1355
1362
  initialBucket?: string | null;
1356
1363
  losDocumentID?: string | null;
1357
1364
  losStatus: string;
@@ -1362,6 +1369,9 @@ export interface LoanDraftSearchCriteria {
1362
1369
  searchText?: string | null;
1363
1370
  /** @format uuid */
1364
1371
  loanOfficerId?: string | null;
1372
+ /** @format uuid */
1373
+ siteConfigurationId?: string | null;
1374
+ isUnassigned?: boolean | null;
1365
1375
  }
1366
1376
  export interface LoanLog {
1367
1377
  /** @format uuid */
@@ -1382,6 +1392,15 @@ export interface LoanOfficer {
1382
1392
  profilePhotoUrl: string;
1383
1393
  siteConfiguration: SiteConfiguration;
1384
1394
  }
1395
+ export interface LoanOfficerPublic {
1396
+ firstName: string;
1397
+ lastName: string;
1398
+ email: string;
1399
+ phone?: string | null;
1400
+ /** @format uuid */
1401
+ corporateID?: string | null;
1402
+ siteConfigurationIDs: string[];
1403
+ }
1385
1404
  export interface LoanOfficerSearchCriteria {
1386
1405
  searchText?: string | null;
1387
1406
  isActive?: boolean | null;
@@ -1390,6 +1409,40 @@ export interface LoanOfficerSearchCriteria {
1390
1409
  /** @format uuid */
1391
1410
  brand?: string | null;
1392
1411
  }
1412
+ export interface LoanQueue {
1413
+ /** @format date-time */
1414
+ createdAt: string;
1415
+ /** @format date-time */
1416
+ updatedAt?: string | null;
1417
+ /** @format date-time */
1418
+ deletedAt?: string | null;
1419
+ /** @format uuid */
1420
+ id: string;
1421
+ loanID?: string | null;
1422
+ type: string;
1423
+ reason: string;
1424
+ status: string;
1425
+ details?: string | null;
1426
+ user: UserPublic;
1427
+ loanOfficer: LoanOfficerPublic;
1428
+ siteConfiguration: SiteConfigurationReduced;
1429
+ }
1430
+ export interface LoanQueuePaginated {
1431
+ rows: LoanQueue[];
1432
+ pagination: Pagination;
1433
+ /** @format int64 */
1434
+ count: number;
1435
+ }
1436
+ export type LoanQueueReason = "Unknown" | "Locked" | "LOSError" | "Exception";
1437
+ export interface LoanQueueSearchCriteria {
1438
+ searchText?: string | null;
1439
+ loanID?: string | null;
1440
+ isActive?: boolean | null;
1441
+ type?: LoanQueueType | null;
1442
+ status?: LOSStatus | null;
1443
+ reason?: LoanQueueReason | null;
1444
+ }
1445
+ export type LoanQueueType = "Unknown" | "New" | "Append" | "Update" | "Document";
1393
1446
  export interface LoanRecord {
1394
1447
  loanGuid: string;
1395
1448
  loanFields: Record<string, string>;
@@ -1477,12 +1530,12 @@ export interface ModuleParameterValue {
1477
1530
  export interface NotificationLog {
1478
1531
  /** @format uuid */
1479
1532
  id: string;
1480
- type: NotificationType;
1533
+ type: "Email" | "Text" | "PushNotification";
1481
1534
  to: string;
1482
1535
  cc?: string | null;
1483
1536
  subject?: string | null;
1484
1537
  message: string;
1485
- notificationTemplate: NotificationTemplate;
1538
+ notificationTemplate?: NotificationTemplate | null;
1486
1539
  /** @format date-time */
1487
1540
  createdAt: string;
1488
1541
  }
@@ -1494,7 +1547,7 @@ export interface NotificationLogPaginated {
1494
1547
  }
1495
1548
  export interface NotificationLogSearchCriteria {
1496
1549
  searchText?: string | null;
1497
- type: NotificationType;
1550
+ type?: NotificationType | null;
1498
1551
  to?: string[] | null;
1499
1552
  cc?: string[] | null;
1500
1553
  }
@@ -1662,27 +1715,27 @@ export interface PreliminaryCondition {
1662
1715
  requestedFrom?: string | null;
1663
1716
  /** @format date-time */
1664
1717
  createdDate?: string | null;
1665
- createdBy: CommentUserInformation;
1718
+ createdBy?: CommentUserInformation | null;
1666
1719
  isRequested: boolean;
1667
1720
  /** @format date-time */
1668
1721
  requestedDate?: string | null;
1669
- requestedBy: CommentUserInformation;
1722
+ requestedBy?: CommentUserInformation | null;
1670
1723
  isReceived: boolean;
1671
1724
  /** @format date-time */
1672
1725
  receivedDate?: string | null;
1673
- receivedBy: CommentUserInformation;
1726
+ receivedBy?: CommentUserInformation | null;
1674
1727
  priorTo?: string | null;
1675
1728
  category?: string | null;
1676
1729
  isFulfilled: boolean;
1677
1730
  /** @format date-time */
1678
1731
  fulfilledDate?: string | null;
1679
- fulfilledBy: CommentUserInformation;
1732
+ fulfilledBy?: CommentUserInformation | null;
1680
1733
  comments: ConditionComment[];
1681
1734
  uwAccess?: string | null;
1682
1735
  isRerequested: boolean;
1683
1736
  /** @format date-time */
1684
1737
  rerequestedDate?: string | null;
1685
- rerequestedBy: CommentUserInformation;
1738
+ rerequestedBy?: CommentUserInformation | null;
1686
1739
  }
1687
1740
  export interface PricingRates {
1688
1741
  rate: string;
@@ -1702,15 +1755,6 @@ export interface ProblemDetails {
1702
1755
  instance?: string | null;
1703
1756
  [key: string]: any;
1704
1757
  }
1705
- export interface PublicLoanOfficer {
1706
- firstName: string;
1707
- lastName: string;
1708
- email: string;
1709
- phone?: string | null;
1710
- /** @format uuid */
1711
- corporateID?: string | null;
1712
- siteConfigurationIDs: string[];
1713
- }
1714
1758
  export interface RefreshTokenRequest {
1715
1759
  /** @minLength 1 */
1716
1760
  refreshToken: string;
@@ -2063,8 +2107,8 @@ export interface SiteConfiguration {
2063
2107
  /** @format int32 */
2064
2108
  allowedLoginsWithoutMFA: number;
2065
2109
  modules: Module[];
2066
- user: UserPublic;
2067
- asoSettings: ASOSettings;
2110
+ user?: UserPublic | null;
2111
+ asoSettings?: ASOSettings | null;
2068
2112
  }
2069
2113
  export interface SiteConfigurationByUrl {
2070
2114
  /** @format date-time */
@@ -2255,8 +2299,8 @@ export interface SiteConfigurationByUrl {
2255
2299
  /** @format int32 */
2256
2300
  allowedLoginsWithoutMFA: number;
2257
2301
  modules: Module[];
2258
- user: UserPublic;
2259
- asoSettings: ASOSettings;
2302
+ user?: UserPublic | null;
2303
+ asoSettings?: ASOSettings | null;
2260
2304
  workflows: Workflow[];
2261
2305
  }
2262
2306
  export interface SiteConfigurationForm {
@@ -2469,7 +2513,7 @@ export interface SiteConfigurationSearchCriteria {
2469
2513
  }
2470
2514
  export interface SiteConfigurationWithInherited {
2471
2515
  siteConfiguration: SiteConfiguration;
2472
- inheritedSiteConfiguration: SiteConfiguration;
2516
+ inheritedSiteConfiguration?: SiteConfiguration | null;
2473
2517
  }
2474
2518
  export interface SocialSurveyRecord {
2475
2519
  /** @format date-time */
@@ -2515,7 +2559,7 @@ export interface Task {
2515
2559
  isGlobal: boolean;
2516
2560
  /** @format uuid */
2517
2561
  id: string;
2518
- user: User;
2562
+ user?: User | null;
2519
2563
  isFromLegacySource: boolean;
2520
2564
  usedInBusinessRule: boolean;
2521
2565
  willAutocompleteAfterResponse: boolean;
@@ -2633,21 +2677,21 @@ export interface UnderwritingCondition {
2633
2677
  requestedFrom?: string | null;
2634
2678
  /** @format date-time */
2635
2679
  createdDate?: string | null;
2636
- createdBy: CommentUserInformation;
2680
+ createdBy?: CommentUserInformation | null;
2637
2681
  isRequested: boolean;
2638
2682
  /** @format date-time */
2639
2683
  requestedDate?: string | null;
2640
- requestedBy: CommentUserInformation;
2684
+ requestedBy?: CommentUserInformation | null;
2641
2685
  isReceived: boolean;
2642
2686
  /** @format date-time */
2643
2687
  receivedDate?: string | null;
2644
- receivedBy: CommentUserInformation;
2688
+ receivedBy?: CommentUserInformation | null;
2645
2689
  priorTo?: string | null;
2646
2690
  category?: string | null;
2647
2691
  isFulfilled: boolean;
2648
2692
  /** @format date-time */
2649
2693
  fulfilledDate?: string | null;
2650
- fulfilledBy: CommentUserInformation;
2694
+ fulfilledBy?: CommentUserInformation | null;
2651
2695
  comments: ConditionComment[];
2652
2696
  allowToClear: boolean;
2653
2697
  printExternally: boolean;
@@ -2667,7 +2711,7 @@ export interface UpdateAccountRequest {
2667
2711
  /** @format int32 */
2668
2712
  allowedLoginsWithoutMFA: number;
2669
2713
  losSettings: LOSSettingsUpdateRequest;
2670
- asoSettings: ASOSettings;
2714
+ asoSettings?: ASOSettings | null;
2671
2715
  }
2672
2716
  export interface UpdateDocumentTemplateRequest {
2673
2717
  /** @minLength 1 */
@@ -2777,7 +2821,7 @@ export interface UserBase {
2777
2821
  }
2778
2822
  export interface UserLoan {
2779
2823
  loanID: string;
2780
- customLoanData: CustomLoanData;
2824
+ customLoanData?: CustomLoanData | null;
2781
2825
  }
2782
2826
  export interface UserLoanTask {
2783
2827
  /** @format uuid */
@@ -2795,8 +2839,8 @@ export interface UserLoanTask {
2795
2839
  /** @format date-time */
2796
2840
  createdAt: string;
2797
2841
  createdBy: User;
2798
- submittedBy: User;
2799
- completedBy: User;
2842
+ submittedBy?: User | null;
2843
+ completedBy?: User | null;
2800
2844
  }
2801
2845
  export interface UserLoanTaskRequest {
2802
2846
  value?: string | null;
@@ -2980,7 +3024,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
2980
3024
  }
2981
3025
  /**
2982
3026
  * @title The Big POS API
2983
- * @version v2.12.1
3027
+ * @version v2.13.0
2984
3028
  * @termsOfService https://www.thebigpos.com/terms-of-use/
2985
3029
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
2986
3030
  */
@@ -3274,7 +3318,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3274
3318
  * @request GET:/api/branches/{branchId}/loan-officers
3275
3319
  * @secure
3276
3320
  */
3277
- getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3321
+ getLoanOfficersByBranch: (branchId: string, params?: RequestParams) => Promise<AxiosResponse<LoanOfficerPublic, any>>;
3278
3322
  /**
3279
3323
  * No description
3280
3324
  *
@@ -3473,7 +3517,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
3473
3517
  * @request GET:/api/corporates/{id}/loan-officers
3474
3518
  * @secure
3475
3519
  */
3476
- getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<PublicLoanOfficer, any>>;
3520
+ getLoanOfficersByCorporate: (id: string, params?: RequestParams) => Promise<AxiosResponse<LoanOfficerPublic, any>>;
3477
3521
  /**
3478
3522
  * No description
3479
3523
  *
@@ -4608,6 +4652,53 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
4608
4652
  replaceLoanOfficerSiteConfiguration: (loanOfficerId: string, siteConfigurationId: string, data: SiteConfigurationRequest, query?: {
4609
4653
  applyToChildren?: boolean;
4610
4654
  }, params?: RequestParams) => Promise<AxiosResponse<SiteConfiguration, any>>;
4655
+ /**
4656
+ * No description
4657
+ *
4658
+ * @tags LoanQueue
4659
+ * @name SearchLoanQueue
4660
+ * @summary Search
4661
+ * @request POST:/api/loans/queue/search
4662
+ * @secure
4663
+ */
4664
+ searchLoanQueue: (data: LoanQueueSearchCriteria, query?: {
4665
+ /** @format int32 */
4666
+ pageSize?: number;
4667
+ /** @format int32 */
4668
+ pageNumber?: number;
4669
+ sortBy?: string;
4670
+ sortDirection?: string;
4671
+ }, params?: RequestParams) => Promise<AxiosResponse<LoanQueuePaginated, any>>;
4672
+ /**
4673
+ * No description
4674
+ *
4675
+ * @tags LoanQueue
4676
+ * @name GetLoanQueueData
4677
+ * @summary Get Data
4678
+ * @request GET:/api/loans/queue/{loanQueueId}/data
4679
+ * @secure
4680
+ */
4681
+ getLoanQueueData: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<any, any>>;
4682
+ /**
4683
+ * No description
4684
+ *
4685
+ * @tags LoanQueue
4686
+ * @name UpdateLoanQueueData
4687
+ * @summary Update Data
4688
+ * @request PUT:/api/loans/queue/{loanQueueId}/data
4689
+ * @secure
4690
+ */
4691
+ updateLoanQueueData: (loanQueueId: string, data: any, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4692
+ /**
4693
+ * No description
4694
+ *
4695
+ * @tags LoanQueue
4696
+ * @name RetryLoanQueue
4697
+ * @summary Retry
4698
+ * @request POST:/api/loans/queue/{loanQueueId}/retry
4699
+ * @secure
4700
+ */
4701
+ retryLoanQueue: (loanQueueId: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
4611
4702
  /**
4612
4703
  * No description
4613
4704
  *
@@ -5034,7 +5125,8 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5034
5125
  */
5035
5126
  getPartners: (query?: {
5036
5127
  showAll?: boolean;
5037
- role?: UserRole;
5128
+ /** @default 4 */
5129
+ role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
5038
5130
  /** @format int32 */
5039
5131
  pageSize?: number;
5040
5132
  /** @format int32 */
@@ -5118,6 +5210,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5118
5210
  * @name GetRequestQueues
5119
5211
  * @summary Get All
5120
5212
  * @request GET:/api/request-queues
5213
+ * @deprecated
5121
5214
  * @secure
5122
5215
  */
5123
5216
  getRequestQueues: (params?: RequestParams) => Promise<AxiosResponse<RequestQueue[], any>>;
@@ -5128,6 +5221,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5128
5221
  * @name RunRequestQueue
5129
5222
  * @summary Run
5130
5223
  * @request POST:/api/request-queues/{id}/run
5224
+ * @deprecated
5131
5225
  * @secure
5132
5226
  */
5133
5227
  runRequestQueue: (id: string, query?: {
@@ -5141,6 +5235,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5141
5235
  * @name DeleteQueueRequest
5142
5236
  * @summary Delete
5143
5237
  * @request DELETE:/api/request-queues/{id}
5238
+ * @deprecated
5144
5239
  * @secure
5145
5240
  */
5146
5241
  deleteQueueRequest: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any>>;
package/dist/index.js CHANGED
@@ -93,7 +93,7 @@ export class HttpClient {
93
93
  }
94
94
  /**
95
95
  * @title The Big POS API
96
- * @version v2.12.1
96
+ * @version v2.13.0
97
97
  * @termsOfService https://www.thebigpos.com/terms-of-use/
98
98
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
99
99
  */
@@ -1551,6 +1551,46 @@ export class Api extends HttpClient {
1551
1551
  * @secure
1552
1552
  */
1553
1553
  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)),
1554
+ /**
1555
+ * No description
1556
+ *
1557
+ * @tags LoanQueue
1558
+ * @name SearchLoanQueue
1559
+ * @summary Search
1560
+ * @request POST:/api/loans/queue/search
1561
+ * @secure
1562
+ */
1563
+ 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)),
1564
+ /**
1565
+ * No description
1566
+ *
1567
+ * @tags LoanQueue
1568
+ * @name GetLoanQueueData
1569
+ * @summary Get Data
1570
+ * @request GET:/api/loans/queue/{loanQueueId}/data
1571
+ * @secure
1572
+ */
1573
+ getLoanQueueData: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}/data`, method: "GET", secure: true, format: "json" }, params)),
1574
+ /**
1575
+ * No description
1576
+ *
1577
+ * @tags LoanQueue
1578
+ * @name UpdateLoanQueueData
1579
+ * @summary Update Data
1580
+ * @request PUT:/api/loans/queue/{loanQueueId}/data
1581
+ * @secure
1582
+ */
1583
+ updateLoanQueueData: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}/data`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
1584
+ /**
1585
+ * No description
1586
+ *
1587
+ * @tags LoanQueue
1588
+ * @name RetryLoanQueue
1589
+ * @summary Retry
1590
+ * @request POST:/api/loans/queue/{loanQueueId}/retry
1591
+ * @secure
1592
+ */
1593
+ retryLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}/retry`, method: "POST", secure: true }, params)),
1554
1594
  /**
1555
1595
  * No description
1556
1596
  *
@@ -2008,6 +2048,7 @@ export class Api extends HttpClient {
2008
2048
  * @name GetRequestQueues
2009
2049
  * @summary Get All
2010
2050
  * @request GET:/api/request-queues
2051
+ * @deprecated
2011
2052
  * @secure
2012
2053
  */
2013
2054
  getRequestQueues: (params = {}) => this.request(Object.assign({ path: `/api/request-queues`, method: "GET", secure: true, format: "json" }, params)),
@@ -2018,6 +2059,7 @@ export class Api extends HttpClient {
2018
2059
  * @name RunRequestQueue
2019
2060
  * @summary Run
2020
2061
  * @request POST:/api/request-queues/{id}/run
2062
+ * @deprecated
2021
2063
  * @secure
2022
2064
  */
2023
2065
  runRequestQueue: (id, query, params = {}) => this.request(Object.assign({ path: `/api/request-queues/${id}/run`, method: "POST", query: query, secure: true }, params)),
@@ -2028,6 +2070,7 @@ export class Api extends HttpClient {
2028
2070
  * @name DeleteQueueRequest
2029
2071
  * @summary Delete
2030
2072
  * @request DELETE:/api/request-queues/{id}
2073
+ * @deprecated
2031
2074
  * @secure
2032
2075
  */
2033
2076
  deleteQueueRequest: (id, params = {}) => this.request(Object.assign({ path: `/api/request-queues/${id}`, method: "DELETE", secure: true }, params)),