@vendasta/forms_microservice 0.0.9 → 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.
- package/esm2020/lib/_internal/enums/api.enum.mjs +6 -6
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/form-submission.api.service.mjs +8 -2
- package/esm2020/lib/_internal/forms.api.service.mjs +17 -2
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +351 -7
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +376 -12
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +376 -12
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +3 -3
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/form-submission.api.service.d.ts +3 -2
- package/lib/_internal/forms.api.service.d.ts +5 -2
- package/lib/_internal/interfaces/api.interface.d.ts +57 -2
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +96 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ export declare class FormConfigFieldDefault implements i.FormConfigFieldDefaultI
|
|
|
25
25
|
invalid: boolean;
|
|
26
26
|
integer: number;
|
|
27
27
|
string: string;
|
|
28
|
-
date:
|
|
28
|
+
date: string;
|
|
29
29
|
dropdown: string;
|
|
30
30
|
currency: number;
|
|
31
31
|
boolean: boolean;
|
|
@@ -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;
|
|
@@ -130,9 +196,23 @@ export declare class ListFormsResponse implements i.ListFormsResponseInterface {
|
|
|
130
196
|
constructor(kwargs?: i.ListFormsResponseInterface);
|
|
131
197
|
toApiJson(): object;
|
|
132
198
|
}
|
|
199
|
+
export declare class PreviewFormRequest implements i.PreviewFormRequestInterface {
|
|
200
|
+
formConfig: FormConfig;
|
|
201
|
+
library: e.JsonSchemaLibrary;
|
|
202
|
+
static fromProto(proto: any): PreviewFormRequest;
|
|
203
|
+
constructor(kwargs?: i.PreviewFormRequestInterface);
|
|
204
|
+
toApiJson(): object;
|
|
205
|
+
}
|
|
206
|
+
export declare class PreviewFormResponse implements i.PreviewFormResponseInterface {
|
|
207
|
+
jsonSchema: string;
|
|
208
|
+
jsonUiSchema: string;
|
|
209
|
+
static fromProto(proto: any): PreviewFormResponse;
|
|
210
|
+
constructor(kwargs?: i.PreviewFormResponseInterface);
|
|
211
|
+
toApiJson(): object;
|
|
212
|
+
}
|
|
133
213
|
export declare class RenderFormRequest implements i.RenderFormRequestInterface {
|
|
134
214
|
formId: string;
|
|
135
|
-
library: e.
|
|
215
|
+
library: e.JsonSchemaLibrary;
|
|
136
216
|
static fromProto(proto: any): RenderFormRequest;
|
|
137
217
|
constructor(kwargs?: i.RenderFormRequestInterface);
|
|
138
218
|
toApiJson(): object;
|
|
@@ -164,6 +244,13 @@ export declare class Styles implements i.StylesInterface {
|
|
|
164
244
|
constructor(kwargs?: i.StylesInterface);
|
|
165
245
|
toApiJson(): object;
|
|
166
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
|
+
}
|
|
167
254
|
export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
|
|
168
255
|
id: string;
|
|
169
256
|
type: e.FieldType;
|
|
@@ -185,3 +272,10 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
|
|
|
185
272
|
constructor(kwargs?: i.UpdateFormResponseInterface);
|
|
186
273
|
toApiJson(): object;
|
|
187
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, 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';
|