@formalingo/sdk 0.1.0 → 0.1.2
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 +214 -0
- package/dist/client/api/index.d.ts +20 -0
- package/dist/client/api/index.d.ts.map +1 -0
- package/dist/client/api/index.js +20 -0
- package/dist/client/api/index.js.map +1 -0
- package/dist/client/api/v1/documents/index.d.ts +163 -0
- package/dist/client/api/v1/documents/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/index.js +164 -0
- package/dist/client/api/v1/documents/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.js +115 -0
- package/dist/client/api/v1/documents/item/fields/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts +221 -0
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/fields/item/index.js +218 -0
- package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/index.d.ts +207 -0
- package/dist/client/api/v1/documents/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/index.js +217 -0
- package/dist/client/api/v1/documents/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.js +115 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +56 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js +59 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/index.js +116 -0
- package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +70 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js +75 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +91 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +100 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.d.ts +68 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.js +71 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +146 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +156 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +134 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +145 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -0
- package/dist/client/api/v1/forms/index.d.ts +231 -0
- package/dist/client/api/v1/forms/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/index.js +244 -0
- package/dist/client/api/v1/forms/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/index.d.ts +241 -0
- package/dist/client/api/v1/forms/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/index.js +261 -0
- package/dist/client/api/v1/forms/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/questions/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/questions/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/questions/index.js +115 -0
- package/dist/client/api/v1/forms/item/questions/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/questions/item/index.d.ts +196 -0
- package/dist/client/api/v1/forms/item/questions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/questions/item/index.js +193 -0
- package/dist/client/api/v1/forms/item/questions/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.js +116 -0
- package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +109 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.js +116 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +134 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +145 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/sections/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/sections/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/sections/index.js +115 -0
- package/dist/client/api/v1/forms/item/sections/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/sections/item/index.d.ts +100 -0
- package/dist/client/api/v1/forms/item/sections/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/sections/item/index.js +106 -0
- package/dist/client/api/v1/forms/item/sections/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 -0
- package/dist/client/api/v1/index.js +27 -0
- package/dist/client/api/v1/index.js.map +1 -0
- package/dist/client/formalingoClient.d.ts +20 -7
- package/dist/client/formalingoClient.d.ts.map +1 -1
- package/dist/client/formalingoClient.js +56 -2
- package/dist/client/formalingoClient.js.map +1 -1
- package/dist/client/models/index.d.ts +1597 -0
- package/dist/client/models/index.d.ts.map +1 -0
- package/dist/client/models/index.js +1589 -0
- package/dist/client/models/index.js.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { type PdfRequestBuilder } from './pdf/index.js';
|
|
2
|
+
import { type SignersRequestBuilder } from './signers/index.js';
|
|
3
|
+
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';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7
|
+
* @returns {WithSDeleteResponse}
|
|
8
|
+
*/
|
|
9
|
+
export declare function createWithSDeleteResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
10
|
+
/**
|
|
11
|
+
* The deserialization information for the current model
|
|
12
|
+
* @param WithSDeleteResponse The instance to deserialize into.
|
|
13
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
14
|
+
*/
|
|
15
|
+
export declare function deserializeIntoWithSDeleteResponse(withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
16
|
+
/**
|
|
17
|
+
* Serializes information the current object
|
|
18
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
19
|
+
* @param WithSDeleteResponse The instance to serialize from.
|
|
20
|
+
* @param writer Serialization writer to use to serialize this model
|
|
21
|
+
*/
|
|
22
|
+
export declare function serializeWithSDeleteResponse(writer: SerializationWriter, withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
23
|
+
export interface WithSDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
24
|
+
/**
|
|
25
|
+
* The data property
|
|
26
|
+
*/
|
|
27
|
+
data?: UntypedNode | null;
|
|
28
|
+
/**
|
|
29
|
+
* The success property
|
|
30
|
+
*/
|
|
31
|
+
success?: boolean | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}
|
|
35
|
+
*/
|
|
36
|
+
export interface WithSItemRequestBuilder extends BaseRequestBuilder<WithSItemRequestBuilder> {
|
|
37
|
+
/**
|
|
38
|
+
* The pdf property
|
|
39
|
+
*/
|
|
40
|
+
get pdf(): PdfRequestBuilder;
|
|
41
|
+
/**
|
|
42
|
+
* The signers property
|
|
43
|
+
*/
|
|
44
|
+
get signers(): SignersRequestBuilder;
|
|
45
|
+
/**
|
|
46
|
+
* Delete a submission
|
|
47
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
48
|
+
* @returns {Promise<WithSDeleteResponse>}
|
|
49
|
+
*/
|
|
50
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSDeleteResponse | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Delete a submission
|
|
53
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
|
+
* @returns {RequestInformation}
|
|
55
|
+
*/
|
|
56
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Uri template for the request builder.
|
|
60
|
+
*/
|
|
61
|
+
export declare const WithSItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}";
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the navigation properties in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export declare const WithSItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithSItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const WithSItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
70
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/submissions/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAA2C,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE1X;;;;GAIG;AAEH,wBAAgB,+CAA+C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEvK;AACD;;;;GAIG;AAEH,wBAAgB,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/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { PdfRequestBuilderRequestsMetadata } from './pdf/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { SignersRequestBuilderNavigationMetadata, SignersRequestBuilderRequestsMetadata } from './signers/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { createUntypedNodeFromDiscriminatorValue } 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 {WithSDeleteResponse}
|
|
14
|
+
*/
|
|
15
|
+
// @ts-ignore
|
|
16
|
+
export function createWithSDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
17
|
+
return deserializeIntoWithSDeleteResponse;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The deserialization information for the current model
|
|
21
|
+
* @param WithSDeleteResponse The instance to deserialize into.
|
|
22
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
|
+
*/
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
export function deserializeIntoWithSDeleteResponse(withSDeleteResponse = {}) {
|
|
26
|
+
return {
|
|
27
|
+
"data": n => { withSDeleteResponse.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
28
|
+
"success": n => { withSDeleteResponse.success = n.getBooleanValue(); },
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Serializes information the current object
|
|
33
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
34
|
+
* @param WithSDeleteResponse The instance to serialize from.
|
|
35
|
+
* @param writer Serialization writer to use to serialize this model
|
|
36
|
+
*/
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
export function serializeWithSDeleteResponse(writer, withSDeleteResponse = {}, isSerializingDerivedType = false) {
|
|
39
|
+
if (!withSDeleteResponse || isSerializingDerivedType) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
writer.writeObjectValue("data", withSDeleteResponse.data);
|
|
43
|
+
writer.writeBooleanValue("success", withSDeleteResponse.success);
|
|
44
|
+
writer.writeAdditionalData(withSDeleteResponse.additionalData);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Uri template for the request builder.
|
|
48
|
+
*/
|
|
49
|
+
export const WithSItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}";
|
|
50
|
+
/**
|
|
51
|
+
* Metadata for all the navigation properties in the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export const WithSItemRequestBuilderNavigationMetadata = {
|
|
54
|
+
pdf: {
|
|
55
|
+
requestsMetadata: PdfRequestBuilderRequestsMetadata,
|
|
56
|
+
},
|
|
57
|
+
signers: {
|
|
58
|
+
requestsMetadata: SignersRequestBuilderRequestsMetadata,
|
|
59
|
+
navigationMetadata: SignersRequestBuilderNavigationMetadata,
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Metadata for all the requests in the request builder.
|
|
64
|
+
*/
|
|
65
|
+
export const WithSItemRequestBuilderRequestsMetadata = {
|
|
66
|
+
delete: {
|
|
67
|
+
uriTemplate: WithSItemRequestBuilderUriTemplate,
|
|
68
|
+
responseBodyContentType: "application/json",
|
|
69
|
+
adapterMethodName: "send",
|
|
70
|
+
responseBodyFactory: createWithSDeleteResponseFromDiscriminatorValue,
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
/* tslint:enable */
|
|
74
|
+
/* eslint-enable */
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/submissions/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;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,gBAAgB,EAAE,iCAAiC;KACtD;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,uCAAuC;KAC9D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,MAAM,EAAE;QACJ,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { type SubmissionPdf } from '../../../../../../../models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } 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 {Pdf404Error}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createPdf404ErrorFromDiscriminatorValue(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 {PdfGetResponse}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createPdfGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @param Pdf404Error The instance to deserialize into.
|
|
18
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
|
+
*/
|
|
20
|
+
export declare function deserializeIntoPdf404Error(pdf404Error?: Partial<Pdf404Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
21
|
+
/**
|
|
22
|
+
* The deserialization information for the current model
|
|
23
|
+
* @param PdfGetResponse The instance to deserialize into.
|
|
24
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
25
|
+
*/
|
|
26
|
+
export declare function deserializeIntoPdfGetResponse(pdfGetResponse?: Partial<PdfGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
27
|
+
export interface Pdf404Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
28
|
+
/**
|
|
29
|
+
* The error property
|
|
30
|
+
*/
|
|
31
|
+
errorEscaped?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The hint property
|
|
34
|
+
*/
|
|
35
|
+
hint?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The success property
|
|
38
|
+
*/
|
|
39
|
+
success?: boolean | null;
|
|
40
|
+
}
|
|
41
|
+
export interface PdfGetResponse extends AdditionalDataHolder, Parsable {
|
|
42
|
+
/**
|
|
43
|
+
* The data property
|
|
44
|
+
*/
|
|
45
|
+
data?: SubmissionPdf | null;
|
|
46
|
+
/**
|
|
47
|
+
* The success property
|
|
48
|
+
*/
|
|
49
|
+
success?: boolean | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}/pdf
|
|
53
|
+
*/
|
|
54
|
+
export interface PdfRequestBuilder extends BaseRequestBuilder<PdfRequestBuilder> {
|
|
55
|
+
/**
|
|
56
|
+
* Returns a short-lived (5-minute) presigned download URL for the completed signed PDF. Returns 404 if the submission is not yet completed or the PDF is still generating.
|
|
57
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
|
+
* @returns {Promise<PdfGetResponse>}
|
|
59
|
+
* @throws {Pdf404Error} error when the service returns a 404 status code
|
|
60
|
+
*/
|
|
61
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PdfGetResponse | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Returns a short-lived (5-minute) presigned download URL for the completed signed PDF. Returns 404 if the submission is not yet completed or the PDF is still generating.
|
|
64
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
65
|
+
* @returns {RequestInformation}
|
|
66
|
+
*/
|
|
67
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Serializes information the current object
|
|
71
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
72
|
+
* @param Pdf404Error The instance to serialize from.
|
|
73
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74
|
+
*/
|
|
75
|
+
export declare function serializePdf404Error(writer: SerializationWriter, pdf404Error?: Partial<Pdf404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
76
|
+
/**
|
|
77
|
+
* Serializes information the current object
|
|
78
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
79
|
+
* @param PdfGetResponse The instance to serialize from.
|
|
80
|
+
* @param writer Serialization writer to use to serialize this model
|
|
81
|
+
*/
|
|
82
|
+
export declare function serializePdfGetResponse(writer: SerializationWriter, pdfGetResponse?: Partial<PdfGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
export declare const PdfRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/pdf";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const PdfRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
91
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/pdf/index.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df } from '../../../../../../../models/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
|
+
* @returns {Pdf404Error}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createPdf404ErrorFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoPdf404Error;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18
|
+
* @returns {PdfGetResponse}
|
|
19
|
+
*/
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export function createPdfGetResponseFromDiscriminatorValue(parseNode) {
|
|
22
|
+
return deserializeIntoPdfGetResponse;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The deserialization information for the current model
|
|
26
|
+
* @param Pdf404Error The instance to deserialize into.
|
|
27
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
28
|
+
*/
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
export function deserializeIntoPdf404Error(pdf404Error = {}) {
|
|
31
|
+
return {
|
|
32
|
+
"error": n => { pdf404Error.errorEscaped = n.getStringValue(); },
|
|
33
|
+
"hint": n => { pdf404Error.hint = n.getStringValue(); },
|
|
34
|
+
"success": n => { pdf404Error.success = n.getBooleanValue(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The deserialization information for the current model
|
|
39
|
+
* @param PdfGetResponse The instance to deserialize into.
|
|
40
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41
|
+
*/
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
export function deserializeIntoPdfGetResponse(pdfGetResponse = {}) {
|
|
44
|
+
return {
|
|
45
|
+
"data": n => { pdfGetResponse.data = n.getObjectValue(createSubmissionPdfFromDiscriminatorValue); },
|
|
46
|
+
"success": n => { pdfGetResponse.success = n.getBooleanValue(); },
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Serializes information the current object
|
|
51
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
52
|
+
* @param Pdf404Error The instance to serialize from.
|
|
53
|
+
* @param writer Serialization writer to use to serialize this model
|
|
54
|
+
*/
|
|
55
|
+
// @ts-ignore
|
|
56
|
+
export function serializePdf404Error(writer, pdf404Error = {}, isSerializingDerivedType = false) {
|
|
57
|
+
if (!pdf404Error || isSerializingDerivedType) {
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
writer.writeStringValue("error", pdf404Error.errorEscaped);
|
|
61
|
+
writer.writeStringValue("hint", pdf404Error.hint);
|
|
62
|
+
writer.writeBooleanValue("success", pdf404Error.success);
|
|
63
|
+
writer.writeAdditionalData(pdf404Error.additionalData);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Serializes information the current object
|
|
67
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
68
|
+
* @param PdfGetResponse The instance to serialize from.
|
|
69
|
+
* @param writer Serialization writer to use to serialize this model
|
|
70
|
+
*/
|
|
71
|
+
// @ts-ignore
|
|
72
|
+
export function serializePdfGetResponse(writer, pdfGetResponse = {}, isSerializingDerivedType = false) {
|
|
73
|
+
if (!pdfGetResponse || isSerializingDerivedType) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
writer.writeObjectValue("data", pdfGetResponse.data, serializeSubmissionPdf);
|
|
77
|
+
writer.writeBooleanValue("success", pdfGetResponse.success);
|
|
78
|
+
writer.writeAdditionalData(pdfGetResponse.additionalData);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Uri template for the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export const PdfRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/pdf";
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the requests in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export const PdfRequestBuilderRequestsMetadata = {
|
|
88
|
+
get: {
|
|
89
|
+
uriTemplate: PdfRequestBuilderUriTemplate,
|
|
90
|
+
responseBodyContentType: "application/json",
|
|
91
|
+
errorMappings: {
|
|
92
|
+
404: createPdf404ErrorFromDiscriminatorValue,
|
|
93
|
+
},
|
|
94
|
+
adapterMethodName: "send",
|
|
95
|
+
responseBodyFactory: createPdfGetResponseFromDiscriminatorValue,
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
/* tslint:enable */
|
|
99
|
+
/* eslint-enable */
|
|
100
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/pdf/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,sBAAsB,EAAsB,MAAM,sCAAsC,CAAC;AAI7I;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,uCAAuC,CAAC,SAAgC;IACpF,OAAO,0BAA0B,CAAC;AACtC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,SAAgC;IACvF,OAAO,6BAA6B,CAAC;AACzC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0BAA0B,CAAC,cAAgD,EAAE;IACzF,OAAO;QACH,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,YAAY,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAChE,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACvD,SAAS,EAAE,CAAC,C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SAAS,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;IAC5D,MAAM,CAAC,mBAAmB,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAC9D,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,wDAAwD,CAAC;AACrG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,GAAG,EAAE;QACD,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,uCAAoE;SAC5E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type Signer } from '../../../../../../../models/index.js';
|
|
2
|
+
import { type WithSignerItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7
|
+
* @returns {SignersGetResponse}
|
|
8
|
+
*/
|
|
9
|
+
export declare function createSignersGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
10
|
+
/**
|
|
11
|
+
* The deserialization information for the current model
|
|
12
|
+
* @param SignersGetResponse The instance to deserialize into.
|
|
13
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
14
|
+
*/
|
|
15
|
+
export declare function deserializeIntoSignersGetResponse(signersGetResponse?: Partial<SignersGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
16
|
+
/**
|
|
17
|
+
* Serializes information the current object
|
|
18
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
19
|
+
* @param SignersGetResponse The instance to serialize from.
|
|
20
|
+
* @param writer Serialization writer to use to serialize this model
|
|
21
|
+
*/
|
|
22
|
+
export declare function serializeSignersGetResponse(writer: SerializationWriter, signersGetResponse?: Partial<SignersGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
23
|
+
export interface SignersGetResponse extends AdditionalDataHolder, Parsable {
|
|
24
|
+
/**
|
|
25
|
+
* The data property
|
|
26
|
+
*/
|
|
27
|
+
data?: Signer[] | null;
|
|
28
|
+
/**
|
|
29
|
+
* The success property
|
|
30
|
+
*/
|
|
31
|
+
success?: boolean | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}/signers
|
|
35
|
+
*/
|
|
36
|
+
export interface SignersRequestBuilder extends BaseRequestBuilder<SignersRequestBuilder> {
|
|
37
|
+
/**
|
|
38
|
+
* Gets an item from the formalingo.api.v1.documents.item.submissions.item.signers.item collection
|
|
39
|
+
* @param signerId Unique identifier of the item
|
|
40
|
+
* @returns {WithSignerItemRequestBuilder}
|
|
41
|
+
*/
|
|
42
|
+
bySignerId(signerId: Guid): WithSignerItemRequestBuilder;
|
|
43
|
+
/**
|
|
44
|
+
* List signers for a submission
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {Promise<SignersGetResponse>}
|
|
47
|
+
*/
|
|
48
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignersGetResponse | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* List signers for a submission
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const SignersRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/signers";
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the navigation properties in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const SignersRequestBuilderNavigationMetadata: Record<Exclude<keyof SignersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const SignersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
68
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuD,KAAK,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAExH,OAAO,EAAE,KAAK,4BAA4B,EAAgG,MAAM,iBAAiB,CAAC;AAElK,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAE1U;;;;GAIG;AAEH,wBAAgB,8CAA8C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEtK;AACD;;;;GAIG;AAEH,wBAAgB,iCAAiC,CAAC,kB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
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSignerFromDiscriminatorValue, serializeSigner } from '../../../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { WithSignerItemRequestBuilderNavigationMetadata, WithSignerItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
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 {SignersGetResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createSignersGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoSignersGetResponse;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param SignersGetResponse The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoSignersGetResponse(signersGetResponse = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"data": n => { signersGetResponse.data = n.getCollectionOfObjectValues(createSignerFromDiscriminatorValue); },
|
|
26
|
+
"success": n => { signersGetResponse.success = n.getBooleanValue(); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
32
|
+
* @param SignersGetResponse The instance to serialize from.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeSignersGetResponse(writer, signersGetResponse = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!signersGetResponse || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeCollectionOfObjectValues("data", signersGetResponse.data, serializeSigner);
|
|
41
|
+
writer.writeBooleanValue("success", signersGetResponse.success);
|
|
42
|
+
writer.writeAdditionalData(signersGetResponse.additionalData);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
export const SignersRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/signers";
|
|
48
|
+
/**
|
|
49
|
+
* Metadata for all the navigation properties in the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export const SignersRequestBuilderNavigationMetadata = {
|
|
52
|
+
bySignerId: {
|
|
53
|
+
requestsMetadata: WithSignerItemRequestBuilderRequestsMetadata,
|
|
54
|
+
navigationMetadata: WithSignerItemRequestBuilderNavigationMetadata,
|
|
55
|
+
pathParametersMappings: ["signerId"],
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Metadata for all the requests in the request builder.
|
|
60
|
+
*/
|
|
61
|
+
export const SignersRequestBuilderRequestsMetadata = {
|
|
62
|
+
get: {
|
|
63
|
+
uriTemplate: SignersRequestBuilderUriTemplate,
|
|
64
|
+
responseBodyContentType: "application/json",
|
|
65
|
+
adapterMethodName: "send",
|
|
66
|
+
responseBodyFactory: createSignersGetResponseFromDiscriminatorValue,
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAe,MAAM,sCAAsC,CAAC;AACxH,aAAa;AACb,OAAO,EAAqC,8CAA8C,EAAE,4CAA4C,EAAE,MAAM,iBA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