@vendasta/forms_microservice 0.0.17 → 0.0.18
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/form-submission.api.service.mjs +4 -3
- 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 +40 -20
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +42 -21
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +42 -21
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/form-submission.api.service.d.ts +3 -3
- package/lib/_internal/interfaces/api.interface.d.ts +8 -5
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +14 -8
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,9 @@ export interface CreateFormResponseInterface {
|
|
|
10
10
|
export interface CreateFormSubmissionRequestInterface {
|
|
11
11
|
submission?: FormSubmissionInterface;
|
|
12
12
|
}
|
|
13
|
+
export interface CreateFormSubmissionResponseInterface {
|
|
14
|
+
redirectUrl?: string;
|
|
15
|
+
}
|
|
13
16
|
export interface DeleteFormRequestInterface {
|
|
14
17
|
formId?: string;
|
|
15
18
|
version?: string;
|
|
@@ -51,16 +54,16 @@ export interface ListFormsResponseFormRowInterface {
|
|
|
51
54
|
form?: FormConfigInterface;
|
|
52
55
|
numberOfSubmissions?: number;
|
|
53
56
|
}
|
|
54
|
-
export interface ListFormSubmissionResponseFormSubmissionInterface {
|
|
55
|
-
formSubmissionId?: string;
|
|
56
|
-
formVersion?: string;
|
|
57
|
-
values?: ListFormSubmissionResponseFormSubmissionSubmittedValueInterface[];
|
|
58
|
-
}
|
|
59
57
|
export interface FormSubmissionInterface {
|
|
60
58
|
formId?: string;
|
|
61
59
|
version?: string;
|
|
62
60
|
values?: string;
|
|
63
61
|
}
|
|
62
|
+
export interface ListFormSubmissionResponseFormSubmissionInterface {
|
|
63
|
+
formSubmissionId?: string;
|
|
64
|
+
formVersion?: string;
|
|
65
|
+
values?: ListFormSubmissionResponseFormSubmissionSubmittedValueInterface[];
|
|
66
|
+
}
|
|
64
67
|
export interface GetEmbedCodeRequestInterface {
|
|
65
68
|
formId?: string;
|
|
66
69
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
2
|
-
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface,
|
|
2
|
+
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, CreateFormSubmissionResponseInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, ListFormSubmissionResponseFormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, FormConfigFieldUnmappedFieldOptionInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, FormConfigFieldSchemaInterface, StylesInterface, ListFormSubmissionResponseFormSubmissionSubmittedValueInterface, FormConfigFieldUnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
@@ -21,6 +21,12 @@ export declare class CreateFormSubmissionRequest implements i.CreateFormSubmissi
|
|
|
21
21
|
constructor(kwargs?: i.CreateFormSubmissionRequestInterface);
|
|
22
22
|
toApiJson(): object;
|
|
23
23
|
}
|
|
24
|
+
export declare class CreateFormSubmissionResponse implements i.CreateFormSubmissionResponseInterface {
|
|
25
|
+
redirectUrl: string;
|
|
26
|
+
static fromProto(proto: any): CreateFormSubmissionResponse;
|
|
27
|
+
constructor(kwargs?: i.CreateFormSubmissionResponseInterface);
|
|
28
|
+
toApiJson(): object;
|
|
29
|
+
}
|
|
24
30
|
export declare class DeleteFormRequest implements i.DeleteFormRequestInterface {
|
|
25
31
|
formId: string;
|
|
26
32
|
version: string;
|
|
@@ -83,14 +89,6 @@ export declare class ListFormsResponseFormRow implements i.ListFormsResponseForm
|
|
|
83
89
|
constructor(kwargs?: i.ListFormsResponseFormRowInterface);
|
|
84
90
|
toApiJson(): object;
|
|
85
91
|
}
|
|
86
|
-
export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
|
|
87
|
-
formSubmissionId: string;
|
|
88
|
-
formVersion: string;
|
|
89
|
-
values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
|
|
90
|
-
static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
|
|
91
|
-
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
|
|
92
|
-
toApiJson(): object;
|
|
93
|
-
}
|
|
94
92
|
export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
95
93
|
formId: string;
|
|
96
94
|
version: string;
|
|
@@ -99,6 +97,14 @@ export declare class FormSubmission implements i.FormSubmissionInterface {
|
|
|
99
97
|
constructor(kwargs?: i.FormSubmissionInterface);
|
|
100
98
|
toApiJson(): object;
|
|
101
99
|
}
|
|
100
|
+
export declare class ListFormSubmissionResponseFormSubmission implements i.ListFormSubmissionResponseFormSubmissionInterface {
|
|
101
|
+
formSubmissionId: string;
|
|
102
|
+
formVersion: string;
|
|
103
|
+
values: ListFormSubmissionResponseFormSubmissionSubmittedValue[];
|
|
104
|
+
static fromProto(proto: any): ListFormSubmissionResponseFormSubmission;
|
|
105
|
+
constructor(kwargs?: i.ListFormSubmissionResponseFormSubmissionInterface);
|
|
106
|
+
toApiJson(): object;
|
|
107
|
+
}
|
|
102
108
|
export declare class GetEmbedCodeRequest implements i.GetEmbedCodeRequestInterface {
|
|
103
109
|
formId: string;
|
|
104
110
|
static fromProto(proto: any): GetEmbedCodeRequest;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
2
|
-
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, DeleteFormRequest, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow,
|
|
2
|
+
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, ListFormSubmissionResponseFormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, FormConfigFieldUnmappedFieldOption, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, ListFormSubmissionResponseFormSubmissionSubmittedValue, FormConfigFieldUnmappedField, UpdateFormRequest, UpdateFormResponse, GetMultiFormVersionsListResponseVersions, } from './api';
|