@vendasta/forms_microservice 0.7.0 → 0.9.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 +101 -34
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +106 -34
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +106 -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 +24 -12
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +39 -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,24 @@ 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
|
-
|
|
133
|
+
name?: string;
|
|
134
|
+
options?: FieldOptionInterface[];
|
|
120
135
|
mappedTo?: string;
|
|
121
|
-
systemDefined?:
|
|
122
|
-
|
|
123
|
-
export interface FormConfigFieldOptionInterface {
|
|
124
|
-
value?: string;
|
|
125
|
-
label?: string;
|
|
136
|
+
systemDefined?: SystemDefinedInterface;
|
|
137
|
+
readonly?: boolean;
|
|
126
138
|
}
|
|
127
139
|
export interface RenderFormResponsePreFillByUrlQueryParameterInterface {
|
|
128
140
|
fieldId?: string;
|
|
@@ -148,8 +160,8 @@ export interface RenderFormResponseInterface {
|
|
|
148
160
|
recaptchaSiteKey?: string;
|
|
149
161
|
}
|
|
150
162
|
export interface FormConfigFieldSchemaInterface {
|
|
151
|
-
unmappedField?:
|
|
152
|
-
mappedField?:
|
|
163
|
+
unmappedField?: UnmappedFieldInterface;
|
|
164
|
+
mappedField?: MappedFieldInterface;
|
|
153
165
|
}
|
|
154
166
|
export interface StylesInterface {
|
|
155
167
|
width?: string;
|
|
@@ -169,13 +181,13 @@ export interface FormSubmissionSubmittedValueInterface {
|
|
|
169
181
|
fieldType?: e.FieldType;
|
|
170
182
|
mappedToResource?: string;
|
|
171
183
|
}
|
|
172
|
-
export interface
|
|
184
|
+
export interface SystemDefinedInterface {
|
|
173
185
|
required?: boolean;
|
|
174
186
|
}
|
|
175
|
-
export interface
|
|
187
|
+
export interface UnmappedFieldInterface {
|
|
176
188
|
id?: string;
|
|
177
189
|
type?: e.FieldType;
|
|
178
|
-
options?:
|
|
190
|
+
options?: FieldOptionInterface[];
|
|
179
191
|
currencyCode?: string;
|
|
180
192
|
}
|
|
181
193
|
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,32 @@ 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
|
-
|
|
222
|
+
name: string;
|
|
223
|
+
options: FieldOption[];
|
|
200
224
|
mappedTo: string;
|
|
201
|
-
systemDefined:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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);
|
|
225
|
+
systemDefined: SystemDefined;
|
|
226
|
+
readonly: boolean;
|
|
227
|
+
static fromProto(proto: any): MappedField;
|
|
228
|
+
constructor(kwargs?: i.MappedFieldInterface);
|
|
211
229
|
toApiJson(): object;
|
|
212
230
|
}
|
|
213
231
|
export declare class RenderFormResponsePreFillByUrlQueryParameter implements i.RenderFormResponsePreFillByUrlQueryParameterInterface {
|
|
@@ -249,8 +267,8 @@ export declare class RenderFormResponse implements i.RenderFormResponseInterface
|
|
|
249
267
|
toApiJson(): object;
|
|
250
268
|
}
|
|
251
269
|
export declare class FormConfigFieldSchema implements i.FormConfigFieldSchemaInterface {
|
|
252
|
-
unmappedField:
|
|
253
|
-
mappedField:
|
|
270
|
+
unmappedField: UnmappedField;
|
|
271
|
+
mappedField: MappedField;
|
|
254
272
|
static fromProto(proto: any): FormConfigFieldSchema;
|
|
255
273
|
constructor(kwargs?: i.FormConfigFieldSchemaInterface);
|
|
256
274
|
toApiJson(): object;
|
|
@@ -279,19 +297,19 @@ export declare class FormSubmissionSubmittedValue implements i.FormSubmissionSub
|
|
|
279
297
|
constructor(kwargs?: i.FormSubmissionSubmittedValueInterface);
|
|
280
298
|
toApiJson(): object;
|
|
281
299
|
}
|
|
282
|
-
export declare class
|
|
300
|
+
export declare class SystemDefined implements i.SystemDefinedInterface {
|
|
283
301
|
required: boolean;
|
|
284
|
-
static fromProto(proto: any):
|
|
285
|
-
constructor(kwargs?: i.
|
|
302
|
+
static fromProto(proto: any): SystemDefined;
|
|
303
|
+
constructor(kwargs?: i.SystemDefinedInterface);
|
|
286
304
|
toApiJson(): object;
|
|
287
305
|
}
|
|
288
|
-
export declare class
|
|
306
|
+
export declare class UnmappedField implements i.UnmappedFieldInterface {
|
|
289
307
|
id: string;
|
|
290
308
|
type: e.FieldType;
|
|
291
|
-
options:
|
|
309
|
+
options: FieldOption[];
|
|
292
310
|
currencyCode: string;
|
|
293
|
-
static fromProto(proto: any):
|
|
294
|
-
constructor(kwargs?: i.
|
|
311
|
+
static fromProto(proto: any): UnmappedField;
|
|
312
|
+
constructor(kwargs?: i.UnmappedFieldInterface);
|
|
295
313
|
toApiJson(): object;
|
|
296
314
|
}
|
|
297
315
|
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';
|