@vendasta/forms_microservice 0.0.12 → 0.0.15

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.
@@ -10,15 +10,6 @@ export interface CreateFormResponseInterface {
10
10
  export interface CreateFormSubmissionRequestInterface {
11
11
  submission?: FormSubmissionInterface;
12
12
  }
13
- export interface FormConfigFieldDefaultInterface {
14
- invalid?: boolean;
15
- integer?: number;
16
- string?: string;
17
- date?: string;
18
- dropdown?: string;
19
- currency?: number;
20
- boolean?: boolean;
21
- }
22
13
  export interface DeleteFormRequestInterface {
23
14
  formId?: string;
24
15
  version?: string;
@@ -30,7 +21,6 @@ export interface FormConfigFieldUnmappedFieldDropdownOptionInterface {
30
21
  export interface FormConfigFieldInterface {
31
22
  schema?: FormConfigFieldSchemaInterface;
32
23
  label?: string;
33
- default?: FormConfigFieldDefaultInterface;
34
24
  required?: boolean;
35
25
  hidden?: boolean;
36
26
  defaultValue?: FieldValueInterface;
@@ -57,6 +47,8 @@ export interface FormConfigInterface {
57
47
  name?: string;
58
48
  created?: Date;
59
49
  updated?: Date;
50
+ mostRecent?: boolean;
51
+ redirectUrl?: string;
60
52
  }
61
53
  export interface GetMultiRequestFormConfigIdentifierInterface {
62
54
  formId?: string;
@@ -73,6 +65,7 @@ export interface FormSubmissionInterface {
73
65
  }
74
66
  export interface ListFormSubmissionResponseFormSubmissionInterface {
75
67
  formSubmissionId?: string;
68
+ formVersion?: string;
76
69
  values?: ListFormSubmissionResponseFormSubmissionSubmittedValueInterface[];
77
70
  }
78
71
  export interface GetEmbedCodeRequestInterface {
@@ -101,7 +94,6 @@ export interface GetMultiResponseInterface {
101
94
  }
102
95
  export interface ListFormSubmissionRequestInterface {
103
96
  formId?: string;
104
- version?: string;
105
97
  pagingOptions?: PagedRequestOptionsInterface;
106
98
  }
107
99
  export interface ListFormSubmissionResponseInterface {
@@ -164,5 +156,5 @@ export interface UpdateFormResponseInterface {
164
156
  }
165
157
  export interface GetMultiFormVersionsListResponseVersionsInterface {
166
158
  formId?: string;
167
- version?: string[];
159
+ versions?: string[];
168
160
  }
@@ -1,2 +1,2 @@
1
1
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
2
- export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, FormConfigFieldDefaultInterface, DeleteFormRequestInterface, FormConfigFieldUnmappedFieldDropdownOptionInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, ListFormSubmissionResponseFormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, FormConfigFieldSchemaInterface, StylesInterface, ListFormSubmissionResponseFormSubmissionSubmittedValueInterface, FormConfigFieldUnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
2
+ export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, DeleteFormRequestInterface, FormConfigFieldUnmappedFieldDropdownOptionInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, ListFormSubmissionResponseFormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, FormConfigFieldSchemaInterface, StylesInterface, ListFormSubmissionResponseFormSubmissionSubmittedValueInterface, FormConfigFieldUnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
@@ -21,18 +21,6 @@ export declare class CreateFormSubmissionRequest implements i.CreateFormSubmissi
21
21
  constructor(kwargs?: i.CreateFormSubmissionRequestInterface);
22
22
  toApiJson(): object;
23
23
  }
24
- export declare class FormConfigFieldDefault implements i.FormConfigFieldDefaultInterface {
25
- invalid: boolean;
26
- integer: number;
27
- string: string;
28
- date: string;
29
- dropdown: string;
30
- currency: number;
31
- boolean: boolean;
32
- static fromProto(proto: any): FormConfigFieldDefault;
33
- constructor(kwargs?: i.FormConfigFieldDefaultInterface);
34
- toApiJson(): object;
35
- }
36
24
  export declare class DeleteFormRequest implements i.DeleteFormRequestInterface {
37
25
  formId: string;
38
26
  version: string;
@@ -50,7 +38,6 @@ export declare class FormConfigFieldUnmappedFieldDropdownOption implements i.For
50
38
  export declare class FormConfigField implements i.FormConfigFieldInterface {
51
39
  schema: FormConfigFieldSchema;
52
40
  label: string;
53
- default: FormConfigFieldDefault;
54
41
  required: boolean;
55
42
  hidden: boolean;
56
43
  defaultValue: FieldValue;
@@ -86,6 +73,8 @@ export declare class FormConfig implements i.FormConfigInterface {
86
73
  name: string;
87
74
  created: Date;
88
75
  updated: Date;
76
+ mostRecent: boolean;
77
+ redirectUrl: string;
89
78
  static fromProto(proto: any): FormConfig;
90
79
  constructor(kwargs?: i.FormConfigInterface);
91
80
  toApiJson(): object;
@@ -114,6 +103,7 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
114
103
  }
115
104
  export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
116
105
  formSubmissionId: string;
106
+ formVersion: string;
117
107
  values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
118
108
  static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
119
109
  constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
@@ -169,7 +159,6 @@ export declare class GetMultiResponse implements i.GetMultiResponseInterface {
169
159
  }
170
160
  export declare class ListFormSubmissionRequest implements i.ListFormSubmissionRequestInterface {
171
161
  formId: string;
172
- version: string;
173
162
  pagingOptions: PagedRequestOptions;
174
163
  static fromProto(proto: any): ListFormSubmissionRequest;
175
164
  constructor(kwargs?: i.ListFormSubmissionRequestInterface);
@@ -274,7 +263,7 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
274
263
  }
275
264
  export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
276
265
  formId: string;
277
- version: string[];
266
+ versions: string[];
278
267
  static fromProto(proto: any): GetMultiFormVersionsListResponseVersions;
279
268
  constructor(kwargs?: i.GetMultiFormVersionsListResponseVersionsInterface);
280
269
  toApiJson(): object;
@@ -1,2 +1,2 @@
1
1
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
2
- export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, FormConfigFieldDefault, DeleteFormRequest, FormConfigFieldUnmappedFieldDropdownOption, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, ListFormSubmissionResponseFormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, ListFormSubmissionResponseFormSubmissionSubmittedValue, FormConfigFieldUnmappedField, UpdateFormRequest, UpdateFormResponse, GetMultiFormVersionsListResponseVersions, } from './api';
2
+ export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, DeleteFormRequest, FormConfigFieldUnmappedFieldDropdownOption, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, ListFormSubmissionResponseFormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, ListFormSubmissionResponseFormSubmissionSubmittedValue, FormConfigFieldUnmappedField, UpdateFormRequest, UpdateFormResponse, GetMultiFormVersionsListResponseVersions, } from './api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/forms_microservice",
3
- "version": "0.0.12",
3
+ "version": "0.0.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"