@matech/thebigpos-sdk 2.40.0-rc.2 → 2.40.0

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
@@ -509,7 +509,7 @@ export interface Action {
509
509
  comments?: string | null;
510
510
  /** @format uuid */
511
511
  siteConfigurationID: string;
512
- applicationSettings?: any;
512
+ applicationSettings?: any | null;
513
513
  surveysToken?: string | null;
514
514
  }
515
515
 
@@ -824,7 +824,7 @@ export interface AuditLogEntry {
824
824
  rootEntityType?: string | null;
825
825
  /** @format uuid */
826
826
  rootEntityId?: string | null;
827
- changes?: any;
827
+ changes?: any | null;
828
828
  /** @format date-time */
829
829
  createdAt: string;
830
830
  }
@@ -1725,7 +1725,7 @@ export interface DraftLoanOfficerReassignRequest {
1725
1725
 
1726
1726
  export interface DraftRequest {
1727
1727
  applicationPayload: any;
1728
- customData?: any;
1728
+ customData?: any | null;
1729
1729
  isCoBorrower: boolean;
1730
1730
  }
1731
1731
 
@@ -1924,7 +1924,7 @@ export interface EncompassRequestLog {
1924
1924
  httpStatusCode?: number | null;
1925
1925
  /** @format int64 */
1926
1926
  durationMs?: number | null;
1927
- context?: any;
1927
+ context?: any | null;
1928
1928
  /** @format date-time */
1929
1929
  createdAt: string;
1930
1930
  }
@@ -1974,7 +1974,7 @@ export interface FileSearchCriteria {
1974
1974
  export interface FileWithBytes {
1975
1975
  name: string;
1976
1976
  /** @format byte */
1977
- data: string;
1977
+ data: Blob;
1978
1978
  fileName: string;
1979
1979
  mimeType?: string | null;
1980
1980
  extension?: string | null;
@@ -2058,7 +2058,7 @@ export interface FormSubmission {
2058
2058
  subjectPropertyAddressCounty?: string | null;
2059
2059
  subjectPropertyAddressState?: string | null;
2060
2060
  subjectPropertyAddressZip?: string | null;
2061
- data?: any;
2061
+ data?: any | null;
2062
2062
  /** @format uuid */
2063
2063
  listingID?: string | null;
2064
2064
  listing?: Listing | null;
@@ -2096,7 +2096,7 @@ export interface FormSubmissionRequest {
2096
2096
  subjectPropertyAddressCounty?: string | null;
2097
2097
  subjectPropertyAddressState?: string | null;
2098
2098
  subjectPropertyAddressZip?: string | null;
2099
- data?: any;
2099
+ data?: any | null;
2100
2100
  /** @format uuid */
2101
2101
  listingID?: string | null;
2102
2102
  }
@@ -2276,7 +2276,7 @@ export interface GetWorkflowRequest {
2276
2276
  export interface GuidPatchOperation {
2277
2277
  op: string;
2278
2278
  path: string;
2279
- value?: any;
2279
+ value?: any | null;
2280
2280
  from?: string | null;
2281
2281
  }
2282
2282
 
@@ -2588,7 +2588,7 @@ export interface LoanApplicationRequest {
2588
2588
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
2589
2589
  /** @format uuid */
2590
2590
  draftId?: string | null;
2591
- additionalFields?: Record<string, any>;
2591
+ additionalFields?: Record<string, any> | null;
2592
2592
  /** @format uuid */
2593
2593
  existingLoanId?: string | null;
2594
2594
  }
@@ -3514,7 +3514,7 @@ export interface LoanConsentRequest {
3514
3514
  borrowerEConsent?: boolean | null;
3515
3515
  borrowerCreditAuth?: boolean | null;
3516
3516
  borrowerTCPAOptIn?: boolean | null;
3517
- additionalFields?: Record<string, string>;
3517
+ additionalFields?: Record<string, string> | null;
3518
3518
  }
3519
3519
 
3520
3520
  export interface LoanContact {
@@ -3541,7 +3541,7 @@ export interface LoanContactList {
3541
3541
  }
3542
3542
 
3543
3543
  export interface LoanCustomFieldsRequest {
3544
- additionalFields?: Record<string, string>;
3544
+ additionalFields?: Record<string, string> | null;
3545
3545
  }
3546
3546
 
3547
3547
  export interface LoanDocument {
@@ -4042,7 +4042,7 @@ export interface LoanQueueWithData {
4042
4042
  user: UserPublic;
4043
4043
  loanOfficer: LoanOfficerPublic;
4044
4044
  siteConfiguration: SiteConfigurationReduced;
4045
- data?: any;
4045
+ data?: any | null;
4046
4046
  }
4047
4047
 
4048
4048
  export interface LoanRecord {
@@ -4278,7 +4278,7 @@ export interface ModuleParameterValue {
4278
4278
  parameterID: string;
4279
4279
  parameterName: string;
4280
4280
  parameterType: string;
4281
- value?: any;
4281
+ value?: any | null;
4282
4282
  isInherited: boolean;
4283
4283
  }
4284
4284
 
@@ -4502,7 +4502,7 @@ export interface NotificationTemplateVersionUpdateRequest {
4502
4502
 
4503
4503
  export interface Operation {
4504
4504
  op?: string;
4505
- value?: string | number | boolean | null | object;
4505
+ value?: object | null;
4506
4506
  path?: string;
4507
4507
  }
4508
4508
 
@@ -6982,7 +6982,6 @@ export interface ApiConfig<SecurityDataType = unknown>
6982
6982
  }
6983
6983
 
6984
6984
  export enum ContentType {
6985
- JsonPatch = "application/json-patch+json",
6986
6985
  Json = "application/json",
6987
6986
  JsonApi = "application/vnd.api+json",
6988
6987
  FormData = "multipart/form-data",
@@ -9800,7 +9799,7 @@ export class Api<
9800
9799
  method: "PATCH",
9801
9800
  body: data,
9802
9801
  secure: true,
9803
- type: ContentType.JsonPatch,
9802
+ type: ContentType.Json,
9804
9803
  format: "json",
9805
9804
  ...params,
9806
9805
  }),
@@ -9821,7 +9820,7 @@ export class Api<
9821
9820
  method: "POST",
9822
9821
  body: data,
9823
9822
  secure: true,
9824
- type: ContentType.JsonPatch,
9823
+ type: ContentType.Json,
9825
9824
  format: "json",
9826
9825
  ...params,
9827
9826
  }),
@@ -9910,7 +9909,7 @@ export class Api<
9910
9909
  method: "PATCH",
9911
9910
  body: data,
9912
9911
  secure: true,
9913
- type: ContentType.JsonPatch,
9912
+ type: ContentType.Json,
9914
9913
  format: "json",
9915
9914
  ...params,
9916
9915
  }),
@@ -9937,7 +9936,7 @@ export class Api<
9937
9936
  method: "PATCH",
9938
9937
  body: data,
9939
9938
  secure: true,
9940
- type: ContentType.JsonPatch,
9939
+ type: ContentType.Json,
9941
9940
  format: "json",
9942
9941
  ...params,
9943
9942
  }),
@@ -10094,7 +10093,7 @@ export class Api<
10094
10093
  method: "POST",
10095
10094
  body: data,
10096
10095
  secure: true,
10097
- type: ContentType.JsonPatch,
10096
+ type: ContentType.Json,
10098
10097
  format: "json",
10099
10098
  ...params,
10100
10099
  }),
