@vendasta/forms_microservice 0.24.0 → 0.25.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 +16 -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 +65 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +80 -1
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +80 -1
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +13 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +10 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +16 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,19 @@ export declare enum JsonSchemaLibrary {
|
|
|
26
26
|
JSON_SCHEMA_LIBRARY_UNDEFINED = 0,
|
|
27
27
|
JSON_SCHEMA_LIBRARY_JSONFORM = 1
|
|
28
28
|
}
|
|
29
|
+
export declare enum FormSubmissionProcessResultErrorType {
|
|
30
|
+
PROCESS_RESULT_ERROR_TYPE_UNSPECIFIED = 0,
|
|
31
|
+
PROCESS_RESULT_ERROR_TYPE_NOT_FOUND = 1,
|
|
32
|
+
PROCESS_RESULT_ERROR_TYPE_ALREADY_EXISTS = 2,
|
|
33
|
+
PROCESS_RESULT_ERROR_TYPE_INVALID_ARGUMENT = 3
|
|
34
|
+
}
|
|
35
|
+
export declare enum FormSubmissionProcessResultStatus {
|
|
36
|
+
PROCESS_RESULT_STATUS_UNSPECIFIED = 0,
|
|
37
|
+
PROCESS_RESULT_STATUS_IN_PROGRESS = 1,
|
|
38
|
+
PROCESS_RESULT_STATUS_COMPLETED = 2,
|
|
39
|
+
PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS = 3,
|
|
40
|
+
PROCESS_RESULT_STATUS_FAILED = 4
|
|
41
|
+
}
|
|
29
42
|
export declare enum ReprocessStatus {
|
|
30
43
|
REPROCESS_STATUS_UNSPECIFIED = 0,
|
|
31
44
|
STARTED = 1,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DateDefault, FilterGroupOperator, FilterOperator, FilterType, } from './galaxy-filters.enum';
|
|
2
|
-
export { FieldType, FormCreationStatus, JsonSchemaLibrary, ReprocessStatus, SectionAction, } from './api.enum';
|
|
2
|
+
export { FieldType, FormCreationStatus, JsonSchemaLibrary, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, ReprocessStatus, SectionAction, } from './api.enum';
|
|
@@ -93,6 +93,7 @@ export interface FormSubmissionInterface {
|
|
|
93
93
|
formVersion?: string;
|
|
94
94
|
values?: FormSubmissionSubmittedValueInterface[];
|
|
95
95
|
created?: Date;
|
|
96
|
+
processResult?: FormSubmissionProcessResultInterface;
|
|
96
97
|
}
|
|
97
98
|
export interface GenerateCustomCSSRequestInterface {
|
|
98
99
|
namespace?: string;
|
|
@@ -198,6 +199,11 @@ export interface PreviewFormResponseInterface {
|
|
|
198
199
|
jsonSchema?: string;
|
|
199
200
|
jsonUiSchema?: string;
|
|
200
201
|
}
|
|
202
|
+
export interface FormSubmissionProcessResultInterface {
|
|
203
|
+
status?: e.FormSubmissionProcessResultStatus;
|
|
204
|
+
entityIds?: string[];
|
|
205
|
+
errors?: FormSubmissionResultErrorInterface[];
|
|
206
|
+
}
|
|
201
207
|
export interface RecoverFormRequestInterface {
|
|
202
208
|
formId?: string;
|
|
203
209
|
}
|
|
@@ -223,6 +229,10 @@ export interface ReprocessSubmissionRequestInterface {
|
|
|
223
229
|
export interface ReprocessSubmissionResponseInterface {
|
|
224
230
|
status?: e.ReprocessStatus;
|
|
225
231
|
}
|
|
232
|
+
export interface FormSubmissionResultErrorInterface {
|
|
233
|
+
stepId?: string;
|
|
234
|
+
errorType?: e.FormSubmissionProcessResultErrorType;
|
|
235
|
+
}
|
|
226
236
|
export interface FormConfigFieldSchemaInterface {
|
|
227
237
|
unmappedField?: UnmappedFieldInterface;
|
|
228
238
|
mappedField?: MappedFieldInterface;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
2
2
|
export { FilterInterface, FilterGroupInterface, PhoneInterface, FilterValueInterface, } from './galaxy-filters.interface';
|
|
3
|
-
export { ActionParametersInterface, CreateFormFromTemplateRequestInterface, CreateFormFromTemplateResponseInterface, CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, CreateFormSubmissionResponseInterface, RenderFormResponseDefaultValuesInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldOptionInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, GenerateCustomCSSRequestInterface, GenerateCustomCSSResponseInterface, GetCreateFormFromTemplateStatusRequestInterface, GetCreateFormFromTemplateStatusResponseInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormSubmissionRequestInterface, GetMultiFormSubmissionResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, ListMappedFieldSchemaRequestInterface, ListMappedFieldSchemaResponseInterface, MappedFieldInterface, NextParametersInterface, RenderFormResponsePreFillByUrlQueryParameterInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RecoverFormRequestInterface, RecoverFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, ReprocessSubmissionRequestInterface, ReprocessSubmissionResponseInterface, FormConfigFieldSchemaInterface, SectionConfigInterface, StringListInterface, StylesInterface, SubmitConditionParametersInterface, FormSubmissionSubmittedValueInterface, SystemDefinedInterface, FormConfigTemplateSetupSettingsInterface, UnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, UserFormSubmissionInterface, ValidationErrorInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
3
|
+
export { ActionParametersInterface, CreateFormFromTemplateRequestInterface, CreateFormFromTemplateResponseInterface, CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, CreateFormSubmissionResponseInterface, RenderFormResponseDefaultValuesInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldOptionInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, GenerateCustomCSSRequestInterface, GenerateCustomCSSResponseInterface, GetCreateFormFromTemplateStatusRequestInterface, GetCreateFormFromTemplateStatusResponseInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormSubmissionRequestInterface, GetMultiFormSubmissionResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, ListMappedFieldSchemaRequestInterface, ListMappedFieldSchemaResponseInterface, MappedFieldInterface, NextParametersInterface, RenderFormResponsePreFillByUrlQueryParameterInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, FormSubmissionProcessResultInterface, RecoverFormRequestInterface, RecoverFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, ReprocessSubmissionRequestInterface, ReprocessSubmissionResponseInterface, FormSubmissionResultErrorInterface, FormConfigFieldSchemaInterface, SectionConfigInterface, StringListInterface, StylesInterface, SubmitConditionParametersInterface, FormSubmissionSubmittedValueInterface, SystemDefinedInterface, FormConfigTemplateSetupSettingsInterface, UnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, UserFormSubmissionInterface, ValidationErrorInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
@@ -143,6 +143,7 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
|
143
143
|
formVersion: string;
|
|
144
144
|
values: FormSubmissionSubmittedValue[];
|
|
145
145
|
created: Date;
|
|
146
|
+
processResult: FormSubmissionProcessResult;
|
|
146
147
|
static fromProto(proto: any): FormSubmission;
|
|
147
148
|
constructor(kwargs?: i.FormSubmissionInterface);
|
|
148
149
|
toApiJson(): object;
|
|
@@ -326,6 +327,14 @@ export declare class PreviewFormResponse implements i.PreviewFormResponseInterfa
|
|
|
326
327
|
constructor(kwargs?: i.PreviewFormResponseInterface);
|
|
327
328
|
toApiJson(): object;
|
|
328
329
|
}
|
|
330
|
+
export declare class FormSubmissionProcessResult implements i.FormSubmissionProcessResultInterface {
|
|
331
|
+
status: e.FormSubmissionProcessResultStatus;
|
|
332
|
+
entityIds: string[];
|
|
333
|
+
errors: FormSubmissionResultError[];
|
|
334
|
+
static fromProto(proto: any): FormSubmissionProcessResult;
|
|
335
|
+
constructor(kwargs?: i.FormSubmissionProcessResultInterface);
|
|
336
|
+
toApiJson(): object;
|
|
337
|
+
}
|
|
329
338
|
export declare class RecoverFormRequest implements i.RecoverFormRequestInterface {
|
|
330
339
|
formId: string;
|
|
331
340
|
static fromProto(proto: any): RecoverFormRequest;
|
|
@@ -369,6 +378,13 @@ export declare class ReprocessSubmissionResponse implements i.ReprocessSubmissio
|
|
|
369
378
|
constructor(kwargs?: i.ReprocessSubmissionResponseInterface);
|
|
370
379
|
toApiJson(): object;
|
|
371
380
|
}
|
|
381
|
+
export declare class FormSubmissionResultError implements i.FormSubmissionResultErrorInterface {
|
|
382
|
+
stepId: string;
|
|
383
|
+
errorType: e.FormSubmissionProcessResultErrorType;
|
|
384
|
+
static fromProto(proto: any): FormSubmissionResultError;
|
|
385
|
+
constructor(kwargs?: i.FormSubmissionResultErrorInterface);
|
|
386
|
+
toApiJson(): object;
|
|
387
|
+
}
|
|
372
388
|
export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
|
|
373
389
|
unmappedField: UnmappedField;
|
|
374
390
|
mappedField: MappedField;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
2
2
|
export { Filter, FilterGroup, Phone, FilterValue, } from './galaxy-filters';
|
|
3
|
-
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';
|
|
3
|
+
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';
|