@vendasta/forms_microservice 0.24.0 → 0.26.0
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/enums/api.enum.mjs +24 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- 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 +71 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +94 -1
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +94 -1
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +20 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +11 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +17 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
// *********************************
|
|
7
7
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
8
8
|
export { Filter, FilterGroup, Phone, FilterValue, } from './galaxy-filters';
|
|
9
|
-
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, RenderFormResponseDefaultValues, DeleteFormRequest, FormConfigField, FieldOption, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, ReprocessSubmissionRequest, ReprocessSubmissionResponse, FormConfigFieldSchema, SectionConfig, StringList, Styles, SubmitConditionParameters, FormSubmissionSubmittedValue, SystemDefined, FormConfigTemplateSetupSettings, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, RenderFormResponseDefaultValues, DeleteFormRequest, FormConfigField, FieldOption, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, FormSubmissionProcessResult, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, ReprocessSubmissionRequest, ReprocessSubmissionResponse, FormSubmissionResultError, FormConfigFieldSchema, SectionConfig, StringList, Styles, SubmitConditionParameters, FormSubmissionSubmittedValue, SystemDefined, FormConfigTemplateSetupSettings, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9mb3Jtc19zZGsvc3JjL2xpYi9faW50ZXJuYWwvb2JqZWN0cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQ0FBb0M7QUFDcEMsMkJBQTJCO0FBQzNCLGdCQUFnQjtBQUNoQixFQUFFO0FBQ0YsaUJBQWlCO0FBQ2pCLG9DQUFvQztBQUNwQyxPQUFPLEVBQ0gsbUJBQW1CLEVBQ25CLHFCQUFxQixHQUN4QixNQUFNLFVBQVUsQ0FBQztBQUVsQixPQUFPLEVBQ0gsTUFBTSxFQUNOLFdBQVcsRUFDWCxLQUFLLEVBQ0wsV0FBVyxHQUNkLE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUNILGdCQUFnQixFQUNoQiw2QkFBNkIsRUFDN0IsOEJBQThCLEVBQzlCLGlCQUFpQixFQUNqQixrQkFBa0IsRUFDbEIsMkJBQTJCLEVBQzNCLDRCQUE0QixFQUM1QiwrQkFBK0IsRUFDL0IsaUJBQWlCLEVBQ2pCLGVBQWUsRUFDZixXQUFXLEVBQ1gsVUFBVSxFQUNWLHVCQUF1QixFQUN2QixVQUFVLEVBQ1YsbUNBQW1DLEVBQ25DLHdCQUF3QixFQUN4QixjQUFjLEVBQ2Qsd0JBQXdCLEVBQ3hCLHlCQUF5QixFQUN6QixzQ0FBc0MsRUFDdEMsdUNBQXVDLEVBQ3ZDLG1CQUFtQixFQUNuQixv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FxuICAgIFNlY3Rpb25Db25maWcsXG4gICAgU3RyaW5nTGlzdCxcbiAgICBTdHlsZXMsXG4gICAgU3VibWl0Q29uZGl0aW9uUGFyYW1ldGVycyxcbiAgICBGb3JtU3VibWlzc2lvblN1Ym1pdHRlZFZhbHVlLFxuICAgIFN5c3RlbURlZmluZWQsXG4gICAgRm9ybUNvbmZpZ1RlbXBsYXRlU2V0dXBTZXR0aW5ncyxcbiAgICBVbm1hcHBlZEZpZWxkLFxuICAgIFVwZGF0ZUZvcm1SZXF1ZXN0LFxuICAgIFVwZGF0ZUZvcm1SZXNwb25zZSxcbiAgICBVc2VyRm9ybVN1Ym1pc3Npb24sXG4gICAgVmFsaWRhdGlvbkVycm9yLFxuICAgIEdldE11bHRpRm9ybVZlcnNpb25zTGlzdFJlc3BvbnNlVmVyc2lvbnMsXG59IGZyb20gJy4vYXBpJztcblxuIl19
|
|
@@ -112,6 +112,29 @@ var JsonSchemaLibrary;
|
|
|
112
112
|
JsonSchemaLibrary[JsonSchemaLibrary["JSON_SCHEMA_LIBRARY_UNDEFINED"] = 0] = "JSON_SCHEMA_LIBRARY_UNDEFINED";
|
|
113
113
|
JsonSchemaLibrary[JsonSchemaLibrary["JSON_SCHEMA_LIBRARY_JSONFORM"] = 1] = "JSON_SCHEMA_LIBRARY_JSONFORM";
|
|
114
114
|
})(JsonSchemaLibrary || (JsonSchemaLibrary = {}));
|
|
115
|
+
var FormSubmissionProcessResultErrorType;
|
|
116
|
+
(function (FormSubmissionProcessResultErrorType) {
|
|
117
|
+
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_UNSPECIFIED"] = 0] = "PROCESS_RESULT_ERROR_TYPE_UNSPECIFIED";
|
|
118
|
+
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_NOT_FOUND"] = 1] = "PROCESS_RESULT_ERROR_TYPE_NOT_FOUND";
|
|
119
|
+
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_ALREADY_EXISTS"] = 2] = "PROCESS_RESULT_ERROR_TYPE_ALREADY_EXISTS";
|
|
120
|
+
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_INVALID_ARGUMENT"] = 3] = "PROCESS_RESULT_ERROR_TYPE_INVALID_ARGUMENT";
|
|
121
|
+
})(FormSubmissionProcessResultErrorType || (FormSubmissionProcessResultErrorType = {}));
|
|
122
|
+
var ListFormsResponseProcessResultStatus;
|
|
123
|
+
(function (ListFormsResponseProcessResultStatus) {
|
|
124
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_UNSPECIFIED"] = 0] = "PROCESS_RESULT_STATUS_UNSPECIFIED";
|
|
125
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_IN_PROGRESS"] = 1] = "PROCESS_RESULT_STATUS_IN_PROGRESS";
|
|
126
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED"] = 2] = "PROCESS_RESULT_STATUS_COMPLETED";
|
|
127
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS"] = 3] = "PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS";
|
|
128
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_FAILED"] = 4] = "PROCESS_RESULT_STATUS_FAILED";
|
|
129
|
+
})(ListFormsResponseProcessResultStatus || (ListFormsResponseProcessResultStatus = {}));
|
|
130
|
+
var FormSubmissionProcessResultStatus;
|
|
131
|
+
(function (FormSubmissionProcessResultStatus) {
|
|
132
|
+
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_UNSPECIFIED"] = 0] = "PROCESS_RESULT_STATUS_UNSPECIFIED";
|
|
133
|
+
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_IN_PROGRESS"] = 1] = "PROCESS_RESULT_STATUS_IN_PROGRESS";
|
|
134
|
+
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED"] = 2] = "PROCESS_RESULT_STATUS_COMPLETED";
|
|
135
|
+
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS"] = 3] = "PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS";
|
|
136
|
+
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_FAILED"] = 4] = "PROCESS_RESULT_STATUS_FAILED";
|
|
137
|
+
})(FormSubmissionProcessResultStatus || (FormSubmissionProcessResultStatus = {}));
|
|
115
138
|
var ReprocessStatus;
|
|
116
139
|
(function (ReprocessStatus) {
|
|
117
140
|
ReprocessStatus[ReprocessStatus["REPROCESS_STATUS_UNSPECIFIED"] = 0] = "REPROCESS_STATUS_UNSPECIFIED";
|
|
@@ -819,6 +842,9 @@ class ListFormsResponseFormRow {
|
|
|
819
842
|
if (proto.numberOfSubmissions) {
|
|
820
843
|
m.numberOfSubmissions = parseInt(proto.numberOfSubmissions, 10);
|
|
821
844
|
}
|
|
845
|
+
if (proto.recentProcessingStatus) {
|
|
846
|
+
m.recentProcessingStatus = enumStringToValue(ListFormsResponseProcessResultStatus, proto.recentProcessingStatus);
|
|
847
|
+
}
|
|
822
848
|
return m;
|
|
823
849
|
}
|
|
824
850
|
constructor(kwargs) {
|
|
@@ -835,6 +861,9 @@ class ListFormsResponseFormRow {
|
|
|
835
861
|
if (typeof this.numberOfSubmissions !== 'undefined') {
|
|
836
862
|
toReturn['numberOfSubmissions'] = this.numberOfSubmissions;
|
|
837
863
|
}
|
|
864
|
+
if (typeof this.recentProcessingStatus !== 'undefined') {
|
|
865
|
+
toReturn['recentProcessingStatus'] = this.recentProcessingStatus;
|
|
866
|
+
}
|
|
838
867
|
return toReturn;
|
|
839
868
|
}
|
|
840
869
|
}
|
|
@@ -848,6 +877,9 @@ class FormSubmission {
|
|
|
848
877
|
if (proto.created) {
|
|
849
878
|
m.created = new Date(proto.created);
|
|
850
879
|
}
|
|
880
|
+
if (proto.processResult) {
|
|
881
|
+
m.processResult = FormSubmissionProcessResult.fromProto(proto.processResult);
|
|
882
|
+
}
|
|
851
883
|
return m;
|
|
852
884
|
}
|
|
853
885
|
constructor(kwargs) {
|
|
@@ -870,6 +902,9 @@ class FormSubmission {
|
|
|
870
902
|
if (typeof this.created !== 'undefined' && this.created !== null) {
|
|
871
903
|
toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
|
|
872
904
|
}
|
|
905
|
+
if (typeof this.processResult !== 'undefined' && this.processResult !== null) {
|
|
906
|
+
toReturn['processResult'] = 'toApiJson' in this.processResult ? this.processResult.toApiJson() : this.processResult;
|
|
907
|
+
}
|
|
873
908
|
return toReturn;
|
|
874
909
|
}
|
|
875
910
|
}
|
|
@@ -1532,6 +1567,38 @@ class PreviewFormResponse {
|
|
|
1532
1567
|
return toReturn;
|
|
1533
1568
|
}
|
|
1534
1569
|
}
|
|
1570
|
+
class FormSubmissionProcessResult {
|
|
1571
|
+
static fromProto(proto) {
|
|
1572
|
+
let m = new FormSubmissionProcessResult();
|
|
1573
|
+
m = Object.assign(m, proto);
|
|
1574
|
+
if (proto.status) {
|
|
1575
|
+
m.status = enumStringToValue(FormSubmissionProcessResultStatus, proto.status);
|
|
1576
|
+
}
|
|
1577
|
+
if (proto.errors) {
|
|
1578
|
+
m.errors = proto.errors.map(FormSubmissionResultError.fromProto);
|
|
1579
|
+
}
|
|
1580
|
+
return m;
|
|
1581
|
+
}
|
|
1582
|
+
constructor(kwargs) {
|
|
1583
|
+
if (!kwargs) {
|
|
1584
|
+
return;
|
|
1585
|
+
}
|
|
1586
|
+
Object.assign(this, kwargs);
|
|
1587
|
+
}
|
|
1588
|
+
toApiJson() {
|
|
1589
|
+
const toReturn = {};
|
|
1590
|
+
if (typeof this.status !== 'undefined') {
|
|
1591
|
+
toReturn['status'] = this.status;
|
|
1592
|
+
}
|
|
1593
|
+
if (typeof this.entityIds !== 'undefined') {
|
|
1594
|
+
toReturn['entityIds'] = this.entityIds;
|
|
1595
|
+
}
|
|
1596
|
+
if (typeof this.errors !== 'undefined' && this.errors !== null) {
|
|
1597
|
+
toReturn['errors'] = 'toApiJson' in this.errors ? this.errors.toApiJson() : this.errors;
|
|
1598
|
+
}
|
|
1599
|
+
return toReturn;
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1535
1602
|
class RecoverFormRequest {
|
|
1536
1603
|
static fromProto(proto) {
|
|
1537
1604
|
let m = new RecoverFormRequest();
|
|
@@ -1688,6 +1755,32 @@ class ReprocessSubmissionResponse {
|
|
|
1688
1755
|
return toReturn;
|
|
1689
1756
|
}
|
|
1690
1757
|
}
|
|
1758
|
+
class FormSubmissionResultError {
|
|
1759
|
+
static fromProto(proto) {
|
|
1760
|
+
let m = new FormSubmissionResultError();
|
|
1761
|
+
m = Object.assign(m, proto);
|
|
1762
|
+
if (proto.errorType) {
|
|
1763
|
+
m.errorType = enumStringToValue(FormSubmissionProcessResultErrorType, proto.errorType);
|
|
1764
|
+
}
|
|
1765
|
+
return m;
|
|
1766
|
+
}
|
|
1767
|
+
constructor(kwargs) {
|
|
1768
|
+
if (!kwargs) {
|
|
1769
|
+
return;
|
|
1770
|
+
}
|
|
1771
|
+
Object.assign(this, kwargs);
|
|
1772
|
+
}
|
|
1773
|
+
toApiJson() {
|
|
1774
|
+
const toReturn = {};
|
|
1775
|
+
if (typeof this.stepId !== 'undefined') {
|
|
1776
|
+
toReturn['stepId'] = this.stepId;
|
|
1777
|
+
}
|
|
1778
|
+
if (typeof this.errorType !== 'undefined') {
|
|
1779
|
+
toReturn['errorType'] = this.errorType;
|
|
1780
|
+
}
|
|
1781
|
+
return toReturn;
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1691
1784
|
class FormConfigFieldSchema {
|
|
1692
1785
|
static fromProto(proto) {
|
|
1693
1786
|
let m = new FormConfigFieldSchema();
|
|
@@ -2355,5 +2448,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2355
2448
|
* Generated bundle index. Do not edit.
|
|
2356
2449
|
*/
|
|
2357
2450
|
|
|
2358
|
-
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, PagedRequestOptions, PagedResponseMetadata, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, SectionAction, SectionConfig, StringList, Styles, SubmitConditionParameters, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
2451
|
+
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionProcessResult, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, FormSubmissionResultError, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListFormsResponseProcessResultStatus, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, PagedRequestOptions, PagedResponseMetadata, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, SectionAction, SectionConfig, StringList, Styles, SubmitConditionParameters, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
2359
2452
|
//# sourceMappingURL=vendasta-forms_microservice.mjs.map
|