@subnoto/api-client 2.0.3 → 2.0.5
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
|
@@ -3855,6 +3855,197 @@ export interface paths {
|
|
|
3855
3855
|
patch?: never;
|
|
3856
3856
|
trace?: never;
|
|
3857
3857
|
};
|
|
3858
|
+
"/public/envelope/update": {
|
|
3859
|
+
parameters: {
|
|
3860
|
+
query?: never;
|
|
3861
|
+
header?: never;
|
|
3862
|
+
path?: never;
|
|
3863
|
+
cookie?: never;
|
|
3864
|
+
};
|
|
3865
|
+
get?: never;
|
|
3866
|
+
put?: never;
|
|
3867
|
+
/**
|
|
3868
|
+
* update
|
|
3869
|
+
* @description Update an envelope by UUID.
|
|
3870
|
+
*/
|
|
3871
|
+
post: {
|
|
3872
|
+
parameters: {
|
|
3873
|
+
query?: never;
|
|
3874
|
+
header?: never;
|
|
3875
|
+
path?: never;
|
|
3876
|
+
cookie?: never;
|
|
3877
|
+
};
|
|
3878
|
+
requestBody: {
|
|
3879
|
+
content: {
|
|
3880
|
+
"application/json": {
|
|
3881
|
+
/** @description The UUID of the workspace to get the envelope from. */
|
|
3882
|
+
workspaceUuid: string;
|
|
3883
|
+
/** @description The UUID of the envelope to get. */
|
|
3884
|
+
envelopeUuid: string;
|
|
3885
|
+
update: {
|
|
3886
|
+
/** @description The new title of the envelope. */
|
|
3887
|
+
title?: string;
|
|
3888
|
+
documents?: {
|
|
3889
|
+
/** @description The unique identifier of the document to update. */
|
|
3890
|
+
uuid: string;
|
|
3891
|
+
/** @description The new title of the document. */
|
|
3892
|
+
title?: string;
|
|
3893
|
+
/** @description Whether the initials are on all pages. */
|
|
3894
|
+
initialsOnAllPages?: boolean;
|
|
3895
|
+
}[];
|
|
3896
|
+
/** @description The names of the tags to add to the envelope. */
|
|
3897
|
+
tags?: string[];
|
|
3898
|
+
/** @description Whether signature order is enabled for this envelope. */
|
|
3899
|
+
signatureOrder?: boolean;
|
|
3900
|
+
};
|
|
3901
|
+
};
|
|
3902
|
+
};
|
|
3903
|
+
};
|
|
3904
|
+
responses: {
|
|
3905
|
+
/** @description Default Response */
|
|
3906
|
+
200: {
|
|
3907
|
+
headers: {
|
|
3908
|
+
[name: string]: unknown;
|
|
3909
|
+
};
|
|
3910
|
+
content: {
|
|
3911
|
+
"application/json": {
|
|
3912
|
+
/** @description The date and time the envelope was last updated (unix timestamp). */
|
|
3913
|
+
updateDate: number;
|
|
3914
|
+
};
|
|
3915
|
+
};
|
|
3916
|
+
};
|
|
3917
|
+
/** @description Default Response */
|
|
3918
|
+
400: {
|
|
3919
|
+
headers: {
|
|
3920
|
+
[name: string]: unknown;
|
|
3921
|
+
};
|
|
3922
|
+
content: {
|
|
3923
|
+
"application/json": {
|
|
3924
|
+
/** @description HTTP status code */
|
|
3925
|
+
statusCode: number;
|
|
3926
|
+
error: {
|
|
3927
|
+
/**
|
|
3928
|
+
* @description The error code
|
|
3929
|
+
* @enum {string}
|
|
3930
|
+
*/
|
|
3931
|
+
code: "WORKSPACE_NOT_FOUND" | "ENVELOPE_NOT_FOUND" | "DOCUMENT_NOT_FOUND" | "ENVELOPE_NOT_IN_DRAFT" | "INVALID_REQUEST_FORMAT";
|
|
3932
|
+
/** @description The error message */
|
|
3933
|
+
message: string;
|
|
3934
|
+
/** @description A suggestion to resolve the error */
|
|
3935
|
+
suggestion: string;
|
|
3936
|
+
/** @description A URL to the documentation */
|
|
3937
|
+
documentationUrl: string;
|
|
3938
|
+
};
|
|
3939
|
+
/** @description The unique identifier of the request */
|
|
3940
|
+
requestId: string;
|
|
3941
|
+
/** @description The timestamp of the response */
|
|
3942
|
+
timestamp: string;
|
|
3943
|
+
/** @description The path of the request */
|
|
3944
|
+
path: string;
|
|
3945
|
+
};
|
|
3946
|
+
};
|
|
3947
|
+
};
|
|
3948
|
+
/** @description Default Response */
|
|
3949
|
+
401: {
|
|
3950
|
+
headers: {
|
|
3951
|
+
[name: string]: unknown;
|
|
3952
|
+
};
|
|
3953
|
+
content: {
|
|
3954
|
+
"application/json": {
|
|
3955
|
+
/** @description HTTP status code */
|
|
3956
|
+
statusCode: number;
|
|
3957
|
+
error: {
|
|
3958
|
+
/**
|
|
3959
|
+
* @description The error code
|
|
3960
|
+
* @enum {string}
|
|
3961
|
+
*/
|
|
3962
|
+
code: "AUTHENTICATION_ERROR" | "TUNNEL_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
3963
|
+
/** @description The error message */
|
|
3964
|
+
message: string;
|
|
3965
|
+
/** @description A suggestion to resolve the error */
|
|
3966
|
+
suggestion: string;
|
|
3967
|
+
/** @description A URL to the documentation */
|
|
3968
|
+
documentationUrl: string;
|
|
3969
|
+
};
|
|
3970
|
+
/** @description The unique identifier of the request */
|
|
3971
|
+
requestId: string;
|
|
3972
|
+
/** @description The timestamp of the response */
|
|
3973
|
+
timestamp: string;
|
|
3974
|
+
/** @description The path of the request */
|
|
3975
|
+
path: string;
|
|
3976
|
+
};
|
|
3977
|
+
};
|
|
3978
|
+
};
|
|
3979
|
+
/** @description Default Response */
|
|
3980
|
+
403: {
|
|
3981
|
+
headers: {
|
|
3982
|
+
[name: string]: unknown;
|
|
3983
|
+
};
|
|
3984
|
+
content: {
|
|
3985
|
+
"application/json": {
|
|
3986
|
+
/** @description HTTP status code */
|
|
3987
|
+
statusCode: number;
|
|
3988
|
+
error: {
|
|
3989
|
+
/**
|
|
3990
|
+
* @description The error code
|
|
3991
|
+
* @enum {string}
|
|
3992
|
+
*/
|
|
3993
|
+
code: "AUTHORIZATION_ERROR" | "FEATURE_NOT_IN_CURRENT_PLAN" | "INVALID_REQUEST_FORMAT";
|
|
3994
|
+
/** @description The error message */
|
|
3995
|
+
message: string;
|
|
3996
|
+
/** @description A suggestion to resolve the error */
|
|
3997
|
+
suggestion: string;
|
|
3998
|
+
/** @description A URL to the documentation */
|
|
3999
|
+
documentationUrl: string;
|
|
4000
|
+
};
|
|
4001
|
+
/** @description The unique identifier of the request */
|
|
4002
|
+
requestId: string;
|
|
4003
|
+
/** @description The timestamp of the response */
|
|
4004
|
+
timestamp: string;
|
|
4005
|
+
/** @description The path of the request */
|
|
4006
|
+
path: string;
|
|
4007
|
+
};
|
|
4008
|
+
};
|
|
4009
|
+
};
|
|
4010
|
+
/** @description Default Response */
|
|
4011
|
+
500: {
|
|
4012
|
+
headers: {
|
|
4013
|
+
[name: string]: unknown;
|
|
4014
|
+
};
|
|
4015
|
+
content: {
|
|
4016
|
+
"application/json": {
|
|
4017
|
+
/** @description HTTP status code */
|
|
4018
|
+
statusCode: number;
|
|
4019
|
+
error: {
|
|
4020
|
+
/**
|
|
4021
|
+
* @description The error code
|
|
4022
|
+
* @enum {string}
|
|
4023
|
+
*/
|
|
4024
|
+
code: "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_FORMAT";
|
|
4025
|
+
/** @description The error message */
|
|
4026
|
+
message: string;
|
|
4027
|
+
/** @description A suggestion to resolve the error */
|
|
4028
|
+
suggestion: string;
|
|
4029
|
+
/** @description A URL to the documentation */
|
|
4030
|
+
documentationUrl: string;
|
|
4031
|
+
};
|
|
4032
|
+
/** @description The unique identifier of the request */
|
|
4033
|
+
requestId: string;
|
|
4034
|
+
/** @description The timestamp of the response */
|
|
4035
|
+
timestamp: string;
|
|
4036
|
+
/** @description The path of the request */
|
|
4037
|
+
path: string;
|
|
4038
|
+
};
|
|
4039
|
+
};
|
|
4040
|
+
};
|
|
4041
|
+
};
|
|
4042
|
+
};
|
|
4043
|
+
delete?: never;
|
|
4044
|
+
options?: never;
|
|
4045
|
+
head?: never;
|
|
4046
|
+
patch?: never;
|
|
4047
|
+
trace?: never;
|
|
4048
|
+
};
|
|
3858
4049
|
"/public/template/list": {
|
|
3859
4050
|
parameters: {
|
|
3860
4051
|
query?: never;
|
|
@@ -4371,6 +4562,7 @@ export enum ApiPaths {
|
|
|
4371
4562
|
PostPublicEnvelopeGet = "/public/envelope/get",
|
|
4372
4563
|
PostPublicEnvelopeGetproof = "/public/envelope/get-proof",
|
|
4373
4564
|
PostPublicEnvelopeList = "/public/envelope/list",
|
|
4565
|
+
PostPublicEnvelopeUpdate = "/public/envelope/update",
|
|
4374
4566
|
PostPublicTemplateList = "/public/template/list",
|
|
4375
4567
|
PostPublicUtilsWhoami = "/public/utils/whoami",
|
|
4376
4568
|
PostPublicWorkspaceList = "/public/workspace/list"
|