@vendasta/forms_microservice 0.23.0 → 0.24.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 +9 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/form-submission.api.service.mjs +7 -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 +44 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +57 -1
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +57 -1
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +8 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/form-submission.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +12 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,8 @@ export declare enum FieldType {
|
|
|
13
13
|
FIELD_TYPE_BUSINESS_SEARCH = 11,
|
|
14
14
|
FIELD_TYPE_TEXT_AREA = 12,
|
|
15
15
|
FIELD_TYPE_TAG = 13,
|
|
16
|
-
FIELD_TYPE_SECTION = 14
|
|
16
|
+
FIELD_TYPE_SECTION = 14,
|
|
17
|
+
FIELD_TYPE_FILE = 15
|
|
17
18
|
}
|
|
18
19
|
export declare enum FormCreationStatus {
|
|
19
20
|
FORM_CREATION_STATUS_UNSPECIFIED = 0,
|
|
@@ -25,6 +26,12 @@ export declare enum JsonSchemaLibrary {
|
|
|
25
26
|
JSON_SCHEMA_LIBRARY_UNDEFINED = 0,
|
|
26
27
|
JSON_SCHEMA_LIBRARY_JSONFORM = 1
|
|
27
28
|
}
|
|
29
|
+
export declare enum ReprocessStatus {
|
|
30
|
+
REPROCESS_STATUS_UNSPECIFIED = 0,
|
|
31
|
+
STARTED = 1,
|
|
32
|
+
ALREADY_RUNNING = 2,
|
|
33
|
+
NO_MAPPABLE_FIELDS = 3
|
|
34
|
+
}
|
|
28
35
|
export declare enum SectionAction {
|
|
29
36
|
SECTION_ACTION_UNDEFINED = 0,
|
|
30
37
|
SECTION_ACTION_SUBMIT = 1,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DateDefault, FilterGroupOperator, FilterOperator, FilterType, } from './galaxy-filters.enum';
|
|
2
|
-
export { FieldType, FormCreationStatus, JsonSchemaLibrary, SectionAction, } from './api.enum';
|
|
2
|
+
export { FieldType, FormCreationStatus, JsonSchemaLibrary, ReprocessStatus, SectionAction, } from './api.enum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateFormSubmissionRequest, CreateFormSubmissionResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, ListFormSubmissionRequest, ListFormSubmissionResponse } from './objects/';
|
|
2
|
-
import { CreateFormSubmissionRequestInterface, GetMultiFormSubmissionRequestInterface, ListFormSubmissionRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreateFormSubmissionRequest, CreateFormSubmissionResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ReprocessSubmissionRequest, ReprocessSubmissionResponse } from './objects/';
|
|
2
|
+
import { CreateFormSubmissionRequestInterface, GetMultiFormSubmissionRequestInterface, ListFormSubmissionRequestInterface, ReprocessSubmissionRequestInterface } from './interfaces/';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FormSubmissionApiService {
|
|
@@ -10,6 +10,7 @@ export declare class FormSubmissionApiService {
|
|
|
10
10
|
createFormSubmission(r: CreateFormSubmissionRequest | CreateFormSubmissionRequestInterface): Observable<CreateFormSubmissionResponse>;
|
|
11
11
|
listFormSubmission(r: ListFormSubmissionRequest | ListFormSubmissionRequestInterface): Observable<ListFormSubmissionResponse>;
|
|
12
12
|
getMultiFormSubmission(r: GetMultiFormSubmissionRequest | GetMultiFormSubmissionRequestInterface): Observable<GetMultiFormSubmissionResponse>;
|
|
13
|
+
reprocessSubmission(r: ReprocessSubmissionRequest | ReprocessSubmissionRequestInterface): Observable<ReprocessSubmissionResponse>;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmissionApiService, never>;
|
|
14
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormSubmissionApiService>;
|
|
15
16
|
}
|
|
@@ -217,6 +217,12 @@ export interface RenderFormResponseInterface {
|
|
|
217
217
|
recaptchaSiteKey?: string;
|
|
218
218
|
defaultValues?: RenderFormResponseDefaultValuesInterface[];
|
|
219
219
|
}
|
|
220
|
+
export interface ReprocessSubmissionRequestInterface {
|
|
221
|
+
formSubmissionId?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface ReprocessSubmissionResponseInterface {
|
|
224
|
+
status?: e.ReprocessStatus;
|
|
225
|
+
}
|
|
220
226
|
export interface FormConfigFieldSchemaInterface {
|
|
221
227
|
unmappedField?: UnmappedFieldInterface;
|
|
222
228
|
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, 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, RecoverFormRequestInterface, RecoverFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, ReprocessSubmissionRequestInterface, ReprocessSubmissionResponseInterface, FormConfigFieldSchemaInterface, SectionConfigInterface, StringListInterface, StylesInterface, SubmitConditionParametersInterface, FormSubmissionSubmittedValueInterface, SystemDefinedInterface, FormConfigTemplateSetupSettingsInterface, UnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, UserFormSubmissionInterface, ValidationErrorInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
@@ -357,6 +357,18 @@ export declare class RenderFormResponse implements i.RenderFormResponseInterface
|
|
|
357
357
|
constructor(kwargs?: i.RenderFormResponseInterface);
|
|
358
358
|
toApiJson(): object;
|
|
359
359
|
}
|
|
360
|
+
export declare class ReprocessSubmissionRequest implements i.ReprocessSubmissionRequestInterface {
|
|
361
|
+
formSubmissionId: string;
|
|
362
|
+
static fromProto(proto: any): ReprocessSubmissionRequest;
|
|
363
|
+
constructor(kwargs?: i.ReprocessSubmissionRequestInterface);
|
|
364
|
+
toApiJson(): object;
|
|
365
|
+
}
|
|
366
|
+
export declare class ReprocessSubmissionResponse implements i.ReprocessSubmissionResponseInterface {
|
|
367
|
+
status: e.ReprocessStatus;
|
|
368
|
+
static fromProto(proto: any): ReprocessSubmissionResponse;
|
|
369
|
+
constructor(kwargs?: i.ReprocessSubmissionResponseInterface);
|
|
370
|
+
toApiJson(): object;
|
|
371
|
+
}
|
|
360
372
|
export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
|
|
361
373
|
unmappedField: UnmappedField;
|
|
362
374
|
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, 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, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, ReprocessSubmissionRequest, ReprocessSubmissionResponse, FormConfigFieldSchema, SectionConfig, StringList, Styles, SubmitConditionParameters, FormSubmissionSubmittedValue, SystemDefined, FormConfigTemplateSetupSettings, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|