@vendasta/forms_microservice 0.22.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.
@@ -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
  }
@@ -100,6 +100,7 @@ export interface GenerateCustomCSSRequestInterface {
100
100
  prompt?: string;
101
101
  imageUrls?: string[];
102
102
  htmlTemplate?: string;
103
+ formId?: string;
103
104
  }
104
105
  export interface GenerateCustomCSSResponseInterface {
105
106
  generatedCss?: StylesInterface;
@@ -216,6 +217,12 @@ export interface RenderFormResponseInterface {
216
217
  recaptchaSiteKey?: string;
217
218
  defaultValues?: RenderFormResponseDefaultValuesInterface[];
218
219
  }
220
+ export interface ReprocessSubmissionRequestInterface {
221
+ formSubmissionId?: string;
222
+ }
223
+ export interface ReprocessSubmissionResponseInterface {
224
+ status?: e.ReprocessStatus;
225
+ }
219
226
  export interface FormConfigFieldSchemaInterface {
220
227
  unmappedField?: UnmappedFieldInterface;
221
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';
@@ -153,6 +153,7 @@ export declare class GenerateCustomCSSRequest implements i.GenerateCustomCSSRequ
153
153
  prompt: string;
154
154
  imageUrls: string[];
155
155
  htmlTemplate: string;
156
+ formId: string;
156
157
  static fromProto(proto: any): GenerateCustomCSSRequest;
157
158
  constructor(kwargs?: i.GenerateCustomCSSRequestInterface);
158
159
  toApiJson(): object;
@@ -356,6 +357,18 @@ export declare class RenderFormResponse implements i.RenderFormResponseInterface
356
357
  constructor(kwargs?: i.RenderFormResponseInterface);
357
358
  toApiJson(): object;
358
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
+ }
359
372
  export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
360
373
  unmappedField: UnmappedField;
361
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/forms_microservice",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"