@vendasta/forms_microservice 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +105 -29
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +105 -29
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +105 -29
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +20 -7
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +31 -12
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export declare class CreateFormRequest implements i.CreateFormRequestInterface {
|
|
|
11
11
|
export declare class CreateFormResponse implements i.CreateFormResponseInterface {
|
|
12
12
|
formId: string;
|
|
13
13
|
version: string;
|
|
14
|
+
errors: ValidationError[];
|
|
14
15
|
static fromProto(proto: any): CreateFormResponse;
|
|
15
16
|
constructor(kwargs?: i.CreateFormResponseInterface);
|
|
16
17
|
toApiJson(): object;
|
|
@@ -95,6 +96,14 @@ export declare class ListFormsResponseFormRow implements i.ListFormsResponseForm
|
|
|
95
96
|
constructor(kwargs?: i.ListFormsResponseFormRowInterface);
|
|
96
97
|
toApiJson(): object;
|
|
97
98
|
}
|
|
99
|
+
export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
100
|
+
formId: string;
|
|
101
|
+
version: string;
|
|
102
|
+
values: string;
|
|
103
|
+
static fromProto(proto: any): FormSubmission;
|
|
104
|
+
constructor(kwargs?: i.FormSubmissionInterface);
|
|
105
|
+
toApiJson(): object;
|
|
106
|
+
}
|
|
98
107
|
export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
|
|
99
108
|
formSubmissionId: string;
|
|
100
109
|
formVersion: string;
|
|
@@ -104,14 +113,6 @@ export declare class ListFormSubmissionResponseFormSubmission implements i.ListF
|
|
|
104
113
|
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
|
|
105
114
|
toApiJson(): object;
|
|
106
115
|
}
|
|
107
|
-
export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
108
|
-
formId: string;
|
|
109
|
-
version: string;
|
|
110
|
-
values: string;
|
|
111
|
-
static fromProto(proto: any): FormSubmission;
|
|
112
|
-
constructor(kwargs?: i.FormSubmissionInterface);
|
|
113
|
-
toApiJson(): object;
|
|
114
|
-
}
|
|
115
116
|
export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
|
|
116
117
|
formId: string;
|
|
117
118
|
static fromProto(proto: any): GetEmbedCodeRequest;
|
|
@@ -188,11 +189,20 @@ export declare class ListFormsResponse implements i.ListFormsResponseInterface {
|
|
|
188
189
|
constructor(kwargs?: i.ListFormsResponseInterface);
|
|
189
190
|
toApiJson(): object;
|
|
190
191
|
}
|
|
191
|
-
export declare class
|
|
192
|
+
export declare class FormConfigFieldMappedField implements i.FormConfigFieldMappedFieldInterface {
|
|
193
|
+
id: string;
|
|
194
|
+
type: e.FieldType;
|
|
195
|
+
options: FormConfigFieldOption[];
|
|
196
|
+
mappedTo: string;
|
|
197
|
+
static fromProto(proto: any): FormConfigFieldMappedField;
|
|
198
|
+
constructor(kwargs?: i.FormConfigFieldMappedFieldInterface);
|
|
199
|
+
toApiJson(): object;
|
|
200
|
+
}
|
|
201
|
+
export declare class FormConfigFieldOption implements i.FormConfigFieldOptionInterface {
|
|
192
202
|
value: string;
|
|
193
203
|
label: string;
|
|
194
|
-
static fromProto(proto: any):
|
|
195
|
-
constructor(kwargs?: i.
|
|
204
|
+
static fromProto(proto: any): FormConfigFieldOption;
|
|
205
|
+
constructor(kwargs?: i.FormConfigFieldOptionInterface);
|
|
196
206
|
toApiJson(): object;
|
|
197
207
|
}
|
|
198
208
|
export declare class RenderFormResponsePreFillByUrlQueryParameter implements i.RenderFormResponsePreFillByUrlQueryParameterInterface {
|
|
@@ -235,6 +245,7 @@ export declare class RenderFormResponse implements i.RenderFormResponseInterface
|
|
|
235
245
|
}
|
|
236
246
|
export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
|
|
237
247
|
unmappedField: FormConfigFieldUnmappedField;
|
|
248
|
+
mappedField: FormConfigFieldMappedField;
|
|
238
249
|
static fromProto(proto: any): FormConfigFieldSchema;
|
|
239
250
|
constructor(kwargs?: i.FormConfigFieldSchemaInterface);
|
|
240
251
|
toApiJson(): object;
|
|
@@ -264,7 +275,7 @@ export declare class ListFormSubmissionResponseFormSubmissionSubmittedValue impl
|
|
|
264
275
|
export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
|
|
265
276
|
id: string;
|
|
266
277
|
type: e.FieldType;
|
|
267
|
-
options:
|
|
278
|
+
options: FormConfigFieldOption[];
|
|
268
279
|
currencyCode: string;
|
|
269
280
|
static fromProto(proto: any): FormConfigFieldUnmappedField;
|
|
270
281
|
constructor(kwargs?: i.FormConfigFieldUnmappedFieldInterface);
|
|
@@ -278,10 +289,18 @@ export declare class UpdateFormRequest implements i.UpdateFormRequestInterface {
|
|
|
278
289
|
}
|
|
279
290
|
export declare class UpdateFormResponse implements i.UpdateFormResponseInterface {
|
|
280
291
|
version: string;
|
|
292
|
+
errors: ValidationError[];
|
|
281
293
|
static fromProto(proto: any): UpdateFormResponse;
|
|
282
294
|
constructor(kwargs?: i.UpdateFormResponseInterface);
|
|
283
295
|
toApiJson(): object;
|
|
284
296
|
}
|
|
297
|
+
export declare class ValidationError implements i.ValidationErrorInterface {
|
|
298
|
+
ruleId: string;
|
|
299
|
+
message: string;
|
|
300
|
+
static fromProto(proto: any): ValidationError;
|
|
301
|
+
constructor(kwargs?: i.ValidationErrorInterface);
|
|
302
|
+
toApiJson(): object;
|
|
303
|
+
}
|
|
285
304
|
export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
|
|
286
305
|
formId: string;
|
|
287
306
|
versions: string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
2
|
-
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow,
|
|
2
|
+
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, ListFormSubmissionResponseFormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, FormConfigFieldMappedField, FormConfigFieldOption, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, ListFormSubmissionResponseFormSubmissionSubmittedValue, FormConfigFieldUnmappedField, UpdateFormRequest, UpdateFormResponse, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|