@matech/thebigpos-sdk 2.47.1-rc1 → 2.48.0-rc2
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 +305 -3
- package/dist/index.js +182 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +474 -3
package/src/index.ts
CHANGED
|
@@ -450,6 +450,14 @@ export type ConsentSource = "TheBigPOS" | "ConsumerConnect";
|
|
|
450
450
|
|
|
451
451
|
export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
|
|
452
452
|
|
|
453
|
+
export type CompanyDocumentSourceType = "File" | "FreeText";
|
|
454
|
+
|
|
455
|
+
export type CompanyDocumentIndexStatus =
|
|
456
|
+
| "Uploaded"
|
|
457
|
+
| "Indexing"
|
|
458
|
+
| "Indexed"
|
|
459
|
+
| "Failed";
|
|
460
|
+
|
|
453
461
|
export type ClassificationSource = "Textract" | "Llm" | "Manual";
|
|
454
462
|
|
|
455
463
|
export type BranchType = "Mortgage" | "RealEstate";
|
|
@@ -589,7 +597,8 @@ export type AiAuditEventType =
|
|
|
589
597
|
| "AgentToolCallRequested"
|
|
590
598
|
| "AgentToolCallCompleted"
|
|
591
599
|
| "AgentToolCallFailed"
|
|
592
|
-
| "AgentLoopLimitReached"
|
|
600
|
+
| "AgentLoopLimitReached"
|
|
601
|
+
| "RequestCancelled";
|
|
593
602
|
|
|
594
603
|
export type AddressFamily =
|
|
595
604
|
| "Unspecified"
|
|
@@ -688,6 +697,13 @@ export interface AccountDeactivated {
|
|
|
688
697
|
email: string;
|
|
689
698
|
}
|
|
690
699
|
|
|
700
|
+
export interface AccountFailureCount {
|
|
701
|
+
/** @format uuid */
|
|
702
|
+
accountId: string;
|
|
703
|
+
/** @format int32 */
|
|
704
|
+
count: number;
|
|
705
|
+
}
|
|
706
|
+
|
|
691
707
|
export interface AccountReactivationCompleteRequest {
|
|
692
708
|
/** @format uuid */
|
|
693
709
|
token: string;
|
|
@@ -993,7 +1009,8 @@ export interface AiAuditLog {
|
|
|
993
1009
|
| "AgentToolCallRequested"
|
|
994
1010
|
| "AgentToolCallCompleted"
|
|
995
1011
|
| "AgentToolCallFailed"
|
|
996
|
-
| "AgentLoopLimitReached"
|
|
1012
|
+
| "AgentLoopLimitReached"
|
|
1013
|
+
| "RequestCancelled";
|
|
997
1014
|
modelId?: string | null;
|
|
998
1015
|
/** @format int32 */
|
|
999
1016
|
inputTokens?: number | null;
|
|
@@ -1236,6 +1253,8 @@ export interface AiPrompt {
|
|
|
1236
1253
|
outputType?: AiOutputType | null;
|
|
1237
1254
|
scope?: AiPromptScope | null;
|
|
1238
1255
|
inputHint?: string | null;
|
|
1256
|
+
isFeatured: boolean;
|
|
1257
|
+
icon?: string | null;
|
|
1239
1258
|
agentSystemPrompt?: string | null;
|
|
1240
1259
|
tools?: AiPromptTool[] | null;
|
|
1241
1260
|
hasAccountOverride: boolean;
|
|
@@ -1263,6 +1282,8 @@ export interface AiPromptSummary {
|
|
|
1263
1282
|
outputType?: AiOutputType | null;
|
|
1264
1283
|
scope?: AiPromptScope | null;
|
|
1265
1284
|
inputHint?: string | null;
|
|
1285
|
+
isFeatured: boolean;
|
|
1286
|
+
icon?: string | null;
|
|
1266
1287
|
}
|
|
1267
1288
|
|
|
1268
1289
|
export interface AiPromptTool {
|
|
@@ -1720,6 +1741,59 @@ export interface CompanyAddress {
|
|
|
1720
1741
|
zip: string;
|
|
1721
1742
|
}
|
|
1722
1743
|
|
|
1744
|
+
export interface CompanyDocument {
|
|
1745
|
+
/** @format uuid */
|
|
1746
|
+
id: string;
|
|
1747
|
+
/** @format uuid */
|
|
1748
|
+
folderId: string;
|
|
1749
|
+
folderName: string;
|
|
1750
|
+
name: string;
|
|
1751
|
+
sourceType: "File" | "FreeText";
|
|
1752
|
+
contentType?: string | null;
|
|
1753
|
+
/** @format int64 */
|
|
1754
|
+
fileSizeBytes: number;
|
|
1755
|
+
inlineContent?: string | null;
|
|
1756
|
+
indexStatus: "Uploaded" | "Indexing" | "Indexed" | "Failed";
|
|
1757
|
+
indexError?: string | null;
|
|
1758
|
+
/** @format date-time */
|
|
1759
|
+
indexedAt?: string | null;
|
|
1760
|
+
/** @format uuid */
|
|
1761
|
+
uploadedByUserId?: string | null;
|
|
1762
|
+
/** @format date-time */
|
|
1763
|
+
createdAt: string;
|
|
1764
|
+
/** @format date-time */
|
|
1765
|
+
updatedAt?: string | null;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
export interface CompanyDocumentFolder {
|
|
1769
|
+
/** @format uuid */
|
|
1770
|
+
id: string;
|
|
1771
|
+
name: string;
|
|
1772
|
+
description?: string | null;
|
|
1773
|
+
isSystemDefault: boolean;
|
|
1774
|
+
/** @format int32 */
|
|
1775
|
+
documentCount: number;
|
|
1776
|
+
/** @format date-time */
|
|
1777
|
+
createdAt: string;
|
|
1778
|
+
/** @format date-time */
|
|
1779
|
+
updatedAt?: string | null;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
export interface CompanyDocumentPaginated {
|
|
1783
|
+
rows: CompanyDocument[];
|
|
1784
|
+
pagination: Pagination;
|
|
1785
|
+
/** @format int64 */
|
|
1786
|
+
count: number;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
export interface CompanyDocumentSearchCriteria {
|
|
1790
|
+
searchText?: string | null;
|
|
1791
|
+
/** @format uuid */
|
|
1792
|
+
folderID?: string | null;
|
|
1793
|
+
indexStatuses?: CompanyDocumentIndexStatus[] | null;
|
|
1794
|
+
sourceType?: CompanyDocumentSourceType | null;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1723
1797
|
export interface ConditionComment {
|
|
1724
1798
|
commentId: string;
|
|
1725
1799
|
comments: string;
|
|
@@ -1862,6 +1936,8 @@ export interface CreateAiPromptRequest {
|
|
|
1862
1936
|
outputType?: AiOutputType | null;
|
|
1863
1937
|
scope?: AiPromptScope | null;
|
|
1864
1938
|
inputHint?: string | null;
|
|
1939
|
+
isFeatured: boolean;
|
|
1940
|
+
icon?: string | null;
|
|
1865
1941
|
}
|
|
1866
1942
|
|
|
1867
1943
|
export interface CreateAiUrlSourceRequest {
|
|
@@ -1879,6 +1955,18 @@ export interface CreateBranchRequest {
|
|
|
1879
1955
|
type: string;
|
|
1880
1956
|
}
|
|
1881
1957
|
|
|
1958
|
+
export interface CreateCompanyDocumentFolderRequest {
|
|
1959
|
+
name: string;
|
|
1960
|
+
description?: string | null;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
export interface CreateCompanyTextDocumentRequest {
|
|
1964
|
+
name: string;
|
|
1965
|
+
/** @format uuid */
|
|
1966
|
+
folderID: string;
|
|
1967
|
+
content: string;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1882
1970
|
export interface CreateCustomFieldDefinitionRequest {
|
|
1883
1971
|
isRequired: boolean;
|
|
1884
1972
|
/** @format int32 */
|
|
@@ -2690,6 +2778,13 @@ export interface Error {
|
|
|
2690
2778
|
message: string;
|
|
2691
2779
|
}
|
|
2692
2780
|
|
|
2781
|
+
export interface FailureBucket {
|
|
2782
|
+
/** @format date-time */
|
|
2783
|
+
startUtc: string;
|
|
2784
|
+
/** @format int32 */
|
|
2785
|
+
count: number;
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2693
2788
|
export interface File {
|
|
2694
2789
|
/** @format uuid */
|
|
2695
2790
|
id: string;
|
|
@@ -5026,6 +5121,21 @@ export interface LosSync {
|
|
|
5026
5121
|
|
|
5027
5122
|
export interface LosSyncFailuresSearchCriteria {
|
|
5028
5123
|
searchText?: string | null;
|
|
5124
|
+
/** @format date-time */
|
|
5125
|
+
failedFromUtc?: string | null;
|
|
5126
|
+
/** @format date-time */
|
|
5127
|
+
failedToUtc?: string | null;
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
export interface LosSyncFailuresSummary {
|
|
5131
|
+
/** @format int32 */
|
|
5132
|
+
totalFailures: number;
|
|
5133
|
+
/** @format int32 */
|
|
5134
|
+
accountsAffected: number;
|
|
5135
|
+
topAccounts: AccountFailureCount[];
|
|
5136
|
+
buckets: FailureBucket[];
|
|
5137
|
+
/** @format int32 */
|
|
5138
|
+
previousTotalFailures: number;
|
|
5029
5139
|
}
|
|
5030
5140
|
|
|
5031
5141
|
export interface LosSyncPaginated {
|
|
@@ -6772,6 +6882,8 @@ export interface UpdateAiPromptRequest {
|
|
|
6772
6882
|
outputType?: AiOutputType | null;
|
|
6773
6883
|
scope?: AiPromptScope | null;
|
|
6774
6884
|
inputHint?: string | null;
|
|
6885
|
+
isFeatured?: boolean | null;
|
|
6886
|
+
icon?: string | null;
|
|
6775
6887
|
}
|
|
6776
6888
|
|
|
6777
6889
|
export interface UpdateAiPromptToolsRequest {
|
|
@@ -6787,6 +6899,18 @@ export interface UpdateAiUrlSourceRequest {
|
|
|
6787
6899
|
scope: "FullDomain" | "SpecificPath";
|
|
6788
6900
|
}
|
|
6789
6901
|
|
|
6902
|
+
export interface UpdateCompanyDocumentFolderRequest {
|
|
6903
|
+
name: string;
|
|
6904
|
+
description?: string | null;
|
|
6905
|
+
}
|
|
6906
|
+
|
|
6907
|
+
export interface UpdateCompanyDocumentRequest {
|
|
6908
|
+
name?: string | null;
|
|
6909
|
+
/** @format uuid */
|
|
6910
|
+
folderID?: string | null;
|
|
6911
|
+
content?: string | null;
|
|
6912
|
+
}
|
|
6913
|
+
|
|
6790
6914
|
export interface UpdateCustomFieldDefinitionRequest {
|
|
6791
6915
|
isRequired: boolean;
|
|
6792
6916
|
/** @format int32 */
|
|
@@ -7563,7 +7687,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
7563
7687
|
|
|
7564
7688
|
/**
|
|
7565
7689
|
* @title The Big POS API
|
|
7566
|
-
* @version v2.
|
|
7690
|
+
* @version v2.48.0
|
|
7567
7691
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7568
7692
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7569
7693
|
*/
|
|
@@ -8546,6 +8670,7 @@ export class Api<
|
|
|
8546
8670
|
* @response `200` `AiChat` OK
|
|
8547
8671
|
* @response `400` `ProblemDetails` Bad Request
|
|
8548
8672
|
* @response `401` `ProblemDetails` Unauthorized
|
|
8673
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
8549
8674
|
*/
|
|
8550
8675
|
aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
|
|
8551
8676
|
this.request<AiChat, ProblemDetails>({
|
|
@@ -9901,6 +10026,321 @@ export class Api<
|
|
|
9901
10026
|
...params,
|
|
9902
10027
|
}),
|
|
9903
10028
|
|
|
10029
|
+
/**
|
|
10030
|
+
* No description
|
|
10031
|
+
*
|
|
10032
|
+
* @tags CompanyDocumentFolders
|
|
10033
|
+
* @name GetCompanyDocumentFolders
|
|
10034
|
+
* @summary Get all company document folders
|
|
10035
|
+
* @request GET:/api/company-document-folders
|
|
10036
|
+
* @secure
|
|
10037
|
+
* @response `200` `(CompanyDocumentFolder)[]` OK
|
|
10038
|
+
*/
|
|
10039
|
+
getCompanyDocumentFolders: (params: RequestParams = {}) =>
|
|
10040
|
+
this.request<CompanyDocumentFolder[], any>({
|
|
10041
|
+
path: `/api/company-document-folders`,
|
|
10042
|
+
method: "GET",
|
|
10043
|
+
secure: true,
|
|
10044
|
+
format: "json",
|
|
10045
|
+
...params,
|
|
10046
|
+
}),
|
|
10047
|
+
|
|
10048
|
+
/**
|
|
10049
|
+
* No description
|
|
10050
|
+
*
|
|
10051
|
+
* @tags CompanyDocumentFolders
|
|
10052
|
+
* @name CreateCompanyDocumentFolder
|
|
10053
|
+
* @summary Create company document folder
|
|
10054
|
+
* @request POST:/api/company-document-folders
|
|
10055
|
+
* @secure
|
|
10056
|
+
* @response `201` `CompanyDocumentFolder` Created
|
|
10057
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10058
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10059
|
+
*/
|
|
10060
|
+
createCompanyDocumentFolder: (
|
|
10061
|
+
data: CreateCompanyDocumentFolderRequest,
|
|
10062
|
+
params: RequestParams = {},
|
|
10063
|
+
) =>
|
|
10064
|
+
this.request<CompanyDocumentFolder, ProblemDetails>({
|
|
10065
|
+
path: `/api/company-document-folders`,
|
|
10066
|
+
method: "POST",
|
|
10067
|
+
body: data,
|
|
10068
|
+
secure: true,
|
|
10069
|
+
type: ContentType.Json,
|
|
10070
|
+
format: "json",
|
|
10071
|
+
...params,
|
|
10072
|
+
}),
|
|
10073
|
+
|
|
10074
|
+
/**
|
|
10075
|
+
* No description
|
|
10076
|
+
*
|
|
10077
|
+
* @tags CompanyDocumentFolders
|
|
10078
|
+
* @name GetCompanyDocumentFolder
|
|
10079
|
+
* @summary Get company document folder by ID
|
|
10080
|
+
* @request GET:/api/company-document-folders/{id}
|
|
10081
|
+
* @secure
|
|
10082
|
+
* @response `200` `CompanyDocumentFolder` OK
|
|
10083
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10084
|
+
*/
|
|
10085
|
+
getCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
|
|
10086
|
+
this.request<CompanyDocumentFolder, ProblemDetails>({
|
|
10087
|
+
path: `/api/company-document-folders/${id}`,
|
|
10088
|
+
method: "GET",
|
|
10089
|
+
secure: true,
|
|
10090
|
+
format: "json",
|
|
10091
|
+
...params,
|
|
10092
|
+
}),
|
|
10093
|
+
|
|
10094
|
+
/**
|
|
10095
|
+
* No description
|
|
10096
|
+
*
|
|
10097
|
+
* @tags CompanyDocumentFolders
|
|
10098
|
+
* @name UpdateCompanyDocumentFolder
|
|
10099
|
+
* @summary Update company document folder
|
|
10100
|
+
* @request PUT:/api/company-document-folders/{id}
|
|
10101
|
+
* @secure
|
|
10102
|
+
* @response `200` `CompanyDocumentFolder` OK
|
|
10103
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10104
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10105
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10106
|
+
*/
|
|
10107
|
+
updateCompanyDocumentFolder: (
|
|
10108
|
+
id: string,
|
|
10109
|
+
data: UpdateCompanyDocumentFolderRequest,
|
|
10110
|
+
params: RequestParams = {},
|
|
10111
|
+
) =>
|
|
10112
|
+
this.request<CompanyDocumentFolder, ProblemDetails>({
|
|
10113
|
+
path: `/api/company-document-folders/${id}`,
|
|
10114
|
+
method: "PUT",
|
|
10115
|
+
body: data,
|
|
10116
|
+
secure: true,
|
|
10117
|
+
type: ContentType.Json,
|
|
10118
|
+
format: "json",
|
|
10119
|
+
...params,
|
|
10120
|
+
}),
|
|
10121
|
+
|
|
10122
|
+
/**
|
|
10123
|
+
* No description
|
|
10124
|
+
*
|
|
10125
|
+
* @tags CompanyDocumentFolders
|
|
10126
|
+
* @name DeleteCompanyDocumentFolder
|
|
10127
|
+
* @summary Delete company document folder
|
|
10128
|
+
* @request DELETE:/api/company-document-folders/{id}
|
|
10129
|
+
* @secure
|
|
10130
|
+
* @response `204` `void` No Content
|
|
10131
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10132
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10133
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10134
|
+
*/
|
|
10135
|
+
deleteCompanyDocumentFolder: (id: string, params: RequestParams = {}) =>
|
|
10136
|
+
this.request<void, ProblemDetails>({
|
|
10137
|
+
path: `/api/company-document-folders/${id}`,
|
|
10138
|
+
method: "DELETE",
|
|
10139
|
+
secure: true,
|
|
10140
|
+
...params,
|
|
10141
|
+
}),
|
|
10142
|
+
|
|
10143
|
+
/**
|
|
10144
|
+
* No description
|
|
10145
|
+
*
|
|
10146
|
+
* @tags CompanyDocuments
|
|
10147
|
+
* @name SearchCompanyDocuments
|
|
10148
|
+
* @summary Search company documents
|
|
10149
|
+
* @request POST:/api/company-documents/search
|
|
10150
|
+
* @secure
|
|
10151
|
+
* @response `200` `CompanyDocumentPaginated` OK
|
|
10152
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10153
|
+
*/
|
|
10154
|
+
searchCompanyDocuments: (
|
|
10155
|
+
data: CompanyDocumentSearchCriteria,
|
|
10156
|
+
query?: {
|
|
10157
|
+
/** @format int32 */
|
|
10158
|
+
pageSize?: number;
|
|
10159
|
+
/** @format int32 */
|
|
10160
|
+
pageNumber?: number;
|
|
10161
|
+
sortBy?: string;
|
|
10162
|
+
sortDirection?: string;
|
|
10163
|
+
},
|
|
10164
|
+
params: RequestParams = {},
|
|
10165
|
+
) =>
|
|
10166
|
+
this.request<CompanyDocumentPaginated, ProblemDetails>({
|
|
10167
|
+
path: `/api/company-documents/search`,
|
|
10168
|
+
method: "POST",
|
|
10169
|
+
query: query,
|
|
10170
|
+
body: data,
|
|
10171
|
+
secure: true,
|
|
10172
|
+
type: ContentType.Json,
|
|
10173
|
+
format: "json",
|
|
10174
|
+
...params,
|
|
10175
|
+
}),
|
|
10176
|
+
|
|
10177
|
+
/**
|
|
10178
|
+
* No description
|
|
10179
|
+
*
|
|
10180
|
+
* @tags CompanyDocuments
|
|
10181
|
+
* @name GetCompanyDocument
|
|
10182
|
+
* @summary Get company document by ID
|
|
10183
|
+
* @request GET:/api/company-documents/{id}
|
|
10184
|
+
* @secure
|
|
10185
|
+
* @response `200` `CompanyDocument` OK
|
|
10186
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10187
|
+
*/
|
|
10188
|
+
getCompanyDocument: (id: string, params: RequestParams = {}) =>
|
|
10189
|
+
this.request<CompanyDocument, ProblemDetails>({
|
|
10190
|
+
path: `/api/company-documents/${id}`,
|
|
10191
|
+
method: "GET",
|
|
10192
|
+
secure: true,
|
|
10193
|
+
format: "json",
|
|
10194
|
+
...params,
|
|
10195
|
+
}),
|
|
10196
|
+
|
|
10197
|
+
/**
|
|
10198
|
+
* No description
|
|
10199
|
+
*
|
|
10200
|
+
* @tags CompanyDocuments
|
|
10201
|
+
* @name UpdateCompanyDocument
|
|
10202
|
+
* @summary Update company document
|
|
10203
|
+
* @request PUT:/api/company-documents/{id}
|
|
10204
|
+
* @secure
|
|
10205
|
+
* @response `200` `CompanyDocument` OK
|
|
10206
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10207
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10208
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10209
|
+
*/
|
|
10210
|
+
updateCompanyDocument: (
|
|
10211
|
+
id: string,
|
|
10212
|
+
data: UpdateCompanyDocumentRequest,
|
|
10213
|
+
params: RequestParams = {},
|
|
10214
|
+
) =>
|
|
10215
|
+
this.request<CompanyDocument, ProblemDetails>({
|
|
10216
|
+
path: `/api/company-documents/${id}`,
|
|
10217
|
+
method: "PUT",
|
|
10218
|
+
body: data,
|
|
10219
|
+
secure: true,
|
|
10220
|
+
type: ContentType.Json,
|
|
10221
|
+
format: "json",
|
|
10222
|
+
...params,
|
|
10223
|
+
}),
|
|
10224
|
+
|
|
10225
|
+
/**
|
|
10226
|
+
* No description
|
|
10227
|
+
*
|
|
10228
|
+
* @tags CompanyDocuments
|
|
10229
|
+
* @name DeleteCompanyDocument
|
|
10230
|
+
* @summary Delete company document
|
|
10231
|
+
* @request DELETE:/api/company-documents/{id}
|
|
10232
|
+
* @secure
|
|
10233
|
+
* @response `204` `void` No Content
|
|
10234
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10235
|
+
*/
|
|
10236
|
+
deleteCompanyDocument: (id: string, params: RequestParams = {}) =>
|
|
10237
|
+
this.request<void, ProblemDetails>({
|
|
10238
|
+
path: `/api/company-documents/${id}`,
|
|
10239
|
+
method: "DELETE",
|
|
10240
|
+
secure: true,
|
|
10241
|
+
...params,
|
|
10242
|
+
}),
|
|
10243
|
+
|
|
10244
|
+
/**
|
|
10245
|
+
* No description
|
|
10246
|
+
*
|
|
10247
|
+
* @tags CompanyDocuments
|
|
10248
|
+
* @name DownloadCompanyDocument
|
|
10249
|
+
* @summary Download company document
|
|
10250
|
+
* @request GET:/api/company-documents/{id}/download
|
|
10251
|
+
* @secure
|
|
10252
|
+
* @response `200` `void` OK
|
|
10253
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10254
|
+
*/
|
|
10255
|
+
downloadCompanyDocument: (id: string, params: RequestParams = {}) =>
|
|
10256
|
+
this.request<void, ProblemDetails>({
|
|
10257
|
+
path: `/api/company-documents/${id}/download`,
|
|
10258
|
+
method: "GET",
|
|
10259
|
+
secure: true,
|
|
10260
|
+
...params,
|
|
10261
|
+
}),
|
|
10262
|
+
|
|
10263
|
+
/**
|
|
10264
|
+
* No description
|
|
10265
|
+
*
|
|
10266
|
+
* @tags CompanyDocuments
|
|
10267
|
+
* @name CreateCompanyDocument
|
|
10268
|
+
* @summary Upload company document
|
|
10269
|
+
* @request POST:/api/company-documents
|
|
10270
|
+
* @secure
|
|
10271
|
+
* @response `201` `CompanyDocument` Created
|
|
10272
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10273
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10274
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10275
|
+
*/
|
|
10276
|
+
createCompanyDocument: (
|
|
10277
|
+
data: {
|
|
10278
|
+
/** @format binary */
|
|
10279
|
+
file?: File;
|
|
10280
|
+
/** @format uuid */
|
|
10281
|
+
folderID?: string;
|
|
10282
|
+
name?: string;
|
|
10283
|
+
},
|
|
10284
|
+
params: RequestParams = {},
|
|
10285
|
+
) =>
|
|
10286
|
+
this.request<CompanyDocument, ProblemDetails>({
|
|
10287
|
+
path: `/api/company-documents`,
|
|
10288
|
+
method: "POST",
|
|
10289
|
+
body: data,
|
|
10290
|
+
secure: true,
|
|
10291
|
+
type: ContentType.FormData,
|
|
10292
|
+
format: "json",
|
|
10293
|
+
...params,
|
|
10294
|
+
}),
|
|
10295
|
+
|
|
10296
|
+
/**
|
|
10297
|
+
* No description
|
|
10298
|
+
*
|
|
10299
|
+
* @tags CompanyDocuments
|
|
10300
|
+
* @name CreateCompanyTextDocument
|
|
10301
|
+
* @summary Create free-form text company document
|
|
10302
|
+
* @request POST:/api/company-documents/text
|
|
10303
|
+
* @secure
|
|
10304
|
+
* @response `201` `CompanyDocument` Created
|
|
10305
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10306
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10307
|
+
* @response `409` `ProblemDetails` Conflict
|
|
10308
|
+
*/
|
|
10309
|
+
createCompanyTextDocument: (
|
|
10310
|
+
data: CreateCompanyTextDocumentRequest,
|
|
10311
|
+
params: RequestParams = {},
|
|
10312
|
+
) =>
|
|
10313
|
+
this.request<CompanyDocument, ProblemDetails>({
|
|
10314
|
+
path: `/api/company-documents/text`,
|
|
10315
|
+
method: "POST",
|
|
10316
|
+
body: data,
|
|
10317
|
+
secure: true,
|
|
10318
|
+
type: ContentType.Json,
|
|
10319
|
+
format: "json",
|
|
10320
|
+
...params,
|
|
10321
|
+
}),
|
|
10322
|
+
|
|
10323
|
+
/**
|
|
10324
|
+
* No description
|
|
10325
|
+
*
|
|
10326
|
+
* @tags CompanyDocuments
|
|
10327
|
+
* @name ReindexCompanyDocument
|
|
10328
|
+
* @summary Re-index a failed company document
|
|
10329
|
+
* @request POST:/api/company-documents/{id}/reindex
|
|
10330
|
+
* @secure
|
|
10331
|
+
* @response `200` `CompanyDocument` OK
|
|
10332
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
10333
|
+
* @response `404` `ProblemDetails` Not Found
|
|
10334
|
+
*/
|
|
10335
|
+
reindexCompanyDocument: (id: string, params: RequestParams = {}) =>
|
|
10336
|
+
this.request<CompanyDocument, ProblemDetails>({
|
|
10337
|
+
path: `/api/company-documents/${id}/reindex`,
|
|
10338
|
+
method: "POST",
|
|
10339
|
+
secure: true,
|
|
10340
|
+
format: "json",
|
|
10341
|
+
...params,
|
|
10342
|
+
}),
|
|
10343
|
+
|
|
9904
10344
|
/**
|
|
9905
10345
|
* No description
|
|
9906
10346
|
*
|
|
@@ -14861,6 +15301,37 @@ export class Api<
|
|
|
14861
15301
|
...params,
|
|
14862
15302
|
}),
|
|
14863
15303
|
|
|
15304
|
+
/**
|
|
15305
|
+
* No description
|
|
15306
|
+
*
|
|
15307
|
+
* @tags LosSyncFailures
|
|
15308
|
+
* @name GetInboundSyncFailuresSummary
|
|
15309
|
+
* @summary Summarize cross-account failed inbound Encompass syncs (SuperAdmin)
|
|
15310
|
+
* @request POST:/api/monitoring/inbound-sync-failures/summary
|
|
15311
|
+
* @secure
|
|
15312
|
+
* @response `200` `LosSyncFailuresSummary` OK
|
|
15313
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
15314
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
15315
|
+
*/
|
|
15316
|
+
getInboundSyncFailuresSummary: (
|
|
15317
|
+
data: LosSyncFailuresSearchCriteria,
|
|
15318
|
+
query?: {
|
|
15319
|
+
/** @format uuid */
|
|
15320
|
+
accountId?: string;
|
|
15321
|
+
},
|
|
15322
|
+
params: RequestParams = {},
|
|
15323
|
+
) =>
|
|
15324
|
+
this.request<LosSyncFailuresSummary, ProblemDetails>({
|
|
15325
|
+
path: `/api/monitoring/inbound-sync-failures/summary`,
|
|
15326
|
+
method: "POST",
|
|
15327
|
+
query: query,
|
|
15328
|
+
body: data,
|
|
15329
|
+
secure: true,
|
|
15330
|
+
type: ContentType.Json,
|
|
15331
|
+
format: "json",
|
|
15332
|
+
...params,
|
|
15333
|
+
}),
|
|
15334
|
+
|
|
14864
15335
|
/**
|
|
14865
15336
|
* No description
|
|
14866
15337
|
*
|