@formalingo/sdk 0.1.0 → 0.1.1
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 +65 -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 +70 -0
- package/dist/client/api/v1/documents/item/submissions/item/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 +70 -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 +137 -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 +146 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/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 +115 -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 +100 -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 +106 -0
- package/dist/client/api/v1/forms/item/recipients/item/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 +1376 -0
- package/dist/client/models/index.d.ts.map +1 -0
- package/dist/client/models/index.js +1333 -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 +11 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { type SignersRequestBuilder } from './signers/index.js';
|
|
2
|
+
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';
|
|
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 {WithSDeleteResponse}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createWithSDeleteResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param WithSDeleteResponse The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoWithSDeleteResponse(withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
/**
|
|
16
|
+
* Serializes information the current object
|
|
17
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
18
|
+
* @param WithSDeleteResponse The instance to serialize from.
|
|
19
|
+
* @param writer Serialization writer to use to serialize this model
|
|
20
|
+
*/
|
|
21
|
+
export declare function serializeWithSDeleteResponse(writer: SerializationWriter, withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
22
|
+
export interface WithSDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
23
|
+
/**
|
|
24
|
+
* The data property
|
|
25
|
+
*/
|
|
26
|
+
data?: UntypedNode | null;
|
|
27
|
+
/**
|
|
28
|
+
* The success property
|
|
29
|
+
*/
|
|
30
|
+
success?: boolean | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}
|
|
34
|
+
*/
|
|
35
|
+
export interface WithSItemRequestBuilder extends BaseRequestBuilder<WithSItemRequestBuilder> {
|
|
36
|
+
/**
|
|
37
|
+
* The signers property
|
|
38
|
+
*/
|
|
39
|
+
get signers(): SignersRequestBuilder;
|
|
40
|
+
/**
|
|
41
|
+
* Delete a submission
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {Promise<WithSDeleteResponse>}
|
|
44
|
+
*/
|
|
45
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSDeleteResponse | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete a submission
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns {RequestInformation}
|
|
50
|
+
*/
|
|
51
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const WithSItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}";
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the navigation properties in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const WithSItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WithSItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
61
|
+
/**
|
|
62
|
+
* Metadata for all the requests in the request builder.
|
|
63
|
+
*/
|
|
64
|
+
export declare const WithSItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
65
|
+
//# 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,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAA2C,KAAK,oBAAoB,EA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AC;IACpH;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrH;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,uDAAuD,CAAC;AACvG;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAOrD,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { SignersRequestBuilderNavigationMetadata, SignersRequestBuilderRequestsMetadata } from './signers/index.js';
|
|
6
|
+
// @ts-ignore
|
|
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 {WithSDeleteResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createWithSDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoWithSDeleteResponse;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param WithSDeleteResponse The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoWithSDeleteResponse(withSDeleteResponse = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"data": n => { withSDeleteResponse.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
26
|
+
"success": n => { withSDeleteResponse.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 WithSDeleteResponse The instance to serialize from.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeWithSDeleteResponse(writer, withSDeleteResponse = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!withSDeleteResponse || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeObjectValue("data", withSDeleteResponse.data);
|
|
41
|
+
writer.writeBooleanValue("success", withSDeleteResponse.success);
|
|
42
|
+
writer.writeAdditionalData(withSDeleteResponse.additionalData);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Uri template for the request builder.
|
|
46
|
+
*/
|
|
47
|
+
export const WithSItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}";
|
|
48
|
+
/**
|
|
49
|
+
* Metadata for all the navigation properties in the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export const WithSItemRequestBuilderNavigationMetadata = {
|
|
52
|
+
signers: {
|
|
53
|
+
requestsMetadata: SignersRequestBuilderRequestsMetadata,
|
|
54
|
+
navigationMetadata: SignersRequestBuilderNavigationMetadata,
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export const WithSItemRequestBuilderRequestsMetadata = {
|
|
61
|
+
delete: {
|
|
62
|
+
uriTemplate: WithSItemRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
adapterMethodName: "send",
|
|
65
|
+
responseBodyFactory: createWithSDeleteResponseFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# 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;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAChJ,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAoS,MAAM,+BAA+B,CAAC;AAE1X;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+CAA+C,CAAC,SAAgC;IAC5F,OAAO,kCAAkC,CAAC;AAC9C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kCAAkC,CAAC,sBAAgE,EAAE;IACjH,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,mBAAmB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,CAAc,uCAAuC,CAAC,CAAC,CAAC,CAAC;QACnH,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KACzE,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,4BAA4B,CAAC,MAA2B,EAAE,sBAAuE,EAAE,EAAE,2BAAoC,KAAK;IAC1L,IAAI,CAAC,mBAAmB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACjE,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC1D,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACjE,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;AACnE,CAAC;AAgCD;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,oDAAoD,CAAC;AACvG;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,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,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,EAAgD,MAAM,iBAAiB,CAAC;AAElH,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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
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSignerFromDiscriminatorValue, serializeSigner } from '../../../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { 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
|
+
pathParametersMappings: ["signerId"],
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export const SignersRequestBuilderRequestsMetadata = {
|
|
61
|
+
get: {
|
|
62
|
+
uriTemplate: SignersRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
adapterMethodName: "send",
|
|
65
|
+
responseBodyFactory: createSignersGetResponseFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
/* tslint:enable */
|
|
69
|
+
/* eslint-enable */
|
|
70
|
+
//# 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,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAIlH;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CA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;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { type Signer } 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';
|
|
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 {WithSignerDeleteResponse}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createWithSignerDeleteResponseFromDiscriminatorValue(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 {WithSignerPutRequestBody}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createWithSignerPutRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
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 {WithSignerPutResponse}
|
|
19
|
+
*/
|
|
20
|
+
export declare function createWithSignerPutResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
21
|
+
/**
|
|
22
|
+
* The deserialization information for the current model
|
|
23
|
+
* @param WithSignerDeleteResponse The instance to deserialize into.
|
|
24
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
25
|
+
*/
|
|
26
|
+
export declare function deserializeIntoWithSignerDeleteResponse(withSignerDeleteResponse?: Partial<WithSignerDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @param WithSignerPutRequestBody The instance to deserialize into.
|
|
30
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31
|
+
*/
|
|
32
|
+
export declare function deserializeIntoWithSignerPutRequestBody(withSignerPutRequestBody?: Partial<WithSignerPutRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
33
|
+
/**
|
|
34
|
+
* The deserialization information for the current model
|
|
35
|
+
* @param WithSignerPutResponse The instance to deserialize into.
|
|
36
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37
|
+
*/
|
|
38
|
+
export declare function deserializeIntoWithSignerPutResponse(withSignerPutResponse?: Partial<WithSignerPutResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
39
|
+
/**
|
|
40
|
+
* Serializes information the current object
|
|
41
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
42
|
+
* @param WithSignerDeleteResponse The instance to serialize from.
|
|
43
|
+
* @param writer Serialization writer to use to serialize this model
|
|
44
|
+
*/
|
|
45
|
+
export declare function serializeWithSignerDeleteResponse(writer: SerializationWriter, withSignerDeleteResponse?: Partial<WithSignerDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
+
* @param WithSignerPutRequestBody The instance to serialize from.
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
export declare function serializeWithSignerPutRequestBody(writer: SerializationWriter, withSignerPutRequestBody?: Partial<WithSignerPutRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
53
|
+
/**
|
|
54
|
+
* Serializes information the current object
|
|
55
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
56
|
+
* @param WithSignerPutResponse The instance to serialize from.
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
export declare function serializeWithSignerPutResponse(writer: SerializationWriter, withSignerPutResponse?: Partial<WithSignerPutResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
60
|
+
export interface WithSignerDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
61
|
+
/**
|
|
62
|
+
* The data property
|
|
63
|
+
*/
|
|
64
|
+
data?: UntypedNode | null;
|
|
65
|
+
/**
|
|
66
|
+
* The success property
|
|
67
|
+
*/
|
|
68
|
+
success?: boolean | null;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}/signers/{signerId}
|
|
72
|
+
*/
|
|
73
|
+
export interface WithSignerItemRequestBuilder extends BaseRequestBuilder<WithSignerItemRequestBuilder> {
|
|
74
|
+
/**
|
|
75
|
+
* Remove a signer
|
|
76
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
77
|
+
* @returns {Promise<WithSignerDeleteResponse>}
|
|
78
|
+
*/
|
|
79
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSignerDeleteResponse | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Update a signer
|
|
82
|
+
* @param body The request body
|
|
83
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
84
|
+
* @returns {Promise<WithSignerPutResponse>}
|
|
85
|
+
*/
|
|
86
|
+
put(body: WithSignerPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSignerPutResponse | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Remove a signer
|
|
89
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
90
|
+
* @returns {RequestInformation}
|
|
91
|
+
*/
|
|
92
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
93
|
+
/**
|
|
94
|
+
* Update a signer
|
|
95
|
+
* @param body The request body
|
|
96
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
97
|
+
* @returns {RequestInformation}
|
|
98
|
+
*/
|
|
99
|
+
toPutRequestInformation(body: WithSignerPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
100
|
+
}
|
|
101
|
+
export interface WithSignerPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
102
|
+
/**
|
|
103
|
+
* The email property
|
|
104
|
+
*/
|
|
105
|
+
email?: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* The expiresAt property
|
|
108
|
+
*/
|
|
109
|
+
expiresAt?: Date | null;
|
|
110
|
+
/**
|
|
111
|
+
* The label property
|
|
112
|
+
*/
|
|
113
|
+
label?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* The name property
|
|
116
|
+
*/
|
|
117
|
+
name?: string | null;
|
|
118
|
+
}
|
|
119
|
+
export interface WithSignerPutResponse extends AdditionalDataHolder, Parsable {
|
|
120
|
+
/**
|
|
121
|
+
* The data property
|
|
122
|
+
*/
|
|
123
|
+
data?: Signer | null;
|
|
124
|
+
/**
|
|
125
|
+
* The success property
|
|
126
|
+
*/
|
|
127
|
+
success?: boolean | null;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Uri template for the request builder.
|
|
131
|
+
*/
|
|
132
|
+
export declare const WithSignerItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/signers/{signerId}";
|
|
133
|
+
/**
|
|
134
|
+
* Metadata for all the requests in the request builder.
|
|
135
|
+
*/
|
|
136
|
+
export declare const WithSignerItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
137
|
+
//# 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/item/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AAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACnJ;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB,EAAE,QAAQ;IAC5E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,QAAQ;IACzE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,0EAA0E,CAAC;AAC/H;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAgB1D,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createSignerFromDiscriminatorValue, serializeSigner } from '../../../../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
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 {WithSignerDeleteResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createWithSignerDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoWithSignerDeleteResponse;
|
|
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 {WithSignerPutRequestBody}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createWithSignerPutRequestBodyFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoWithSignerPutRequestBody;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
28
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
29
|
+
* @returns {WithSignerPutResponse}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function createWithSignerPutResponseFromDiscriminatorValue(parseNode) {
|
|
33
|
+
return deserializeIntoWithSignerPutResponse;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The deserialization information for the current model
|
|
37
|
+
* @param WithSignerDeleteResponse The instance to deserialize into.
|
|
38
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
39
|
+
*/
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
export function deserializeIntoWithSignerDeleteResponse(withSignerDeleteResponse = {}) {
|
|
42
|
+
return {
|
|
43
|
+
"data": n => { withSignerDeleteResponse.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
44
|
+
"success": n => { withSignerDeleteResponse.success = n.getBooleanValue(); },
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The deserialization information for the current model
|
|
49
|
+
* @param WithSignerPutRequestBody The instance to deserialize into.
|
|
50
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
51
|
+
*/
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
export function deserializeIntoWithSignerPutRequestBody(withSignerPutRequestBody = {}) {
|
|
54
|
+
return {
|
|
55
|
+
"email": n => { withSignerPutRequestBody.email = n.getStringValue(); },
|
|
56
|
+
"expiresAt": n => { withSignerPutRequestBody.expiresAt = n.getDateValue(); },
|
|
57
|
+
"label": n => { withSignerPutRequestBody.label = n.getStringValue(); },
|
|
58
|
+
"name": n => { withSignerPutRequestBody.name = n.getStringValue(); },
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The deserialization information for the current model
|
|
63
|
+
* @param WithSignerPutResponse The instance to deserialize into.
|
|
64
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
65
|
+
*/
|
|
66
|
+
// @ts-ignore
|
|
67
|
+
export function deserializeIntoWithSignerPutResponse(withSignerPutResponse = {}) {
|
|
68
|
+
return {
|
|
69
|
+
"data": n => { withSignerPutResponse.data = n.getObjectValue(createSignerFromDiscriminatorValue); },
|
|
70
|
+
"success": n => { withSignerPutResponse.success = n.getBooleanValue(); },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Serializes information the current object
|
|
75
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
76
|
+
* @param WithSignerDeleteResponse The instance to serialize from.
|
|
77
|
+
* @param writer Serialization writer to use to serialize this model
|
|
78
|
+
*/
|
|
79
|
+
// @ts-ignore
|
|
80
|
+
export function serializeWithSignerDeleteResponse(writer, withSignerDeleteResponse = {}, isSerializingDerivedType = false) {
|
|
81
|
+
if (!withSignerDeleteResponse || isSerializingDerivedType) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
writer.writeObjectValue("data", withSignerDeleteResponse.data);
|
|
85
|
+
writer.writeBooleanValue("success", withSignerDeleteResponse.success);
|
|
86
|
+
writer.writeAdditionalData(withSignerDeleteResponse.additionalData);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Serializes information the current object
|
|
90
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
91
|
+
* @param WithSignerPutRequestBody The instance to serialize from.
|
|
92
|
+
* @param writer Serialization writer to use to serialize this model
|
|
93
|
+
*/
|
|
94
|
+
// @ts-ignore
|
|
95
|
+
export function serializeWithSignerPutRequestBody(writer, withSignerPutRequestBody = {}, isSerializingDerivedType = false) {
|
|
96
|
+
if (!withSignerPutRequestBody || isSerializingDerivedType) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
writer.writeStringValue("email", withSignerPutRequestBody.email);
|
|
100
|
+
writer.writeDateValue("expiresAt", withSignerPutRequestBody.expiresAt);
|
|
101
|
+
writer.writeStringValue("label", withSignerPutRequestBody.label);
|
|
102
|
+
writer.writeStringValue("name", withSignerPutRequestBody.name);
|
|
103
|
+
writer.writeAdditionalData(withSignerPutRequestBody.additionalData);
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Serializes information the current object
|
|
107
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
108
|
+
* @param WithSignerPutResponse The instance to serialize from.
|
|
109
|
+
* @param writer Serialization writer to use to serialize this model
|
|
110
|
+
*/
|
|
111
|
+
// @ts-ignore
|
|
112
|
+
export function serializeWithSignerPutResponse(writer, withSignerPutResponse = {}, isSerializingDerivedType = false) {
|
|
113
|
+
if (!withSignerPutResponse || isSerializingDerivedType) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
writer.writeObjectValue("data", withSignerPutResponse.data, serializeSigner);
|
|
117
|
+
writer.writeBooleanValue("success", withSignerPutResponse.success);
|
|
118
|
+
writer.writeAdditionalData(withSignerPutResponse.additionalData);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Uri template for the request builder.
|
|
122
|
+
*/
|
|
123
|
+
export const WithSignerItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/signers/{signerId}";
|
|
124
|
+
/**
|
|
125
|
+
* Metadata for all the requests in the request builder.
|
|
126
|
+
*/
|
|
127
|
+
export const WithSignerItemRequestBuilderRequestsMetadata = {
|
|
128
|
+
delete: {
|
|
129
|
+
uriTemplate: WithSignerItemRequestBuilderUriTemplate,
|
|
130
|
+
responseBodyContentType: "application/json",
|
|
131
|
+
adapterMethodName: "send",
|
|
132
|
+
responseBodyFactory: createWithSignerDeleteResponseFromDiscriminatorValue,
|
|
133
|
+
},
|
|
134
|
+
put: {
|
|
135
|
+
uriTemplate: WithSignerItemRequestBuilderUriTemplate,
|
|
136
|
+
responseBodyContentType: "application/json",
|
|
137
|
+
adapterMethodName: "send",
|
|
138
|
+
responseBodyFactory: createWithSignerPutResponseFromDiscriminatorValue,
|
|
139
|
+
requestBodyContentType: "application/json",
|
|
140
|
+
requestBodySerializer: serializeWithSignerPutRequestBody,
|
|
141
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
142
|
+
},
|
|
143
|
+
};
|
|
144
|
+
/* tslint:enable */
|
|
145
|
+
/* eslint-enable */
|
|
146
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,kCAAkC,EAAE,eAAe,EAAe,MAAM,yCAAyC,CAAC;AAC3H,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAkO,MAAM,+BAA+B,CAAC;AAExT;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,oDAAoD,CAAC,SAAgC;IACjG,OAAO,u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