@vendasta/forms_microservice 0.0.12 → 0.0.15
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/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +12 -56
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +12 -56
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +12 -56
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +4 -12
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +4 -15
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,15 +10,6 @@ export interface CreateFormResponseInterface {
|
|
|
10
10
|
export interface CreateFormSubmissionRequestInterface {
|
|
11
11
|
submission?: FormSubmissionInterface;
|
|
12
12
|
}
|
|
13
|
-
export interface FormConfigFieldDefaultInterface {
|
|
14
|
-
invalid?: boolean;
|
|
15
|
-
integer?: number;
|
|
16
|
-
string?: string;
|
|
17
|
-
date?: string;
|
|
18
|
-
dropdown?: string;
|
|
19
|
-
currency?: number;
|
|
20
|
-
boolean?: boolean;
|
|
21
|
-
}
|
|
22
13
|
export interface DeleteFormRequestInterface {
|
|
23
14
|
formId?: string;
|
|
24
15
|
version?: string;
|
|
@@ -30,7 +21,6 @@ export interface FormConfigFieldUnmappedFieldDropdownOptionInterface {
|
|
|
30
21
|
export interface FormConfigFieldInterface {
|
|
31
22
|
schema?: FormConfigFieldSchemaInterface;
|
|
32
23
|
label?: string;
|
|
33
|
-
default?: FormConfigFieldDefaultInterface;
|
|
34
24
|
required?: boolean;
|
|
35
25
|
hidden?: boolean;
|
|
36
26
|
defaultValue?: FieldValueInterface;
|
|
@@ -57,6 +47,8 @@ export interface FormConfigInterface {
|
|
|
57
47
|
name?: string;
|
|
58
48
|
created?: Date;
|
|
59
49
|
updated?: Date;
|
|
50
|
+
mostRecent?: boolean;
|
|
51
|
+
redirectUrl?: string;
|
|
60
52
|
}
|
|
61
53
|
export interface GetMultiRequestFormConfigIdentifierInterface {
|
|
62
54
|
formId?: string;
|
|
@@ -73,6 +65,7 @@ export interface FormSubmissionInterface {
|
|
|
73
65
|
}
|
|
74
66
|
export interface ListFormSubmissionResponseFormSubmissionInterface {
|
|
75
67
|
formSubmissionId?: string;
|
|
68
|
+
formVersion?: string;
|
|
76
69
|
values?: ListFormSubmissionResponseFormSubmissionSubmittedValueInterface[];
|
|
77
70
|
}
|
|
78
71
|
export interface GetEmbedCodeRequestInterface {
|
|
@@ -101,7 +94,6 @@ export interface GetMultiResponseInterface {
|
|
|
101
94
|
}
|
|
102
95
|
export interface ListFormSubmissionRequestInterface {
|
|
103
96
|
formId?: string;
|
|
104
|
-
version?: string;
|
|
105
97
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
106
98
|
}
|
|
107
99
|
export interface ListFormSubmissionResponseInterface {
|
|
@@ -164,5 +156,5 @@ export interface UpdateFormResponseInterface {
|
|
|
164
156
|
}
|
|
165
157
|
export interface GetMultiFormVersionsListResponseVersionsInterface {
|
|
166
158
|
formId?: string;
|
|
167
|
-
|
|
159
|
+
versions?: string[];
|
|
168
160
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
2
|
-
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface,
|
|
2
|
+
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, DeleteFormRequestInterface, FormConfigFieldUnmappedFieldDropdownOptionInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, ListFormSubmissionResponseFormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, FormConfigFieldSchemaInterface, StylesInterface, ListFormSubmissionResponseFormSubmissionSubmittedValueInterface, FormConfigFieldUnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
@@ -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,7 +38,6 @@ 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;
|
|
56
43
|
defaultValue: FieldValue;
|
|
@@ -86,6 +73,8 @@ export declare class FormConfig implements i.FormConfigInterface {
|
|
|
86
73
|
name: string;
|
|
87
74
|
created: Date;
|
|
88
75
|
updated: Date;
|
|
76
|
+
mostRecent: boolean;
|
|
77
|
+
redirectUrl: string;
|
|
89
78
|
static fromProto(proto: any): FormConfig;
|
|
90
79
|
constructor(kwargs?: i.FormConfigInterface);
|
|
91
80
|
toApiJson(): object;
|
|
@@ -114,6 +103,7 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
|
114
103
|
}
|
|
115
104
|
export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
|
|
116
105
|
formSubmissionId: string;
|
|
106
|
+
formVersion: string;
|
|
117
107
|
values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
|
|
118
108
|
static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
|
|
119
109
|
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
|
|
@@ -169,7 +159,6 @@ export declare class GetMultiResponse implements i.GetMultiResponseInterface {
|
|
|
169
159
|
}
|
|
170
160
|
export declare class ListFormSubmissionRequest implements i.ListFormSubmissionRequestInterface {
|
|
171
161
|
formId: string;
|
|
172
|
-
version: string;
|
|
173
162
|
pagingOptions: PagedRequestOptions;
|
|
174
163
|
static fromProto(proto: any): ListFormSubmissionRequest;
|
|
175
164
|
constructor(kwargs?: i.ListFormSubmissionRequestInterface);
|
|
@@ -274,7 +263,7 @@ export declare class UpdateFormResponse implements i.UpdateFormResponseInterface
|
|
|
274
263
|
}
|
|
275
264
|
export declare class GetMultiFormVersionsListResponseVersions implements i.GetMultiFormVersionsListResponseVersionsInterface {
|
|
276
265
|
formId: string;
|
|
277
|
-
|
|
266
|
+
versions: string[];
|
|
278
267
|
static fromProto(proto: any): GetMultiFormVersionsListResponseVersions;
|
|
279
268
|
constructor(kwargs?: i.GetMultiFormVersionsListResponseVersionsInterface);
|
|
280
269
|
toApiJson(): object;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
2
|
-
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest,
|
|
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';
|