@subnoto/api-client 2.0.5 → 2.0.7
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.
|
Binary file
|
package/package.json
CHANGED
|
@@ -1050,6 +1050,187 @@ export interface paths {
|
|
|
1050
1050
|
patch?: never;
|
|
1051
1051
|
trace?: never;
|
|
1052
1052
|
};
|
|
1053
|
+
"/public/envelope/add-attachment": {
|
|
1054
|
+
parameters: {
|
|
1055
|
+
query?: never;
|
|
1056
|
+
header?: never;
|
|
1057
|
+
path?: never;
|
|
1058
|
+
cookie?: never;
|
|
1059
|
+
};
|
|
1060
|
+
get?: never;
|
|
1061
|
+
put?: never;
|
|
1062
|
+
/**
|
|
1063
|
+
* add-attachment
|
|
1064
|
+
* @description Add a document attachment to an existing envelope. Accepts multipart/form-data with a PDF or Word document file.
|
|
1065
|
+
*/
|
|
1066
|
+
post: {
|
|
1067
|
+
parameters: {
|
|
1068
|
+
query?: never;
|
|
1069
|
+
header?: never;
|
|
1070
|
+
path?: never;
|
|
1071
|
+
cookie?: never;
|
|
1072
|
+
};
|
|
1073
|
+
requestBody: {
|
|
1074
|
+
content: {
|
|
1075
|
+
"multipart/form-data": {
|
|
1076
|
+
/** @description The UUID of the workspace containing the envelope. */
|
|
1077
|
+
workspaceUuid: string;
|
|
1078
|
+
/** @description The UUID of the envelope to attach the document to. */
|
|
1079
|
+
envelopeUuid: string;
|
|
1080
|
+
/** @description The title of the document attachment. */
|
|
1081
|
+
documentTitle: string;
|
|
1082
|
+
/** @description The file to attach (PDF or Word document, max 11MB). */
|
|
1083
|
+
file: unknown;
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
responses: {
|
|
1088
|
+
/** @description Default Response */
|
|
1089
|
+
200: {
|
|
1090
|
+
headers: {
|
|
1091
|
+
[name: string]: unknown;
|
|
1092
|
+
};
|
|
1093
|
+
content: {
|
|
1094
|
+
"application/json": {
|
|
1095
|
+
/** @description The unique identifier of the created document. */
|
|
1096
|
+
documentUuid: string;
|
|
1097
|
+
/** @description The key in base64 for the document revision. */
|
|
1098
|
+
revisionEncryptionKey: string;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
/** @description Default Response */
|
|
1103
|
+
400: {
|
|
1104
|
+
headers: {
|
|
1105
|
+
[name: string]: unknown;
|
|
1106
|
+
};
|
|
1107
|
+
content: {
|
|
1108
|
+
"application/json": {
|
|
1109
|
+
/** @description HTTP status code */
|
|
1110
|
+
statusCode: number;
|
|
1111
|
+
error: {
|
|
1112
|
+
/**
|
|
1113
|
+
* @description The error code
|
|
1114
|
+
* @enum {string}
|
|
1115
|
+
*/
|
|
1116
|
+
code: "WORKSPACE_NOT_FOUND" | "ENVELOPE_NOT_FOUND" | "ENVELOPE_NOT_IN_DRAFT" | "DOCUMENT_INVALID" | "FILE_SIZE_EXCEEDED" | "INVALID_REQUEST_FORMAT";
|
|
1117
|
+
/** @description The error message */
|
|
1118
|
+
message: string;
|
|
1119
|
+
/** @description A suggestion to resolve the error */
|
|
1120
|
+
suggestion: string;
|
|
1121
|
+
/** @description A URL to the documentation */
|
|
1122
|
+
documentationUrl: string;
|
|
1123
|
+
};
|
|
1124
|
+
/** @description The unique identifier of the request */
|
|
1125
|
+
requestId: string;
|
|
1126
|
+
/** @description The timestamp of the response */
|
|
1127
|
+
timestamp: string;
|
|
1128
|
+
/** @description The path of the request */
|
|
1129
|
+
path: string;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
};
|
|
1133
|
+
/** @description Default Response */
|
|
1134
|
+
401: {
|
|
1135
|
+
headers: {
|
|
1136
|
+
[name: string]: unknown;
|
|
1137
|
+
};
|
|
1138
|
+
content: {
|
|
1139
|
+
"application/json": {
|
|
1140
|
+
/** @description HTTP status code */
|
|
1141
|
+
statusCode: number;
|
|
1142
|
+
error: {
|
|
1143
|
+
/**
|
|
1144
|
+
* @description The error code
|
|
1145
|
+
* @enum {string}
|
|
1146
|
+
*/
|
|
1147
|
+
code: "AUTHENTICATION_ERROR" | "TUNNEL_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
1148
|
+
/** @description The error message */
|
|
1149
|
+
message: string;
|
|
1150
|
+
/** @description A suggestion to resolve the error */
|
|
1151
|
+
suggestion: string;
|
|
1152
|
+
/** @description A URL to the documentation */
|
|
1153
|
+
documentationUrl: string;
|
|
1154
|
+
};
|
|
1155
|
+
/** @description The unique identifier of the request */
|
|
1156
|
+
requestId: string;
|
|
1157
|
+
/** @description The timestamp of the response */
|
|
1158
|
+
timestamp: string;
|
|
1159
|
+
/** @description The path of the request */
|
|
1160
|
+
path: string;
|
|
1161
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
/** @description Default Response */
|
|
1165
|
+
403: {
|
|
1166
|
+
headers: {
|
|
1167
|
+
[name: string]: unknown;
|
|
1168
|
+
};
|
|
1169
|
+
content: {
|
|
1170
|
+
"application/json": {
|
|
1171
|
+
/** @description HTTP status code */
|
|
1172
|
+
statusCode: number;
|
|
1173
|
+
error: {
|
|
1174
|
+
/**
|
|
1175
|
+
* @description The error code
|
|
1176
|
+
* @enum {string}
|
|
1177
|
+
*/
|
|
1178
|
+
code: "AUTHORIZATION_ERROR" | "FEATURE_NOT_IN_CURRENT_PLAN" | "INVALID_REQUEST_FORMAT";
|
|
1179
|
+
/** @description The error message */
|
|
1180
|
+
message: string;
|
|
1181
|
+
/** @description A suggestion to resolve the error */
|
|
1182
|
+
suggestion: string;
|
|
1183
|
+
/** @description A URL to the documentation */
|
|
1184
|
+
documentationUrl: string;
|
|
1185
|
+
};
|
|
1186
|
+
/** @description The unique identifier of the request */
|
|
1187
|
+
requestId: string;
|
|
1188
|
+
/** @description The timestamp of the response */
|
|
1189
|
+
timestamp: string;
|
|
1190
|
+
/** @description The path of the request */
|
|
1191
|
+
path: string;
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
/** @description Default Response */
|
|
1196
|
+
500: {
|
|
1197
|
+
headers: {
|
|
1198
|
+
[name: string]: unknown;
|
|
1199
|
+
};
|
|
1200
|
+
content: {
|
|
1201
|
+
"application/json": {
|
|
1202
|
+
/** @description HTTP status code */
|
|
1203
|
+
statusCode: number;
|
|
1204
|
+
error: {
|
|
1205
|
+
/**
|
|
1206
|
+
* @description The error code
|
|
1207
|
+
* @enum {string}
|
|
1208
|
+
*/
|
|
1209
|
+
code: "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
1210
|
+
/** @description The error message */
|
|
1211
|
+
message: string;
|
|
1212
|
+
/** @description A suggestion to resolve the error */
|
|
1213
|
+
suggestion: string;
|
|
1214
|
+
/** @description A URL to the documentation */
|
|
1215
|
+
documentationUrl: string;
|
|
1216
|
+
};
|
|
1217
|
+
/** @description The unique identifier of the request */
|
|
1218
|
+
requestId: string;
|
|
1219
|
+
/** @description The timestamp of the response */
|
|
1220
|
+
timestamp: string;
|
|
1221
|
+
/** @description The path of the request */
|
|
1222
|
+
path: string;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
delete?: never;
|
|
1229
|
+
options?: never;
|
|
1230
|
+
head?: never;
|
|
1231
|
+
patch?: never;
|
|
1232
|
+
trace?: never;
|
|
1233
|
+
};
|
|
1053
1234
|
"/public/envelope/add-blocks": {
|
|
1054
1235
|
parameters: {
|
|
1055
1236
|
query?: never;
|
|
@@ -1553,7 +1734,7 @@ export interface paths {
|
|
|
1553
1734
|
put?: never;
|
|
1554
1735
|
/**
|
|
1555
1736
|
* create
|
|
1556
|
-
* @description Create an envelope and the first document placeholder. Optionally accepts a small file directly (max 10 MB) in the request body. If a file is provided, it will be
|
|
1737
|
+
* @description Create an envelope and the first document placeholder. Optionally accepts a small file directly (max 10 MB) in the request body. If a file is provided, it will be processed and uploaded directly. Otherwise, returns upload parameters for document upload.
|
|
1557
1738
|
*/
|
|
1558
1739
|
post: {
|
|
1559
1740
|
parameters: {
|
|
@@ -1571,7 +1752,7 @@ export interface paths {
|
|
|
1571
1752
|
envelopeTitle: string;
|
|
1572
1753
|
/**
|
|
1573
1754
|
* Format: base64
|
|
1574
|
-
* @description Base64-encoded PDF file data (max 10 MB). If provided, the file will be
|
|
1755
|
+
* @description Base64-encoded PDF file data (max 10 MB). If provided, the file will be processed and uploaded directly, and presignedS3Params will not be returned.
|
|
1575
1756
|
*/
|
|
1576
1757
|
file?: string;
|
|
1577
1758
|
};
|
|
@@ -1589,31 +1770,31 @@ export interface paths {
|
|
|
1589
1770
|
envelopeUuid: string;
|
|
1590
1771
|
/** @description The unique identifier of the first document. */
|
|
1591
1772
|
documentUuid: string;
|
|
1592
|
-
/** @description
|
|
1773
|
+
/** @description Upload parameters for document upload. Only returned when no file is provided in the request. */
|
|
1593
1774
|
presignedS3Params?: {
|
|
1594
|
-
/** @description The
|
|
1775
|
+
/** @description The URL for uploading the document. */
|
|
1595
1776
|
url: string;
|
|
1596
|
-
/** @description Fields required for the
|
|
1777
|
+
/** @description Fields required for the upload. */
|
|
1597
1778
|
fields: {
|
|
1598
|
-
/** @description The
|
|
1779
|
+
/** @description The bucket name. */
|
|
1599
1780
|
bucket: string;
|
|
1600
|
-
/** @description The
|
|
1781
|
+
/** @description The object key. */
|
|
1601
1782
|
key: string;
|
|
1602
|
-
/** @description The
|
|
1783
|
+
/** @description The content type. */
|
|
1603
1784
|
"content-type": string;
|
|
1604
|
-
/** @description The
|
|
1785
|
+
/** @description The algorithm. */
|
|
1605
1786
|
"x-amz-algorithm": string;
|
|
1606
|
-
/** @description The
|
|
1787
|
+
/** @description The credential. */
|
|
1607
1788
|
"x-amz-credential": string;
|
|
1608
|
-
/** @description The
|
|
1789
|
+
/** @description The date. */
|
|
1609
1790
|
"x-amz-date": string;
|
|
1610
|
-
/** @description The
|
|
1791
|
+
/** @description The policy. */
|
|
1611
1792
|
policy: string;
|
|
1612
|
-
/** @description The
|
|
1793
|
+
/** @description The signature. */
|
|
1613
1794
|
"x-amz-signature": string;
|
|
1614
1795
|
};
|
|
1615
1796
|
};
|
|
1616
|
-
/** @description The
|
|
1797
|
+
/** @description The key in base64 for the document revision. */
|
|
1617
1798
|
revisionEncryptionKey: string;
|
|
1618
1799
|
};
|
|
1619
1800
|
};
|
|
@@ -1750,6 +1931,185 @@ export interface paths {
|
|
|
1750
1931
|
patch?: never;
|
|
1751
1932
|
trace?: never;
|
|
1752
1933
|
};
|
|
1934
|
+
"/public/envelope/create-from-file": {
|
|
1935
|
+
parameters: {
|
|
1936
|
+
query?: never;
|
|
1937
|
+
header?: never;
|
|
1938
|
+
path?: never;
|
|
1939
|
+
cookie?: never;
|
|
1940
|
+
};
|
|
1941
|
+
get?: never;
|
|
1942
|
+
put?: never;
|
|
1943
|
+
/**
|
|
1944
|
+
* create-from-file
|
|
1945
|
+
* @description Create an envelope and the first document placeholder with a file upload. Accepts multipart/form-data with a PDF or Word document file (max 50 MB). DOCX files are converted to PDF. The file is processed and uploaded directly.
|
|
1946
|
+
*/
|
|
1947
|
+
post: {
|
|
1948
|
+
parameters: {
|
|
1949
|
+
query?: never;
|
|
1950
|
+
header?: never;
|
|
1951
|
+
path?: never;
|
|
1952
|
+
cookie?: never;
|
|
1953
|
+
};
|
|
1954
|
+
requestBody: {
|
|
1955
|
+
content: {
|
|
1956
|
+
"multipart/form-data": {
|
|
1957
|
+
/** @description The UUID of the workspace to create the envelope in. */
|
|
1958
|
+
workspaceUuid: string;
|
|
1959
|
+
/** @description The title of the envelope being created. */
|
|
1960
|
+
envelopeTitle: string;
|
|
1961
|
+
/** @description The file to upload (PDF or Word document, max 50MB). */
|
|
1962
|
+
file: unknown;
|
|
1963
|
+
};
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1966
|
+
responses: {
|
|
1967
|
+
/** @description Default Response */
|
|
1968
|
+
200: {
|
|
1969
|
+
headers: {
|
|
1970
|
+
[name: string]: unknown;
|
|
1971
|
+
};
|
|
1972
|
+
content: {
|
|
1973
|
+
"application/json": {
|
|
1974
|
+
/** @description The unique identifier of the created envelope. */
|
|
1975
|
+
envelopeUuid: string;
|
|
1976
|
+
/** @description The unique identifier of the first document. */
|
|
1977
|
+
documentUuid: string;
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
/** @description Default Response */
|
|
1982
|
+
400: {
|
|
1983
|
+
headers: {
|
|
1984
|
+
[name: string]: unknown;
|
|
1985
|
+
};
|
|
1986
|
+
content: {
|
|
1987
|
+
"application/json": {
|
|
1988
|
+
/** @description HTTP status code */
|
|
1989
|
+
statusCode: number;
|
|
1990
|
+
error: {
|
|
1991
|
+
/**
|
|
1992
|
+
* @description The error code
|
|
1993
|
+
* @enum {string}
|
|
1994
|
+
*/
|
|
1995
|
+
code: "WORKSPACE_NOT_FOUND" | "INVALID_FILE_DATA" | "FILE_SIZE_EXCEEDED" | "INVALID_PDF" | "INVALID_REQUEST" | "DOCUMENT_INVALID" | "DOCX_CONVERSION_UNAVAILABLE" | "DOCUMENT_CONVERSION_FAILED" | "INVALID_REQUEST_FORMAT";
|
|
1996
|
+
/** @description The error message */
|
|
1997
|
+
message: string;
|
|
1998
|
+
/** @description A suggestion to resolve the error */
|
|
1999
|
+
suggestion: string;
|
|
2000
|
+
/** @description A URL to the documentation */
|
|
2001
|
+
documentationUrl: string;
|
|
2002
|
+
};
|
|
2003
|
+
/** @description The unique identifier of the request */
|
|
2004
|
+
requestId: string;
|
|
2005
|
+
/** @description The timestamp of the response */
|
|
2006
|
+
timestamp: string;
|
|
2007
|
+
/** @description The path of the request */
|
|
2008
|
+
path: string;
|
|
2009
|
+
};
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
/** @description Default Response */
|
|
2013
|
+
401: {
|
|
2014
|
+
headers: {
|
|
2015
|
+
[name: string]: unknown;
|
|
2016
|
+
};
|
|
2017
|
+
content: {
|
|
2018
|
+
"application/json": {
|
|
2019
|
+
/** @description HTTP status code */
|
|
2020
|
+
statusCode: number;
|
|
2021
|
+
error: {
|
|
2022
|
+
/**
|
|
2023
|
+
* @description The error code
|
|
2024
|
+
* @enum {string}
|
|
2025
|
+
*/
|
|
2026
|
+
code: "AUTHENTICATION_ERROR" | "TUNNEL_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
2027
|
+
/** @description The error message */
|
|
2028
|
+
message: string;
|
|
2029
|
+
/** @description A suggestion to resolve the error */
|
|
2030
|
+
suggestion: string;
|
|
2031
|
+
/** @description A URL to the documentation */
|
|
2032
|
+
documentationUrl: string;
|
|
2033
|
+
};
|
|
2034
|
+
/** @description The unique identifier of the request */
|
|
2035
|
+
requestId: string;
|
|
2036
|
+
/** @description The timestamp of the response */
|
|
2037
|
+
timestamp: string;
|
|
2038
|
+
/** @description The path of the request */
|
|
2039
|
+
path: string;
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
/** @description Default Response */
|
|
2044
|
+
403: {
|
|
2045
|
+
headers: {
|
|
2046
|
+
[name: string]: unknown;
|
|
2047
|
+
};
|
|
2048
|
+
content: {
|
|
2049
|
+
"application/json": {
|
|
2050
|
+
/** @description HTTP status code */
|
|
2051
|
+
statusCode: number;
|
|
2052
|
+
error: {
|
|
2053
|
+
/**
|
|
2054
|
+
* @description The error code
|
|
2055
|
+
* @enum {string}
|
|
2056
|
+
*/
|
|
2057
|
+
code: "AUTHORIZATION_ERROR" | "FEATURE_NOT_IN_CURRENT_PLAN" | "INVALID_REQUEST_FORMAT";
|
|
2058
|
+
/** @description The error message */
|
|
2059
|
+
message: string;
|
|
2060
|
+
/** @description A suggestion to resolve the error */
|
|
2061
|
+
suggestion: string;
|
|
2062
|
+
/** @description A URL to the documentation */
|
|
2063
|
+
documentationUrl: string;
|
|
2064
|
+
};
|
|
2065
|
+
/** @description The unique identifier of the request */
|
|
2066
|
+
requestId: string;
|
|
2067
|
+
/** @description The timestamp of the response */
|
|
2068
|
+
timestamp: string;
|
|
2069
|
+
/** @description The path of the request */
|
|
2070
|
+
path: string;
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
/** @description Default Response */
|
|
2075
|
+
500: {
|
|
2076
|
+
headers: {
|
|
2077
|
+
[name: string]: unknown;
|
|
2078
|
+
};
|
|
2079
|
+
content: {
|
|
2080
|
+
"application/json": {
|
|
2081
|
+
/** @description HTTP status code */
|
|
2082
|
+
statusCode: number;
|
|
2083
|
+
error: {
|
|
2084
|
+
/**
|
|
2085
|
+
* @description The error code
|
|
2086
|
+
* @enum {string}
|
|
2087
|
+
*/
|
|
2088
|
+
code: "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
2089
|
+
/** @description The error message */
|
|
2090
|
+
message: string;
|
|
2091
|
+
/** @description A suggestion to resolve the error */
|
|
2092
|
+
suggestion: string;
|
|
2093
|
+
/** @description A URL to the documentation */
|
|
2094
|
+
documentationUrl: string;
|
|
2095
|
+
};
|
|
2096
|
+
/** @description The unique identifier of the request */
|
|
2097
|
+
requestId: string;
|
|
2098
|
+
/** @description The timestamp of the response */
|
|
2099
|
+
timestamp: string;
|
|
2100
|
+
/** @description The path of the request */
|
|
2101
|
+
path: string;
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
delete?: never;
|
|
2108
|
+
options?: never;
|
|
2109
|
+
head?: never;
|
|
2110
|
+
patch?: never;
|
|
2111
|
+
trace?: never;
|
|
2112
|
+
};
|
|
1753
2113
|
"/public/envelope/create-from-template": {
|
|
1754
2114
|
parameters: {
|
|
1755
2115
|
query?: never;
|
|
@@ -1957,6 +2317,177 @@ export interface paths {
|
|
|
1957
2317
|
patch?: never;
|
|
1958
2318
|
trace?: never;
|
|
1959
2319
|
};
|
|
2320
|
+
"/public/envelope/delete-attachment": {
|
|
2321
|
+
parameters: {
|
|
2322
|
+
query?: never;
|
|
2323
|
+
header?: never;
|
|
2324
|
+
path?: never;
|
|
2325
|
+
cookie?: never;
|
|
2326
|
+
};
|
|
2327
|
+
get?: never;
|
|
2328
|
+
put?: never;
|
|
2329
|
+
/**
|
|
2330
|
+
* delete-attachment
|
|
2331
|
+
* @description Delete an attachment document and its revisions
|
|
2332
|
+
*/
|
|
2333
|
+
post: {
|
|
2334
|
+
parameters: {
|
|
2335
|
+
query?: never;
|
|
2336
|
+
header?: never;
|
|
2337
|
+
path?: never;
|
|
2338
|
+
cookie?: never;
|
|
2339
|
+
};
|
|
2340
|
+
requestBody: {
|
|
2341
|
+
content: {
|
|
2342
|
+
"application/json": {
|
|
2343
|
+
workspaceUuid: string;
|
|
2344
|
+
envelopeUuid: string;
|
|
2345
|
+
documentUuid: string;
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
responses: {
|
|
2350
|
+
/** @description Default Response */
|
|
2351
|
+
200: {
|
|
2352
|
+
headers: {
|
|
2353
|
+
[name: string]: unknown;
|
|
2354
|
+
};
|
|
2355
|
+
content: {
|
|
2356
|
+
"application/json": Record<string, never>;
|
|
2357
|
+
};
|
|
2358
|
+
};
|
|
2359
|
+
/** @description Default Response */
|
|
2360
|
+
400: {
|
|
2361
|
+
headers: {
|
|
2362
|
+
[name: string]: unknown;
|
|
2363
|
+
};
|
|
2364
|
+
content: {
|
|
2365
|
+
"application/json": {
|
|
2366
|
+
/** @description HTTP status code */
|
|
2367
|
+
statusCode: number;
|
|
2368
|
+
error: {
|
|
2369
|
+
/**
|
|
2370
|
+
* @description The error code
|
|
2371
|
+
* @enum {string}
|
|
2372
|
+
*/
|
|
2373
|
+
code: "WORKSPACE_NOT_FOUND" | "ENVELOPE_NOT_FOUND" | "DOCUMENT_NOT_FOUND" | "DOCUMENT_NOT_ATTACHMENT" | "ENVELOPE_NOT_IN_DRAFT" | "INVALID_REQUEST_FORMAT";
|
|
2374
|
+
/** @description The error message */
|
|
2375
|
+
message: string;
|
|
2376
|
+
/** @description A suggestion to resolve the error */
|
|
2377
|
+
suggestion: string;
|
|
2378
|
+
/** @description A URL to the documentation */
|
|
2379
|
+
documentationUrl: string;
|
|
2380
|
+
};
|
|
2381
|
+
/** @description The unique identifier of the request */
|
|
2382
|
+
requestId: string;
|
|
2383
|
+
/** @description The timestamp of the response */
|
|
2384
|
+
timestamp: string;
|
|
2385
|
+
/** @description The path of the request */
|
|
2386
|
+
path: string;
|
|
2387
|
+
};
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
/** @description Default Response */
|
|
2391
|
+
401: {
|
|
2392
|
+
headers: {
|
|
2393
|
+
[name: string]: unknown;
|
|
2394
|
+
};
|
|
2395
|
+
content: {
|
|
2396
|
+
"application/json": {
|
|
2397
|
+
/** @description HTTP status code */
|
|
2398
|
+
statusCode: number;
|
|
2399
|
+
error: {
|
|
2400
|
+
/**
|
|
2401
|
+
* @description The error code
|
|
2402
|
+
* @enum {string}
|
|
2403
|
+
*/
|
|
2404
|
+
code: "AUTHENTICATION_ERROR" | "TUNNEL_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
2405
|
+
/** @description The error message */
|
|
2406
|
+
message: string;
|
|
2407
|
+
/** @description A suggestion to resolve the error */
|
|
2408
|
+
suggestion: string;
|
|
2409
|
+
/** @description A URL to the documentation */
|
|
2410
|
+
documentationUrl: string;
|
|
2411
|
+
};
|
|
2412
|
+
/** @description The unique identifier of the request */
|
|
2413
|
+
requestId: string;
|
|
2414
|
+
/** @description The timestamp of the response */
|
|
2415
|
+
timestamp: string;
|
|
2416
|
+
/** @description The path of the request */
|
|
2417
|
+
path: string;
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
/** @description Default Response */
|
|
2422
|
+
403: {
|
|
2423
|
+
headers: {
|
|
2424
|
+
[name: string]: unknown;
|
|
2425
|
+
};
|
|
2426
|
+
content: {
|
|
2427
|
+
"application/json": {
|
|
2428
|
+
/** @description HTTP status code */
|
|
2429
|
+
statusCode: number;
|
|
2430
|
+
error: {
|
|
2431
|
+
/**
|
|
2432
|
+
* @description The error code
|
|
2433
|
+
* @enum {string}
|
|
2434
|
+
*/
|
|
2435
|
+
code: "AUTHORIZATION_ERROR" | "FEATURE_NOT_IN_CURRENT_PLAN" | "INVALID_REQUEST_FORMAT";
|
|
2436
|
+
/** @description The error message */
|
|
2437
|
+
message: string;
|
|
2438
|
+
/** @description A suggestion to resolve the error */
|
|
2439
|
+
suggestion: string;
|
|
2440
|
+
/** @description A URL to the documentation */
|
|
2441
|
+
documentationUrl: string;
|
|
2442
|
+
};
|
|
2443
|
+
/** @description The unique identifier of the request */
|
|
2444
|
+
requestId: string;
|
|
2445
|
+
/** @description The timestamp of the response */
|
|
2446
|
+
timestamp: string;
|
|
2447
|
+
/** @description The path of the request */
|
|
2448
|
+
path: string;
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
};
|
|
2452
|
+
/** @description Default Response */
|
|
2453
|
+
500: {
|
|
2454
|
+
headers: {
|
|
2455
|
+
[name: string]: unknown;
|
|
2456
|
+
};
|
|
2457
|
+
content: {
|
|
2458
|
+
"application/json": {
|
|
2459
|
+
/** @description HTTP status code */
|
|
2460
|
+
statusCode: number;
|
|
2461
|
+
error: {
|
|
2462
|
+
/**
|
|
2463
|
+
* @description The error code
|
|
2464
|
+
* @enum {string}
|
|
2465
|
+
*/
|
|
2466
|
+
code: "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
2467
|
+
/** @description The error message */
|
|
2468
|
+
message: string;
|
|
2469
|
+
/** @description A suggestion to resolve the error */
|
|
2470
|
+
suggestion: string;
|
|
2471
|
+
/** @description A URL to the documentation */
|
|
2472
|
+
documentationUrl: string;
|
|
2473
|
+
};
|
|
2474
|
+
/** @description The unique identifier of the request */
|
|
2475
|
+
requestId: string;
|
|
2476
|
+
/** @description The timestamp of the response */
|
|
2477
|
+
timestamp: string;
|
|
2478
|
+
/** @description The path of the request */
|
|
2479
|
+
path: string;
|
|
2480
|
+
};
|
|
2481
|
+
};
|
|
2482
|
+
};
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
delete?: never;
|
|
2486
|
+
options?: never;
|
|
2487
|
+
head?: never;
|
|
2488
|
+
patch?: never;
|
|
2489
|
+
trace?: never;
|
|
2490
|
+
};
|
|
1960
2491
|
"/public/envelope/delete-blocks": {
|
|
1961
2492
|
parameters: {
|
|
1962
2493
|
query?: never;
|
|
@@ -2861,7 +3392,7 @@ export interface paths {
|
|
|
2861
3392
|
put?: never;
|
|
2862
3393
|
/**
|
|
2863
3394
|
* complete-document-upload
|
|
2864
|
-
* @description Verify uploaded document
|
|
3395
|
+
* @description Verify uploaded document, validate as PDF, generate a small preview image, and persist it.
|
|
2865
3396
|
*/
|
|
2866
3397
|
post: {
|
|
2867
3398
|
parameters: {
|
|
@@ -3342,6 +3873,13 @@ export interface paths {
|
|
|
3342
3873
|
/** @description The number of pages in the document. */
|
|
3343
3874
|
pageCount: number;
|
|
3344
3875
|
}[];
|
|
3876
|
+
/** @description The list of attachments in the envelope. */
|
|
3877
|
+
attachments: {
|
|
3878
|
+
/** @description The unique identifier of the attachment. */
|
|
3879
|
+
uuid: string;
|
|
3880
|
+
/** @description The title of the attachment. */
|
|
3881
|
+
title: string;
|
|
3882
|
+
}[];
|
|
3345
3883
|
/** @description The tags of the envelope. */
|
|
3346
3884
|
tags: string[];
|
|
3347
3885
|
metrics: {
|
|
@@ -4548,10 +5086,13 @@ export enum ApiPaths {
|
|
|
4548
5086
|
PostPublicContactDelete = "/public/contact/delete",
|
|
4549
5087
|
PostPublicContactGet = "/public/contact/get",
|
|
4550
5088
|
PostPublicContactUpdate = "/public/contact/update",
|
|
5089
|
+
PostPublicEnvelopeAddattachment = "/public/envelope/add-attachment",
|
|
4551
5090
|
PostPublicEnvelopeAddblocks = "/public/envelope/add-blocks",
|
|
4552
5091
|
PostPublicEnvelopeAddrecipients = "/public/envelope/add-recipients",
|
|
4553
5092
|
PostPublicEnvelopeCreate = "/public/envelope/create",
|
|
5093
|
+
PostPublicEnvelopeCreatefrom_file = "/public/envelope/create-from-file",
|
|
4554
5094
|
PostPublicEnvelopeCreatefrom_template = "/public/envelope/create-from-template",
|
|
5095
|
+
PostPublicEnvelopeDeleteattachment = "/public/envelope/delete-attachment",
|
|
4555
5096
|
PostPublicEnvelopeDeleteblocks = "/public/envelope/delete-blocks",
|
|
4556
5097
|
PostPublicEnvelopeDelete = "/public/envelope/delete",
|
|
4557
5098
|
PostPublicEnvelopeDeleterecipients = "/public/envelope/delete-recipients",
|