@formalingo/sdk 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -9
- package/dist/client/api/v1/analytics/index.d.ts +20 -0
- package/dist/client/api/v1/analytics/index.d.ts.map +1 -0
- package/dist/client/api/v1/analytics/index.js +20 -0
- package/dist/client/api/v1/analytics/index.js.map +1 -0
- package/dist/client/api/v1/analytics/summary/index.d.ts +131 -0
- package/dist/client/api/v1/analytics/summary/index.d.ts.map +1 -0
- package/dist/client/api/v1/analytics/summary/index.js +137 -0
- package/dist/client/api/v1/analytics/summary/index.js.map +1 -0
- package/dist/client/api/v1/deliveries/index.d.ts +192 -0
- package/dist/client/api/v1/deliveries/index.d.ts.map +1 -0
- package/dist/client/api/v1/deliveries/index.js +189 -0
- package/dist/client/api/v1/deliveries/index.js.map +1 -0
- package/dist/client/api/v1/documents/importEscaped/index.d.ts +144 -0
- package/dist/client/api/v1/documents/importEscaped/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/importEscaped/index.js +153 -0
- package/dist/client/api/v1/documents/importEscaped/index.js.map +1 -0
- package/dist/client/api/v1/documents/index.d.ts +5 -0
- package/dist/client/api/v1/documents/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/index.js +5 -0
- package/dist/client/api/v1/documents/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts +103 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.js +102 -0
- package/dist/client/api/v1/documents/item/exportEscaped/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts +121 -7
- package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/fields/index.js +125 -0
- package/dist/client/api/v1/documents/item/fields/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts +106 -16
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/fields/item/index.js +97 -4
- package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/index.d.ts +104 -6
- package/dist/client/api/v1/documents/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/index.js +111 -4
- package/dist/client/api/v1/documents/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/parseJobs/index.d.ts +155 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.js +163 -0
- package/dist/client/api/v1/documents/item/parseJobs/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts +180 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js +189 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts +75 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.js +76 -0
- package/dist/client/api/v1/documents/item/parseJobs/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/publish/index.d.ts +200 -0
- package/dist/client/api/v1/documents/item/publish/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/publish/index.js +220 -0
- package/dist/client/api/v1/documents/item/publish/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/index.d.ts +112 -0
- package/dist/client/api/v1/documents/item/revisions/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/index.js +110 -0
- package/dist/client/api/v1/documents/item/revisions/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.d.ts +95 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.js +102 -0
- package/dist/client/api/v1/documents/item/revisions/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/index.js +4 -1
- package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +121 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js +133 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/index.d.ts +40 -30
- package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/index.js +36 -28
- package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts +280 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.js +301 -0
- package/dist/client/api/v1/documents/item/submissions/item/expire/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +86 -1
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/index.js +92 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +42 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +43 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +5 -41
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +7 -44
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +7 -2
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -1
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +5 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -1
- package/dist/client/api/v1/files/index.d.ts +22 -0
- package/dist/client/api/v1/files/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/index.js +21 -0
- package/dist/client/api/v1/files/index.js.map +1 -0
- package/dist/client/api/v1/files/item/download/index.d.ts +180 -0
- package/dist/client/api/v1/files/item/download/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/item/download/index.js +189 -0
- package/dist/client/api/v1/files/item/download/index.js.map +1 -0
- package/dist/client/api/v1/files/item/index.d.ts +20 -0
- package/dist/client/api/v1/files/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/files/item/index.js +20 -0
- package/dist/client/api/v1/files/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/index.d.ts +46 -1
- package/dist/client/api/v1/forms/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/index.js +22 -1
- package/dist/client/api/v1/forms/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/index.d.ts +18 -0
- package/dist/client/api/v1/forms/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/index.js +15 -0
- package/dist/client/api/v1/forms/item/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/publish/index.d.ts +200 -0
- package/dist/client/api/v1/forms/item/publish/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/publish/index.js +220 -0
- package/dist/client/api/v1/forms/item/publish/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts +274 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.js +302 -0
- package/dist/client/api/v1/forms/item/recipients/bulk/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts +10 -4
- package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/index.js +11 -3
- package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +3 -2
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/index.js +6 -3
- package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +4 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -1
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +2 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -1
- package/dist/client/api/v1/forms/item/revisions/index.d.ts +112 -0
- package/dist/client/api/v1/forms/item/revisions/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/index.js +110 -0
- package/dist/client/api/v1/forms/item/revisions/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.d.ts +95 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.js +102 -0
- package/dist/client/api/v1/forms/item/revisions/item/index.js.map +1 -0
- package/dist/client/api/v1/index.d.ts +25 -0
- package/dist/client/api/v1/index.d.ts.map +1 -1
- package/dist/client/api/v1/index.js +25 -0
- package/dist/client/api/v1/index.js.map +1 -1
- package/dist/client/api/v1/integrations/index.d.ts +20 -0
- package/dist/client/api/v1/integrations/index.d.ts.map +1 -0
- package/dist/client/api/v1/integrations/index.js +20 -0
- package/dist/client/api/v1/integrations/index.js.map +1 -0
- package/dist/client/api/v1/integrations/status/index.d.ts +168 -0
- package/dist/client/api/v1/integrations/status/index.d.ts.map +1 -0
- package/dist/client/api/v1/integrations/status/index.js +177 -0
- package/dist/client/api/v1/integrations/status/index.js.map +1 -0
- package/dist/client/api/v1/quota/index.d.ts +93 -0
- package/dist/client/api/v1/quota/index.d.ts.map +1 -0
- package/dist/client/api/v1/quota/index.js +99 -0
- package/dist/client/api/v1/quota/index.js.map +1 -0
- package/dist/client/formalingoClient.js +1 -1
- package/dist/client/models/index.d.ts +1963 -139
- package/dist/client/models/index.d.ts.map +1 -1
- package/dist/client/models/index.js +2001 -211
- package/dist/client/models/index.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,51 @@
|
|
|
1
|
+
import { type DocumentSubmission } from '../../../../../../models/index.js';
|
|
2
|
+
import { type ExpireRequestBuilder } from './expire/index.js';
|
|
1
3
|
import { type PdfRequestBuilder } from './pdf/index.js';
|
|
2
4
|
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';
|
|
5
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
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 {WithS404Error}
|
|
10
|
+
*/
|
|
11
|
+
export declare function createWithS404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
4
12
|
/**
|
|
5
13
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6
14
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7
15
|
* @returns {WithSDeleteResponse}
|
|
8
16
|
*/
|
|
9
17
|
export declare function createWithSDeleteResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns {WithSGetResponse}
|
|
22
|
+
*/
|
|
23
|
+
export declare function createWithSGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
24
|
+
/**
|
|
25
|
+
* The deserialization information for the current model
|
|
26
|
+
* @param WithS404Error The instance to deserialize into.
|
|
27
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
28
|
+
*/
|
|
29
|
+
export declare function deserializeIntoWithS404Error(withS404Error?: Partial<WithS404Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
10
30
|
/**
|
|
11
31
|
* The deserialization information for the current model
|
|
12
32
|
* @param WithSDeleteResponse The instance to deserialize into.
|
|
13
33
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
14
34
|
*/
|
|
15
35
|
export declare function deserializeIntoWithSDeleteResponse(withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
36
|
+
/**
|
|
37
|
+
* The deserialization information for the current model
|
|
38
|
+
* @param WithSGetResponse The instance to deserialize into.
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
|
+
*/
|
|
41
|
+
export declare function deserializeIntoWithSGetResponse(withSGetResponse?: Partial<WithSGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
42
|
+
/**
|
|
43
|
+
* Serializes information the current object
|
|
44
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
45
|
+
* @param WithS404Error The instance to serialize from.
|
|
46
|
+
* @param writer Serialization writer to use to serialize this model
|
|
47
|
+
*/
|
|
48
|
+
export declare function serializeWithS404Error(writer: SerializationWriter, withS404Error?: Partial<WithS404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
16
49
|
/**
|
|
17
50
|
* Serializes information the current object
|
|
18
51
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -20,6 +53,31 @@ export declare function deserializeIntoWithSDeleteResponse(withSDeleteResponse?:
|
|
|
20
53
|
* @param writer Serialization writer to use to serialize this model
|
|
21
54
|
*/
|
|
22
55
|
export declare function serializeWithSDeleteResponse(writer: SerializationWriter, withSDeleteResponse?: Partial<WithSDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
56
|
+
/**
|
|
57
|
+
* Serializes information the current object
|
|
58
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
59
|
+
* @param WithSGetResponse The instance to serialize from.
|
|
60
|
+
* @param writer Serialization writer to use to serialize this model
|
|
61
|
+
*/
|
|
62
|
+
export declare function serializeWithSGetResponse(writer: SerializationWriter, withSGetResponse?: Partial<WithSGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
63
|
+
export interface WithS404Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
64
|
+
/**
|
|
65
|
+
* Stable machine-readable error code when available.
|
|
66
|
+
*/
|
|
67
|
+
code?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The error property
|
|
70
|
+
*/
|
|
71
|
+
errorEscaped?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The hint property
|
|
74
|
+
*/
|
|
75
|
+
hint?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* The success property
|
|
78
|
+
*/
|
|
79
|
+
success?: boolean | null;
|
|
80
|
+
}
|
|
23
81
|
export interface WithSDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
24
82
|
/**
|
|
25
83
|
* The data property
|
|
@@ -30,10 +88,24 @@ export interface WithSDeleteResponse extends AdditionalDataHolder, Parsable {
|
|
|
30
88
|
*/
|
|
31
89
|
success?: boolean | null;
|
|
32
90
|
}
|
|
91
|
+
export interface WithSGetResponse extends AdditionalDataHolder, Parsable {
|
|
92
|
+
/**
|
|
93
|
+
* The data property
|
|
94
|
+
*/
|
|
95
|
+
data?: DocumentSubmission | null;
|
|
96
|
+
/**
|
|
97
|
+
* The success property
|
|
98
|
+
*/
|
|
99
|
+
success?: boolean | null;
|
|
100
|
+
}
|
|
33
101
|
/**
|
|
34
102
|
* Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}
|
|
35
103
|
*/
|
|
36
104
|
export interface WithSItemRequestBuilder extends BaseRequestBuilder<WithSItemRequestBuilder> {
|
|
105
|
+
/**
|
|
106
|
+
* The expire property
|
|
107
|
+
*/
|
|
108
|
+
get expire(): ExpireRequestBuilder;
|
|
37
109
|
/**
|
|
38
110
|
* The pdf property
|
|
39
111
|
*/
|
|
@@ -48,12 +120,25 @@ export interface WithSItemRequestBuilder extends BaseRequestBuilder<WithSItemReq
|
|
|
48
120
|
* @returns {Promise<WithSDeleteResponse>}
|
|
49
121
|
*/
|
|
50
122
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSDeleteResponse | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Get a submission status
|
|
125
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
126
|
+
* @returns {Promise<WithSGetResponse>}
|
|
127
|
+
* @throws {WithS404Error} error when the service returns a 404 status code
|
|
128
|
+
*/
|
|
129
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSGetResponse | undefined>;
|
|
51
130
|
/**
|
|
52
131
|
* Delete a submission
|
|
53
132
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
54
133
|
* @returns {RequestInformation}
|
|
55
134
|
*/
|
|
56
135
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
136
|
+
/**
|
|
137
|
+
* Get a submission status
|
|
138
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
139
|
+
* @returns {RequestInformation}
|
|
140
|
+
*/
|
|
141
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
57
142
|
}
|
|
58
143
|
/**
|
|
59
144
|
* Uri template for the request builder.
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/submissions/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEzJ,OAAO,EAAwC,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEpG,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,OAAO,EAA2C,KAAK,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// @ts-ignore
|
|
5
|
+
import { createDocumentSubmissionFromDiscriminatorValue, serializeDocumentSubmission } from '../../../../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { ExpireRequestBuilderRequestsMetadata } from './expire/index.js';
|
|
8
|
+
// @ts-ignore
|
|
5
9
|
import { PdfRequestBuilderRequestsMetadata } from './pdf/index.js';
|
|
6
10
|
// @ts-ignore
|
|
7
11
|
import { SignersRequestBuilderNavigationMetadata, SignersRequestBuilderRequestsMetadata } from './signers/index.js';
|
|
8
12
|
// @ts-ignore
|
|
9
13
|
import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstractions';
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
16
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
17
|
+
* @returns {WithS404Error}
|
|
18
|
+
*/
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
export function createWithS404ErrorFromDiscriminatorValue(parseNode) {
|
|
21
|
+
return deserializeIntoWithS404Error;
|
|
22
|
+
}
|
|
10
23
|
/**
|
|
11
24
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
12
25
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -16,6 +29,29 @@ import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstra
|
|
|
16
29
|
export function createWithSDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
17
30
|
return deserializeIntoWithSDeleteResponse;
|
|
18
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
34
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
35
|
+
* @returns {WithSGetResponse}
|
|
36
|
+
*/
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
export function createWithSGetResponseFromDiscriminatorValue(parseNode) {
|
|
39
|
+
return deserializeIntoWithSGetResponse;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The deserialization information for the current model
|
|
43
|
+
* @param WithS404Error The instance to deserialize into.
|
|
44
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45
|
+
*/
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
export function deserializeIntoWithS404Error(withS404Error = {}) {
|
|
48
|
+
return {
|
|
49
|
+
"code": n => { withS404Error.code = n.getStringValue(); },
|
|
50
|
+
"error": n => { withS404Error.errorEscaped = n.getStringValue(); },
|
|
51
|
+
"hint": n => { withS404Error.hint = n.getStringValue(); },
|
|
52
|
+
"success": n => { withS404Error.success = n.getBooleanValue(); },
|
|
53
|
+
};
|
|
54
|
+
}
|
|
19
55
|
/**
|
|
20
56
|
* The deserialization information for the current model
|
|
21
57
|
* @param WithSDeleteResponse The instance to deserialize into.
|
|
@@ -28,6 +64,35 @@ export function deserializeIntoWithSDeleteResponse(withSDeleteResponse = {}) {
|
|
|
28
64
|
"success": n => { withSDeleteResponse.success = n.getBooleanValue(); },
|
|
29
65
|
};
|
|
30
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* The deserialization information for the current model
|
|
69
|
+
* @param WithSGetResponse The instance to deserialize into.
|
|
70
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
71
|
+
*/
|
|
72
|
+
// @ts-ignore
|
|
73
|
+
export function deserializeIntoWithSGetResponse(withSGetResponse = {}) {
|
|
74
|
+
return {
|
|
75
|
+
"data": n => { withSGetResponse.data = n.getObjectValue(createDocumentSubmissionFromDiscriminatorValue); },
|
|
76
|
+
"success": n => { withSGetResponse.success = n.getBooleanValue(); },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Serializes information the current object
|
|
81
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
82
|
+
* @param WithS404Error The instance to serialize from.
|
|
83
|
+
* @param writer Serialization writer to use to serialize this model
|
|
84
|
+
*/
|
|
85
|
+
// @ts-ignore
|
|
86
|
+
export function serializeWithS404Error(writer, withS404Error = {}, isSerializingDerivedType = false) {
|
|
87
|
+
if (!withS404Error || isSerializingDerivedType) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
writer.writeStringValue("code", withS404Error.code);
|
|
91
|
+
writer.writeStringValue("error", withS404Error.errorEscaped);
|
|
92
|
+
writer.writeStringValue("hint", withS404Error.hint);
|
|
93
|
+
writer.writeBooleanValue("success", withS404Error.success);
|
|
94
|
+
writer.writeAdditionalData(withS404Error.additionalData);
|
|
95
|
+
}
|
|
31
96
|
/**
|
|
32
97
|
* Serializes information the current object
|
|
33
98
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -43,6 +108,21 @@ export function serializeWithSDeleteResponse(writer, withSDeleteResponse = {}, i
|
|
|
43
108
|
writer.writeBooleanValue("success", withSDeleteResponse.success);
|
|
44
109
|
writer.writeAdditionalData(withSDeleteResponse.additionalData);
|
|
45
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* Serializes information the current object
|
|
113
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
114
|
+
* @param WithSGetResponse The instance to serialize from.
|
|
115
|
+
* @param writer Serialization writer to use to serialize this model
|
|
116
|
+
*/
|
|
117
|
+
// @ts-ignore
|
|
118
|
+
export function serializeWithSGetResponse(writer, withSGetResponse = {}, isSerializingDerivedType = false) {
|
|
119
|
+
if (!withSGetResponse || isSerializingDerivedType) {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
writer.writeObjectValue("data", withSGetResponse.data, serializeDocumentSubmission);
|
|
123
|
+
writer.writeBooleanValue("success", withSGetResponse.success);
|
|
124
|
+
writer.writeAdditionalData(withSGetResponse.additionalData);
|
|
125
|
+
}
|
|
46
126
|
/**
|
|
47
127
|
* Uri template for the request builder.
|
|
48
128
|
*/
|
|
@@ -51,6 +131,9 @@ export const WithSItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{
|
|
|
51
131
|
* Metadata for all the navigation properties in the request builder.
|
|
52
132
|
*/
|
|
53
133
|
export const WithSItemRequestBuilderNavigationMetadata = {
|
|
134
|
+
expire: {
|
|
135
|
+
requestsMetadata: ExpireRequestBuilderRequestsMetadata,
|
|
136
|
+
},
|
|
54
137
|
pdf: {
|
|
55
138
|
requestsMetadata: PdfRequestBuilderRequestsMetadata,
|
|
56
139
|
},
|
|
@@ -69,6 +152,15 @@ export const WithSItemRequestBuilderRequestsMetadata = {
|
|
|
69
152
|
adapterMethodName: "send",
|
|
70
153
|
responseBodyFactory: createWithSDeleteResponseFromDiscriminatorValue,
|
|
71
154
|
},
|
|
155
|
+
get: {
|
|
156
|
+
uriTemplate: WithSItemRequestBuilderUriTemplate,
|
|
157
|
+
responseBodyContentType: "application/json",
|
|
158
|
+
errorMappings: {
|
|
159
|
+
404: createWithS404ErrorFromDiscriminatorValue,
|
|
160
|
+
},
|
|
161
|
+
adapterMethodName: "send",
|
|
162
|
+
responseBodyFactory: createWithSGetResponseFromDiscriminatorValue,
|
|
163
|
+
},
|
|
72
164
|
};
|
|
73
165
|
/* tslint:enable */
|
|
74
166
|
/* eslint-enable */
|
|
@@ -1 +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,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAC3F,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AAChJ,aAAa;AACb,OAAO,EAAE,uCAAuC,
|
|
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,8CAA8C,EAAE,2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AC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;KACxE;IACD,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,yCAAsE;SAC9E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { type SubmissionPdf } from '../../../../../../../models/index.js';
|
|
2
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 {Pdf403Error}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createPdf403ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
3
9
|
/**
|
|
4
10
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
11
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -12,6 +18,12 @@ export declare function createPdf404ErrorFromDiscriminatorValue(parseNode: Parse
|
|
|
12
18
|
* @returns {PdfGetResponse}
|
|
13
19
|
*/
|
|
14
20
|
export declare function createPdfGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
21
|
+
/**
|
|
22
|
+
* The deserialization information for the current model
|
|
23
|
+
* @param Pdf403Error The instance to deserialize into.
|
|
24
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
25
|
+
*/
|
|
26
|
+
export declare function deserializeIntoPdf403Error(pdf403Error?: Partial<Pdf403Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
27
|
/**
|
|
16
28
|
* The deserialization information for the current model
|
|
17
29
|
* @param Pdf404Error The instance to deserialize into.
|
|
@@ -24,7 +36,29 @@ export declare function deserializeIntoPdf404Error(pdf404Error?: Partial<Pdf404E
|
|
|
24
36
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
25
37
|
*/
|
|
26
38
|
export declare function deserializeIntoPdfGetResponse(pdfGetResponse?: Partial<PdfGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
39
|
+
export interface Pdf403Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
40
|
+
/**
|
|
41
|
+
* Stable machine-readable error code when available.
|
|
42
|
+
*/
|
|
43
|
+
code?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* The error property
|
|
46
|
+
*/
|
|
47
|
+
errorEscaped?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The hint property
|
|
50
|
+
*/
|
|
51
|
+
hint?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The success property
|
|
54
|
+
*/
|
|
55
|
+
success?: boolean | null;
|
|
56
|
+
}
|
|
27
57
|
export interface Pdf404Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
58
|
+
/**
|
|
59
|
+
* Stable machine-readable error code when available.
|
|
60
|
+
*/
|
|
61
|
+
code?: string | null;
|
|
28
62
|
/**
|
|
29
63
|
* The error property
|
|
30
64
|
*/
|
|
@@ -56,6 +90,7 @@ export interface PdfRequestBuilder extends BaseRequestBuilder<PdfRequestBuilder>
|
|
|
56
90
|
* 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
91
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
92
|
* @returns {Promise<PdfGetResponse>}
|
|
93
|
+
* @throws {Pdf403Error} error when the service returns a 403 status code
|
|
59
94
|
* @throws {Pdf404Error} error when the service returns a 404 status code
|
|
60
95
|
*/
|
|
61
96
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PdfGetResponse | undefined>;
|
|
@@ -66,6 +101,13 @@ export interface PdfRequestBuilder extends BaseRequestBuilder<PdfRequestBuilder>
|
|
|
66
101
|
*/
|
|
67
102
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
68
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Serializes information the current object
|
|
106
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
107
|
+
* @param Pdf403Error The instance to serialize from.
|
|
108
|
+
* @param writer Serialization writer to use to serialize this model
|
|
109
|
+
*/
|
|
110
|
+
export declare function serializePdf403Error(writer: SerializationWriter, pdf403Error?: Partial<Pdf403Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
69
111
|
/**
|
|
70
112
|
* Serializes information the current object
|
|
71
113
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/pdf/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAE7I,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,QAAQ,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;AAE5Q;;;;GAIG;AAEH,wBAAgB,uCAAuC,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,CAE/J;AACD;;;;G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|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import { createSubmissionPdfFromDiscriminatorValue, serializeSubmissionPdf } 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 {Pdf403Error}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createPdf403ErrorFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoPdf403Error;
|
|
14
|
+
}
|
|
6
15
|
/**
|
|
7
16
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
17
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -21,6 +30,20 @@ export function createPdf404ErrorFromDiscriminatorValue(parseNode) {
|
|
|
21
30
|
export function createPdfGetResponseFromDiscriminatorValue(parseNode) {
|
|
22
31
|
return deserializeIntoPdfGetResponse;
|
|
23
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* The deserialization information for the current model
|
|
35
|
+
* @param Pdf403Error The instance to deserialize into.
|
|
36
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37
|
+
*/
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export function deserializeIntoPdf403Error(pdf403Error = {}) {
|
|
40
|
+
return {
|
|
41
|
+
"code": n => { pdf403Error.code = n.getStringValue(); },
|
|
42
|
+
"error": n => { pdf403Error.errorEscaped = n.getStringValue(); },
|
|
43
|
+
"hint": n => { pdf403Error.hint = n.getStringValue(); },
|
|
44
|
+
"success": n => { pdf403Error.success = n.getBooleanValue(); },
|
|
45
|
+
};
|
|
46
|
+
}
|
|
24
47
|
/**
|
|
25
48
|
* The deserialization information for the current model
|
|
26
49
|
* @param Pdf404Error The instance to deserialize into.
|
|
@@ -29,6 +52,7 @@ export function createPdfGetResponseFromDiscriminatorValue(parseNode) {
|
|
|
29
52
|
// @ts-ignore
|
|
30
53
|
export function deserializeIntoPdf404Error(pdf404Error = {}) {
|
|
31
54
|
return {
|
|
55
|
+
"code": n => { pdf404Error.code = n.getStringValue(); },
|
|
32
56
|
"error": n => { pdf404Error.errorEscaped = n.getStringValue(); },
|
|
33
57
|
"hint": n => { pdf404Error.hint = n.getStringValue(); },
|
|
34
58
|
"success": n => { pdf404Error.success = n.getBooleanValue(); },
|
|
@@ -46,6 +70,23 @@ export function deserializeIntoPdfGetResponse(pdfGetResponse = {}) {
|
|
|
46
70
|
"success": n => { pdfGetResponse.success = n.getBooleanValue(); },
|
|
47
71
|
};
|
|
48
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* Serializes information the current object
|
|
75
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
76
|
+
* @param Pdf403Error The instance to serialize from.
|
|
77
|
+
* @param writer Serialization writer to use to serialize this model
|
|
78
|
+
*/
|
|
79
|
+
// @ts-ignore
|
|
80
|
+
export function serializePdf403Error(writer, pdf403Error = {}, isSerializingDerivedType = false) {
|
|
81
|
+
if (!pdf403Error || isSerializingDerivedType) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
writer.writeStringValue("code", pdf403Error.code);
|
|
85
|
+
writer.writeStringValue("error", pdf403Error.errorEscaped);
|
|
86
|
+
writer.writeStringValue("hint", pdf403Error.hint);
|
|
87
|
+
writer.writeBooleanValue("success", pdf403Error.success);
|
|
88
|
+
writer.writeAdditionalData(pdf403Error.additionalData);
|
|
89
|
+
}
|
|
49
90
|
/**
|
|
50
91
|
* Serializes information the current object
|
|
51
92
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -57,6 +98,7 @@ export function serializePdf404Error(writer, pdf404Error = {}, isSerializingDeri
|
|
|
57
98
|
if (!pdf404Error || isSerializingDerivedType) {
|
|
58
99
|
return;
|
|
59
100
|
}
|
|
101
|
+
writer.writeStringValue("code", pdf404Error.code);
|
|
60
102
|
writer.writeStringValue("error", pdf404Error.errorEscaped);
|
|
61
103
|
writer.writeStringValue("hint", pdf404Error.hint);
|
|
62
104
|
writer.writeBooleanValue("success", pdf404Error.success);
|
|
@@ -89,6 +131,7 @@ export const PdfRequestBuilderRequestsMetadata = {
|
|
|
89
131
|
uriTemplate: PdfRequestBuilderUriTemplate,
|
|
90
132
|
responseBodyContentType: "application/json",
|
|
91
133
|
errorMappings: {
|
|
134
|
+
403: createPdf403ErrorFromDiscriminatorValue,
|
|
92
135
|
404: createPdf404ErrorFromDiscriminatorValue,
|
|
93
136
|
},
|
|
94
137
|
adapterMethodName: "send",
|
|
@@ -1 +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,CAAC,EAAE,GAAG,WAAW,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KACjE,CAAA;AACL,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6BAA6B,CAAC,iBAAsD,EAAE;IAClG,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,cAAc,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,CAAgB,yCAAyC,CAAC,CAAC,CAAC,CAAC;QAClH,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KACpE,CAAA;AACL,CAAC;
|
|
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,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,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACvD,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,WAAW,CAAC,YAAY,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAChE,MAAM,EAAE,CAAC,CAAC,EA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IAC5F,MAAM,CAAC,iBAAiB,CAAC,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;YACzE,GAAG,EAAE,uCAAoE;SAC5E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,0CAA0C;KACnE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type SignerUpdate, type UpdateSignerBody } from '../../../../../../../../models/index.js';
|
|
2
2
|
import { type ResponsesRequestBuilder } from './responses/index.js';
|
|
3
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
4
|
/**
|
|
@@ -7,12 +7,6 @@ import { type AdditionalDataHolder, type BaseRequestBuilder, type KeysToExcludeF
|
|
|
7
7
|
* @returns {WithSignerDeleteResponse}
|
|
8
8
|
*/
|
|
9
9
|
export declare function createWithSignerDeleteResponseFromDiscriminatorValue(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 {WithSignerPutRequestBody}
|
|
14
|
-
*/
|
|
15
|
-
export declare function createWithSignerPutRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
16
10
|
/**
|
|
17
11
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
12
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -25,12 +19,6 @@ export declare function createWithSignerPutResponseFromDiscriminatorValue(parseN
|
|
|
25
19
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
26
20
|
*/
|
|
27
21
|
export declare function deserializeIntoWithSignerDeleteResponse(withSignerDeleteResponse?: Partial<WithSignerDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
28
|
-
/**
|
|
29
|
-
* The deserialization information for the current model
|
|
30
|
-
* @param WithSignerPutRequestBody The instance to deserialize into.
|
|
31
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
32
|
-
*/
|
|
33
|
-
export declare function deserializeIntoWithSignerPutRequestBody(withSignerPutRequestBody?: Partial<WithSignerPutRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
34
22
|
/**
|
|
35
23
|
* The deserialization information for the current model
|
|
36
24
|
* @param WithSignerPutResponse The instance to deserialize into.
|
|
@@ -44,13 +32,6 @@ export declare function deserializeIntoWithSignerPutResponse(withSignerPutRespon
|
|
|
44
32
|
* @param writer Serialization writer to use to serialize this model
|
|
45
33
|
*/
|
|
46
34
|
export declare function serializeWithSignerDeleteResponse(writer: SerializationWriter, withSignerDeleteResponse?: Partial<WithSignerDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
47
|
-
/**
|
|
48
|
-
* Serializes information the current object
|
|
49
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
50
|
-
* @param WithSignerPutRequestBody The instance to serialize from.
|
|
51
|
-
* @param writer Serialization writer to use to serialize this model
|
|
52
|
-
*/
|
|
53
|
-
export declare function serializeWithSignerPutRequestBody(writer: SerializationWriter, withSignerPutRequestBody?: Partial<WithSignerPutRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
54
35
|
/**
|
|
55
36
|
* Serializes information the current object
|
|
56
37
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -87,8 +68,9 @@ export interface WithSignerItemRequestBuilder extends BaseRequestBuilder<WithSig
|
|
|
87
68
|
* @param body The request body
|
|
88
69
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
89
70
|
* @returns {Promise<WithSignerPutResponse>}
|
|
71
|
+
* @throws {ValidationError} error when the service returns a 400 status code
|
|
90
72
|
*/
|
|
91
|
-
put(body:
|
|
73
|
+
put(body: UpdateSignerBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithSignerPutResponse | undefined>;
|
|
92
74
|
/**
|
|
93
75
|
* Remove a signer
|
|
94
76
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -101,31 +83,13 @@ export interface WithSignerItemRequestBuilder extends BaseRequestBuilder<WithSig
|
|
|
101
83
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
102
84
|
* @returns {RequestInformation}
|
|
103
85
|
*/
|
|
104
|
-
toPutRequestInformation(body:
|
|
105
|
-
}
|
|
106
|
-
export interface WithSignerPutRequestBody extends AdditionalDataHolder, Parsable {
|
|
107
|
-
/**
|
|
108
|
-
* The email property
|
|
109
|
-
*/
|
|
110
|
-
email?: string | null;
|
|
111
|
-
/**
|
|
112
|
-
* The expiresAt property
|
|
113
|
-
*/
|
|
114
|
-
expiresAt?: Date | null;
|
|
115
|
-
/**
|
|
116
|
-
* The label property
|
|
117
|
-
*/
|
|
118
|
-
label?: string | null;
|
|
119
|
-
/**
|
|
120
|
-
* The name property
|
|
121
|
-
*/
|
|
122
|
-
name?: string | null;
|
|
86
|
+
toPutRequestInformation(body: UpdateSignerBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
123
87
|
}
|
|
124
88
|
export interface WithSignerPutResponse extends AdditionalDataHolder, Parsable {
|
|
125
89
|
/**
|
|
126
90
|
* The data property
|
|
127
91
|
*/
|
|
128
|
-
data?:
|
|
92
|
+
data?: SignerUpdate | null;
|
|
129
93
|
/**
|
|
130
94
|
* The success property
|
|
131
95
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2I,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAwB,MAAM,yCAAyC,CAAC;AAElQ,OAAO,EAA2C,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,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,oDAAoD,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,CAE5K;AACD;;;;GAIG;AAEH,wBAAgB,iDAAiD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK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