@matech/thebigpos-sdk 2.49.0-rc0 → 2.49.3-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/dist/index.js CHANGED
@@ -95,7 +95,7 @@ export class HttpClient {
95
95
  }
96
96
  /**
97
97
  * @title The Big POS API
98
- * @version v2.49.0
98
+ * @version v2.49.3
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
  */
@@ -171,29 +171,6 @@ export class Api extends HttpClient {
171
171
  * @response `422` `UnprocessableEntity` Unprocessable Content
172
172
  */
173
173
  updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
174
- /**
175
- * No description
176
- *
177
- * @tags AccountReactivation
178
- * @name RequestAccountReactivation
179
- * @summary Request account reactivation
180
- * @request POST:/api/account/reactivation/request
181
- * @secure
182
- * @response `204` `void` No Content
183
- */
184
- requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
185
- /**
186
- * No description
187
- *
188
- * @tags AccountReactivation
189
- * @name CompleteAccountReactivation
190
- * @summary Complete account reactivation with new password
191
- * @request POST:/api/account/reactivation/complete
192
- * @secure
193
- * @response `204` `void` No Content
194
- * @response `400` `ProblemDetails` Bad Request
195
- */
196
- completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
197
174
  /**
198
175
  * No description
199
176
  *
@@ -1059,7 +1036,7 @@ export class Api extends HttpClient {
1059
1036
  * @summary Get Token
1060
1037
  * @request POST:/api/token
1061
1038
  * @secure
1062
- * @response `200` `AccountDeactivated` OK
1039
+ * @response `200` `UserDeactivated` OK
1063
1040
  * @response `422` `UnprocessableEntity` Unprocessable Content
1064
1041
  */
1065
1042
  getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
@@ -1071,7 +1048,7 @@ export class Api extends HttpClient {
1071
1048
  * @summary Get Token From Challenge Code
1072
1049
  * @request POST:/api/token/code
1073
1050
  * @secure
1074
- * @response `200` `AccountDeactivated` OK
1051
+ * @response `200` `UserDeactivated` OK
1075
1052
  * @response `422` `UnprocessableEntity` Unprocessable Content
1076
1053
  */
1077
1054
  getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
@@ -1403,7 +1380,7 @@ export class Api extends HttpClient {
1403
1380
  * @response `200` `CompanyDocument` OK
1404
1381
  * @response `404` `ProblemDetails` Not Found
1405
1382
  */
1406
- getCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", secure: true, format: "json" }, params)),
1383
+ getCompanyDocument: (id, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", query: query, secure: true, format: "json" }, params)),
1407
1384
  /**
1408
1385
  * No description
1409
1386
  *
@@ -1430,6 +1407,18 @@ export class Api extends HttpClient {
1430
1407
  * @response `404` `ProblemDetails` Not Found
1431
1408
  */
1432
1409
  deleteCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "DELETE", secure: true }, params)),
1410
+ /**
1411
+ * No description
1412
+ *
1413
+ * @tags CompanyDocuments
1414
+ * @name GetCompanyDocumentPreviews
1415
+ * @summary Get company document previews in batch
1416
+ * @request POST:/api/company-documents/previews
1417
+ * @secure
1418
+ * @response `200` `Record<string,string>` OK
1419
+ * @response `400` `ProblemDetails` Bad Request
1420
+ */
1421
+ getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1433
1422
  /**
1434
1423
  * No description
1435
1424
  *
@@ -2068,6 +2057,143 @@ export class Api extends HttpClient {
2068
2057
  * @response `500` `EncompassError` Internal Server Error
2069
2058
  */
2070
2059
  createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2060
+ /**
2061
+ * No description
2062
+ *
2063
+ * @tags EncompassIntegrations
2064
+ * @name SearchEncompassIntegrations
2065
+ * @summary Search registered Encompass integrations across accounts (SuperAdmin)
2066
+ * @request POST:/api/monitoring/encompass-integrations/search
2067
+ * @secure
2068
+ * @response `200` `LosIntegrationPaginated` OK
2069
+ * @response `400` `ProblemDetails` Bad Request
2070
+ * @response `401` `ProblemDetails` Unauthorized
2071
+ * @response `403` `ProblemDetails` Forbidden
2072
+ */
2073
+ searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2074
+ /**
2075
+ * No description
2076
+ *
2077
+ * @tags EncompassIntegrations
2078
+ * @name GetEncompassIntegrationsSummary
2079
+ * @summary Summarize registered Encompass integration health across accounts (SuperAdmin)
2080
+ * @request POST:/api/monitoring/encompass-integrations/summary
2081
+ * @secure
2082
+ * @response `200` `LosIntegrationsSummary` OK
2083
+ * @response `401` `ProblemDetails` Unauthorized
2084
+ * @response `403` `ProblemDetails` Forbidden
2085
+ */
2086
+ getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2087
+ /**
2088
+ * No description
2089
+ *
2090
+ * @tags EncompassIntegrations
2091
+ * @name GetEncompassIntegrationsHealth
2092
+ * @summary Get Encompass login health for a set of accounts (SuperAdmin)
2093
+ * @request POST:/api/monitoring/encompass-integrations/health
2094
+ * @secure
2095
+ * @response `200` `(LosCredentialHealth)[]` OK
2096
+ * @response `400` `ProblemDetails` Bad Request
2097
+ * @response `401` `ProblemDetails` Unauthorized
2098
+ * @response `403` `ProblemDetails` Forbidden
2099
+ */
2100
+ getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2101
+ /**
2102
+ * No description
2103
+ *
2104
+ * @tags EncompassIntegrations
2105
+ * @name RecheckEncompassIntegrationHealth
2106
+ * @summary Force a fresh Encompass login health check for one account (SuperAdmin)
2107
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/health/recheck
2108
+ * @secure
2109
+ * @response `200` `LosCredentialHealth` OK
2110
+ * @response `401` `ProblemDetails` Unauthorized
2111
+ * @response `403` `ProblemDetails` Forbidden
2112
+ */
2113
+ recheckEncompassIntegrationHealth: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/health/recheck`, method: "POST", secure: true, format: "json" }, params)),
2114
+ /**
2115
+ * No description
2116
+ *
2117
+ * @tags EncompassIntegrations
2118
+ * @name GetEncompassIntegrationsWebhooks
2119
+ * @summary Get registered-versus-expected Encompass webhooks for a set of accounts (SuperAdmin)
2120
+ * @request POST:/api/monitoring/encompass-integrations/webhooks
2121
+ * @secure
2122
+ * @response `200` `(LosWebhookInventory)[]` OK
2123
+ * @response `400` `ProblemDetails` Bad Request
2124
+ * @response `401` `ProblemDetails` Unauthorized
2125
+ * @response `403` `ProblemDetails` Forbidden
2126
+ */
2127
+ getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2128
+ /**
2129
+ * No description
2130
+ *
2131
+ * @tags EncompassIntegrations
2132
+ * @name RecheckEncompassIntegrationWebhooks
2133
+ * @summary Force a fresh Encompass webhook inventory read for one account (SuperAdmin)
2134
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks/recheck
2135
+ * @secure
2136
+ * @response `200` `LosWebhookInventory` OK
2137
+ * @response `401` `ProblemDetails` Unauthorized
2138
+ * @response `403` `ProblemDetails` Forbidden
2139
+ */
2140
+ recheckEncompassIntegrationWebhooks: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/recheck`, method: "POST", secure: true, format: "json" }, params)),
2141
+ /**
2142
+ * No description
2143
+ *
2144
+ * @tags EncompassIntegrations
2145
+ * @name GetEncompassIntegrationCredentials
2146
+ * @summary Get Encompass credentials including secrets for a specific account (SuperAdmin)
2147
+ * @request GET:/api/monitoring/encompass-integrations/{accountId}/credentials
2148
+ * @secure
2149
+ * @response `200` `LosIntegrationCredentials` OK
2150
+ * @response `401` `ProblemDetails` Unauthorized
2151
+ * @response `403` `ProblemDetails` Forbidden
2152
+ * @response `404` `ProblemDetails` Not Found
2153
+ */
2154
+ getEncompassIntegrationCredentials: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "GET", secure: true, format: "json" }, params)),
2155
+ /**
2156
+ * No description
2157
+ *
2158
+ * @tags EncompassIntegrations
2159
+ * @name UpdateEncompassIntegrationCredentials
2160
+ * @summary Update Encompass credentials for a specific account (SuperAdmin)
2161
+ * @request PUT:/api/monitoring/encompass-integrations/{accountId}/credentials
2162
+ * @secure
2163
+ * @response `200` `EncompassCredentialsDetail` OK
2164
+ * @response `401` `ProblemDetails` Unauthorized
2165
+ * @response `403` `ProblemDetails` Forbidden
2166
+ * @response `404` `ProblemDetails` Not Found
2167
+ */
2168
+ updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2169
+ /**
2170
+ * No description
2171
+ *
2172
+ * @tags EncompassIntegrations
2173
+ * @name RegisterEncompassIntegrationWebhook
2174
+ * @summary Register an expected Encompass webhook for a specific account (SuperAdmin)
2175
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks
2176
+ * @secure
2177
+ * @response `201` `LosWebhook` Created
2178
+ * @response `400` `ProblemDetails` Bad Request
2179
+ * @response `401` `ProblemDetails` Unauthorized
2180
+ * @response `403` `ProblemDetails` Forbidden
2181
+ */
2182
+ registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2183
+ /**
2184
+ * No description
2185
+ *
2186
+ * @tags EncompassIntegrations
2187
+ * @name DeleteEncompassIntegrationWebhook
2188
+ * @summary Delete an Encompass webhook for a specific account (SuperAdmin)
2189
+ * @request DELETE:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookId}
2190
+ * @secure
2191
+ * @response `204` `void` No Content
2192
+ * @response `401` `ProblemDetails` Unauthorized
2193
+ * @response `403` `ProblemDetails` Forbidden
2194
+ * @response `404` `ProblemDetails` Not Found
2195
+ */
2196
+ deleteEncompassIntegrationWebhook: (accountId, webhookId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookId}`, method: "DELETE", secure: true }, params)),
2071
2197
  /**
2072
2198
  * No description
2073
2199
  *
@@ -3263,6 +3389,18 @@ export class Api extends HttpClient {
3263
3389
  * @response `404` `ProblemDetails` Not Found
3264
3390
  */
3265
3391
  inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3392
+ /**
3393
+ * No description
3394
+ *
3395
+ * @tags LoanInvites
3396
+ * @name DeleteLoanInvite
3397
+ * @summary Delete Invite
3398
+ * @request DELETE:/api/loans/{loanId}/invites/{id}
3399
+ * @secure
3400
+ * @response `204` `void` No Content
3401
+ * @response `404` `ProblemDetails` Not Found
3402
+ */
3403
+ deleteLoanInvite: (loanId, id, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites/${id}`, method: "DELETE", secure: true }, params)),
3266
3404
  /**
3267
3405
  * No description
3268
3406
  *
@@ -5022,6 +5160,7 @@ export class Api extends HttpClient {
5022
5160
  * @request PUT:/api/users/invites/{id}/resend
5023
5161
  * @secure
5024
5162
  * @response `204` `void` No Content
5163
+ * @response `400` `ProblemDetails` Bad Request
5025
5164
  * @response `401` `UnprocessableEntity` Unauthorized
5026
5165
  * @response `404` `UnprocessableEntity` Not Found
5027
5166
  */
