@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/client/api/v1/documents/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,oCAAoC,EAAE,iBAAiB,EAAiB,MAAM,6BAA6B,CAAC;AACrH,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,oCAAoC,EAA6B,MAAM,mBAAmB,CAAC;AAC5I,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AAChK,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AAChK,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAoS,MAAM,+BAA+B,CAAC;AAE1X;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG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E,2CAA2C;KAClE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,MAAM,EAAE;QACJ,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;KAC5E;IACD,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;QACtE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,gCAAgC;QACvD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAChD,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;CACZ,CAAC;AACX,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type CreateSignerRoleBody, type SignerRole } from '../../../../../models/index.js';
|
|
2
|
+
import { type WithRItemRequestBuilder } 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 {SignerRolesGetResponse}
|
|
8
|
+
*/
|
|
9
|
+
export declare function createSignerRolesGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
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 {SignerRolesPostResponse}
|
|
14
|
+
*/
|
|
15
|
+
export declare function createSignerRolesPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
16
|
+
/**
|
|
17
|
+
* The deserialization information for the current model
|
|
18
|
+
* @param SignerRolesGetResponse The instance to deserialize into.
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
|
+
*/
|
|
21
|
+
export declare function deserializeIntoSignerRolesGetResponse(signerRolesGetResponse?: Partial<SignerRolesGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
22
|
+
/**
|
|
23
|
+
* The deserialization information for the current model
|
|
24
|
+
* @param SignerRolesPostResponse The instance to deserialize into.
|
|
25
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
26
|
+
*/
|
|
27
|
+
export declare function deserializeIntoSignerRolesPostResponse(signerRolesPostResponse?: Partial<SignerRolesPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
31
|
+
* @param SignerRolesGetResponse The instance to serialize from.
|
|
32
|
+
* @param writer Serialization writer to use to serialize this model
|
|
33
|
+
*/
|
|
34
|
+
export declare function serializeSignerRolesGetResponse(writer: SerializationWriter, signerRolesGetResponse?: Partial<SignerRolesGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
35
|
+
/**
|
|
36
|
+
* Serializes information the current object
|
|
37
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
38
|
+
* @param SignerRolesPostResponse The instance to serialize from.
|
|
39
|
+
* @param writer Serialization writer to use to serialize this model
|
|
40
|
+
*/
|
|
41
|
+
export declare function serializeSignerRolesPostResponse(writer: SerializationWriter, signerRolesPostResponse?: Partial<SignerRolesPostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
42
|
+
export interface SignerRolesGetResponse extends AdditionalDataHolder, Parsable {
|
|
43
|
+
/**
|
|
44
|
+
* The data property
|
|
45
|
+
*/
|
|
46
|
+
data?: SignerRole[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* The success property
|
|
49
|
+
*/
|
|
50
|
+
success?: boolean | null;
|
|
51
|
+
}
|
|
52
|
+
export interface SignerRolesPostResponse extends AdditionalDataHolder, Parsable {
|
|
53
|
+
/**
|
|
54
|
+
* The data property
|
|
55
|
+
*/
|
|
56
|
+
data?: SignerRole | null;
|
|
57
|
+
/**
|
|
58
|
+
* The success property
|
|
59
|
+
*/
|
|
60
|
+
success?: boolean | null;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/signer-roles
|
|
64
|
+
*/
|
|
65
|
+
export interface SignerRolesRequestBuilder extends BaseRequestBuilder<SignerRolesRequestBuilder> {
|
|
66
|
+
/**
|
|
67
|
+
* Gets an item from the formalingo.api.v1.documents.item.signerRoles.item collection
|
|
68
|
+
* @param rid Unique identifier of the item
|
|
69
|
+
* @returns {WithRItemRequestBuilder}
|
|
70
|
+
*/
|
|
71
|
+
byRid(rid: Guid): WithRItemRequestBuilder;
|
|
72
|
+
/**
|
|
73
|
+
* List signer roles
|
|
74
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
|
+
* @returns {Promise<SignerRolesGetResponse>}
|
|
76
|
+
*/
|
|
77
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignerRolesGetResponse | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a signer role
|
|
80
|
+
* @param body The request body
|
|
81
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
82
|
+
* @returns {Promise<SignerRolesPostResponse>}
|
|
83
|
+
*/
|
|
84
|
+
post(body: CreateSignerRoleBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignerRolesPostResponse | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* List signer roles
|
|
87
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
88
|
+
* @returns {RequestInformation}
|
|
89
|
+
*/
|
|
90
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
91
|
+
/**
|
|
92
|
+
* Create a signer role
|
|
93
|
+
* @param body The request body
|
|
94
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
95
|
+
* @returns {RequestInformation}
|
|
96
|
+
*/
|
|
97
|
+
toPostRequestInformation(body: CreateSignerRoleBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Uri template for the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const SignerRolesRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/signer-roles";
|
|
103
|
+
/**
|
|
104
|
+
* Metadata for all the navigation properties in the request builder.
|
|
105
|
+
*/
|
|
106
|
+
export declare const SignerRolesRequestBuilderNavigationMetadata: Record<Exclude<keyof SignerRolesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
107
|
+
/**
|
|
108
|
+
* Metadata for all the requests in the request builder.
|
|
109
|
+
*/
|
|
110
|
+
export declare const SignerRolesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
111
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/signerRoles/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8F,K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;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,kDAAkD,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAgBvD,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSignerRoleFromDiscriminatorValue, serializeCreateSignerRoleBody, serializeSignerRole } from '../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { WithRItemRequestBuilderRequestsMetadata } 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 {SignerRolesGetResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createSignerRolesGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoSignerRolesGetResponse;
|
|
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 {SignerRolesPostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createSignerRolesPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoSignerRolesPostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @param SignerRolesGetResponse The instance to deserialize into.
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function deserializeIntoSignerRolesGetResponse(signerRolesGetResponse = {}) {
|
|
33
|
+
return {
|
|
34
|
+
"data": n => { signerRolesGetResponse.data = n.getCollectionOfObjectValues(createSignerRoleFromDiscriminatorValue); },
|
|
35
|
+
"success": n => { signerRolesGetResponse.success = n.getBooleanValue(); },
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @param SignerRolesPostResponse The instance to deserialize into.
|
|
41
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
42
|
+
*/
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
export function deserializeIntoSignerRolesPostResponse(signerRolesPostResponse = {}) {
|
|
45
|
+
return {
|
|
46
|
+
"data": n => { signerRolesPostResponse.data = n.getObjectValue(createSignerRoleFromDiscriminatorValue); },
|
|
47
|
+
"success": n => { signerRolesPostResponse.success = n.getBooleanValue(); },
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Serializes information the current object
|
|
52
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
53
|
+
* @param SignerRolesGetResponse The instance to serialize from.
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
export function serializeSignerRolesGetResponse(writer, signerRolesGetResponse = {}, isSerializingDerivedType = false) {
|
|
58
|
+
if (!signerRolesGetResponse || isSerializingDerivedType) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
writer.writeCollectionOfObjectValues("data", signerRolesGetResponse.data, serializeSignerRole);
|
|
62
|
+
writer.writeBooleanValue("success", signerRolesGetResponse.success);
|
|
63
|
+
writer.writeAdditionalData(signerRolesGetResponse.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 SignerRolesPostResponse The instance to serialize from.
|
|
69
|
+
* @param writer Serialization writer to use to serialize this model
|
|
70
|
+
*/
|
|
71
|
+
// @ts-ignore
|
|
72
|
+
export function serializeSignerRolesPostResponse(writer, signerRolesPostResponse = {}, isSerializingDerivedType = false) {
|
|
73
|
+
if (!signerRolesPostResponse || isSerializingDerivedType) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
writer.writeObjectValue("data", signerRolesPostResponse.data, serializeSignerRole);
|
|
77
|
+
writer.writeBooleanValue("success", signerRolesPostResponse.success);
|
|
78
|
+
writer.writeAdditionalData(signerRolesPostResponse.additionalData);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Uri template for the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export const SignerRolesRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/signer-roles";
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export const SignerRolesRequestBuilderNavigationMetadata = {
|
|
88
|
+
byRid: {
|
|
89
|
+
requestsMetadata: WithRItemRequestBuilderRequestsMetadata,
|
|
90
|
+
pathParametersMappings: ["rid"],
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export const SignerRolesRequestBuilderRequestsMetadata = {
|
|
97
|
+
get: {
|
|
98
|
+
uriTemplate: SignerRolesRequestBuilderUriTemplate,
|
|
99
|
+
responseBodyContentType: "application/json",
|
|
100
|
+
adapterMethodName: "send",
|
|
101
|
+
responseBodyFactory: createSignerRolesGetResponseFromDiscriminatorValue,
|
|
102
|
+
},
|
|
103
|
+
post: {
|
|
104
|
+
uriTemplate: SignerRolesRequestBuilderUriTemplate,
|
|
105
|
+
responseBodyContentType: "application/json",
|
|
106
|
+
adapterMethodName: "send",
|
|
107
|
+
responseBodyFactory: createSignerRolesPostResponseFromDiscriminatorValue,
|
|
108
|
+
requestBodyContentType: "application/json",
|
|
109
|
+
requestBodySerializer: serializeCreateSignerRoleBody,
|
|
110
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
/* tslint:enable */
|
|
114
|
+
/* eslint-enable */
|
|
115
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/signerRoles/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,mBAAmB,EAA8C,MAAM,gCAAgC,CAAC;AACxL,aAAa;AACb,OAAO,EAAgC,uCAAuC,EAAE,MAAM,iBAAiB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,IAAI,GAAG,CAAC,CAAC,2BAA2B,CAAa,sCAAsC,CAAC,CAAC,CAAC,CAAC;QACjI,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,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CAAC;AA0DD;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,+CAA+C,CAAC;AACpG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,KAAK,EAAE;QACH,gBAAgB,EAAE,uCAAuC;QACzD,sBAAsB,EAAE,CAAC,KAAK,CAAC;KAClC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,6BAA6B;QACpD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {WithRDeleteResponse}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createWithRDeleteResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param WithRDeleteResponse The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoWithRDeleteResponse(withRDeleteResponse?: Partial<WithRDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
/**
|
|
15
|
+
* Serializes information the current object
|
|
16
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
17
|
+
* @param WithRDeleteResponse The instance to serialize from.
|
|
18
|
+
* @param writer Serialization writer to use to serialize this model
|
|
19
|
+
*/
|
|
20
|
+
export declare function serializeWithRDeleteResponse(writer: SerializationWriter, withRDeleteResponse?: Partial<WithRDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
21
|
+
export interface WithRDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
22
|
+
/**
|
|
23
|
+
* The data property
|
|
24
|
+
*/
|
|
25
|
+
data?: UntypedNode | null;
|
|
26
|
+
/**
|
|
27
|
+
* The success property
|
|
28
|
+
*/
|
|
29
|
+
success?: boolean | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/signer-roles/{rid}
|
|
33
|
+
*/
|
|
34
|
+
export interface WithRItemRequestBuilder extends BaseRequestBuilder<WithRItemRequestBuilder> {
|
|
35
|
+
/**
|
|
36
|
+
* Delete a signer role
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {Promise<WithRDeleteResponse>}
|
|
39
|
+
*/
|
|
40
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithRDeleteResponse | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete a signer role
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Uri template for the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export declare const WithRItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/signer-roles/{rid}";
|
|
52
|
+
/**
|
|
53
|
+
* Metadata for all the requests in the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const WithRItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
56
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/signerRoles/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,KAAK,oBAAoB,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;AAExT;;;;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,kCAAkC,CAAC,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKjK;AACD;;;;;GAKG;AAEH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKrM;AACD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,EAAE,QAAQ;IACvE;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACpH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,wDAAwD,CAAC;AACxG;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAOrD,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstractions';
|
|
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 {WithRDeleteResponse}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createWithRDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoWithRDeleteResponse;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @param WithRDeleteResponse The instance to deserialize into.
|
|
18
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
|
+
*/
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export function deserializeIntoWithRDeleteResponse(withRDeleteResponse = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"data": n => { withRDeleteResponse.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
24
|
+
"success": n => { withRDeleteResponse.success = n.getBooleanValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Serializes information the current object
|
|
29
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
30
|
+
* @param WithRDeleteResponse The instance to serialize from.
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
export function serializeWithRDeleteResponse(writer, withRDeleteResponse = {}, isSerializingDerivedType = false) {
|
|
35
|
+
if (!withRDeleteResponse || isSerializingDerivedType) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
writer.writeObjectValue("data", withRDeleteResponse.data);
|
|
39
|
+
writer.writeBooleanValue("success", withRDeleteResponse.success);
|
|
40
|
+
writer.writeAdditionalData(withRDeleteResponse.additionalData);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Uri template for the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export const WithRItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/signer-roles/{rid}";
|
|
46
|
+
/**
|
|
47
|
+
* Metadata for all the requests in the request builder.
|
|
48
|
+
*/
|
|
49
|
+
export const WithRItemRequestBuilderRequestsMetadata = {
|
|
50
|
+
delete: {
|
|
51
|
+
uriTemplate: WithRItemRequestBuilderUriTemplate,
|
|
52
|
+
responseBodyContentType: "application/json",
|
|
53
|
+
adapterMethodName: "send",
|
|
54
|
+
responseBodyFactory: createWithRDeleteResponseFromDiscriminatorValue,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/* tslint:enable */
|
|
58
|
+
/* eslint-enable */
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","s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kB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type CreateSubmissionBody, type DocumentSubmission } from '../../../../../models/index.js';
|
|
2
|
+
import { type WithSItemRequestBuilder } 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 {SubmissionsGetResponse}
|
|
8
|
+
*/
|
|
9
|
+
export declare function createSubmissionsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
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 {SubmissionsPostResponse}
|
|
14
|
+
*/
|
|
15
|
+
export declare function createSubmissionsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
16
|
+
/**
|
|
17
|
+
* The deserialization information for the current model
|
|
18
|
+
* @param SubmissionsGetResponse The instance to deserialize into.
|
|
19
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
20
|
+
*/
|
|
21
|
+
export declare function deserializeIntoSubmissionsGetResponse(submissionsGetResponse?: Partial<SubmissionsGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
22
|
+
/**
|
|
23
|
+
* The deserialization information for the current model
|
|
24
|
+
* @param SubmissionsPostResponse The instance to deserialize into.
|
|
25
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
26
|
+
*/
|
|
27
|
+
export declare function deserializeIntoSubmissionsPostResponse(submissionsPostResponse?: Partial<SubmissionsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
28
|
+
/**
|
|
29
|
+
* Serializes information the current object
|
|
30
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
31
|
+
* @param SubmissionsGetResponse The instance to serialize from.
|
|
32
|
+
* @param writer Serialization writer to use to serialize this model
|
|
33
|
+
*/
|
|
34
|
+
export declare function serializeSubmissionsGetResponse(writer: SerializationWriter, submissionsGetResponse?: Partial<SubmissionsGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
35
|
+
/**
|
|
36
|
+
* Serializes information the current object
|
|
37
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
38
|
+
* @param SubmissionsPostResponse The instance to serialize from.
|
|
39
|
+
* @param writer Serialization writer to use to serialize this model
|
|
40
|
+
*/
|
|
41
|
+
export declare function serializeSubmissionsPostResponse(writer: SerializationWriter, submissionsPostResponse?: Partial<SubmissionsPostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
42
|
+
export interface SubmissionsGetResponse extends AdditionalDataHolder, Parsable {
|
|
43
|
+
/**
|
|
44
|
+
* The data property
|
|
45
|
+
*/
|
|
46
|
+
data?: DocumentSubmission[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* The success property
|
|
49
|
+
*/
|
|
50
|
+
success?: boolean | null;
|
|
51
|
+
}
|
|
52
|
+
export interface SubmissionsPostResponse extends AdditionalDataHolder, Parsable {
|
|
53
|
+
/**
|
|
54
|
+
* The data property
|
|
55
|
+
*/
|
|
56
|
+
data?: DocumentSubmission | null;
|
|
57
|
+
/**
|
|
58
|
+
* The success property
|
|
59
|
+
*/
|
|
60
|
+
success?: boolean | null;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions
|
|
64
|
+
*/
|
|
65
|
+
export interface SubmissionsRequestBuilder extends BaseRequestBuilder<SubmissionsRequestBuilder> {
|
|
66
|
+
/**
|
|
67
|
+
* Gets an item from the formalingo.api.v1.documents.item.submissions.item collection
|
|
68
|
+
* @param sid Unique identifier of the item
|
|
69
|
+
* @returns {WithSItemRequestBuilder}
|
|
70
|
+
*/
|
|
71
|
+
bySid(sid: Guid): WithSItemRequestBuilder;
|
|
72
|
+
/**
|
|
73
|
+
* List submissions
|
|
74
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
75
|
+
* @returns {Promise<SubmissionsGetResponse>}
|
|
76
|
+
*/
|
|
77
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubmissionsGetResponse | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Creates a signing submission. Each signer entry maps to a signer role. Use the `prefill` field to pre-fill specific document fields for a signer.
|
|
80
|
+
* @param body The request body
|
|
81
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
82
|
+
* @returns {Promise<SubmissionsPostResponse>}
|
|
83
|
+
*/
|
|
84
|
+
post(body: CreateSubmissionBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubmissionsPostResponse | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* List submissions
|
|
87
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
88
|
+
* @returns {RequestInformation}
|
|
89
|
+
*/
|
|
90
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
91
|
+
/**
|
|
92
|
+
* Creates a signing submission. Each signer entry maps to a signer role. Use the `prefill` field to pre-fill specific document fields for a signer.
|
|
93
|
+
* @param body The request body
|
|
94
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
95
|
+
* @returns {RequestInformation}
|
|
96
|
+
*/
|
|
97
|
+
toPostRequestInformation(body: CreateSubmissionBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Uri template for the request builder.
|
|
101
|
+
*/
|
|
102
|
+
export declare const SubmissionsRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions";
|
|
103
|
+
/**
|
|
104
|
+
* Metadata for all the navigation properties in the request builder.
|
|
105
|
+
*/
|
|
106
|
+
export declare const SubmissionsRequestBuilderNavigationMetadata: Record<Exclude<keyof SubmissionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
107
|
+
/**
|
|
108
|
+
* Metadata for all the requests in the request builder.
|
|
109
|
+
*/
|
|
110
|
+
export declare const SubmissionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
111
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/submissions/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8G,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEhN,OAAO,EAAE,KAAK,uBAAuB,EAAsF,MAAM,iBAAiB,CAAC;AAEnJ,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,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KA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CreateSubmissionBody, serializeDocumentSubmission } from '../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { WithSItemRequestBuilderNavigationMetadata, WithSItemRequestBuilderRequestsMetadata } 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 {SubmissionsGetResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createSubmissionsGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoSubmissionsGetResponse;
|
|
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 {SubmissionsPostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createSubmissionsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoSubmissionsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @param SubmissionsGetResponse The instance to deserialize into.
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function deserializeIntoSubmissionsGetResponse(submissionsGetResponse = {}) {
|
|
33
|
+
return {
|
|
34
|
+
"data": n => { submissionsGetResponse.data = n.getCollectionOfObjectValues(createDocumentSubmissionFromDiscriminatorValue); },
|
|
35
|
+
"success": n => { submissionsGetResponse.success = n.getBooleanValue(); },
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @param SubmissionsPostResponse The instance to deserialize into.
|
|
41
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
42
|
+
*/
|
|
43
|
+
// @ts-ignore
|
|
44
|
+
export function deserializeIntoSubmissionsPostResponse(submissionsPostResponse = {}) {
|
|
45
|
+
return {
|
|
46
|
+
"data": n => { submissionsPostResponse.data = n.getObjectValue(createDocumentSubmissionFromDiscriminatorValue); },
|
|
47
|
+
"success": n => { submissionsPostResponse.success = n.getBooleanValue(); },
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Serializes information the current object
|
|
52
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
53
|
+
* @param SubmissionsGetResponse The instance to serialize from.
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
export function serializeSubmissionsGetResponse(writer, submissionsGetResponse = {}, isSerializingDerivedType = false) {
|
|
58
|
+
if (!submissionsGetResponse || isSerializingDerivedType) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
writer.writeCollectionOfObjectValues("data", submissionsGetResponse.data, serializeDocumentSubmission);
|
|
62
|
+
writer.writeBooleanValue("success", submissionsGetResponse.success);
|
|
63
|
+
writer.writeAdditionalData(submissionsGetResponse.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 SubmissionsPostResponse The instance to serialize from.
|
|
69
|
+
* @param writer Serialization writer to use to serialize this model
|
|
70
|
+
*/
|
|
71
|
+
// @ts-ignore
|
|
72
|
+
export function serializeSubmissionsPostResponse(writer, submissionsPostResponse = {}, isSerializingDerivedType = false) {
|
|
73
|
+
if (!submissionsPostResponse || isSerializingDerivedType) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
writer.writeObjectValue("data", submissionsPostResponse.data, serializeDocumentSubmission);
|
|
77
|
+
writer.writeBooleanValue("success", submissionsPostResponse.success);
|
|
78
|
+
writer.writeAdditionalData(submissionsPostResponse.additionalData);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Uri template for the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export const SubmissionsRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions";
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the navigation properties in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export const SubmissionsRequestBuilderNavigationMetadata = {
|
|
88
|
+
bySid: {
|
|
89
|
+
requestsMetadata: WithSItemRequestBuilderRequestsMetadata,
|
|
90
|
+
navigationMetadata: WithSItemRequestBuilderNavigationMetadata,
|
|
91
|
+
pathParametersMappings: ["sid"],
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export const SubmissionsRequestBuilderRequestsMetadata = {
|
|
98
|
+
get: {
|
|
99
|
+
uriTemplate: SubmissionsRequestBuilderUriTemplate,
|
|
100
|
+
responseBodyContentType: "application/json",
|
|
101
|
+
adapterMethodName: "send",
|
|
102
|
+
responseBodyFactory: createSubmissionsGetResponseFromDiscriminatorValue,
|
|
103
|
+
},
|
|
104
|
+
post: {
|
|
105
|
+
uriTemplate: SubmissionsRequestBuilderUriTemplate,
|
|
106
|
+
responseBodyContentType: "application/json",
|
|
107
|
+
adapterMethodName: "send",
|
|
108
|
+
responseBodyFactory: createSubmissionsPostResponseFromDiscriminatorValue,
|
|
109
|
+
requestBodyContentType: "application/json",
|
|
110
|
+
requestBodySerializer: serializeCreateSubmissionBody,
|
|
111
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
/* tslint:enable */
|
|
115
|
+
/* eslint-enable */
|
|
116
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/docum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