@matech/thebigpos-sdk 2.40.6-rc1 → 2.42.1

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
@@ -53,6 +53,7 @@ export type Environment = "Development" | "Staging" | "UAT" | "Production";
53
53
  export type EntityType = "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Realtor";
54
54
  export type EncompassLogOutcome = "Success" | "Failure" | "PartialSuccess";
55
55
  export type EncompassLogOperationType = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
56
+ export type EncompassEnvironment = "Production" | "UAT";
56
57
  export type DraftType = "NewLoan" | "EditLoan";
57
58
  export type CustomFieldEntityType = "Loan";
58
59
  export type CustomFieldDataType = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
@@ -162,7 +163,7 @@ export interface Action {
162
163
  comments?: string | null;
163
164
  /** @format uuid */
164
165
  siteConfigurationID: string;
165
- applicationSettings?: any;
166
+ applicationSettings?: any | null;
166
167
  surveysToken?: string | null;
167
168
  }
168
169
  export interface Address {
@@ -462,7 +463,7 @@ export interface AuditLogEntry {
462
463
  rootEntityType?: string | null;
463
464
  /** @format uuid */
464
465
  rootEntityId?: string | null;
465
- changes?: any;
466
+ changes?: any | null;
466
467
  /** @format date-time */
467
468
  createdAt: string;
468
469
  }
@@ -1282,7 +1283,7 @@ export interface DraftLoanOfficerReassignRequest {
1282
1283
  }
1283
1284
  export interface DraftRequest {
1284
1285
  applicationPayload: any;
1285
- customData?: any;
1286
+ customData?: any | null;
1286
1287
  isCoBorrower: boolean;
1287
1288
  }
1288
1289
  export interface EnabledServices {
@@ -1349,7 +1350,10 @@ export interface EncompassCredentialsDetail {
1349
1350
  loanTemplate?: string | null;
1350
1351
  defaultLoanOfficerUserName?: string | null;
1351
1352
  clearStateIfUnlicensed: boolean;
1353
+ /** @deprecated */
1352
1354
  baseUrl?: string | null;
1355
+ encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
1356
+ consumerConnectWidgetHost?: string | null;
1353
1357
  signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1354
1358
  subscriptionId?: string | null;
1355
1359
  environment?: string | null;
@@ -1364,7 +1368,10 @@ export interface EncompassCredentialsRequest {
1364
1368
  loanTemplate?: string | null;
1365
1369
  defaultLoanOfficerUserName?: string | null;
1366
1370
  clearStateIfUnlicensed: boolean;
1371
+ /** @deprecated */
1367
1372
  baseUrl?: string | null;
1373
+ encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
1374
+ consumerConnectWidgetHost?: string | null;
1368
1375
  signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1369
1376
  subscriptionId?: string | null;
1370
1377
  environment?: string | null;
@@ -1399,6 +1406,9 @@ export interface EncompassFieldListItem {
1399
1406
  fieldType: string;
1400
1407
  inUse: boolean;
1401
1408
  }
1409
+ export interface EncompassIntegrationSettings {
1410
+ consumerConnectWidgetHost?: string | null;
1411
+ }
1402
1412
  export interface EncompassLogSearchCriteria {
1403
1413
  searchText?: string | null;
1404
1414
  operationTypes?: EncompassLogOperationType[] | null;
@@ -1480,7 +1490,7 @@ export interface EncompassRequestLog {
1480
1490
  httpStatusCode?: number | null;
1481
1491
  /** @format int64 */
1482
1492
  durationMs?: number | null;
1483
- context?: any;
1493
+ context?: any | null;
1484
1494
  /** @format date-time */
1485
1495
  createdAt: string;
1486
1496
  }
@@ -1523,7 +1533,7 @@ export interface FileSearchCriteria {
1523
1533
  export interface FileWithBytes {
1524
1534
  name: string;
1525
1535
  /** @format byte */
1526
- data: string;
1536
+ data: Blob;
1527
1537
  fileName: string;
1528
1538
  mimeType?: string | null;
1529
1539
  extension?: string | null;
@@ -1599,7 +1609,7 @@ export interface FormSubmission {
1599
1609
  subjectPropertyAddressCounty?: string | null;
1600
1610
  subjectPropertyAddressState?: string | null;
1601
1611
  subjectPropertyAddressZip?: string | null;
1602
- data?: any;
1612
+ data?: any | null;
1603
1613
  /** @format uuid */
1604
1614
  listingID?: string | null;
1605
1615
  listing?: Listing | null;
@@ -1634,7 +1644,7 @@ export interface FormSubmissionRequest {
1634
1644
  subjectPropertyAddressCounty?: string | null;
1635
1645
  subjectPropertyAddressState?: string | null;
1636
1646
  subjectPropertyAddressZip?: string | null;
1637
- data?: any;
1647
+ data?: any | null;
1638
1648
  /** @format uuid */
1639
1649
  listingID?: string | null;
1640
1650
  }
@@ -1795,7 +1805,7 @@ export interface GetWorkflowRequest {
1795
1805
  export interface GuidPatchOperation {
1796
1806
  op: string;
1797
1807
  path: string;
1798
- value?: any;
1808
+ value?: any | null;
1799
1809
  from?: string | null;
1800
1810
  }
1801
1811
  export interface IPAddress {
@@ -1856,6 +1866,9 @@ export interface ImportUserLoanTaskRequest {
1856
1866
  */
1857
1867
  userID: string;
1858
1868
  }
1869
+ export interface IntegrationSettings {
1870
+ encompass?: EncompassIntegrationSettings | null;
1871
+ }
1859
1872
  export interface Invite {
1860
1873
  /** @format uuid */
1861
1874
  id: string;
@@ -2090,7 +2103,7 @@ export interface LoanApplicationRequest {
2090
2103
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2091
2104
  /** @format uuid */
2092
2105
  draftId?: string | null;
2093
- additionalFields?: Record<string, any>;
2106
+ additionalFields?: Record<string, any> | null;
2094
2107
  /** @format uuid */
2095
2108
  existingLoanId?: string | null;
2096
2109
  }
@@ -2949,7 +2962,7 @@ export interface LoanConsentRequest {
2949
2962
  borrowerEConsent?: boolean | null;
2950
2963
  borrowerCreditAuth?: boolean | null;
2951
2964
  borrowerTCPAOptIn?: boolean | null;
2952
- additionalFields?: Record<string, string>;
2965
+ additionalFields?: Record<string, string> | null;
2953
2966
  }
2954
2967
  export interface LoanContact {
2955
2968
  /** @format date-time */
@@ -2973,7 +2986,7 @@ export interface LoanContactList {
2973
2986
  email: string;
2974
2987
  }
2975
2988
  export interface LoanCustomFieldsRequest {
2976
- additionalFields?: Record<string, string>;
2989
+ additionalFields?: Record<string, string> | null;
2977
2990
  }
2978
2991
  export interface LoanDocument {
2979
2992
  /** @format date-time */
@@ -3439,7 +3452,7 @@ export interface LoanQueueWithData {
3439
3452
  user: UserPublic;
3440
3453
  loanOfficer: LoanOfficerPublic;
3441
3454
  siteConfiguration: SiteConfigurationReduced;
3442
- data?: any;
3455
+ data?: any | null;
3443
3456
  }
3444
3457
  export interface LoanRecord {
3445
3458
  loanGuid: string;
@@ -3676,7 +3689,7 @@ export interface ModuleParameterValue {
3676
3689
  parameterID: string;
3677
3690
  parameterName: string;
3678
3691
  parameterType: string;
3679
- value?: any;
3692
+ value?: any | null;
3680
3693
  isInherited: boolean;
3681
3694
  }
3682
3695
  export interface MonthlyPaymentCalculator {
@@ -5755,7 +5768,9 @@ export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly
5755
5768
  export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5756
5769
  export type DraftTypeEnum = "NewLoan" | "EditLoan";
5757
5770
  export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5771
+ export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
5758
5772
  export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
5773
+ export type EncompassCredentialsRequestEncompassEnvironmentEnum = "Production" | "UAT";
5759
5774
  export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
5760
5775
  export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
5761
5776
  export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
@@ -5820,13 +5835,7 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
5820
5835
  secure?: boolean;
5821
5836
  format?: ResponseType;
5822
5837
  }
5823
- export declare enum ContentType {
5824
- Json = "application/json",
5825
- JsonApi = "application/vnd.api+json",
5826
- FormData = "multipart/form-data",
5827
- UrlEncoded = "application/x-www-form-urlencoded",
5828
- Text = "text/plain"
5829
- }
5838
+ export type ContentType = "application/json" | "application/vnd.api+json" | "multipart/form-data" | "application/x-www-form-urlencoded" | "text/plain";
5830
5839
  export declare class HttpClient<SecurityDataType = unknown> {
5831
5840
  instance: AxiosInstance;
5832
5841
  private securityData;
@@ -5842,7 +5851,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5842
5851
  }
5843
5852
  /**
5844
5853
  * @title The Big POS API
5845
- * @version v2.40.5
5854
+ * @version v2.42.0
5846
5855
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5847
5856
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5848
5857
  */
@@ -7296,6 +7305,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7296
7305
  * @response `200` `FormVersion` Success
7297
7306
  */
7298
7307
  deleteFormVersion: (formId: string, id: string, params?: RequestParams) => Promise<AxiosResponse<FormVersion, any, {}>>;
7308
+ /**
7309
+ * No description
7310
+ *
7311
+ * @tags IntegrationSettings
7312
+ * @name GetIntegrationSettings
7313
+ * @summary Get Integration Settings
7314
+ * @request GET:/api/integrations/settings
7315
+ * @secure
7316
+ * @response `200` `IntegrationSettings` Success
7317
+ */
7318
+ getIntegrationSettings: (params?: RequestParams) => Promise<AxiosResponse<IntegrationSettings, any, {}>>;
7299
7319
  /**
7300
7320
  * No description
7301
7321
  *
@@ -8017,10 +8037,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8017
8037
  * @summary Download By ID
8018
8038
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
8019
8039
  * @secure
8020
- * @response `200` `string` Success
8040
+ * @response `200` `Blob` Success
8021
8041
  * @response `404` `ProblemDetails` Not Found
8022
8042
  */
8023
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
8043
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<Blob, any, {}>>;
8024
8044
  /**
8025
8045
  * No description
8026
8046
  *