@formalingo/sdk 0.1.3 → 0.1.4
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/README.md +31 -9
- package/dist/client/api/v1/analytics/index.d.ts +20 -0
- package/dist/client/api/v1/analytics/index.d.ts.map +1 -0
- package/dist/client/api/v1/analytics/index.js +20 -0
- package/dist/client/api/v1/analytics/index.js.map +1 -0
- package/dist/client/api/v1/analytics/summary/index.d.ts +131 -0
- package/dist/client/api/v1/analytics/summary/index.d.ts.map +1 -0
- package/dist/client/api/v1/analytics/summary/index.js +137 -0
- package/dist/client/api/v1/analytics/summary/index.js.map +1 -0
- package/dist/client/api/v1/deliveries/index.d.ts +192 -0
- package/dist/client/api/v1/deliveries/index.d.ts.map +1 -0
- package/dist/client/api/v1/deliveries/index.js +189 -0
- package/dist/client/api/v1/deliveries/index.js.map +1 -0
- package/dist/client/api/v1/documents/importEscaped/index.d.ts +144 -0
- package/dist/client/api/v1/documents/importEscaped/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/importEscaped/index.js +153 -0
- package/dist/client/api/v1/documents/importEscaped/index.js.map +1 -0
- package/dist/client/api/v1/documents/index.d.ts +5 -0
- package/dist/client/api/v1/documents/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/index.js +5 -0
- package/dist/client/api/v1/documents/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts +103 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.js +102 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts +121 -7
- package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/fields/index.js +125 -0
- package/dist/client/api/v1/documents/item/fields/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts +106 -16
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/fields/item/index.js +97 -4
- package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/index.d.ts +104 -6
- package/dist/client/api/v1/documents/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/index.js +111 -4
- package/dist/client/api/v1/documents/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/parseJobs/index.d.ts +155 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.js +163 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts +180 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js +189 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts +75 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.js +76 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/publish/index.d.ts +200 -0
- package/dist/client/api/v1/documents/item/publish/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/publish/index.js +220 -0
- package/dist/client/api/v1/documents/item/publish/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/index.d.ts +112 -0
- package/dist/client/api/v1/documents/item/revisions/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/index.js +110 -0
- package/dist/client/api/v1/documents/item/revisions/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.d.ts +95 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.js +102 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/index.js +4 -1
- package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +121 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js +133 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/index.d.ts +40 -30
- package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/index.js +36 -28
- package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts +280 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.js +301 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +86 -1
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/index.js +92 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +42 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +43 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +5 -41
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +7 -44
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +7 -2
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +5 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -1
- package/dist/client/api/v1/files/index.d.ts +22 -0
- package/dist/client/api/v1/files/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/index.js +21 -0
- package/dist/client/api/v1/files/index.js.map +1 -0
- package/dist/client/api/v1/files/item/download/index.d.ts +180 -0
- package/dist/client/api/v1/files/item/download/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/item/download/index.js +189 -0
- package/dist/client/api/v1/files/item/download/index.js.map +1 -0
- package/dist/client/api/v1/files/item/index.d.ts +20 -0
- package/dist/client/api/v1/files/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/item/index.js +20 -0
- package/dist/client/api/v1/files/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/index.d.ts +46 -1
- package/dist/client/api/v1/forms/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/index.js +22 -1
- package/dist/client/api/v1/forms/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/index.d.ts +18 -0
- package/dist/client/api/v1/forms/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/index.js +15 -0
- package/dist/client/api/v1/forms/item/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/publish/index.d.ts +200 -0
- package/dist/client/api/v1/forms/item/publish/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/publish/index.js +220 -0
- package/dist/client/api/v1/forms/item/publish/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts +274 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.js +302 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts +10 -4
- package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/index.js +11 -3
- package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +3 -2
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/index.js +6 -3
- package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +4 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +2 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/revisions/index.d.ts +112 -0
- package/dist/client/api/v1/forms/item/revisions/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/index.js +110 -0
- package/dist/client/api/v1/forms/item/revisions/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.d.ts +95 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.js +102 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.js.map +1 -0
- package/dist/client/api/v1/index.d.ts +25 -0
- package/dist/client/api/v1/index.d.ts.map +1 -1
- package/dist/client/api/v1/index.js +25 -0
- package/dist/client/api/v1/index.js.map +1 -1
- package/dist/client/api/v1/integrations/index.d.ts +20 -0
- package/dist/client/api/v1/integrations/index.d.ts.map +1 -0
- package/dist/client/api/v1/integrations/index.js +20 -0
- package/dist/client/api/v1/integrations/index.js.map +1 -0
- package/dist/client/api/v1/integrations/status/index.d.ts +168 -0
- package/dist/client/api/v1/integrations/status/index.d.ts.map +1 -0
- package/dist/client/api/v1/integrations/status/index.js +177 -0
- package/dist/client/api/v1/integrations/status/index.js.map +1 -0
- package/dist/client/api/v1/quota/index.d.ts +93 -0
- package/dist/client/api/v1/quota/index.d.ts.map +1 -0
- package/dist/client/api/v1/quota/index.js +99 -0
- package/dist/client/api/v1/quota/index.js.map +1 -0
- package/dist/client/models/index.d.ts +1961 -137
- package/dist/client/models/index.d.ts.map +1 -1
- package/dist/client/models/index.js +2001 -211
- package/dist/client/models/index.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { type DocumentField } from '../../../../../../models/index.js';
|
|
2
|
-
import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
2
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {WithF400Error}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createWithF400ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {WithF403Error}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createWithF403ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3
15
|
/**
|
|
4
16
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
17
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -24,6 +36,18 @@ export declare function createWithFPutRequestBodyFromDiscriminatorValue(parseNod
|
|
|
24
36
|
* @returns {WithFPutResponse}
|
|
25
37
|
*/
|
|
26
38
|
export declare function createWithFPutResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @param WithF400Error The instance to deserialize into.
|
|
42
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43
|
+
*/
|
|
44
|
+
export declare function deserializeIntoWithF400Error(withF400Error?: Partial<WithF400Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
45
|
+
/**
|
|
46
|
+
* The deserialization information for the current model
|
|
47
|
+
* @param WithF403Error The instance to deserialize into.
|
|
48
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
49
|
+
*/
|
|
50
|
+
export declare function deserializeIntoWithF403Error(withF403Error?: Partial<WithF403Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
27
51
|
/**
|
|
28
52
|
* The deserialization information for the current model
|
|
29
53
|
* @param WithFDeleteResponse The instance to deserialize into.
|
|
@@ -48,6 +72,20 @@ export declare function deserializeIntoWithFPutRequestBody_options(withFPutReque
|
|
|
48
72
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
49
73
|
*/
|
|
50
74
|
export declare function deserializeIntoWithFPutResponse(withFPutResponse?: Partial<WithFPutResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
75
|
+
/**
|
|
76
|
+
* Serializes information the current object
|
|
77
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
78
|
+
* @param WithF400Error The instance to serialize from.
|
|
79
|
+
* @param writer Serialization writer to use to serialize this model
|
|
80
|
+
*/
|
|
81
|
+
export declare function serializeWithF400Error(writer: SerializationWriter, withF400Error?: Partial<WithF400Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
82
|
+
/**
|
|
83
|
+
* Serializes information the current object
|
|
84
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
85
|
+
* @param WithF403Error The instance to serialize from.
|
|
86
|
+
* @param writer Serialization writer to use to serialize this model
|
|
87
|
+
*/
|
|
88
|
+
export declare function serializeWithF403Error(writer: SerializationWriter, withF403Error?: Partial<WithF403Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
51
89
|
/**
|
|
52
90
|
* Serializes information the current object
|
|
53
91
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -76,6 +114,42 @@ export declare function serializeWithFPutRequestBody_options(writer: Serializati
|
|
|
76
114
|
* @param writer Serialization writer to use to serialize this model
|
|
77
115
|
*/
|
|
78
116
|
export declare function serializeWithFPutResponse(writer: SerializationWriter, withFPutResponse?: Partial<WithFPutResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
117
|
+
export interface WithF400Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
118
|
+
/**
|
|
119
|
+
* Stable machine-readable error code when available.
|
|
120
|
+
*/
|
|
121
|
+
code?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* The error property
|
|
124
|
+
*/
|
|
125
|
+
errorEscaped?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* The hint property
|
|
128
|
+
*/
|
|
129
|
+
hint?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* The success property
|
|
132
|
+
*/
|
|
133
|
+
success?: boolean | null;
|
|
134
|
+
}
|
|
135
|
+
export interface WithF403Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
136
|
+
/**
|
|
137
|
+
* Stable machine-readable error code when available.
|
|
138
|
+
*/
|
|
139
|
+
code?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* The error property
|
|
142
|
+
*/
|
|
143
|
+
errorEscaped?: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* The hint property
|
|
146
|
+
*/
|
|
147
|
+
hint?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* The success property
|
|
150
|
+
*/
|
|
151
|
+
success?: boolean | null;
|
|
152
|
+
}
|
|
79
153
|
export interface WithFDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
80
154
|
/**
|
|
81
155
|
* The data property
|
|
@@ -91,32 +165,40 @@ export interface WithFDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
|
91
165
|
*/
|
|
92
166
|
export interface WithFItemRequestBuilder extends BaseRequestBuilder<WithFItemRequestBuilder> {
|
|
93
167
|
/**
|
|
94
|
-
*
|
|
168
|
+
* Deletes a field or supporting attachment request from the draft. Existing signing submissions keep their pinned requirements. API keys need documents:write; session/OAuth users must be the document creator for supporting requests.
|
|
95
169
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
96
170
|
* @returns {Promise<WithFDeleteResponse>}
|
|
171
|
+
* @throws {WithF403Error} error when the service returns a 403 status code
|
|
172
|
+
* @throws {DocumentNotEditableConflict} error when the service returns a 409 status code
|
|
97
173
|
*/
|
|
98
174
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithFDeleteResponse | undefined>;
|
|
99
175
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @param body
|
|
176
|
+
* Partially updates a field. Supporting requests can change label, assigneeRole, isRequired and order; purpose, file_upload type, true supporting flag, writable state, null default and zero geometry cannot change. API keys need documents:write; session/OAuth users must be the document creator for supporting requests. Omitted properties are preserved.
|
|
177
|
+
* @param body Partial field update. Supporting requests allow label, assigned signer, requiredness and order changes; their file_upload type, true supporting flag, writable state, null default and zero geometry must remain unchanged. Field purpose cannot be converted. Omitted properties are preserved.
|
|
102
178
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
103
179
|
* @returns {Promise<WithFPutResponse>}
|
|
180
|
+
* @throws {WithF400Error} error when the service returns a 400 status code
|
|
181
|
+
* @throws {WithF403Error} error when the service returns a 403 status code
|
|
182
|
+
* @throws {DocumentNotEditableConflict} error when the service returns a 409 status code
|
|
104
183
|
*/
|
|
105
184
|
put(body: WithFPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithFPutResponse | undefined>;
|
|
106
185
|
/**
|
|
107
|
-
*
|
|
186
|
+
* Deletes a field or supporting attachment request from the draft. Existing signing submissions keep their pinned requirements. API keys need documents:write; session/OAuth users must be the document creator for supporting requests.
|
|
108
187
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
109
188
|
* @returns {RequestInformation}
|
|
110
189
|
*/
|
|
111
190
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
112
191
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @param body
|
|
192
|
+
* Partially updates a field. Supporting requests can change label, assigneeRole, isRequired and order; purpose, file_upload type, true supporting flag, writable state, null default and zero geometry cannot change. API keys need documents:write; session/OAuth users must be the document creator for supporting requests. Omitted properties are preserved.
|
|
193
|
+
* @param body Partial field update. Supporting requests allow label, assigned signer, requiredness and order changes; their file_upload type, true supporting flag, writable state, null default and zero geometry must remain unchanged. Field purpose cannot be converted. Omitted properties are preserved.
|
|
115
194
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
116
195
|
* @returns {RequestInformation}
|
|
117
196
|
*/
|
|
118
197
|
toPutRequestInformation(body: WithFPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
119
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Partial field update. Supporting requests allow label, assigned signer, requiredness and order changes; their file_upload type, true supporting flag, writable state, null default and zero geometry must remain unchanged. Field purpose cannot be converted. Omitted properties are preserved.
|
|
201
|
+
*/
|
|
120
202
|
export interface WithFPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
121
203
|
/**
|
|
122
204
|
* The assigneeRole property
|
|
@@ -131,15 +213,15 @@ export interface WithFPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
|
131
213
|
*/
|
|
132
214
|
direction?: WithFPutRequestBody_direction | null;
|
|
133
215
|
/**
|
|
134
|
-
*
|
|
216
|
+
* Required and positive for placed fields. Omit or use 0 for a supporting attachment request.
|
|
135
217
|
*/
|
|
136
218
|
height?: number | null;
|
|
137
219
|
/**
|
|
138
|
-
*
|
|
220
|
+
* Supporting attachment requests must remain writable.
|
|
139
221
|
*/
|
|
140
222
|
isReadOnly?: boolean | null;
|
|
141
223
|
/**
|
|
142
|
-
*
|
|
224
|
+
* Defaults to true for supporting attachment requests and false for ordinary placed fields.
|
|
143
225
|
*/
|
|
144
226
|
isRequired?: boolean | null;
|
|
145
227
|
/**
|
|
@@ -147,15 +229,15 @@ export interface WithFPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
|
147
229
|
*/
|
|
148
230
|
label?: string | null;
|
|
149
231
|
/**
|
|
150
|
-
*
|
|
232
|
+
* Type-specific options, including additional options supported by the field type. For calculation fields, use formula and result_type (text or number).
|
|
151
233
|
*/
|
|
152
234
|
options?: WithFPutRequestBody_options | null;
|
|
153
235
|
/**
|
|
154
|
-
*
|
|
236
|
+
* Field order. For supporting attachment requests, the value must be between 0 and 1,000,000 inclusive.
|
|
155
237
|
*/
|
|
156
238
|
order?: number | null;
|
|
157
239
|
/**
|
|
158
|
-
*
|
|
240
|
+
* Required and at least 1 for placed fields. Omit or use 0 for a supporting attachment request.
|
|
159
241
|
*/
|
|
160
242
|
pageNumber?: number | null;
|
|
161
243
|
/**
|
|
@@ -163,20 +245,27 @@ export interface WithFPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
|
163
245
|
*/
|
|
164
246
|
type?: WithFPutRequestBody_type | null;
|
|
165
247
|
/**
|
|
166
|
-
*
|
|
248
|
+
* Required and positive for placed fields. Omit or use 0 for a supporting attachment request.
|
|
167
249
|
*/
|
|
168
250
|
width?: number | null;
|
|
169
251
|
/**
|
|
170
|
-
*
|
|
252
|
+
* Required for placed fields. Omit or use 0 for a supporting attachment request.
|
|
171
253
|
*/
|
|
172
254
|
x?: number | null;
|
|
173
255
|
/**
|
|
174
|
-
*
|
|
256
|
+
* Required for placed fields. Omit or use 0 for a supporting attachment request.
|
|
175
257
|
*/
|
|
176
258
|
y?: number | null;
|
|
177
259
|
}
|
|
178
260
|
export type WithFPutRequestBody_direction = (typeof WithFPutRequestBody_directionObject)[keyof typeof WithFPutRequestBody_directionObject];
|
|
261
|
+
/**
|
|
262
|
+
* Type-specific options, including additional options supported by the field type. For calculation fields, use formula and result_type (text or number).
|
|
263
|
+
*/
|
|
179
264
|
export interface WithFPutRequestBody_options extends AdditionalDataHolder, Parsable {
|
|
265
|
+
/**
|
|
266
|
+
* Set true for a supporting upload request excluded from the document and signed PDF. Only file_upload supports this flag; false and changing the field purpose after creation are rejected.
|
|
267
|
+
*/
|
|
268
|
+
supportingAttachment?: boolean | null;
|
|
180
269
|
}
|
|
181
270
|
export type WithFPutRequestBody_type = (typeof WithFPutRequestBody_typeObject)[keyof typeof WithFPutRequestBody_typeObject];
|
|
182
271
|
export interface WithFPutResponse extends AdditionalDataHolder, Parsable {
|
|
@@ -217,5 +306,6 @@ export declare const WithFPutRequestBody_typeObject: {
|
|
|
217
306
|
readonly Email: "email";
|
|
218
307
|
readonly Phone: "phone";
|
|
219
308
|
readonly Initials: "initials";
|
|
309
|
+
readonly Calculation: "calculation";
|
|
220
310
|
};
|
|
221
311
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/fields/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/fields/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EA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AA4B,SAAQ,oBAAoB,EAAE,QAAQ;IAC/E;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACzC;AACD,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAC5H,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,EAAE,QAAQ;IACpE;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,kDAAkD,CAAC;AAClG;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAyBrD,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;CAItC,CAAC;AACX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;CAgBjC,CAAC"}
|
|
@@ -2,9 +2,27 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { createDocumentFieldFromDiscriminatorValue, serializeDocumentField } from '../../../../../../models/index.js';
|
|
5
|
+
import { createDocumentFieldFromDiscriminatorValue, createDocumentNotEditableConflictFromDiscriminatorValue, serializeDocumentField } from '../../../../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstractions';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {WithF400Error}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createWithF400ErrorFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoWithF400Error;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {WithF403Error}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createWithF403ErrorFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoWithF403Error;
|
|
25
|
+
}
|
|
8
26
|
/**
|
|
9
27
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
28
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -41,6 +59,34 @@ export function createWithFPutRequestBodyFromDiscriminatorValue(parseNode) {
|
|
|
41
59
|
export function createWithFPutResponseFromDiscriminatorValue(parseNode) {
|
|
42
60
|
return deserializeIntoWithFPutResponse;
|
|
43
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* The deserialization information for the current model
|
|
64
|
+
* @param WithF400Error The instance to deserialize into.
|
|
65
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
66
|
+
*/
|
|
67
|
+
// @ts-ignore
|
|
68
|
+
export function deserializeIntoWithF400Error(withF400Error = {}) {
|
|
69
|
+
return {
|
|
70
|
+
"code": n => { withF400Error.code = n.getStringValue(); },
|
|
71
|
+
"error": n => { withF400Error.errorEscaped = n.getStringValue(); },
|
|
72
|
+
"hint": n => { withF400Error.hint = n.getStringValue(); },
|
|
73
|
+
"success": n => { withF400Error.success = n.getBooleanValue(); },
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The deserialization information for the current model
|
|
78
|
+
* @param WithF403Error The instance to deserialize into.
|
|
79
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
80
|
+
*/
|
|
81
|
+
// @ts-ignore
|
|
82
|
+
export function deserializeIntoWithF403Error(withF403Error = {}) {
|
|
83
|
+
return {
|
|
84
|
+
"code": n => { withF403Error.code = n.getStringValue(); },
|
|
85
|
+
"error": n => { withF403Error.errorEscaped = n.getStringValue(); },
|
|
86
|
+
"hint": n => { withF403Error.hint = n.getStringValue(); },
|
|
87
|
+
"success": n => { withF403Error.success = n.getBooleanValue(); },
|
|
88
|
+
};
|
|
89
|
+
}
|
|
44
90
|
/**
|
|
45
91
|
* The deserialization information for the current model
|
|
46
92
|
* @param WithFDeleteResponse The instance to deserialize into.
|
|
@@ -63,7 +109,7 @@ export function deserializeIntoWithFPutRequestBody(withFPutRequestBody = {}) {
|
|
|
63
109
|
return {
|
|
64
110
|
"assigneeRole": n => { withFPutRequestBody.assigneeRole = n.getStringValue(); },
|
|
65
111
|
"defaultValue": n => { withFPutRequestBody.defaultValue = n.getStringValue(); },
|
|
66
|
-
"direction": n => { withFPutRequestBody.direction = n.getEnumValue(WithFPutRequestBody_directionObject)
|
|
112
|
+
"direction": n => { withFPutRequestBody.direction = n.getEnumValue(WithFPutRequestBody_directionObject); },
|
|
67
113
|
"height": n => { withFPutRequestBody.height = n.getNumberValue(); },
|
|
68
114
|
"isReadOnly": n => { withFPutRequestBody.isReadOnly = n.getBooleanValue(); },
|
|
69
115
|
"isRequired": n => { withFPutRequestBody.isRequired = n.getBooleanValue(); },
|
|
@@ -84,7 +130,9 @@ export function deserializeIntoWithFPutRequestBody(withFPutRequestBody = {}) {
|
|
|
84
130
|
*/
|
|
85
131
|
// @ts-ignore
|
|
86
132
|
export function deserializeIntoWithFPutRequestBody_options(withFPutRequestBody_options = {}) {
|
|
87
|
-
return {
|
|
133
|
+
return {
|
|
134
|
+
"supporting_attachment": n => { withFPutRequestBody_options.supportingAttachment = n.getBooleanValue(); },
|
|
135
|
+
};
|
|
88
136
|
}
|
|
89
137
|
/**
|
|
90
138
|
* The deserialization information for the current model
|
|
@@ -98,6 +146,40 @@ export function deserializeIntoWithFPutResponse(withFPutResponse = {}) {
|
|
|
98
146
|
"success": n => { withFPutResponse.success = n.getBooleanValue(); },
|
|
99
147
|
};
|
|
100
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* Serializes information the current object
|
|
151
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
152
|
+
* @param WithF400Error The instance to serialize from.
|
|
153
|
+
* @param writer Serialization writer to use to serialize this model
|
|
154
|
+
*/
|
|
155
|
+
// @ts-ignore
|
|
156
|
+
export function serializeWithF400Error(writer, withF400Error = {}, isSerializingDerivedType = false) {
|
|
157
|
+
if (!withF400Error || isSerializingDerivedType) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
writer.writeStringValue("code", withF400Error.code);
|
|
161
|
+
writer.writeStringValue("error", withF400Error.errorEscaped);
|
|
162
|
+
writer.writeStringValue("hint", withF400Error.hint);
|
|
163
|
+
writer.writeBooleanValue("success", withF400Error.success);
|
|
164
|
+
writer.writeAdditionalData(withF400Error.additionalData);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Serializes information the current object
|
|
168
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
169
|
+
* @param WithF403Error The instance to serialize from.
|
|
170
|
+
* @param writer Serialization writer to use to serialize this model
|
|
171
|
+
*/
|
|
172
|
+
// @ts-ignore
|
|
173
|
+
export function serializeWithF403Error(writer, withF403Error = {}, isSerializingDerivedType = false) {
|
|
174
|
+
if (!withF403Error || isSerializingDerivedType) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
writer.writeStringValue("code", withF403Error.code);
|
|
178
|
+
writer.writeStringValue("error", withF403Error.errorEscaped);
|
|
179
|
+
writer.writeStringValue("hint", withF403Error.hint);
|
|
180
|
+
writer.writeBooleanValue("success", withF403Error.success);
|
|
181
|
+
writer.writeAdditionalData(withF403Error.additionalData);
|
|
182
|
+
}
|
|
101
183
|
/**
|
|
102
184
|
* Serializes information the current object
|
|
103
185
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -126,7 +208,7 @@ export function serializeWithFPutRequestBody(writer, withFPutRequestBody = {}, i
|
|
|
126
208
|
}
|
|
127
209
|
writer.writeStringValue("assigneeRole", withFPutRequestBody.assigneeRole);
|
|
128
210
|
writer.writeStringValue("defaultValue", withFPutRequestBody.defaultValue);
|
|
129
|
-
writer.writeEnumValue("direction", withFPutRequestBody.direction
|
|
211
|
+
writer.writeEnumValue("direction", withFPutRequestBody.direction);
|
|
130
212
|
writer.writeNumberValue("height", withFPutRequestBody.height);
|
|
131
213
|
writer.writeBooleanValue("isReadOnly", withFPutRequestBody.isReadOnly);
|
|
132
214
|
writer.writeBooleanValue("isRequired", withFPutRequestBody.isRequired);
|
|
@@ -151,6 +233,7 @@ export function serializeWithFPutRequestBody_options(writer, withFPutRequestBody
|
|
|
151
233
|
if (!withFPutRequestBody_options || isSerializingDerivedType) {
|
|
152
234
|
return;
|
|
153
235
|
}
|
|
236
|
+
writer.writeBooleanValue("supporting_attachment", withFPutRequestBody_options.supportingAttachment);
|
|
154
237
|
writer.writeAdditionalData(withFPutRequestBody_options.additionalData);
|
|
155
238
|
}
|
|
156
239
|
/**
|
|
@@ -179,12 +262,21 @@ export const WithFItemRequestBuilderRequestsMetadata = {
|
|
|
179
262
|
delete: {
|
|
180
263
|
uriTemplate: WithFItemRequestBuilderUriTemplate,
|
|
181
264
|
responseBodyContentType: "application/json",
|
|
265
|
+
errorMappings: {
|
|
266
|
+
403: createWithF403ErrorFromDiscriminatorValue,
|
|
267
|
+
409: createDocumentNotEditableConflictFromDiscriminatorValue,
|
|
268
|
+
},
|
|
182
269
|
adapterMethodName: "send",
|
|
183
270
|
responseBodyFactory: createWithFDeleteResponseFromDiscriminatorValue,
|
|
184
271
|
},
|
|
185
272
|
put: {
|
|
186
273
|
uriTemplate: WithFItemRequestBuilderUriTemplate,
|
|
187
274
|
responseBodyContentType: "application/json",
|
|
275
|
+
errorMappings: {
|
|
276
|
+
400: createWithF400ErrorFromDiscriminatorValue,
|
|
277
|
+
403: createWithF403ErrorFromDiscriminatorValue,
|
|
278
|
+
409: createDocumentNotEditableConflictFromDiscriminatorValue,
|
|
279
|
+
},
|
|
188
280
|
adapterMethodName: "send",
|
|
189
281
|
responseBodyFactory: createWithFPutResponseFromDiscriminatorValue,
|
|
190
282
|
requestBodyContentType: "application/json",
|
|
@@ -212,6 +304,7 @@ export const WithFPutRequestBody_typeObject = {
|
|
|
212
304
|
Email: "email",
|
|
213
305
|
Phone: "phone",
|
|
214
306
|
Initials: "initials",
|
|
307
|
+
Calculation: "calculation",
|
|
215
308
|
};
|
|
216
309
|
/* tslint:enable */
|
|
217
310
|
/* eslint-enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/fields/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/fields/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,uDAAuD,EAAE,sBAAsB,EAAwD,MAAM,mCAAmC,CAAC;AACrO,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAiP,MAAM,+BAA+B,CAAC;AAEvU;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yCAAyC,CAAC,SAAgC;IACtF,OAAO,4BAA4B,CAAC;AACxC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yCAAyC,CAAC,SAAgC;IACtF,OAAO,4BAA4B,CAAC;AACxC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+CAA+C,CAAC,SAAgC;IAC5F,OAAO,kCAAkC,CAAC;AAC9C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,uDAAuD,CAAC,SAAgC;IACpG,OAAO,0CAA0C,CAAC;AACtD,CAAC;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AC1B,QAAQ,EAAE,UAAU;IACpB,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;CACpB,CAAC;AACX,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
import { type Document } from '../../../../models/index.js';
|
|
2
|
+
import { type ExportRequestBuilder } from './exportEscaped/index.js';
|
|
2
3
|
import { type FieldsRequestBuilder } from './fields/index.js';
|
|
4
|
+
import { type ParseJobsRequestBuilder } from './parseJobs/index.js';
|
|
5
|
+
import { type PublishRequestBuilder } from './publish/index.js';
|
|
6
|
+
import { type RevisionsRequestBuilder } from './revisions/index.js';
|
|
3
7
|
import { type SignerRolesRequestBuilder } from './signerRoles/index.js';
|
|
4
8
|
import { type SubmissionsRequestBuilder } from './submissions/index.js';
|
|
5
|
-
import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
9
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
10
|
+
/**
|
|
11
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
12
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13
|
+
* @returns {Documents400Error}
|
|
14
|
+
*/
|
|
15
|
+
export declare function createDocuments400ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19
|
+
* @returns {Documents404Error}
|
|
20
|
+
*/
|
|
21
|
+
export declare function createDocuments404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
6
22
|
/**
|
|
7
23
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
24
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -28,6 +44,18 @@ export declare function createDocumentsPutRequestBodyFromDiscriminatorValue(pars
|
|
|
28
44
|
*/
|
|
29
45
|
export declare function createDocumentsPutResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
30
46
|
export type DeletePermanentQueryParameterType = (typeof DeletePermanentQueryParameterTypeObject)[keyof typeof DeletePermanentQueryParameterTypeObject];
|
|
47
|
+
/**
|
|
48
|
+
* The deserialization information for the current model
|
|
49
|
+
* @param Documents400Error The instance to deserialize into.
|
|
50
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
51
|
+
*/
|
|
52
|
+
export declare function deserializeIntoDocuments400Error(documents400Error?: Partial<Documents400Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
53
|
+
/**
|
|
54
|
+
* The deserialization information for the current model
|
|
55
|
+
* @param Documents404Error The instance to deserialize into.
|
|
56
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
57
|
+
*/
|
|
58
|
+
export declare function deserializeIntoDocuments404Error(documents404Error?: Partial<Documents404Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
31
59
|
/**
|
|
32
60
|
* The deserialization information for the current model
|
|
33
61
|
* @param DocumentsDeleteResponse The instance to deserialize into.
|
|
@@ -52,6 +80,39 @@ export declare function deserializeIntoDocumentsPutRequestBody(documentsPutReque
|
|
|
52
80
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
53
81
|
*/
|
|
54
82
|
export declare function deserializeIntoDocumentsPutResponse(documentsPutResponse?: Partial<DocumentsPutResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
83
|
+
export interface Documents400Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
84
|
+
/**
|
|
85
|
+
* The action property
|
|
86
|
+
*/
|
|
87
|
+
action?: Documents400Error_action | null;
|
|
88
|
+
/**
|
|
89
|
+
* The error property
|
|
90
|
+
*/
|
|
91
|
+
errorEscaped?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* The success property
|
|
94
|
+
*/
|
|
95
|
+
success?: boolean | null;
|
|
96
|
+
}
|
|
97
|
+
export type Documents400Error_action = (typeof Documents400Error_actionObject)[keyof typeof Documents400Error_actionObject];
|
|
98
|
+
export interface Documents404Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
99
|
+
/**
|
|
100
|
+
* Stable machine-readable error code when available.
|
|
101
|
+
*/
|
|
102
|
+
code?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* The error property
|
|
105
|
+
*/
|
|
106
|
+
errorEscaped?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* The hint property
|
|
109
|
+
*/
|
|
110
|
+
hint?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* The success property
|
|
113
|
+
*/
|
|
114
|
+
success?: boolean | null;
|
|
115
|
+
}
|
|
55
116
|
export interface DocumentsDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
56
117
|
/**
|
|
57
118
|
* The data property
|
|
@@ -76,10 +137,26 @@ export interface DocumentsGetResponse extends AdditionalDataHolder, Parsable {
|
|
|
76
137
|
* Builds and executes requests for operations under /api/v1/documents/{id}
|
|
77
138
|
*/
|
|
78
139
|
export interface DocumentsItemRequestBuilder extends BaseRequestBuilder<DocumentsItemRequestBuilder> {
|
|
140
|
+
/**
|
|
141
|
+
* The export property
|
|
142
|
+
*/
|
|
143
|
+
get exportEscaped(): ExportRequestBuilder;
|
|
79
144
|
/**
|
|
80
145
|
* The fields property
|
|
81
146
|
*/
|
|
82
147
|
get fields(): FieldsRequestBuilder;
|
|
148
|
+
/**
|
|
149
|
+
* The parseJobs property
|
|
150
|
+
*/
|
|
151
|
+
get parseJobs(): ParseJobsRequestBuilder;
|
|
152
|
+
/**
|
|
153
|
+
* The publish property
|
|
154
|
+
*/
|
|
155
|
+
get publish(): PublishRequestBuilder;
|
|
156
|
+
/**
|
|
157
|
+
* The revisions property
|
|
158
|
+
*/
|
|
159
|
+
get revisions(): RevisionsRequestBuilder;
|
|
83
160
|
/**
|
|
84
161
|
* The signerRoles property
|
|
85
162
|
*/
|
|
@@ -101,10 +178,13 @@ export interface DocumentsItemRequestBuilder extends BaseRequestBuilder<Document
|
|
|
101
178
|
*/
|
|
102
179
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DocumentsGetResponse | undefined>;
|
|
103
180
|
/**
|
|
104
|
-
*
|
|
181
|
+
* Updates editable document metadata. Snapshot-affecting changes move the document to draft. Publish through the dedicated publish endpoint so an immutable revision is created.
|
|
105
182
|
* @param body The request body
|
|
106
183
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
107
184
|
* @returns {Promise<DocumentsPutResponse>}
|
|
185
|
+
* @throws {Documents400Error} error when the service returns a 400 status code
|
|
186
|
+
* @throws {Documents404Error} error when the service returns a 404 status code
|
|
187
|
+
* @throws {DocumentNotEditableConflict} error when the service returns a 409 status code
|
|
108
188
|
*/
|
|
109
189
|
put(body: DocumentsPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DocumentsPutResponse | undefined>;
|
|
110
190
|
/**
|
|
@@ -120,7 +200,7 @@ export interface DocumentsItemRequestBuilder extends BaseRequestBuilder<Document
|
|
|
120
200
|
*/
|
|
121
201
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
122
202
|
/**
|
|
123
|
-
*
|
|
203
|
+
* Updates editable document metadata. Snapshot-affecting changes move the document to draft. Publish through the dedicated publish endpoint so an immutable revision is created.
|
|
124
204
|
* @param body The request body
|
|
125
205
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
126
206
|
* @returns {RequestInformation}
|
|
@@ -134,6 +214,10 @@ export interface DocumentsItemRequestBuilderDeleteQueryParameters {
|
|
|
134
214
|
permanent?: DeletePermanentQueryParameterType;
|
|
135
215
|
}
|
|
136
216
|
export interface DocumentsPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
217
|
+
/**
|
|
218
|
+
* The pageCount property
|
|
219
|
+
*/
|
|
220
|
+
pageCount?: number | null;
|
|
137
221
|
/**
|
|
138
222
|
* The status property
|
|
139
223
|
*/
|
|
@@ -154,6 +238,20 @@ export interface DocumentsPutResponse extends AdditionalDataHolder, Parsable {
|
|
|
154
238
|
*/
|
|
155
239
|
success?: boolean | null;
|
|
156
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Serializes information the current object
|
|
243
|
+
* @param Documents400Error The instance to serialize from.
|
|
244
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
245
|
+
* @param writer Serialization writer to use to serialize this model
|
|
246
|
+
*/
|
|
247
|
+
export declare function serializeDocuments400Error(writer: SerializationWriter, documents400Error?: Partial<Documents400Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
248
|
+
/**
|
|
249
|
+
* Serializes information the current object
|
|
250
|
+
* @param Documents404Error The instance to serialize from.
|
|
251
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
252
|
+
* @param writer Serialization writer to use to serialize this model
|
|
253
|
+
*/
|
|
254
|
+
export declare function serializeDocuments404Error(writer: SerializationWriter, documents404Error?: Partial<Documents404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
157
255
|
/**
|
|
158
256
|
* Serializes information the current object
|
|
159
257
|
* @param DocumentsDeleteResponse The instance to serialize from.
|
|
@@ -190,6 +288,9 @@ export declare const DeletePermanentQueryParameterTypeObject: {
|
|
|
190
288
|
readonly TrueEscaped: "true";
|
|
191
289
|
readonly FalseEscaped: "false";
|
|
192
290
|
};
|
|
291
|
+
export declare const Documents400Error_actionObject: {
|
|
292
|
+
readonly Publish_document: "publish_document";
|
|
293
|
+
};
|
|
193
294
|
/**
|
|
194
295
|
* Metadata for all the navigation properties in the request builder.
|
|
195
296
|
*/
|
|
@@ -200,8 +301,5 @@ export declare const DocumentsItemRequestBuilderNavigationMetadata: Record<Exclu
|
|
|
200
301
|
export declare const DocumentsItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
201
302
|
export declare const DocumentsPutRequestBody_statusObject: {
|
|
202
303
|
readonly Draft: "draft";
|
|
203
|
-
readonly Published: "published";
|
|
204
|
-
readonly Completed: "completed";
|
|
205
|
-
readonly Expired: "expired";
|
|
206
304
|
};
|
|
207
305
|
//# sourceMappingURL=index.d.ts.map
|