@vendasta/forms_microservice 0.0.11 → 0.0.12

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.
@@ -53,10 +53,23 @@ export declare class FormConfigField implements i.FormConfigFieldInterface {
53
53
  default: FormConfigFieldDefault;
54
54
  required: boolean;
55
55
  hidden: boolean;
56
+ defaultValue: FieldValue;
56
57
  static fromProto(proto: any): FormConfigField;
57
58
  constructor(kwargs?: i.FormConfigFieldInterface);
58
59
  toApiJson(): object;
59
60
  }
61
+ export declare class FieldValue implements i.FieldValueInterface {
62
+ invalid: boolean;
63
+ integer: number;
64
+ string: string;
65
+ date: string;
66
+ dropdown: string;
67
+ currency: number;
68
+ boolean: boolean;
69
+ static fromProto(proto: any): FieldValue;
70
+ constructor(kwargs?: i.FieldValueInterface);
71
+ toApiJson(): object;
72
+ }
60
73
  export declare class ListFormsRequestFilters implements i.ListFormsRequestFiltersInterface {
61
74
  partnerId: string;
62
75
  static fromProto(proto: any): ListFormsRequestFilters;
@@ -77,6 +90,13 @@ export declare class FormConfig implements i.FormConfigInterface {
77
90
  constructor(kwargs?: i.FormConfigInterface);
78
91
  toApiJson(): object;
79
92
  }
93
+ export declare class GetMultiRequestFormConfigIdentifier implements i.GetMultiRequestFormConfigIdentifierInterface {
94
+ formId: string;
95
+ version: string;
96
+ static fromProto(proto: any): GetMultiRequestFormConfigIdentifier;
97
+ constructor(kwargs?: i.GetMultiRequestFormConfigIdentifierInterface);
98
+ toApiJson(): object;
99
+ }
80
100
  export declare class ListFormsResponseFormRow implements i.ListFormsResponseFormRowInterface {
81
101
  form: FormConfig;
82
102
  numberOfSubmissions: number;
@@ -92,6 +112,13 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
92
112
  constructor(kwargs?: i.FormSubmissionInterface);
93
113
  toApiJson(): object;
94
114
  }
115
+ export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
116
+ formSubmissionId: string;
117
+ values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
118
+ static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
119
+ constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
120
+ toApiJson(): object;
121
+ }
95
122
  export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
96
123
  formId: string;
97
124
  static fromProto(proto: any): GetEmbedCodeRequest;
@@ -116,6 +143,45 @@ export declare class GetFormResponse implements i.GetFormResponseInterface {
116
143
  constructor(kwargs?: i.GetFormResponseInterface);
117
144
  toApiJson(): object;
118
145
  }
146
+ export declare class GetMultiFormVersionsListRequest implements i.GetMultiFormVersionsListRequestInterface {
147
+ formIds: string[];
148
+ static fromProto(proto: any): GetMultiFormVersionsListRequest;
149
+ constructor(kwargs?: i.GetMultiFormVersionsListRequestInterface);
150
+ toApiJson(): object;
151
+ }
152
+ export declare class GetMultiFormVersionsListResponse implements i.GetMultiFormVersionsListResponseInterface {
153
+ versions: GetMultiFormVersionsListResponseVersions[];
154
+ static fromProto(proto: any): GetMultiFormVersionsListResponse;
155
+ constructor(kwargs?: i.GetMultiFormVersionsListResponseInterface);
156
+ toApiJson(): object;
157
+ }
158
+ export declare class GetMultiRequest implements i.GetMultiRequestInterface {
159
+ formConfigIdentifiers: GetMultiRequestFormConfigIdentifier[];
160
+ static fromProto(proto: any): GetMultiRequest;
161
+ constructor(kwargs?: i.GetMultiRequestInterface);
162
+ toApiJson(): object;
163
+ }
164
+ export declare class GetMultiResponse implements i.GetMultiResponseInterface {
165
+ formConfigs: FormConfig[];
166
+ static fromProto(proto: any): GetMultiResponse;
167
+ constructor(kwargs?: i.GetMultiResponseInterface);
168
+ toApiJson(): object;
169
+ }
170
+ export declare class ListFormSubmissionRequest implements i.ListFormSubmissionRequestInterface {
171
+ formId: string;
172
+ version: string;
173
+ pagingOptions: PagedRequestOptions;
174
+ static fromProto(proto: any): ListFormSubmissionRequest;
175
+ constructor(kwargs?: i.ListFormSubmissionRequestInterface);
176
+ toApiJson(): object;
177
+ }
178
+ export declare class ListFormSubmissionResponse implements i.ListFormSubmissionResponseInterface {
179
+ submissions: ListFormSubmissionResponseFormSubmission[];
180
+ pagingMetadata: PagedResponseMetadata;
181
+ static fromProto(proto: any): ListFormSubmissionResponse;
182
+ constructor(kwargs?: i.ListFormSubmissionResponseInterface);
183
+ toApiJson(): object;
184
+ }
119
185
  export declare class ListFormsRequest implements i.ListFormsRequestInterface {
120
186
  filters: ListFormsRequestFilters;
121
187
  pagingOptions: PagedRequestOptions;
@@ -178,6 +244,13 @@ export declare class Styles implements i.StylesInterface {
178
244
  constructor(kwargs?: i.StylesInterface);
179
245
  toApiJson(): object;
180
246
  }
247
+ export declare class ListFormSubmissionResponseFormSubmissionSubmittedValue implements i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface {
248
+ fieldId: string;
249
+ fieldValue: FieldValue;
250
+ static fromProto(proto: any): ListFormSubmissionResponseFormSubmissionSubmittedValue;
251
+ constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface);
252
+ toApiJson(): object;
253
+ }
181
254
  export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
182
255
  id: string;
183
256
  type: e.FieldType;
@@ -199,3 +272,10 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
199
272
  constructor(kwargs?: i.UpdateFormResponseInterface);
200
273
  toApiJson(): object;
201
274
  }
275
+ export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
276
+ formId: string;
277
+ version: string[];
278
+ static fromProto(proto: any): GetMultiFormVersionsListResponseVersions;
279
+ constructor(kwargs?: i.GetMultiFormVersionsListResponseVersionsInterface);
280
+ toApiJson(): object;
281
+ }
@@ -1,2 +1,2 @@
1
1
  export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
2
- export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, FormConfigFieldDefault, DeleteFormRequest, FormConfigFieldUnmappedFieldDropdownOption, FormConfigField, ListFormsRequestFilters, FormConfig, ListFormsResponseFormRow, FormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, ListFormsRequest, ListFormsResponse, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, FormConfigFieldUnmappedField, UpdateFormRequest, UpdateFormResponse, } from './api';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/forms_microservice",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"