@formalingo/sdk 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +214 -0
- package/dist/client/api/index.d.ts +20 -0
- package/dist/client/api/index.d.ts.map +1 -0
- package/dist/client/api/index.js +20 -0
- package/dist/client/api/index.js.map +1 -0
- package/dist/client/api/v1/documents/index.d.ts +163 -0
- package/dist/client/api/v1/documents/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/index.js +164 -0
- package/dist/client/api/v1/documents/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/fields/index.js +115 -0
- package/dist/client/api/v1/documents/item/fields/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts +221 -0
- package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/fields/item/index.js +218 -0
- package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/index.d.ts +207 -0
- package/dist/client/api/v1/documents/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/index.js +217 -0
- package/dist/client/api/v1/documents/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.js +115 -0
- package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +56 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js +59 -0
- package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/index.d.ts +111 -0
- package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/index.js +116 -0
- package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +70 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js +75 -0
- package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +91 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +100 -0
- package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.d.ts +68 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.js +71 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +146 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +156 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +134 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +145 -0
- package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -0
- package/dist/client/api/v1/forms/index.d.ts +231 -0
- package/dist/client/api/v1/forms/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/index.js +244 -0
- package/dist/client/api/v1/forms/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/index.d.ts +241 -0
- package/dist/client/api/v1/forms/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/index.js +261 -0
- package/dist/client/api/v1/forms/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/questions/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/questions/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/questions/index.js +115 -0
- package/dist/client/api/v1/forms/item/questions/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/questions/item/index.d.ts +196 -0
- package/dist/client/api/v1/forms/item/questions/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/questions/item/index.js +193 -0
- package/dist/client/api/v1/forms/item/questions/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/index.js +116 -0
- package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +109 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.js +116 -0
- package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +134 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +145 -0
- package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/sections/index.d.ts +111 -0
- package/dist/client/api/v1/forms/item/sections/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/sections/index.js +115 -0
- package/dist/client/api/v1/forms/item/sections/index.js.map +1 -0
- package/dist/client/api/v1/forms/item/sections/item/index.d.ts +100 -0
- package/dist/client/api/v1/forms/item/sections/item/index.d.ts.map +1 -0
- package/dist/client/api/v1/forms/item/sections/item/index.js +106 -0
- package/dist/client/api/v1/forms/item/sections/item/index.js.map +1 -0
- package/dist/client/api/v1/index.d.ts +25 -0
- package/dist/client/api/v1/index.d.ts.map +1 -0
- package/dist/client/api/v1/index.js +27 -0
- package/dist/client/api/v1/index.js.map +1 -0
- package/dist/client/formalingoClient.d.ts +20 -7
- package/dist/client/formalingoClient.d.ts.map +1 -1
- package/dist/client/formalingoClient.js +56 -2
- package/dist/client/formalingoClient.js.map +1 -1
- package/dist/client/models/index.d.ts +1597 -0
- package/dist/client/models/index.d.ts.map +1 -0
- package/dist/client/models/index.js +1589 -0
- package/dist/client/models/index.js.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { type CreateFormBody, type Form } from '../../../models/index.js';
|
|
2
|
+
import { type FormsItemRequestBuilder } from './item/index.js';
|
|
3
|
+
import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7
|
+
* @returns {Forms400Error}
|
|
8
|
+
*/
|
|
9
|
+
export declare function createForms400ErrorFromDiscriminatorValue(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 {Forms401Error}
|
|
14
|
+
*/
|
|
15
|
+
export declare function createForms401ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19
|
+
* @returns {FormsGetResponse_meta}
|
|
20
|
+
*/
|
|
21
|
+
export declare function createFormsGetResponse_metaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
22
|
+
/**
|
|
23
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
24
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
25
|
+
* @returns {FormsGetResponse}
|
|
26
|
+
*/
|
|
27
|
+
export declare function createFormsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
28
|
+
/**
|
|
29
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
30
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
31
|
+
* @returns {FormsPostResponse}
|
|
32
|
+
*/
|
|
33
|
+
export declare function createFormsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
34
|
+
/**
|
|
35
|
+
* The deserialization information for the current model
|
|
36
|
+
* @param Forms400Error The instance to deserialize into.
|
|
37
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38
|
+
*/
|
|
39
|
+
export declare function deserializeIntoForms400Error(forms400Error?: Partial<Forms400Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
40
|
+
/**
|
|
41
|
+
* The deserialization information for the current model
|
|
42
|
+
* @param Forms401Error The instance to deserialize into.
|
|
43
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44
|
+
*/
|
|
45
|
+
export declare function deserializeIntoForms401Error(forms401Error?: Partial<Forms401Error> | undefined): Record<string, (node: ParseNode) => void>;
|
|
46
|
+
/**
|
|
47
|
+
* The deserialization information for the current model
|
|
48
|
+
* @param FormsGetResponse The instance to deserialize into.
|
|
49
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
50
|
+
*/
|
|
51
|
+
export declare function deserializeIntoFormsGetResponse(formsGetResponse?: Partial<FormsGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
52
|
+
/**
|
|
53
|
+
* The deserialization information for the current model
|
|
54
|
+
* @param FormsGetResponse_meta The instance to deserialize into.
|
|
55
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
56
|
+
*/
|
|
57
|
+
export declare function deserializeIntoFormsGetResponse_meta(formsGetResponse_meta?: Partial<FormsGetResponse_meta> | undefined): Record<string, (node: ParseNode) => void>;
|
|
58
|
+
/**
|
|
59
|
+
* The deserialization information for the current model
|
|
60
|
+
* @param FormsPostResponse The instance to deserialize into.
|
|
61
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
62
|
+
*/
|
|
63
|
+
export declare function deserializeIntoFormsPostResponse(formsPostResponse?: Partial<FormsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
64
|
+
export interface Forms400Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
65
|
+
/**
|
|
66
|
+
* The error property
|
|
67
|
+
*/
|
|
68
|
+
errorEscaped?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* The hint property
|
|
71
|
+
*/
|
|
72
|
+
hint?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* The success property
|
|
75
|
+
*/
|
|
76
|
+
success?: boolean | null;
|
|
77
|
+
}
|
|
78
|
+
export interface Forms401Error extends AdditionalDataHolder, ApiError, Parsable {
|
|
79
|
+
/**
|
|
80
|
+
* The error property
|
|
81
|
+
*/
|
|
82
|
+
errorEscaped?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* The hint property
|
|
85
|
+
*/
|
|
86
|
+
hint?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* The success property
|
|
89
|
+
*/
|
|
90
|
+
success?: boolean | null;
|
|
91
|
+
}
|
|
92
|
+
export interface FormsGetResponse extends AdditionalDataHolder, Parsable {
|
|
93
|
+
/**
|
|
94
|
+
* The data property
|
|
95
|
+
*/
|
|
96
|
+
data?: Form[] | null;
|
|
97
|
+
/**
|
|
98
|
+
* The meta property
|
|
99
|
+
*/
|
|
100
|
+
meta?: FormsGetResponse_meta | null;
|
|
101
|
+
/**
|
|
102
|
+
* The success property
|
|
103
|
+
*/
|
|
104
|
+
success?: boolean | null;
|
|
105
|
+
}
|
|
106
|
+
export interface FormsGetResponse_meta extends AdditionalDataHolder, Parsable {
|
|
107
|
+
/**
|
|
108
|
+
* The limit property
|
|
109
|
+
*/
|
|
110
|
+
limit?: number | null;
|
|
111
|
+
/**
|
|
112
|
+
* The page property
|
|
113
|
+
*/
|
|
114
|
+
page?: number | null;
|
|
115
|
+
/**
|
|
116
|
+
* The total property
|
|
117
|
+
*/
|
|
118
|
+
total?: number | null;
|
|
119
|
+
}
|
|
120
|
+
export interface FormsPostResponse extends AdditionalDataHolder, Parsable {
|
|
121
|
+
/**
|
|
122
|
+
* The data property
|
|
123
|
+
*/
|
|
124
|
+
data?: Form | null;
|
|
125
|
+
/**
|
|
126
|
+
* The success property
|
|
127
|
+
*/
|
|
128
|
+
success?: boolean | null;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Builds and executes requests for operations under /api/v1/forms
|
|
132
|
+
*/
|
|
133
|
+
export interface FormsRequestBuilder extends BaseRequestBuilder<FormsRequestBuilder> {
|
|
134
|
+
/**
|
|
135
|
+
* Gets an item from the formalingo.api.v1.forms.item collection
|
|
136
|
+
* @param id Unique identifier of the item
|
|
137
|
+
* @returns {FormsItemRequestBuilder}
|
|
138
|
+
*/
|
|
139
|
+
byId(id: Guid): FormsItemRequestBuilder;
|
|
140
|
+
/**
|
|
141
|
+
* List forms
|
|
142
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
143
|
+
* @returns {Promise<FormsGetResponse>}
|
|
144
|
+
* @throws {Forms401Error} error when the service returns a 401 status code
|
|
145
|
+
*/
|
|
146
|
+
get(requestConfiguration?: RequestConfiguration<FormsRequestBuilderGetQueryParameters> | undefined): Promise<FormsGetResponse | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Create a form
|
|
149
|
+
* @param body The request body
|
|
150
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
151
|
+
* @returns {Promise<FormsPostResponse>}
|
|
152
|
+
* @throws {Forms400Error} error when the service returns a 400 status code
|
|
153
|
+
* @throws {Forms401Error} error when the service returns a 401 status code
|
|
154
|
+
*/
|
|
155
|
+
post(body: CreateFormBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FormsPostResponse | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* List forms
|
|
158
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
159
|
+
* @returns {RequestInformation}
|
|
160
|
+
*/
|
|
161
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FormsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
162
|
+
/**
|
|
163
|
+
* Create a form
|
|
164
|
+
* @param body The request body
|
|
165
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
166
|
+
* @returns {RequestInformation}
|
|
167
|
+
*/
|
|
168
|
+
toPostRequestInformation(body: CreateFormBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* List forms
|
|
172
|
+
*/
|
|
173
|
+
export interface FormsRequestBuilderGetQueryParameters {
|
|
174
|
+
limit?: number;
|
|
175
|
+
page?: number;
|
|
176
|
+
status?: GetStatusQueryParameterType;
|
|
177
|
+
}
|
|
178
|
+
export type GetStatusQueryParameterType = (typeof GetStatusQueryParameterTypeObject)[keyof typeof GetStatusQueryParameterTypeObject];
|
|
179
|
+
/**
|
|
180
|
+
* Serializes information the current object
|
|
181
|
+
* @param Forms400Error The instance to serialize from.
|
|
182
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
183
|
+
* @param writer Serialization writer to use to serialize this model
|
|
184
|
+
*/
|
|
185
|
+
export declare function serializeForms400Error(writer: SerializationWriter, forms400Error?: Partial<Forms400Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
186
|
+
/**
|
|
187
|
+
* Serializes information the current object
|
|
188
|
+
* @param Forms401Error The instance to serialize from.
|
|
189
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
190
|
+
* @param writer Serialization writer to use to serialize this model
|
|
191
|
+
*/
|
|
192
|
+
export declare function serializeForms401Error(writer: SerializationWriter, forms401Error?: Partial<Forms401Error> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
193
|
+
/**
|
|
194
|
+
* Serializes information the current object
|
|
195
|
+
* @param FormsGetResponse The instance to serialize from.
|
|
196
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
197
|
+
* @param writer Serialization writer to use to serialize this model
|
|
198
|
+
*/
|
|
199
|
+
export declare function serializeFormsGetResponse(writer: SerializationWriter, formsGetResponse?: Partial<FormsGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
200
|
+
/**
|
|
201
|
+
* Serializes information the current object
|
|
202
|
+
* @param FormsGetResponse_meta The instance to serialize from.
|
|
203
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
204
|
+
* @param writer Serialization writer to use to serialize this model
|
|
205
|
+
*/
|
|
206
|
+
export declare function serializeFormsGetResponse_meta(writer: SerializationWriter, formsGetResponse_meta?: Partial<FormsGetResponse_meta> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
207
|
+
/**
|
|
208
|
+
* Serializes information the current object
|
|
209
|
+
* @param FormsPostResponse The instance to serialize from.
|
|
210
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
211
|
+
* @param writer Serialization writer to use to serialize this model
|
|
212
|
+
*/
|
|
213
|
+
export declare function serializeFormsPostResponse(writer: SerializationWriter, formsPostResponse?: Partial<FormsPostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
214
|
+
/**
|
|
215
|
+
* Uri template for the request builder.
|
|
216
|
+
*/
|
|
217
|
+
export declare const FormsRequestBuilderUriTemplate = "{+baseurl}/api/v1/forms{?limit*,page*,status*}";
|
|
218
|
+
/**
|
|
219
|
+
* Metadata for all the navigation properties in the request builder.
|
|
220
|
+
*/
|
|
221
|
+
export declare const FormsRequestBuilderNavigationMetadata: Record<Exclude<keyof FormsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
222
|
+
/**
|
|
223
|
+
* Metadata for all the requests in the request builder.
|
|
224
|
+
*/
|
|
225
|
+
export declare const FormsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
226
|
+
export declare const GetStatusQueryParameterTypeObject: {
|
|
227
|
+
readonly Draft: "draft";
|
|
228
|
+
readonly Published: "published";
|
|
229
|
+
readonly Archived: "archived";
|
|
230
|
+
};
|
|
231
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/client/api/v1/forms/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4E,KAAK,cAAc,EAAE,KAAK,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAEpJ,OAAO,EAAsF,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAEnJ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzV;;;;GAI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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,mDAAmD,CAAC;AAC/F;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAMpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;CAIpC,CAAC"}
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createFormFromDiscriminatorValue, serializeCreateFormBody, serializeForm } from '../../../models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { FormsItemRequestBuilderNavigationMetadata, FormsItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {Forms400Error}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createForms400ErrorFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoForms400Error;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {Forms401Error}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createForms401ErrorFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoForms401Error;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
28
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
29
|
+
* @returns {FormsGetResponse_meta}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function createFormsGetResponse_metaFromDiscriminatorValue(parseNode) {
|
|
33
|
+
return deserializeIntoFormsGetResponse_meta;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns {FormsGetResponse}
|
|
39
|
+
*/
|
|
40
|
+
// @ts-ignore
|
|
41
|
+
export function createFormsGetResponseFromDiscriminatorValue(parseNode) {
|
|
42
|
+
return deserializeIntoFormsGetResponse;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
46
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
47
|
+
* @returns {FormsPostResponse}
|
|
48
|
+
*/
|
|
49
|
+
// @ts-ignore
|
|
50
|
+
export function createFormsPostResponseFromDiscriminatorValue(parseNode) {
|
|
51
|
+
return deserializeIntoFormsPostResponse;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The deserialization information for the current model
|
|
55
|
+
* @param Forms400Error The instance to deserialize into.
|
|
56
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
57
|
+
*/
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
export function deserializeIntoForms400Error(forms400Error = {}) {
|
|
60
|
+
return {
|
|
61
|
+
"error": n => { forms400Error.errorEscaped = n.getStringValue(); },
|
|
62
|
+
"hint": n => { forms400Error.hint = n.getStringValue(); },
|
|
63
|
+
"success": n => { forms400Error.success = n.getBooleanValue(); },
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The deserialization information for the current model
|
|
68
|
+
* @param Forms401Error The instance to deserialize into.
|
|
69
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
70
|
+
*/
|
|
71
|
+
// @ts-ignore
|
|
72
|
+
export function deserializeIntoForms401Error(forms401Error = {}) {
|
|
73
|
+
return {
|
|
74
|
+
"error": n => { forms401Error.errorEscaped = n.getStringValue(); },
|
|
75
|
+
"hint": n => { forms401Error.hint = n.getStringValue(); },
|
|
76
|
+
"success": n => { forms401Error.success = n.getBooleanValue(); },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The deserialization information for the current model
|
|
81
|
+
* @param FormsGetResponse The instance to deserialize into.
|
|
82
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
83
|
+
*/
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
export function deserializeIntoFormsGetResponse(formsGetResponse = {}) {
|
|
86
|
+
return {
|
|
87
|
+
"data": n => { formsGetResponse.data = n.getCollectionOfObjectValues(createFormFromDiscriminatorValue); },
|
|
88
|
+
"meta": n => { formsGetResponse.meta = n.getObjectValue(createFormsGetResponse_metaFromDiscriminatorValue); },
|
|
89
|
+
"success": n => { formsGetResponse.success = n.getBooleanValue(); },
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The deserialization information for the current model
|
|
94
|
+
* @param FormsGetResponse_meta The instance to deserialize into.
|
|
95
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
96
|
+
*/
|
|
97
|
+
// @ts-ignore
|
|
98
|
+
export function deserializeIntoFormsGetResponse_meta(formsGetResponse_meta = {}) {
|
|
99
|
+
return {
|
|
100
|
+
"limit": n => { formsGetResponse_meta.limit = n.getNumberValue(); },
|
|
101
|
+
"page": n => { formsGetResponse_meta.page = n.getNumberValue(); },
|
|
102
|
+
"total": n => { formsGetResponse_meta.total = n.getNumberValue(); },
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* The deserialization information for the current model
|
|
107
|
+
* @param FormsPostResponse The instance to deserialize into.
|
|
108
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
109
|
+
*/
|
|
110
|
+
// @ts-ignore
|
|
111
|
+
export function deserializeIntoFormsPostResponse(formsPostResponse = {}) {
|
|
112
|
+
return {
|
|
113
|
+
"data": n => { formsPostResponse.data = n.getObjectValue(createFormFromDiscriminatorValue); },
|
|
114
|
+
"success": n => { formsPostResponse.success = n.getBooleanValue(); },
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Serializes information the current object
|
|
119
|
+
* @param Forms400Error The instance to serialize from.
|
|
120
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
121
|
+
* @param writer Serialization writer to use to serialize this model
|
|
122
|
+
*/
|
|
123
|
+
// @ts-ignore
|
|
124
|
+
export function serializeForms400Error(writer, forms400Error = {}, isSerializingDerivedType = false) {
|
|
125
|
+
if (!forms400Error || isSerializingDerivedType) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
writer.writeStringValue("error", forms400Error.errorEscaped);
|
|
129
|
+
writer.writeStringValue("hint", forms400Error.hint);
|
|
130
|
+
writer.writeBooleanValue("success", forms400Error.success);
|
|
131
|
+
writer.writeAdditionalData(forms400Error.additionalData);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Serializes information the current object
|
|
135
|
+
* @param Forms401Error The instance to serialize from.
|
|
136
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
137
|
+
* @param writer Serialization writer to use to serialize this model
|
|
138
|
+
*/
|
|
139
|
+
// @ts-ignore
|
|
140
|
+
export function serializeForms401Error(writer, forms401Error = {}, isSerializingDerivedType = false) {
|
|
141
|
+
if (!forms401Error || isSerializingDerivedType) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
writer.writeStringValue("error", forms401Error.errorEscaped);
|
|
145
|
+
writer.writeStringValue("hint", forms401Error.hint);
|
|
146
|
+
writer.writeBooleanValue("success", forms401Error.success);
|
|
147
|
+
writer.writeAdditionalData(forms401Error.additionalData);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Serializes information the current object
|
|
151
|
+
* @param FormsGetResponse 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 serializeFormsGetResponse(writer, formsGetResponse = {}, isSerializingDerivedType = false) {
|
|
157
|
+
if (!formsGetResponse || isSerializingDerivedType) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
writer.writeCollectionOfObjectValues("data", formsGetResponse.data, serializeForm);
|
|
161
|
+
writer.writeObjectValue("meta", formsGetResponse.meta, serializeFormsGetResponse_meta);
|
|
162
|
+
writer.writeBooleanValue("success", formsGetResponse.success);
|
|
163
|
+
writer.writeAdditionalData(formsGetResponse.additionalData);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Serializes information the current object
|
|
167
|
+
* @param FormsGetResponse_meta 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
|
+
// @ts-ignore
|
|
172
|
+
export function serializeFormsGetResponse_meta(writer, formsGetResponse_meta = {}, isSerializingDerivedType = false) {
|
|
173
|
+
if (!formsGetResponse_meta || isSerializingDerivedType) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
writer.writeNumberValue("limit", formsGetResponse_meta.limit);
|
|
177
|
+
writer.writeNumberValue("page", formsGetResponse_meta.page);
|
|
178
|
+
writer.writeNumberValue("total", formsGetResponse_meta.total);
|
|
179
|
+
writer.writeAdditionalData(formsGetResponse_meta.additionalData);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Serializes information the current object
|
|
183
|
+
* @param FormsPostResponse The instance to serialize from.
|
|
184
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
185
|
+
* @param writer Serialization writer to use to serialize this model
|
|
186
|
+
*/
|
|
187
|
+
// @ts-ignore
|
|
188
|
+
export function serializeFormsPostResponse(writer, formsPostResponse = {}, isSerializingDerivedType = false) {
|
|
189
|
+
if (!formsPostResponse || isSerializingDerivedType) {
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
writer.writeObjectValue("data", formsPostResponse.data, serializeForm);
|
|
193
|
+
writer.writeBooleanValue("success", formsPostResponse.success);
|
|
194
|
+
writer.writeAdditionalData(formsPostResponse.additionalData);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Uri template for the request builder.
|
|
198
|
+
*/
|
|
199
|
+
export const FormsRequestBuilderUriTemplate = "{+baseurl}/api/v1/forms{?limit*,page*,status*}";
|
|
200
|
+
/**
|
|
201
|
+
* Metadata for all the navigation properties in the request builder.
|
|
202
|
+
*/
|
|
203
|
+
export const FormsRequestBuilderNavigationMetadata = {
|
|
204
|
+
byId: {
|
|
205
|
+
requestsMetadata: FormsItemRequestBuilderRequestsMetadata,
|
|
206
|
+
navigationMetadata: FormsItemRequestBuilderNavigationMetadata,
|
|
207
|
+
pathParametersMappings: ["id"],
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Metadata for all the requests in the request builder.
|
|
212
|
+
*/
|
|
213
|
+
export const FormsRequestBuilderRequestsMetadata = {
|
|
214
|
+
get: {
|
|
215
|
+
uriTemplate: FormsRequestBuilderUriTemplate,
|
|
216
|
+
responseBodyContentType: "application/json",
|
|
217
|
+
errorMappings: {
|
|
218
|
+
401: createForms401ErrorFromDiscriminatorValue,
|
|
219
|
+
},
|
|
220
|
+
adapterMethodName: "send",
|
|
221
|
+
responseBodyFactory: createFormsGetResponseFromDiscriminatorValue,
|
|
222
|
+
},
|
|
223
|
+
post: {
|
|
224
|
+
uriTemplate: FormsRequestBuilderUriTemplate,
|
|
225
|
+
responseBodyContentType: "application/json",
|
|
226
|
+
errorMappings: {
|
|
227
|
+
400: createForms400ErrorFromDiscriminatorValue,
|
|
228
|
+
401: createForms401ErrorFromDiscriminatorValue,
|
|
229
|
+
},
|
|
230
|
+
adapterMethodName: "send",
|
|
231
|
+
responseBodyFactory: createFormsPostResponseFromDiscriminatorValue,
|
|
232
|
+
requestBodyContentType: "application/json",
|
|
233
|
+
requestBodySerializer: serializeCreateFormBody,
|
|
234
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
235
|
+
},
|
|
236
|
+
};
|
|
237
|
+
export const GetStatusQueryParameterTypeObject = {
|
|
238
|
+
Draft: "draft",
|
|
239
|
+
Published: "published",
|
|
240
|
+
Archived: "archived",
|
|
241
|
+
};
|
|
242
|
+
/* tslint:enable */
|
|
243
|
+
/* eslint-enable */
|
|
244
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/client/api/v1/forms/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,aAAa,EAAkC,MAAM,0BAA0B,CAAC;AACpJ,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,uCAAuC,EAAgC,MAAM,iBAAiB,CAAC;AAInJ;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yCAAyC,CAAC,SAAgC;IACtF,OAAO,4BAA4B,CAAC;AACxC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,yCAAyC,CAAC,SAAgC;IACtF,OAAO,4BAA4B,CAAC;AACxC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,iDAAiD,CAAC,SAAgC;IAC9F,OAAO,oCAAoC,CAAC;AAChD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,SAAgC;IACzF,OAAO,+BAA+B,CAAC;AAC3C,CAAC;AACD;;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