@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.
@@ -26,6 +26,26 @@ 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 ListFormsResponseProcessResultStatus {
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
+ }
42
+ export declare enum FormSubmissionProcessResultStatus {
43
+ PROCESS_RESULT_STATUS_UNSPECIFIED = 0,
44
+ PROCESS_RESULT_STATUS_IN_PROGRESS = 1,
45
+ PROCESS_RESULT_STATUS_COMPLETED = 2,
46
+ PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS = 3,
47
+ PROCESS_RESULT_STATUS_FAILED = 4
48
+ }
29
49
  export declare enum ReprocessStatus {
30
50
  REPROCESS_STATUS_UNSPECIFIED = 0,
31
51
  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, ListFormsResponseProcessResultStatus, FormSubmissionProcessResultStatus, ReprocessStatus, SectionAction, } from './api.enum';
@@ -87,12 +87,14 @@ export interface GetMultiRequestFormConfigIdentifierInterface {
87
87
  export interface ListFormsResponseFormRowInterface {
88
88
  form?: FormConfigInterface;
89
89
  numberOfSubmissions?: number;
90
+ recentProcessingStatus?: e.ListFormsResponseProcessResultStatus;
90
91
  }
91
92
  export interface FormSubmissionInterface {
92
93
  formSubmissionId?: string;
93
94
  formVersion?: string;
94
95
  values?: FormSubmissionSubmittedValueInterface[];
95
96
  created?: Date;
97
+ processResult?: FormSubmissionProcessResultInterface;
96
98
  }
97
99
  export interface GenerateCustomCSSRequestInterface {
98
100
  namespace?: string;
@@ -198,6 +200,11 @@ export interface PreviewFormResponseInterface {
198
200
  jsonSchema?: string;
199
201
  jsonUiSchema?: string;
200
202
  }
203
+ export interface FormSubmissionProcessResultInterface {
204
+ status?: e.FormSubmissionProcessResultStatus;
205
+ entityIds?: string[];
206
+ errors?: FormSubmissionResultErrorInterface[];
207
+ }
201
208
  export interface RecoverFormRequestInterface {
202
209
  formId?: string;
203
210
  }
@@ -223,6 +230,10 @@ export interface ReprocessSubmissionRequestInterface {
223
230
  export interface ReprocessSubmissionResponseInterface {
224
231
  status?: e.ReprocessStatus;
225
232
  }
233
+ export interface FormSubmissionResultErrorInterface {
234
+ stepId?: string;
235
+ errorType?: e.FormSubmissionProcessResultErrorType;
236
+ }
226
237
  export interface FormConfigFieldSchemaInterface {
227
238
  unmappedField?: UnmappedFieldInterface;
228
239
  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';
@@ -134,6 +134,7 @@ export declare class GetMultiRequestFormConfigIdentifier implements i.GetMultiRe
134
134
  export declare class ListFormsResponseFormRow implements i.ListFormsResponseFormRowInterface {
135
135
  form: FormConfig;
136
136
  numberOfSubmissions: number;
137
+ recentProcessingStatus: e.ListFormsResponseProcessResultStatus;
137
138
  static fromProto(proto: any): ListFormsResponseFormRow;
138
139
  constructor(kwargs?: i.ListFormsResponseFormRowInterface);
139
140
  toApiJson(): object;
@@ -143,6 +144,7 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
143
144
  formVersion: string;
144
145
  values: FormSubmissionSubmittedValue[];
145
146
  created: Date;
147
+ processResult: FormSubmissionProcessResult;
146
148
  static fromProto(proto: any): FormSubmission;
147
149
  constructor(kwargs?: i.FormSubmissionInterface);
148
150
  toApiJson(): object;
@@ -326,6 +328,14 @@ export declare class PreviewFormResponse implements i.PreviewFormResponseInterfa
326
328
  constructor(kwargs?: i.PreviewFormResponseInterface);
327
329
  toApiJson(): object;
328
330
  }
331
+ export declare class FormSubmissionProcessResult implements i.FormSubmissionProcessResultInterface {
332
+ status: e.FormSubmissionProcessResultStatus;
333
+ entityIds: string[];
334
+ errors: FormSubmissionResultError[];
335
+ static fromProto(proto: any): FormSubmissionProcessResult;
336
+ constructor(kwargs?: i.FormSubmissionProcessResultInterface);
337
+ toApiJson(): object;
338
+ }
329
339
  export declare class RecoverFormRequest implements i.RecoverFormRequestInterface {
330
340
  formId: string;
331
341
  static fromProto(proto: any): RecoverFormRequest;
@@ -369,6 +379,13 @@ export declare class ReprocessSubmissionResponse implements i.ReprocessSubmissio
369
379
  constructor(kwargs?: i.ReprocessSubmissionResponseInterface);
370
380
  toApiJson(): object;
371
381
  }
382
+ export declare class FormSubmissionResultError implements i.FormSubmissionResultErrorInterface {
383
+ stepId: string;
384
+ errorType: e.FormSubmissionProcessResultErrorType;
385
+ static fromProto(proto: any): FormSubmissionResultError;
386
+ constructor(kwargs?: i.FormSubmissionResultErrorInterface);
387
+ toApiJson(): object;
388
+ }
372
389
  export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
373
390
  unmappedField: UnmappedField;
374
391
  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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/forms_microservice",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"