@@ -5035,9 +5174,33 @@ export class Api extends HttpClient {
5035
5174
  * @request GET:/api/users/invites/{token}/verify
5036
5175
  * @secure
5037
5176
  * @response `200` `Invite` OK
5177
+ * @response `400` `ProblemDetails` Bad Request
5038
5178
  * @response `422` `UnprocessableEntity` Unprocessable Content
5039
5179
  */
5040
5180
  verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
5181
+ /**
5182
+ * No description
5183
+ *
5184
+ * @tags UserReactivation
5185
+ * @name RequestUserReactivation
5186
+ * @summary Request user reactivation
5187
+ * @request POST:/api/users/reactivation/request
5188
+ * @secure
5189
+ * @response `204` `void` No Content
5190
+ */
5191
+ requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5192
+ /**
5193
+ * No description
5194
+ *
5195
+ * @tags UserReactivation
5196
+ * @name CompleteUserReactivation
5197
+ * @summary Complete user reactivation with new password
5198
+ * @request POST:/api/users/reactivation/complete
5199
+ * @secure
5200
+ * @response `204` `void` No Content
5201
+ * @response `400` `ProblemDetails` Bad Request
5202
+ */
5203
+ completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5041
5204
  /**
5042
5205
  * No description
5043
5206
  *
@@ -5102,6 +5265,7 @@ export class Api extends HttpClient {
5102
5265
  * @request POST:/api/users
5103
5266
  * @secure
5104
5267
  * @response `200` `DetailedUser` OK
5268
+ * @response `409` `ProblemDetails` Conflict
5105
5269
  * @response `422` `UnprocessableEntity` Unprocessable Content
5106
5270
  */
5107
5271
  createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
@@ -5268,6 +5432,8 @@ export class Api extends HttpClient {
5268
5432
  * @request PUT:/api/users/me
5269
5433
  * @secure
5270
5434
  * @response `200` `DetailedUser` OK
5435
+ * @response `403` `ProblemDetails` Forbidden
5436
+ * @response `409` `ProblemDetails` Conflict
5271
5437
  */
5272
5438
  replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5273
5439
  /**