@vendasta/forms_microservice 0.0.11 → 0.0.14

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;
@@ -50,13 +38,25 @@ 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;
43
+ defaultValue: FieldValue;
56
44
  static fromProto(proto: any): FormConfigField;
57
45
  constructor(kwargs?: i.FormConfigFieldInterface);
58
46
  toApiJson(): object;
59
47
  }
48
+ export declare class FieldValue implements i.FieldValueInterface {
49
+ invalid: boolean;
50
+ integer: number;
51
+ string: string;
52
+ date: string;
53
+ dropdown: string;
54
+ currency: number;
55
+ boolean: boolean;
56
+ static fromProto(proto: any): FieldValue;
57
+ constructor(kwargs?: i.FieldValueInterface);
58
+ toApiJson(): object;
59
+ }
60
60
  export declare class ListFormsRequestFilters implements i.ListFormsRequestFiltersInterface {
61
61
  partnerId: string;
62
62
  static fromProto(proto: any): ListFormsRequestFilters;
@@ -73,10 +73,18 @@ export declare class FormConfig implements i.FormConfigInterface {
73
73
  name: string;
74
74
  created: Date;
75
75
  updated: Date;
76
+ mostRecent: boolean;
76
77
  static fromProto(proto: any): FormConfig;
77
78
  constructor(kwargs?: i.FormConfigInterface);
78
79
  toApiJson(): object;
79
80
  }
81
+ export declare class GetMultiRequestFormConfigIdentifier implements i.GetMultiRequestFormConfigIdentifierInterface {
82
+ formId: string;
83
+ version: string;
84
+ static fromProto(proto: any): GetMultiRequestFormConfigIdentifier;
85
+ constructor(kwargs?: i.GetMultiRequestFormConfigIdentifierInterface);
86
+ toApiJson(): object;
87
+ }
80
88
  export declare class ListFormsResponseFormRow implements i.ListFormsResponseFormRowInterface {
81
89
  form: FormConfig;
82
90
  numberOfSubmissions: number;
@@ -92,6 +100,14 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
92
100
  constructor(kwargs?: i.FormSubmissionInterface);
93
101
  toApiJson(): object;
94
102
  }
103
+ export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
104
+ formSubmissionId: string;
105
+ formVersion: string;
106
+ values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
107
+ static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
108
+ constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
109
+ toApiJson(): object;
110
+ }
95
111
  export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
96
112
  formId: string;
97
113
  static fromProto(proto: any): GetEmbedCodeRequest;
@@ -116,6 +132,44 @@ export declare class GetFormResponse implements i.GetFormResponseInterface {
116
132
  constructor(kwargs?: i.GetFormResponseInterface);
117
133
  toApiJson(): object;
118
134
  }
135
+ export declare class GetMultiFormVersionsListRequest implements i.GetMultiFormVersionsListRequestInterface {
136
+ formIds: string[];
137
+ static fromProto(proto: any): GetMultiFormVersionsListRequest;
138
+ constructor(kwargs?: i.GetMultiFormVersionsListRequestInterface);
139
+ toApiJson(): object;
140
+ }
141
+ export declare class GetMultiFormVersionsListResponse implements i.GetMultiFormVersionsListResponseInterface {
142
+ versions: GetMultiFormVersionsListResponseVersions[];
143
+ static fromProto(proto: any): GetMultiFormVersionsListResponse;
144
+ constructor(kwargs?: i.GetMultiFormVersionsListResponseInterface);
145
+ toApiJson(): object;
146
+ }
147
+ export declare class GetMultiRequest implements i.GetMultiRequestInterface {
148
+ formConfigIdentifiers: GetMultiRequestFormConfigIdentifier[];
149
+ static fromProto(proto: any): GetMultiRequest;
150
+ constructor(kwargs?: i.GetMultiRequestInterface);
151
+ toApiJson(): object;
152
+ }
153
+ export declare class GetMultiResponse implements i.GetMultiResponseInterface {
154
+ formConfigs: FormConfig[];
155
+ static fromProto(proto: any): GetMultiResponse;
156
+ constructor(kwargs?: i.GetMultiResponseInterface);
157
+ toApiJson(): object;
158
+ }
159
+ export declare class ListFormSubmissionRequest implements i.ListFormSubmissionRequestInterface {
160
+ formId: string;
161
+ pagingOptions: PagedRequestOptions;
162
+ static fromProto(proto: any): ListFormSubmissionRequest;
163
+ constructor(kwargs?: i.ListFormSubmissionRequestInterface);
164
+ toApiJson(): object;
165
+ }
166
+ export declare class ListFormSubmissionResponse implements i.ListFormSubmissionResponseInterface {
167
+ submissions: ListFormSubmissionResponseFormSubmission[];
168
+ pagingMetadata: PagedResponseMetadata;
169
+ static fromProto(proto: any): ListFormSubmissionResponse;
170
+ constructor(kwargs?: i.ListFormSubmissionResponseInterface);
171
+ toApiJson(): object;
172
+ }
119
173
  export declare class ListFormsRequest implements i.ListFormsRequestInterface {
120
174
  filters: ListFormsRequestFilters;
121
175
  pagingOptions: PagedRequestOptions;
@@ -178,6 +232,13 @@ export declare class Styles implements i.StylesInterface {
178
232
  constructor(kwargs?: i.StylesInterface);
179
233
  toApiJson(): object;
180
234
  }
235
+ export declare class ListFormSubmissionResponseFormSubmissionSubmittedValue implements i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface {
236
+ fieldId: string;
237
+ fieldValue: FieldValue;
238
+ static fromProto(proto: any): ListFormSubmissionResponseFormSubmissionSubmittedValue;
239
+ constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface);
240
+ toApiJson(): object;
241
+ }
181
242
  export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
182
243
  id: string;
183
244
  type: e.FieldType;
@@ -199,3 +260,10 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
199
260
  constructor(kwargs?: i.UpdateFormResponseInterface);
200
261
  toApiJson(): object;
201
262
  }
263
+ export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
264
+ formId: string;
265
+ versions: string[];
266
+ static fromProto(proto: any): GetMultiFormVersionsListResponseVersions;
267
+ constructor(kwargs?: i.GetMultiFormVersionsListResponseVersionsInterface);
268
+ toApiJson(): object;
269
+ }
@@ -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, 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.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.0",
6
6
  "@angular/core": "^14.0.0"