@@ -10179,7 +10178,7 @@ export class Api<
10179
10178
  method: "PATCH",
10180
10179
  body: data,
10181
10180
  secure: true,
10182
- type: ContentType.JsonPatch,
10181
+ type: ContentType.Json,
10183
10182
  format: "json",
10184
10183
  ...params,
10185
10184
  }),
@@ -10259,7 +10258,7 @@ export class Api<
10259
10258
  method: "PATCH",
10260
10259
  body: data,
10261
10260
  secure: true,
10262
- type: ContentType.JsonPatch,
10261
+ type: ContentType.Json,
10263
10262
  format: "json",
10264
10263
  ...params,
10265
10264
  }),
@@ -10333,7 +10332,7 @@ export class Api<
10333
10332
  method: "POST",
10334
10333
  body: data,
10335
10334
  secure: true,
10336
- type: ContentType.JsonPatch,
10335
+ type: ContentType.Json,
10337
10336
  format: "json",
10338
10337
  ...params,
10339
10338
  }),
@@ -11118,7 +11117,7 @@ export class Api<
11118
11117
  * @summary Download By ID
11119
11118
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
11120
11119
  * @secure
11121
- * @response `200` `string` Success
11120
+ * @response `200` `Blob` Success
11122
11121
  * @response `404` `ProblemDetails` Not Found
11123
11122
  */
11124
11123
  downloadLoanDocument: (
@@ -11126,7 +11125,7 @@ export class Api<
11126
11125
  documentId: string,
11127
11126
  params: RequestParams = {},
11128
11127
  ) =>
11129
- this.request<string, ProblemDetails>({
11128
+ this.request<Blob, ProblemDetails>({
11130
11129
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
11131
11130
  method: "GET",
11132
11131
  secure: true,
@@ -12162,7 +12161,7 @@ export class Api<
12162
12161
  method: "POST",
12163
12162
  body: data,
12164
12163
  secure: true,
12165
- type: ContentType.JsonPatch,
12164
+ type: ContentType.Json,
12166
12165
  format: "json",
12167
12166
  ...params,
12168
12167
  }),
@@ -12198,7 +12197,7 @@ export class Api<
12198
12197
  query: query,
12199
12198
  body: data,
12200
12199
  secure: true,
12201
- type: ContentType.JsonPatch,
12200
+ type: ContentType.Json,
12202
12201
  format: "json",
12203
12202
  ...params,
12204
12203
  }),
package/tsconfig.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es6",
4
- "module": "esnext",
5
- "allowJs": true,
6
- "sourceMap": true,
7
- "outDir": "./dist",
8
- "strict": true,
9
- "moduleResolution": "node",
10
- "baseUrl": "./",
11
- "declaration": true,
12
- "paths": {
13
- "*": [
14
- "node_modules/*"
15
- ]
16
- },
17
- "typeRoots": [
18
- "./node_modules/@types"
19
- ],
20
- "esModuleInterop": true,
21
- "skipLibCheck": true,
22
- "forceConsistentCasingInFileNames": true,
23
- "resolveJsonModule": true
24
- },
25
- "include": ["./src/**/*"],
26
- "exclude": ["./dist"]
27
- }
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "module": "esnext",
5
+ "allowJs": true,
6
+ "sourceMap": true,
7
+ "outDir": "./dist",
8
+ "strict": true,
9
+ "moduleResolution": "node",
10
+ "baseUrl": "./",
11
+ "declaration": true,
12
+ "paths": {
13
+ "*": [
14
+ "node_modules/*"
15
+ ]
16
+ },
17
+ "typeRoots": [
18
+ "./node_modules/@types"
19
+ ],
20
+ "esModuleInterop": true,
21
+ "skipLibCheck": true,
22
+ "forceConsistentCasingInFileNames": true,
23
+ "resolveJsonModule": true
24
+ },
25
+ "include": ["./src/**/*"],
26
+ "exclude": ["./dist"]
27
+ }