@vendasta/forms_microservice 0.0.13 → 0.0.16

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.
@@ -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;
@@ -40,17 +28,9 @@ export declare class DeleteFormRequest implements i.DeleteFormRequestInterface {
40
28
  constructor(kwargs?: i.DeleteFormRequestInterface);
41
29
  toApiJson(): object;
42
30
  }
43
- export declare class FormConfigFieldUnmappedFieldDropdownOption implements i.FormConfigFieldUnmappedFieldDropdownOptionInterface {
44
- value: string;
45
- label: string;
46
- static fromProto(proto: any): FormConfigFieldUnmappedFieldDropdownOption;
47
- constructor(kwargs?: i.FormConfigFieldUnmappedFieldDropdownOptionInterface);
48
- toApiJson(): object;
49
- }
50
31
  export declare class FormConfigField implements i.FormConfigFieldInterface {
51
32
  schema: FormConfigFieldSchema;
52
33
  label: string;
53
- default: FormConfigFieldDefault;
54
34
  required: boolean;
55
35
  hidden: boolean;
56
36
  defaultValue: FieldValue;
@@ -62,9 +42,6 @@ export declare class FieldValue implements i.FieldValueInterface {
62
42
  invalid: boolean;
63
43
  integer: number;
64
44
  string: string;
65
- date: string;
66
- dropdown: string;
67
- currency: number;
68
45
  boolean: boolean;
69
46
  static fromProto(proto: any): FieldValue;
70
47
  constructor(kwargs?: i.FieldValueInterface);
@@ -87,6 +64,7 @@ export declare class FormConfig implements i.FormConfigInterface {
87
64
  created: Date;
88
65
  updated: Date;
89
66
  mostRecent: boolean;
67
+ redirectUrl: string;
90
68
  static fromProto(proto: any): FormConfig;
91
69
  constructor(kwargs?: i.FormConfigInterface);
92
70
  toApiJson(): object;
@@ -105,14 +83,6 @@ export declare class ListFormsResponseFormRow implements i.ListFormsResponseForm
105
83
  constructor(kwargs?: i.ListFormsResponseFormRowInterface);
106
84
  toApiJson(): object;
107
85
  }
108
- export declare class FormSubmission implements i.FormSubmissionInterface {
109
- formId: string;
110
- version: string;
111
- values: string;
112
- static fromProto(proto: any): FormSubmission;
113
- constructor(kwargs?: i.FormSubmissionInterface);
114
- toApiJson(): object;
115
- }
116
86
  export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
117
87
  formSubmissionId: string;
118
88
  formVersion: string;
@@ -121,6 +91,14 @@ export declare class ListFormSubmissionResponseFormSubmission implements i.ListF
121
91
  constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
122
92
  toApiJson(): object;
123
93
  }
94
+ export declare class FormSubmission implements i.FormSubmissionInterface {
95
+ formId: string;
96
+ version: string;
97
+ values: string;
98
+ static fromProto(proto: any): FormSubmission;
99
+ constructor(kwargs?: i.FormSubmissionInterface);
100
+ toApiJson(): object;
101
+ }
124
102
  export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
125
103
  formId: string;
126
104
  static fromProto(proto: any): GetEmbedCodeRequest;
@@ -197,6 +175,13 @@ export declare class ListFormsResponse implements i.ListFormsResponseInterface {
197
175
  constructor(kwargs?: i.ListFormsResponseInterface);
198
176
  toApiJson(): object;
199
177
  }
178
+ export declare class FormConfigFieldUnmappedFieldOption implements i.FormConfigFieldUnmappedFieldOptionInterface {
179
+ value: string;
180
+ label: string;
181
+ static fromProto(proto: any): FormConfigFieldUnmappedFieldOption;
182
+ constructor(kwargs?: i.FormConfigFieldUnmappedFieldOptionInterface);
183
+ toApiJson(): object;
184
+ }
200
185
  export declare class PreviewFormRequest implements i.PreviewFormRequestInterface {
201
186
  formConfig: FormConfig;
202
187
  library: e.JsonSchemaLibrary;
@@ -255,7 +240,7 @@ export declare class ListFormSubmissionResponseFormSubmissionSubmittedValue impl
255
240
  export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
256
241
  id: string;
257
242
  type: e.FieldType;
258
- dropdownOptions: FormConfigFieldUnmappedFieldDropdownOption[];
243
+ options: FormConfigFieldUnmappedFieldOption[];
259
244
  currencyCode: string;
260
245
  static fromProto(proto: any): FormConfigFieldUnmappedField;
261
246
  constructor(kwargs?: i.FormConfigFieldUnmappedFieldInterface);
@@ -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, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, ListFormSubmissionResponseFormSubmission, FormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, FormConfigFieldUnmappedFieldOption, 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.13",
3
+ "version": "0.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"