@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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { createSignerUpdateFromDiscriminatorValue, createValidationErrorFromDiscriminatorValue, serializeSignerUpdate, serializeUpdateSignerBody } from '../../../../../../../../models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { ResponsesRequestBuilderRequestsMetadata } from './responses/index.js';
|
|
8
8
|
// @ts-ignore
|
|
@@ -16,15 +16,6 @@ import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstra
|
|
|
16
16
|
export function createWithSignerDeleteResponseFromDiscriminatorValue(parseNode) {
|
|
17
17
|
return deserializeIntoWithSignerDeleteResponse;
|
|
18
18
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
21
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
22
|
-
* @returns {WithSignerPutRequestBody}
|
|
23
|
-
*/
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
export function createWithSignerPutRequestBodyFromDiscriminatorValue(parseNode) {
|
|
26
|
-
return deserializeIntoWithSignerPutRequestBody;
|
|
27
|
-
}
|
|
28
19
|
/**
|
|
29
20
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
30
21
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -46,20 +37,6 @@ export function deserializeIntoWithSignerDeleteResponse(withSignerDeleteResponse
|
|
|
46
37
|
"success": n => { withSignerDeleteResponse.success = n.getBooleanValue(); },
|
|
47
38
|
};
|
|
48
39
|
}
|
|
49
|
-
/**
|
|
50
|
-
* The deserialization information for the current model
|
|
51
|
-
* @param WithSignerPutRequestBody The instance to deserialize into.
|
|
52
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
53
|
-
*/
|
|
54
|
-
// @ts-ignore
|
|
55
|
-
export function deserializeIntoWithSignerPutRequestBody(withSignerPutRequestBody = {}) {
|
|
56
|
-
return {
|
|
57
|
-
"email": n => { withSignerPutRequestBody.email = n.getStringValue(); },
|
|
58
|
-
"expiresAt": n => { withSignerPutRequestBody.expiresAt = n.getDateValue(); },
|
|
59
|
-
"label": n => { withSignerPutRequestBody.label = n.getStringValue(); },
|
|
60
|
-
"name": n => { withSignerPutRequestBody.name = n.getStringValue(); },
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
40
|
/**
|
|
64
41
|
* The deserialization information for the current model
|
|
65
42
|
* @param WithSignerPutResponse The instance to deserialize into.
|
|
@@ -68,7 +45,7 @@ export function deserializeIntoWithSignerPutRequestBody(withSignerPutRequestBody
|
|
|
68
45
|
// @ts-ignore
|
|
69
46
|
export function deserializeIntoWithSignerPutResponse(withSignerPutResponse = {}) {
|
|
70
47
|
return {
|
|
71
|
-
"data": n => { withSignerPutResponse.data = n.getObjectValue(
|
|
48
|
+
"data": n => { withSignerPutResponse.data = n.getObjectValue(createSignerUpdateFromDiscriminatorValue); },
|
|
72
49
|
"success": n => { withSignerPutResponse.success = n.getBooleanValue(); },
|
|
73
50
|
};
|
|
74
51
|
}
|
|
@@ -87,23 +64,6 @@ export function serializeWithSignerDeleteResponse(writer, withSignerDeleteRespon
|
|
|
87
64
|
writer.writeBooleanValue("success", withSignerDeleteResponse.success);
|
|
88
65
|
writer.writeAdditionalData(withSignerDeleteResponse.additionalData);
|
|
89
66
|
}
|
|
90
|
-
/**
|
|
91
|
-
* Serializes information the current object
|
|
92
|
-
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
93
|
-
* @param WithSignerPutRequestBody The instance to serialize from.
|
|
94
|
-
* @param writer Serialization writer to use to serialize this model
|
|
95
|
-
*/
|
|
96
|
-
// @ts-ignore
|
|
97
|
-
export function serializeWithSignerPutRequestBody(writer, withSignerPutRequestBody = {}, isSerializingDerivedType = false) {
|
|
98
|
-
if (!withSignerPutRequestBody || isSerializingDerivedType) {
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
writer.writeStringValue("email", withSignerPutRequestBody.email);
|
|
102
|
-
writer.writeDateValue("expiresAt", withSignerPutRequestBody.expiresAt);
|
|
103
|
-
writer.writeStringValue("label", withSignerPutRequestBody.label);
|
|
104
|
-
writer.writeStringValue("name", withSignerPutRequestBody.name);
|
|
105
|
-
writer.writeAdditionalData(withSignerPutRequestBody.additionalData);
|
|
106
|
-
}
|
|
107
67
|
/**
|
|
108
68
|
* Serializes information the current object
|
|
109
69
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -115,7 +75,7 @@ export function serializeWithSignerPutResponse(writer, withSignerPutResponse = {
|
|
|
115
75
|
if (!withSignerPutResponse || isSerializingDerivedType) {
|
|
116
76
|
return;
|
|
117
77
|
}
|
|
118
|
-
writer.writeObjectValue("data", withSignerPutResponse.data,
|
|
78
|
+
writer.writeObjectValue("data", withSignerPutResponse.data, serializeSignerUpdate);
|
|
119
79
|
writer.writeBooleanValue("success", withSignerPutResponse.success);
|
|
120
80
|
writer.writeAdditionalData(withSignerPutResponse.additionalData);
|
|
121
81
|
}
|
|
@@ -144,10 +104,13 @@ export const WithSignerItemRequestBuilderRequestsMetadata = {
|
|
|
144
104
|
put: {
|
|
145
105
|
uriTemplate: WithSignerItemRequestBuilderUriTemplate,
|
|
146
106
|
responseBodyContentType: "application/json",
|
|
107
|
+
errorMappings: {
|
|
108
|
+
400: createValidationErrorFromDiscriminatorValue,
|
|
109
|
+
},
|
|
147
110
|
adapterMethodName: "send",
|
|
148
111
|
responseBodyFactory: createWithSignerPutResponseFromDiscriminatorValue,
|
|
149
112
|
requestBodyContentType: "application/json",
|
|
150
|
-
requestBodySerializer:
|
|
113
|
+
requestBodySerializer: serializeUpdateSignerBody,
|
|
151
114
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
152
115
|
},
|
|
153
116
|
};
|
|
@@ -1 +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,
|
|
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,wCAAwC,EAAE,2CAA2C,EAAE,qBAAqB,EAAE,yBAAyB,EAAkE,MAAM,yCAAyC,CAAC;AAClQ,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAgC,MAAM,sBAAsB,CAAC;AAC7G,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAoS,MAAM,+BAA+B,CAAC;AAE1X;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,oDAAoD,CAAC,SAAgC;IACjG,OAAO,uCAAuC,CAAC;AACnD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,iDAAiD,CAAC,SAAgC;IAC9F,OAAO,oCAAoC,CAAC;AAChD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb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C,OAAO;IAAC,CAAC;IACnE,MAAM,CAAC,gBAAgB,CAAe,MAAM,EAAE,qBAAqB,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC;IACjG,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;IACnE,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,cAAc,CAAC,CAAC;AACrE,CAAC;AAyDD;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,uEAAuE,CAAC;AAC/H;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,SAAS,EAAE;QACP,gBAAgB,EAAE,uCAAuC;KAC5D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,MAAM,EAAE;QACJ,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oDAAoD;KAC7E;IACD,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,2CAAwE;SAChF;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iDAAiD;QACvE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ export declare function deserializeIntoResponsesGetResponse(responsesGetResponse
|
|
|
37
37
|
*/
|
|
38
38
|
export declare function deserializeIntoResponsesPatchResponse(responsesPatchResponse?: Partial<ResponsesPatchResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
39
39
|
export interface Responses409Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
40
|
+
/**
|
|
41
|
+
* Stable machine-readable error code when available.
|
|
42
|
+
*/
|
|
43
|
+
code?: string | null;
|
|
40
44
|
/**
|
|
41
45
|
* The error property
|
|
42
46
|
*/
|
|
@@ -75,9 +79,10 @@ export interface ResponsesPatchResponse extends AdditionalDataHolder, Parsable {
|
|
|
75
79
|
*/
|
|
76
80
|
export interface ResponsesRequestBuilder extends BaseRequestBuilder<ResponsesRequestBuilder> {
|
|
77
81
|
/**
|
|
78
|
-
* Returns
|
|
82
|
+
* Returns saved responses classified from immutable submission metadata. Supporting upload responses are included for the document creator or a workspace API key with submissions:download_files, and omitted for other clients. Uploaded values use the existing authenticated file-descriptor download flow.
|
|
79
83
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
80
84
|
* @returns {Promise<ResponsesGetResponse>}
|
|
85
|
+
* @throws {Responses409Error} error when the service returns a 409 status code
|
|
81
86
|
*/
|
|
82
87
|
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ResponsesGetResponse | undefined>;
|
|
83
88
|
/**
|
|
@@ -89,7 +94,7 @@ export interface ResponsesRequestBuilder extends BaseRequestBuilder<ResponsesReq
|
|
|
89
94
|
*/
|
|
90
95
|
patch(body: UpdateSignerResponsesBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ResponsesPatchResponse | undefined>;
|
|
91
96
|
/**
|
|
92
|
-
* Returns
|
|
97
|
+
* Returns saved responses classified from immutable submission metadata. Supporting upload responses are included for the document creator or a workspace API key with submissions:download_files, and omitted for other clients. Uploaded values use the existing authenticated file-descriptor download flow.
|
|
93
98
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
94
99
|
* @returns {RequestInformation}
|
|
95
100
|
*/
|
package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/responses/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2G,KAAK,cAAc,EAAE,KAAK,yBAAyB,EAAE,MAAM,4CAA4C,CAAC;AAE1N,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,6CAA6C,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,CAErK;AACD;;;;GAIG;AAEH,wBAAgB,gDAAgD,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,CAExK;AACD;;;;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,KAAK,IAAI,CAAC,CAAC,CAE1K;AACD;;;;GAIG;AAEH,wBAAgB,gCAAgC,CAAC,iBAAiB,GAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/responses/index.ts"],"names":[],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,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;;;;GAKG;AAEH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,mBAAmB,EAAE,iBAAiB,GAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAO/L;AACD;;;;;GAKG;AAEH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKxM;AACD;;;;;GAKG;AAEH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,GAAE,OAAO,CAAC,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAK9M;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,oFAAoF,CAAC;AACpI;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAsBrD,CAAC"}
|
|
@@ -38,6 +38,7 @@ export function createResponsesPatchResponseFromDiscriminatorValue(parseNode) {
|
|
|
38
38
|
// @ts-ignore
|
|
39
39
|
export function deserializeIntoResponses409Error(responses409Error = {}) {
|
|
40
40
|
return {
|
|
41
|
+
"code": n => { responses409Error.code = n.getStringValue(); },
|
|
41
42
|
"error": n => { responses409Error.errorEscaped = n.getStringValue(); },
|
|
42
43
|
"hint": n => { responses409Error.hint = n.getStringValue(); },
|
|
43
44
|
"success": n => { responses409Error.success = n.getBooleanValue(); },
|
|
@@ -78,6 +79,7 @@ export function serializeResponses409Error(writer, responses409Error = {}, isSer
|
|
|
78
79
|
if (!responses409Error || isSerializingDerivedType) {
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
82
|
+
writer.writeStringValue("code", responses409Error.code);
|
|
81
83
|
writer.writeStringValue("error", responses409Error.errorEscaped);
|
|
82
84
|
writer.writeStringValue("hint", responses409Error.hint);
|
|
83
85
|
writer.writeBooleanValue("success", responses409Error.success);
|
|
@@ -124,6 +126,9 @@ export const ResponsesRequestBuilderRequestsMetadata = {
|
|
|
124
126
|
get: {
|
|
125
127
|
uriTemplate: ResponsesRequestBuilderUriTemplate,
|
|
126
128
|
responseBodyContentType: "application/json",
|
|
129
|
+
errorMappings: {
|
|
130
|
+
409: createResponses409ErrorFromDiscriminatorValue,
|
|
131
|
+
},
|
|
127
132
|
adapterMethodName: "send",
|
|
128
133
|
responseBodyFactory: createResponsesGetResponseFromDiscriminatorValue,
|
|
129
134
|
},
|
package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/responses/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uBAAuB,EAAE,kCAAkC,EAAuD,MAAM,4CAA4C,CAAC;AAI1N;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6CAA6C,CAAC,SAAgC;IAC1F,OAAO,gCAAgC,CAAC;AAC5C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;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
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../../src/client/api/v1/documents/item/submissions/item/signers/item/responses/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,uBAAuB,EAAE,kCAAkC,EAAuD,MAAM,4CAA4C,CAAC;AAI1N;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6CAA6C,CAAC,SAAgC;IAC1F,OAAO,gCAAgC,CAAC;AAC5C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gCAAgC,CAAC,oBAA4D,EAAE;IAC3G,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,iBAAiB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC7D,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,iBAAiB,CAAC,YAAY,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACtE,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,iBAAiB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC7D,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,iBAAiB,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KACvE,CAAA;AACL,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mCAAmC,CAAC,uBAAkE,EAAE;IACpH,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,G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B,EAAG,kDAAkD;QACxE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type WithFileItemRequestBuilder } from './item/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Builds and executes requests for operations under /api/v1/files
|
|
5
|
+
*/
|
|
6
|
+
export interface FilesRequestBuilder extends BaseRequestBuilder<FilesRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets an item from the formalingo.api.v1.files.item collection
|
|
9
|
+
* @param fileId Unique identifier of the item
|
|
10
|
+
* @returns {WithFileItemRequestBuilder}
|
|
11
|
+
*/
|
|
12
|
+
byFileId(fileId: Guid): WithFileItemRequestBuilder;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export declare const FilesRequestBuilderUriTemplate = "{+baseurl}/api/v1/files";
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
export declare const FilesRequestBuilderNavigationMetadata: Record<Exclude<keyof FilesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/client/api/v1/files/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,0BAA0B,EAAgD,MAAM,iBAAiB,CAAC;AAEhH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAErJ;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAI,0BAA0B,CAAC;CACxD;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4BAA4B,CAAC;AACxE;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKpJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { WithFileItemRequestBuilderNavigationMetadata } from './item/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const FilesRequestBuilderUriTemplate = "{+baseurl}/api/v1/files";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the navigation properties in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const FilesRequestBuilderNavigationMetadata = {
|
|
14
|
+
byFileId: {
|
|
15
|
+
navigationMetadata: WithFileItemRequestBuilderNavigationMetadata,
|
|
16
|
+
pathParametersMappings: ["fileId"],
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
/* tslint:enable */
|
|
20
|
+
/* eslint-enable */
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/client/api/v1/files/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAmC,4CAA4C,EAAE,MAAM,iBAAiB,CAAC;AAehH;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAyB,CAAC;AACxE;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAuG;IACrJ,QAAQ,EAAE;QACN,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,QAAQ,CAAC;KACrC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { type FileDownloadResponse } from '../../../../../models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {FileDownloadResponse401Error}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createFileDownloadResponse401ErrorFromDiscriminatorValue(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 {FileDownloadResponse403Error}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createFileDownloadResponse403ErrorFromDiscriminatorValue(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 {FileDownloadResponse404Error}
|
|
19
|
+
*/
|
|
20
|
+
export declare function createFileDownloadResponse404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
23
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
24
|
+
* @returns {FileDownloadResponse409Error}
|
|
25
|
+
*/
|
|
26
|
+
export declare function createFileDownloadResponse409ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @param FileDownloadResponse401Error The instance to deserialize into.
|
|
30
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31
|
+
*/
|
|
32
|
+
export declare function deserializeIntoFileDownloadResponse401Error(fileDownloadResponse401Error?: Partial<FileDownloadResponse401Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
33
|
+
/**
|
|
34
|
+
* The deserialization information for the current model
|
|
35
|
+
* @param FileDownloadResponse403Error The instance to deserialize into.
|
|
36
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37
|
+
*/
|
|
38
|
+
export declare function deserializeIntoFileDownloadResponse403Error(fileDownloadResponse403Error?: Partial<FileDownloadResponse403Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @param FileDownloadResponse404Error The instance to deserialize into.
|
|
42
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43
|
+
*/
|
|
44
|
+
export declare function deserializeIntoFileDownloadResponse404Error(fileDownloadResponse404Error?: Partial<FileDownloadResponse404Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
45
|
+
/**
|
|
46
|
+
* The deserialization information for the current model
|
|
47
|
+
* @param FileDownloadResponse409Error The instance to deserialize into.
|
|
48
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
49
|
+
*/
|
|
50
|
+
export declare function deserializeIntoFileDownloadResponse409Error(fileDownloadResponse409Error?: Partial<FileDownloadResponse409Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
51
|
+
/**
|
|
52
|
+
* Builds and executes requests for operations under /api/v1/files/{fileId}/download
|
|
53
|
+
*/
|
|
54
|
+
export interface DownloadRequestBuilder extends BaseRequestBuilder<DownloadRequestBuilder> {
|
|
55
|
+
/**
|
|
56
|
+
* Returns JSON containing a short-lived signed URL, not the file bytes. Response uploads, including supporting files, require submissions:download_files; signed PDFs require submissions:download_pdf. Supporting uploads require the document creator for session/OAuth access; explicitly scoped workspace API keys are trusted integration credentials. Privacy is classified from immutable submission metadata, including verified legacy metadata.
|
|
57
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
58
|
+
* @returns {Promise<FileDownloadResponse>}
|
|
59
|
+
* @throws {FileDownloadResponse401Error} error when the service returns a 401 status code
|
|
60
|
+
* @throws {FileDownloadResponse403Error} error when the service returns a 403 status code
|
|
61
|
+
* @throws {FileDownloadResponse404Error} error when the service returns a 404 status code
|
|
62
|
+
* @throws {FileDownloadResponse409Error} error when the service returns a 409 status code
|
|
63
|
+
*/
|
|
64
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FileDownloadResponse | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* Returns JSON containing a short-lived signed URL, not the file bytes. Response uploads, including supporting files, require submissions:download_files; signed PDFs require submissions:download_pdf. Supporting uploads require the document creator for session/OAuth access; explicitly scoped workspace API keys are trusted integration credentials. Privacy is classified from immutable submission metadata, including verified legacy metadata.
|
|
67
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
+
* @returns {RequestInformation}
|
|
69
|
+
*/
|
|
70
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
|
+
}
|
|
72
|
+
export interface FileDownloadResponse401Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
73
|
+
/**
|
|
74
|
+
* Stable machine-readable error code when available.
|
|
75
|
+
*/
|
|
76
|
+
code?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* The error property
|
|
79
|
+
*/
|
|
80
|
+
errorEscaped?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* The hint property
|
|
83
|
+
*/
|
|
84
|
+
hint?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The success property
|
|
87
|
+
*/
|
|
88
|
+
success?: boolean | null;
|
|
89
|
+
}
|
|
90
|
+
export interface FileDownloadResponse403Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
91
|
+
/**
|
|
92
|
+
* Stable machine-readable error code when available.
|
|
93
|
+
*/
|
|
94
|
+
code?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The error property
|
|
97
|
+
*/
|
|
98
|
+
errorEscaped?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* The hint property
|
|
101
|
+
*/
|
|
102
|
+
hint?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* The success property
|
|
105
|
+
*/
|
|
106
|
+
success?: boolean | null;
|
|
107
|
+
}
|
|
108
|
+
export interface FileDownloadResponse404Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
109
|
+
/**
|
|
110
|
+
* Stable machine-readable error code when available.
|
|
111
|
+
*/
|
|
112
|
+
code?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The error property
|
|
115
|
+
*/
|
|
116
|
+
errorEscaped?: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* The hint property
|
|
119
|
+
*/
|
|
120
|
+
hint?: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* The success property
|
|
123
|
+
*/
|
|
124
|
+
success?: boolean | null;
|
|
125
|
+
}
|
|
126
|
+
export interface FileDownloadResponse409Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
127
|
+
/**
|
|
128
|
+
* Stable machine-readable error code when available.
|
|
129
|
+
*/
|
|
130
|
+
code?: string | null;
|
|
131
|
+
/**
|
|
132
|
+
* The error property
|
|
133
|
+
*/
|
|
134
|
+
errorEscaped?: string | null;
|
|
135
|
+
/**
|
|
136
|
+
* The hint property
|
|
137
|
+
*/
|
|
138
|
+
hint?: string | null;
|
|
139
|
+
/**
|
|
140
|
+
* The success property
|
|
141
|
+
*/
|
|
142
|
+
success?: boolean | null;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Serializes information the current object
|
|
146
|
+
* @param FileDownloadResponse401Error The instance to serialize from.
|
|
147
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
148
|
+
* @param writer Serialization writer to use to serialize this model
|
|
149
|
+
*/
|
|
150
|
+
export declare function serializeFileDownloadResponse401Error(writer: SerializationWriter, fileDownloadResponse401Error?: Partial<FileDownloadResponse401Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
151
|
+
/**
|
|
152
|
+
* Serializes information the current object
|
|
153
|
+
* @param FileDownloadResponse403Error The instance to serialize from.
|
|
154
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
155
|
+
* @param writer Serialization writer to use to serialize this model
|
|
156
|
+
*/
|
|
157
|
+
export declare function serializeFileDownloadResponse403Error(writer: SerializationWriter, fileDownloadResponse403Error?: Partial<FileDownloadResponse403Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
158
|
+
/**
|
|
159
|
+
* Serializes information the current object
|
|
160
|
+
* @param FileDownloadResponse404Error The instance to serialize from.
|
|
161
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
162
|
+
* @param writer Serialization writer to use to serialize this model
|
|
163
|
+
*/
|
|
164
|
+
export declare function serializeFileDownloadResponse404Error(writer: SerializationWriter, fileDownloadResponse404Error?: Partial<FileDownloadResponse404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
165
|
+
/**
|
|
166
|
+
* Serializes information the current object
|
|
167
|
+
* @param FileDownloadResponse409Error The instance to serialize from.
|
|
168
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
169
|
+
* @param writer Serialization writer to use to serialize this model
|
|
170
|
+
*/
|
|
171
|
+
export declare function serializeFileDownloadResponse409Error(writer: SerializationWriter, fileDownloadResponse409Error?: Partial<FileDownloadResponse409Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
172
|
+
/**
|
|
173
|
+
* Uri template for the request builder.
|
|
174
|
+
*/
|
|
175
|
+
export declare const DownloadRequestBuilderUriTemplate = "{+baseurl}/api/v1/files/{fileId}/download";
|
|
176
|
+
/**
|
|
177
|
+
* Metadata for all the requests in the request builder.
|
|
178
|
+
*/
|
|
179
|
+
export declare const DownloadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
180
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/files/item/download/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoD,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE7H,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,wDAAwD,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,CAEhL;AACD;;;;GAIG;AAEH,wBAAgB,wDAAwD,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,CAEhL;AACD;;;;GAIG;AAEH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,S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ACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOhO;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOhO;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOhO;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOhO;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,8CAA8C,CAAC;AAC7F;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,CAAC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createFileDownloadResponseFromDiscriminatorValue } 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 {FileDownloadResponse401Error}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createFileDownloadResponse401ErrorFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoFileDownloadResponse401Error;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18
|
+
* @returns {FileDownloadResponse403Error}
|
|
19
|
+
*/
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export function createFileDownloadResponse403ErrorFromDiscriminatorValue(parseNode) {
|
|
22
|
+
return deserializeIntoFileDownloadResponse403Error;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
26
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
27
|
+
* @returns {FileDownloadResponse404Error}
|
|
28
|
+
*/
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
export function createFileDownloadResponse404ErrorFromDiscriminatorValue(parseNode) {
|
|
31
|
+
return deserializeIntoFileDownloadResponse404Error;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
36
|
+
* @returns {FileDownloadResponse409Error}
|
|
37
|
+
*/
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
export function createFileDownloadResponse409ErrorFromDiscriminatorValue(parseNode) {
|
|
40
|
+
return deserializeIntoFileDownloadResponse409Error;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The deserialization information for the current model
|
|
44
|
+
* @param FileDownloadResponse401Error The instance to deserialize into.
|
|
45
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
46
|
+
*/
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
export function deserializeIntoFileDownloadResponse401Error(fileDownloadResponse401Error = {}) {
|
|
49
|
+
return {
|
|
50
|
+
"code": n => { fileDownloadResponse401Error.code = n.getStringValue(); },
|
|
51
|
+
"error": n => { fileDownloadResponse401Error.errorEscaped = n.getStringValue(); },
|
|
52
|
+
"hint": n => { fileDownloadResponse401Error.hint = n.getStringValue(); },
|
|
53
|
+
"success": n => { fileDownloadResponse401Error.success = n.getBooleanValue(); },
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The deserialization information for the current model
|
|
58
|
+
* @param FileDownloadResponse403Error The instance to deserialize into.
|
|
59
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
60
|
+
*/
|
|
61
|
+
// @ts-ignore
|
|
62
|
+
export function deserializeIntoFileDownloadResponse403Error(fileDownloadResponse403Error = {}) {
|
|
63
|
+
return {
|
|
64
|
+
"code": n => { fileDownloadResponse403Error.code = n.getStringValue(); },
|
|
65
|
+
"error": n => { fileDownloadResponse403Error.errorEscaped = n.getStringValue(); },
|
|
66
|
+
"hint": n => { fileDownloadResponse403Error.hint = n.getStringValue(); },
|
|
67
|
+
"success": n => { fileDownloadResponse403Error.success = n.getBooleanValue(); },
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The deserialization information for the current model
|
|
72
|
+
* @param FileDownloadResponse404Error The instance to deserialize into.
|
|
73
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
74
|
+
*/
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
export function deserializeIntoFileDownloadResponse404Error(fileDownloadResponse404Error = {}) {
|
|
77
|
+
return {
|
|
78
|
+
"code": n => { fileDownloadResponse404Error.code = n.getStringValue(); },
|
|
79
|
+
"error": n => { fileDownloadResponse404Error.errorEscaped = n.getStringValue(); },
|
|
80
|
+
"hint": n => { fileDownloadResponse404Error.hint = n.getStringValue(); },
|
|
81
|
+
"success": n => { fileDownloadResponse404Error.success = n.getBooleanValue(); },
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* The deserialization information for the current model
|
|
86
|
+
* @param FileDownloadResponse409Error The instance to deserialize into.
|
|
87
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
88
|
+
*/
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
export function deserializeIntoFileDownloadResponse409Error(fileDownloadResponse409Error = {}) {
|
|
91
|
+
return {
|
|
92
|
+
"code": n => { fileDownloadResponse409Error.code = n.getStringValue(); },
|
|
93
|
+
"error": n => { fileDownloadResponse409Error.errorEscaped = n.getStringValue(); },
|
|
94
|
+
"hint": n => { fileDownloadResponse409Error.hint = n.getStringValue(); },
|
|
95
|
+
"success": n => { fileDownloadResponse409Error.success = n.getBooleanValue(); },
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Serializes information the current object
|
|
100
|
+
* @param FileDownloadResponse401Error The instance to serialize from.
|
|
101
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
102
|
+
* @param writer Serialization writer to use to serialize this model
|
|
103
|
+
*/
|
|
104
|
+
// @ts-ignore
|
|
105
|
+
export function serializeFileDownloadResponse401Error(writer, fileDownloadResponse401Error = {}, isSerializingDerivedType = false) {
|
|
106
|
+
if (!fileDownloadResponse401Error || isSerializingDerivedType) {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
writer.writeStringValue("code", fileDownloadResponse401Error.code);
|
|
110
|
+
writer.writeStringValue("error", fileDownloadResponse401Error.errorEscaped);
|
|
111
|
+
writer.writeStringValue("hint", fileDownloadResponse401Error.hint);
|
|
112
|
+
writer.writeBooleanValue("success", fileDownloadResponse401Error.success);
|
|
113
|
+
writer.writeAdditionalData(fileDownloadResponse401Error.additionalData);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Serializes information the current object
|
|
117
|
+
* @param FileDownloadResponse403Error The instance to serialize from.
|
|
118
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
119
|
+
* @param writer Serialization writer to use to serialize this model
|
|
120
|
+
*/
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
export function serializeFileDownloadResponse403Error(writer, fileDownloadResponse403Error = {}, isSerializingDerivedType = false) {
|
|
123
|
+
if (!fileDownloadResponse403Error || isSerializingDerivedType) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
writer.writeStringValue("code", fileDownloadResponse403Error.code);
|
|
127
|
+
writer.writeStringValue("error", fileDownloadResponse403Error.errorEscaped);
|
|
128
|
+
writer.writeStringValue("hint", fileDownloadResponse403Error.hint);
|
|
129
|
+
writer.writeBooleanValue("success", fileDownloadResponse403Error.success);
|
|
130
|
+
writer.writeAdditionalData(fileDownloadResponse403Error.additionalData);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Serializes information the current object
|
|
134
|
+
* @param FileDownloadResponse404Error The instance to serialize from.
|
|
135
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
136
|
+
* @param writer Serialization writer to use to serialize this model
|
|
137
|
+
*/
|
|
138
|
+
// @ts-ignore
|
|
139
|
+
export function serializeFileDownloadResponse404Error(writer, fileDownloadResponse404Error = {}, isSerializingDerivedType = false) {
|
|
140
|
+
if (!fileDownloadResponse404Error || isSerializingDerivedType) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
writer.writeStringValue("code", fileDownloadResponse404Error.code);
|
|
144
|
+
writer.writeStringValue("error", fileDownloadResponse404Error.errorEscaped);
|
|
145
|
+
writer.writeStringValue("hint", fileDownloadResponse404Error.hint);
|
|
146
|
+
writer.writeBooleanValue("success", fileDownloadResponse404Error.success);
|
|
147
|
+
writer.writeAdditionalData(fileDownloadResponse404Error.additionalData);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Serializes information the current object
|
|
151
|
+
* @param FileDownloadResponse409Error The instance to serialize from.
|
|
152
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
153
|
+
* @param writer Serialization writer to use to serialize this model
|
|
154
|
+
*/
|
|
155
|
+
// @ts-ignore
|
|
156
|
+
export function serializeFileDownloadResponse409Error(writer, fileDownloadResponse409Error = {}, isSerializingDerivedType = false) {
|
|
157
|
+
if (!fileDownloadResponse409Error || isSerializingDerivedType) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
writer.writeStringValue("code", fileDownloadResponse409Error.code);
|
|
161
|
+
writer.writeStringValue("error", fileDownloadResponse409Error.errorEscaped);
|
|
162
|
+
writer.writeStringValue("hint", fileDownloadResponse409Error.hint);
|
|
163
|
+
writer.writeBooleanValue("success", fileDownloadResponse409Error.success);
|
|
164
|
+
writer.writeAdditionalData(fileDownloadResponse409Error.additionalData);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Uri template for the request builder.
|
|
168
|
+
*/
|
|
169
|
+
export const DownloadRequestBuilderUriTemplate = "{+baseurl}/api/v1/files/{fileId}/download";
|
|
170
|
+
/**
|
|
171
|
+
* Metadata for all the requests in the request builder.
|
|
172
|
+
*/
|
|
173
|
+
export const DownloadRequestBuilderRequestsMetadata = {
|
|
174
|
+
get: {
|
|
175
|
+
uriTemplate: DownloadRequestBuilderUriTemplate,
|
|
176
|
+
responseBodyContentType: "application/json",
|
|
177
|
+
errorMappings: {
|
|
178
|
+
401: createFileDownloadResponse401ErrorFromDiscriminatorValue,
|
|
179
|
+
403: createFileDownloadResponse403ErrorFromDiscriminatorValue,
|
|
180
|
+
404: createFileDownloadResponse404ErrorFromDiscriminatorValue,
|
|
181
|
+
409: createFileDownloadResponse409ErrorFromDiscriminatorValue,
|
|
182
|
+
},
|
|
183
|
+
adapterMethodName: "send",
|
|
184
|
+
responseBodyFactory: createFileDownloadResponseFromDiscriminatorValue,
|
|
185
|
+
},
|
|
186
|
+
};
|
|
187
|
+
/* tslint:enable */
|
|
188
|
+
/* eslint-enable */
|
|
189
|
+
//# sourceMappingURL=index.js.map
|