@vendasta/forms_microservice 0.7.0 → 0.8.0
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/forms.api.service.mjs +7 -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 +95 -34
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +100 -34
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +100 -34
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/forms.api.service.d.ts +3 -2
- package/lib/_internal/interfaces/api.interface.d.ts +22 -12
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +37 -21
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -28,6 +28,10 @@ export interface FormConfigFieldInterface {
|
|
|
28
28
|
preFillByUrlQueryParameter?: string;
|
|
29
29
|
placeholder?: string;
|
|
30
30
|
}
|
|
31
|
+
export interface FieldOptionInterface {
|
|
32
|
+
value?: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
}
|
|
31
35
|
export interface FieldValueInterface {
|
|
32
36
|
invalid?: boolean;
|
|
33
37
|
integer?: number;
|
|
@@ -113,16 +117,22 @@ export interface ListFormsResponseInterface {
|
|
|
113
117
|
formRows?: ListFormsResponseFormRowInterface[];
|
|
114
118
|
pagingMetadata?: PagedResponseMetadataInterface;
|
|
115
119
|
}
|
|
116
|
-
export interface
|
|
120
|
+
export interface ListMappedFieldSchemaRequestInterface {
|
|
121
|
+
namespace?: string;
|
|
122
|
+
crmObjectType?: string;
|
|
123
|
+
crmObjectSubtype?: string;
|
|
124
|
+
pagingOptions?: PagedRequestOptionsInterface;
|
|
125
|
+
}
|
|
126
|
+
export interface ListMappedFieldSchemaResponseInterface {
|
|
127
|
+
fieldSchemas?: MappedFieldInterface[];
|
|
128
|
+
pagingMetadata?: PagedResponseMetadataInterface;
|
|
129
|
+
}
|
|
130
|
+
export interface MappedFieldInterface {
|
|
117
131
|
id?: string;
|
|
118
132
|
type?: e.FieldType;
|
|
119
|
-
options?:
|
|
133
|
+
options?: FieldOptionInterface[];
|
|
120
134
|
mappedTo?: string;
|
|
121
|
-
systemDefined?:
|
|
122
|
-
}
|
|
123
|
-
export interface FormConfigFieldOptionInterface {
|
|
124
|
-
value?: string;
|
|
125
|
-
label?: string;
|
|
135
|
+
systemDefined?: SystemDefinedInterface;
|
|
126
136
|
}
|
|
127
137
|
export interface RenderFormResponsePreFillByUrlQueryParameterInterface {
|
|
128
138
|
fieldId?: string;
|
|
@@ -148,8 +158,8 @@ export interface RenderFormResponseInterface {
|
|
|
148
158
|
recaptchaSiteKey?: string;
|
|
149
159
|
}
|
|
150
160
|
export interface FormConfigFieldSchemaInterface {
|
|
151
|
-
unmappedField?:
|
|
152
|
-
mappedField?:
|
|
161
|
+
unmappedField?: UnmappedFieldInterface;
|
|
162
|
+
mappedField?: MappedFieldInterface;
|
|
153
163
|
}
|
|
154
164
|
export interface StylesInterface {
|
|
155
165
|
width?: string;
|
|
@@ -169,13 +179,13 @@ export interface FormSubmissionSubmittedValueInterface {
|
|
|
169
179
|
fieldType?: e.FieldType;
|
|
170
180
|
mappedToResource?: string;
|
|
171
181
|
}
|
|
172
|
-
export interface
|
|
182
|
+
export interface SystemDefinedInterface {
|
|
173
183
|
required?: boolean;
|
|
174
184
|
}
|
|
175
|
-
export interface
|
|
185
|
+
export interface UnmappedFieldInterface {
|
|
176
186
|
id?: string;
|
|
177
187
|
type?: e.FieldType;
|
|
178
|
-
options?:
|
|
188
|
+
options?: FieldOptionInterface[];
|
|
179
189
|
currencyCode?: string;
|
|
180
190
|
}
|
|
181
191
|
export interface UpdateFormRequestInterface {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './paging.interface';
|
|
2
|
-
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, CreateFormSubmissionResponseInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormSubmissionRequestInterface, GetMultiFormSubmissionResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface,
|
|
2
|
+
export { CreateFormRequestInterface, CreateFormResponseInterface, CreateFormSubmissionRequestInterface, CreateFormSubmissionResponseInterface, DeleteFormRequestInterface, FormConfigFieldInterface, FieldOptionInterface, FieldValueInterface, ListFormsRequestFiltersInterface, FormConfigInterface, GetMultiRequestFormConfigIdentifierInterface, ListFormsResponseFormRowInterface, FormSubmissionInterface, GetEmbedCodeRequestInterface, GetEmbedCodeResponseInterface, GetFormRequestInterface, GetFormResponseInterface, GetMultiFormSubmissionRequestInterface, GetMultiFormSubmissionResponseInterface, GetMultiFormVersionsListRequestInterface, GetMultiFormVersionsListResponseInterface, GetMultiRequestInterface, GetMultiResponseInterface, ListFormSubmissionRequestInterface, ListFormSubmissionResponseInterface, ListFormsRequestInterface, ListFormsResponseInterface, ListMappedFieldSchemaRequestInterface, ListMappedFieldSchemaResponseInterface, MappedFieldInterface, RenderFormResponsePreFillByUrlQueryParameterInterface, PreviewFormRequestInterface, PreviewFormResponseInterface, RenderFormRequestInterface, RenderFormResponseInterface, FormConfigFieldSchemaInterface, StylesInterface, FormSubmissionSubmittedValueInterface, SystemDefinedInterface, UnmappedFieldInterface, UpdateFormRequestInterface, UpdateFormResponseInterface, UserFormSubmissionInterface, ValidationErrorInterface, GetMultiFormVersionsListResponseVersionsInterface, } from './api.interface';
|
|
@@ -48,6 +48,13 @@ export declare class FormConfigField implements i.FormConfigFieldInterface {
|
|
|
48
48
|
constructor(kwargs?: i.FormConfigFieldInterface);
|
|
49
49
|
toApiJson(): object;
|
|
50
50
|
}
|
|
51
|
+
export declare class FieldOption implements i.FieldOptionInterface {
|
|
52
|
+
value: string;
|
|
53
|
+
label: string;
|
|
54
|
+
static fromProto(proto: any): FieldOption;
|
|
55
|
+
constructor(kwargs?: i.FieldOptionInterface);
|
|
56
|
+
toApiJson(): object;
|
|
57
|
+
}
|
|
51
58
|
export declare class FieldValue implements i.FieldValueInterface {
|
|
52
59
|
invalid: boolean;
|
|
53
60
|
integer: number;
|
|
@@ -193,21 +200,30 @@ export declare class ListFormsResponse implements i.ListFormsResponseInterface {
|
|
|
193
200
|
constructor(kwargs?: i.ListFormsResponseInterface);
|
|
194
201
|
toApiJson(): object;
|
|
195
202
|
}
|
|
196
|
-
export declare class
|
|
203
|
+
export declare class ListMappedFieldSchemaRequest implements i.ListMappedFieldSchemaRequestInterface {
|
|
204
|
+
namespace: string;
|
|
205
|
+
crmObjectType: string;
|
|
206
|
+
crmObjectSubtype: string;
|
|
207
|
+
pagingOptions: PagedRequestOptions;
|
|
208
|
+
static fromProto(proto: any): ListMappedFieldSchemaRequest;
|
|
209
|
+
constructor(kwargs?: i.ListMappedFieldSchemaRequestInterface);
|
|
210
|
+
toApiJson(): object;
|
|
211
|
+
}
|
|
212
|
+
export declare class ListMappedFieldSchemaResponse implements i.ListMappedFieldSchemaResponseInterface {
|
|
213
|
+
fieldSchemas: MappedField[];
|
|
214
|
+
pagingMetadata: PagedResponseMetadata;
|
|
215
|
+
static fromProto(proto: any): ListMappedFieldSchemaResponse;
|
|
216
|
+
constructor(kwargs?: i.ListMappedFieldSchemaResponseInterface);
|
|
217
|
+
toApiJson(): object;
|
|
218
|
+
}
|
|
219
|
+
export declare class MappedField implements i.MappedFieldInterface {
|
|
197
220
|
id: string;
|
|
198
221
|
type: e.FieldType;
|
|
199
|
-
options:
|
|
222
|
+
options: FieldOption[];
|
|
200
223
|
mappedTo: string;
|
|
201
|
-
systemDefined:
|
|
202
|
-
static fromProto(proto: any):
|
|
203
|
-
constructor(kwargs?: i.
|
|
204
|
-
toApiJson(): object;
|
|
205
|
-
}
|
|
206
|
-
export declare class FormConfigFieldOption implements i.FormConfigFieldOptionInterface {
|
|
207
|
-
value: string;
|
|
208
|
-
label: string;
|
|
209
|
-
static fromProto(proto: any): FormConfigFieldOption;
|
|
210
|
-
constructor(kwargs?: i.FormConfigFieldOptionInterface);
|
|
224
|
+
systemDefined: SystemDefined;
|
|
225
|
+
static fromProto(proto: any): MappedField;
|
|
226
|
+
constructor(kwargs?: i.MappedFieldInterface);
|
|
211
227
|
toApiJson(): object;
|
|
212
228
|
}
|
|
213
229
|
export declare class RenderFormResponsePreFillByUrlQueryParameter implements i.RenderFormResponsePreFillByUrlQueryParameterInterface {
|
|
@@ -249,8 +265,8 @@ export declare class RenderFormResponse implements i.RenderFormResponseInterface
|
|
|
249
265
|
toApiJson(): object;
|
|
250
266
|
}
|
|
251
267
|
export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
|
|
252
|
-
unmappedField:
|
|
253
|
-
mappedField:
|
|
268
|
+
unmappedField: UnmappedField;
|
|
269
|
+
mappedField: MappedField;
|
|
254
270
|
static fromProto(proto: any): FormConfigFieldSchema;
|
|
255
271
|
constructor(kwargs?: i.FormConfigFieldSchemaInterface);
|
|
256
272
|
toApiJson(): object;
|
|
@@ -279,19 +295,19 @@ export declare class FormSubmissionSubmittedValue implements i.FormSubmissionSub
|
|
|
279
295
|
constructor(kwargs?: i.FormSubmissionSubmittedValueInterface);
|
|
280
296
|
toApiJson(): object;
|
|
281
297
|
}
|
|
282
|
-
export declare class
|
|
298
|
+
export declare class SystemDefined implements i.SystemDefinedInterface {
|
|
283
299
|
required: boolean;
|
|
284
|
-
static fromProto(proto: any):
|
|
285
|
-
constructor(kwargs?: i.
|
|
300
|
+
static fromProto(proto: any): SystemDefined;
|
|
301
|
+
constructor(kwargs?: i.SystemDefinedInterface);
|
|
286
302
|
toApiJson(): object;
|
|
287
303
|
}
|
|
288
|
-
export declare class
|
|
304
|
+
export declare class UnmappedField implements i.UnmappedFieldInterface {
|
|
289
305
|
id: string;
|
|
290
306
|
type: e.FieldType;
|
|
291
|
-
options:
|
|
307
|
+
options: FieldOption[];
|
|
292
308
|
currencyCode: string;
|
|
293
|
-
static fromProto(proto: any):
|
|
294
|
-
constructor(kwargs?: i.
|
|
309
|
+
static fromProto(proto: any): UnmappedField;
|
|
310
|
+
constructor(kwargs?: i.UnmappedFieldInterface);
|
|
295
311
|
toApiJson(): object;
|
|
296
312
|
}
|
|
297
313
|
export declare class UpdateFormRequest implements i.UpdateFormRequestInterface {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
2
|
-
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FormConfigField, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse,
|
|
2
|
+
export { CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DeleteFormRequest, FormConfigField, FieldOption, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, Styles, FormSubmissionSubmittedValue, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|