@vendasta/forms_microservice 0.0.10 → 0.0.13
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 +352 -2
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +377 -7
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +377 -7
- 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 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +96 -1
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -73,10 +86,18 @@ export declare class FormConfig implements i.FormConfigInterface {
|
|
|
73
86
|
name: string;
|
|
74
87
|
created: Date;
|
|
75
88
|
updated: Date;
|
|
89
|
+
mostRecent: boolean;
|
|
76
90
|
static fromProto(proto: any): FormConfig;
|
|
77
91
|
constructor(kwargs?: i.FormConfigInterface);
|
|
78
92
|
toApiJson(): object;
|
|
79
93
|
}
|
|
94
|
+
export declare class GetMultiRequestFormConfigIdentifier implements i.GetMultiRequestFormConfigIdentifierInterface {
|
|
95
|
+
formId: string;
|
|
96
|
+
version: string;
|
|
97
|
+
static fromProto(proto: any): GetMultiRequestFormConfigIdentifier;
|
|
98
|
+
constructor(kwargs?: i.GetMultiRequestFormConfigIdentifierInterface);
|
|
99
|
+
toApiJson(): object;
|
|
100
|
+
}
|
|
80
101
|
export declare class ListFormsResponseFormRow implements i.ListFormsResponseFormRowInterface {
|
|
81
102
|
form: FormConfig;
|
|
82
103
|
numberOfSubmissions: number;
|
|
@@ -92,6 +113,14 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
|
92
113
|
constructor(kwargs?: i.FormSubmissionInterface);
|
|
93
114
|
toApiJson(): object;
|
|
94
115
|
}
|
|
116
|
+
export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
|
|
117
|
+
formSubmissionId: string;
|
|
118
|
+
formVersion: string;
|
|
119
|
+
values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
|
|
120
|
+
static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
|
|
121
|
+
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
|
|
122
|
+
toApiJson(): object;
|
|
123
|
+
}
|
|
95
124
|
export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
|
|
96
125
|
formId: string;
|
|
97
126
|
static fromProto(proto: any): GetEmbedCodeRequest;
|
|
@@ -116,6 +145,44 @@ export declare class GetFormResponse implements i.GetFormResponseInterface {
|
|
|
116
145
|
constructor(kwargs?: i.GetFormResponseInterface);
|
|
117
146
|
toApiJson(): object;
|
|
118
147
|
}
|
|
148
|
+
export declare class GetMultiFormVersionsListRequest implements i.GetMultiFormVersionsListRequestInterface {
|
|
149
|
+
formIds: string[];
|
|
150
|
+
static fromProto(proto: any): GetMultiFormVersionsListRequest;
|
|
151
|
+
constructor(kwargs?: i.GetMultiFormVersionsListRequestInterface);
|
|
152
|
+
toApiJson(): object;
|
|
153
|
+
}
|
|
154
|
+
export declare class GetMultiFormVersionsListResponse implements i.GetMultiFormVersionsListResponseInterface {
|
|
155
|
+
versions: GetMultiFormVersionsListResponseVersions[];
|
|
156
|
+
static fromProto(proto: any): GetMultiFormVersionsListResponse;
|
|
157
|
+
constructor(kwargs?: i.GetMultiFormVersionsListResponseInterface);
|
|
158
|
+
toApiJson(): object;
|
|
159
|
+
}
|
|
160
|
+
export declare class GetMultiRequest implements i.GetMultiRequestInterface {
|
|
161
|
+
formConfigIdentifiers: GetMultiRequestFormConfigIdentifier[];
|
|
162
|
+
static fromProto(proto: any): GetMultiRequest;
|
|
163
|
+
constructor(kwargs?: i.GetMultiRequestInterface);
|
|
164
|
+
toApiJson(): object;
|
|
165
|
+
}
|
|
166
|
+
export declare class GetMultiResponse implements i.GetMultiResponseInterface {
|
|
167
|
+
formConfigs: FormConfig[];
|
|
168
|
+
static fromProto(proto: any): GetMultiResponse;
|
|
169
|
+
constructor(kwargs?: i.GetMultiResponseInterface);
|
|
170
|
+
toApiJson(): object;
|
|
171
|
+
}
|
|
172
|
+
export declare class ListFormSubmissionRequest implements i.ListFormSubmissionRequestInterface {
|
|
173
|
+
formId: string;
|
|
174
|
+
pagingOptions: PagedRequestOptions;
|
|
175
|
+
static fromProto(proto: any): ListFormSubmissionRequest;
|
|
176
|
+
constructor(kwargs?: i.ListFormSubmissionRequestInterface);
|
|
177
|
+
toApiJson(): object;
|
|
178
|
+
}
|
|
179
|
+
export declare class ListFormSubmissionResponse implements i.ListFormSubmissionResponseInterface {
|
|
180
|
+
submissions: ListFormSubmissionResponseFormSubmission[];
|
|
181
|
+
pagingMetadata: PagedResponseMetadata;
|
|
182
|
+
static fromProto(proto: any): ListFormSubmissionResponse;
|
|
183
|
+
constructor(kwargs?: i.ListFormSubmissionResponseInterface);
|
|
184
|
+
toApiJson(): object;
|
|
185
|
+
}
|
|
119
186
|
export declare class ListFormsRequest implements i.ListFormsRequestInterface {
|
|
120
187
|
filters: ListFormsRequestFilters;
|
|
121
188
|
pagingOptions: PagedRequestOptions;
|
|
@@ -130,9 +197,23 @@ export declare class ListFormsResponse implements i.ListFormsResponseInterface {
|
|
|
130
197
|
constructor(kwargs?: i.ListFormsResponseInterface);
|
|
131
198
|
toApiJson(): object;
|
|
132
199
|
}
|
|
200
|
+
export declare class PreviewFormRequest implements i.PreviewFormRequestInterface {
|
|
201
|
+
formConfig: FormConfig;
|
|
202
|
+
library: e.JsonSchemaLibrary;
|
|
203
|
+
static fromProto(proto: any): PreviewFormRequest;
|
|
204
|
+
constructor(kwargs?: i.PreviewFormRequestInterface);
|
|
205
|
+
toApiJson(): object;
|
|
206
|
+
}
|
|
207
|
+
export declare class PreviewFormResponse implements i.PreviewFormResponseInterface {
|
|
208
|
+
jsonSchema: string;
|
|
209
|
+
jsonUiSchema: string;
|
|
210
|
+
static fromProto(proto: any): PreviewFormResponse;
|
|
211
|
+
constructor(kwargs?: i.PreviewFormResponseInterface);
|
|
212
|
+
toApiJson(): object;
|
|
213
|
+
}
|
|
133
214
|
export declare class RenderFormRequest implements i.RenderFormRequestInterface {
|
|
134
215
|
formId: string;
|
|
135
|
-
library: e.
|
|
216
|
+
library: e.JsonSchemaLibrary;
|
|
136
217
|
static fromProto(proto: any): RenderFormRequest;
|
|
137
218
|
constructor(kwargs?: i.RenderFormRequestInterface);
|
|
138
219
|
toApiJson(): object;
|
|
@@ -164,6 +245,13 @@ export declare class Styles implements i.StylesInterface {
|
|
|
164
245
|
constructor(kwargs?: i.StylesInterface);
|
|
165
246
|
toApiJson(): object;
|
|
166
247
|
}
|
|
248
|
+
export declare class ListFormSubmissionResponseFormSubmissionSubmittedValue implements i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface {
|
|
249
|
+
fieldId: string;
|
|
250
|
+
fieldValue: FieldValue;
|
|
251
|
+
static fromProto(proto: any): ListFormSubmissionResponseFormSubmissionSubmittedValue;
|
|
252
|
+
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionSubmittedValueInterface);
|
|
253
|
+
toApiJson(): object;
|
|
254
|
+
}
|
|
167
255
|
export declare class FormConfigFieldUnmappedField implements i.FormConfigFieldUnmappedFieldInterface {
|
|
168
256
|
id: string;
|
|
169
257
|
type: e.FieldType;
|
|
@@ -185,3 +273,10 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
|
|
|
185
273
|
constructor(kwargs?: i.UpdateFormResponseInterface);
|
|
186
274
|
toApiJson(): object;
|
|
187
275
|
}
|
|
276
|
+
export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
|
|
277
|
+
formId: string;
|
|
278
|
+
versions: string[];
|
|
279
|
+
static fromProto(proto: any): GetMultiFormVersionsListResponseVersions;
|
|
280
|
+
constructor(kwargs?: i.GetMultiFormVersionsListResponseVersionsInterface);
|
|
281
|
+
toApiJson(): object;
|
|
282
|
+
}
|
|
@@ -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';
|