@vendasta/forms_microservice 0.20.0 → 0.22.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/enums/api.enum.mjs +8 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/form-template.api.service.mjs +45 -0
- package/esm2020/lib/_internal/index.mjs +2 -1
- 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 +99 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/fesm2015/vendasta-forms_microservice.mjs +144 -1
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +144 -1
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +6 -0
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/form-template.api.service.d.ts +14 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api.interface.d.ts +17 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +29 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -6,5 +6,5 @@
|
|
|
6
6
|
// *********************************
|
|
7
7
|
export { PagedRequestOptions, PagedResponseMetadata, } from './paging';
|
|
8
8
|
export { Filter, FilterGroup, Phone, FilterValue, } from './galaxy-filters';
|
|
9
|
-
export { ActionParameters, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, RenderFormResponseDefaultValues, DeleteFormRequest, FormConfigField, FieldOption, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, SectionConfig, StringList, Styles, SubmitConditionParameters, FormSubmissionSubmittedValue, SystemDefined, FormConfigTemplateSetupSettings, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, RenderFormResponseDefaultValues, DeleteFormRequest, FormConfigField, FieldOption, FieldValue, ListFormsRequestFilters, FormConfig, GetMultiRequestFormConfigIdentifier, ListFormsResponseFormRow, FormSubmission, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiRequest, GetMultiResponse, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsResponse, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, RenderFormResponsePreFillByUrlQueryParameter, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, FormConfigFieldSchema, SectionConfig, StringList, Styles, SubmitConditionParameters, FormSubmissionSubmittedValue, SystemDefined, FormConfigTemplateSetupSettings, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError, GetMultiFormVersionsListResponseVersions, } from './api';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9mb3Jtc19zZGsvc3JjL2xpYi9faW50ZXJuYWwvb2JqZWN0cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQ0FBb0M7QUFDcEMsMkJBQTJCO0FBQzNCLGdCQUFnQjtBQUNoQixFQUFFO0FBQ0YsaUJBQWlCO0FBQ2pCLG9DQUFvQztBQUNwQyxPQUFPLEVBQ0gsbUJBQW1CLEVBQ25CLHFCQUFxQixHQUN4QixNQUFNLFVBQVUsQ0FBQztBQUVsQixPQUFPLEVBQ0gsTUFBTSxFQUNOLFdBQVcsRUFDWCxLQUFLLEVBQ0wsV0FBVyxHQUNkLE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUNILGdCQUFnQixFQUNoQiw2QkFBNkIsRUFDN0IsOEJBQThCLEVBQzlCLGlCQUFpQixFQUNqQixrQkFBa0IsRUFDbEIsMkJBQTJCLEVBQzNCLDRCQUE0QixFQUM1QiwrQkFBK0IsRUFDL0IsaUJBQWlCLEVBQ2pCLGVBQWUsRUFDZixXQUFXLEVBQ1gsVUFBVSxFQUNWLHVCQUF1QixFQUN2QixVQUFVLEVBQ1YsbUNBQW1DLEVBQ25DLHdCQUF3QixFQUN4QixjQUFjLEVBQ2Qsd0JBQXdCLEVBQ3hCLHlCQUF5QixFQUN6QixzQ0FBc0MsRUFDdEMsdUNBQXVDLEVBQ3ZDLG1CQUFtQixFQUNuQixvQkFBb0IsRUFDcEIsY0FBYyxFQUNkLGVBQWUsRUFDZi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Gb3JtUmVzcG9uc2UsXG4gICAgVXNlckZvcm1TdWJtaXNzaW9uLFxuICAgIFZhbGlkYXRpb25FcnJvcixcbiAgICBHZXRNdWx0aUZvcm1WZXJzaW9uc0xpc3RSZXNwb25zZVZlcnNpb25zLFxufSBmcm9tICcuL2FwaSc7XG5cbiJdfQ==
|
|
@@ -99,6 +99,13 @@ var FieldType;
|
|
|
99
99
|
FieldType[FieldType["FIELD_TYPE_TAG"] = 13] = "FIELD_TYPE_TAG";
|
|
100
100
|
FieldType[FieldType["FIELD_TYPE_SECTION"] = 14] = "FIELD_TYPE_SECTION";
|
|
101
101
|
})(FieldType || (FieldType = {}));
|
|
102
|
+
var FormCreationStatus;
|
|
103
|
+
(function (FormCreationStatus) {
|
|
104
|
+
FormCreationStatus[FormCreationStatus["FORM_CREATION_STATUS_UNSPECIFIED"] = 0] = "FORM_CREATION_STATUS_UNSPECIFIED";
|
|
105
|
+
FormCreationStatus[FormCreationStatus["FORM_CREATION_STATUS_IN_PROGRESS"] = 1] = "FORM_CREATION_STATUS_IN_PROGRESS";
|
|
106
|
+
FormCreationStatus[FormCreationStatus["FORM_CREATION_STATUS_COMPLETED"] = 2] = "FORM_CREATION_STATUS_COMPLETED";
|
|
107
|
+
FormCreationStatus[FormCreationStatus["FORM_CREATION_STATUS_FAILED"] = 3] = "FORM_CREATION_STATUS_FAILED";
|
|
108
|
+
})(FormCreationStatus || (FormCreationStatus = {}));
|
|
102
109
|
var JsonSchemaLibrary;
|
|
103
110
|
(function (JsonSchemaLibrary) {
|
|
104
111
|
JsonSchemaLibrary[JsonSchemaLibrary["JSON_SCHEMA_LIBRARY_UNDEFINED"] = 0] = "JSON_SCHEMA_LIBRARY_UNDEFINED";
|
|
@@ -364,6 +371,49 @@ class ActionParameters {
|
|
|
364
371
|
return toReturn;
|
|
365
372
|
}
|
|
366
373
|
}
|
|
374
|
+
class CreateFormFromTemplateRequest {
|
|
375
|
+
static fromProto(proto) {
|
|
376
|
+
let m = new CreateFormFromTemplateRequest();
|
|
377
|
+
m = Object.assign(m, proto);
|
|
378
|
+
return m;
|
|
379
|
+
}
|
|
380
|
+
constructor(kwargs) {
|
|
381
|
+
if (!kwargs) {
|
|
382
|
+
return;
|
|
383
|
+
}
|
|
384
|
+
Object.assign(this, kwargs);
|
|
385
|
+
}
|
|
386
|
+
toApiJson() {
|
|
387
|
+
const toReturn = {};
|
|
388
|
+
if (typeof this.namespace !== 'undefined') {
|
|
389
|
+
toReturn['namespace'] = this.namespace;
|
|
390
|
+
}
|
|
391
|
+
if (typeof this.templateId !== 'undefined') {
|
|
392
|
+
toReturn['templateId'] = this.templateId;
|
|
393
|
+
}
|
|
394
|
+
return toReturn;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
class CreateFormFromTemplateResponse {
|
|
398
|
+
static fromProto(proto) {
|
|
399
|
+
let m = new CreateFormFromTemplateResponse();
|
|
400
|
+
m = Object.assign(m, proto);
|
|
401
|
+
return m;
|
|
402
|
+
}
|
|
403
|
+
constructor(kwargs) {
|
|
404
|
+
if (!kwargs) {
|
|
405
|
+
return;
|
|
406
|
+
}
|
|
407
|
+
Object.assign(this, kwargs);
|
|
408
|
+
}
|
|
409
|
+
toApiJson() {
|
|
410
|
+
const toReturn = {};
|
|
411
|
+
if (typeof this.workflowId !== 'undefined') {
|
|
412
|
+
toReturn['workflowId'] = this.workflowId;
|
|
413
|
+
}
|
|
414
|
+
return toReturn;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
367
417
|
class CreateFormRequest {
|
|
368
418
|
static fromProto(proto) {
|
|
369
419
|
let m = new CreateFormRequest();
|
|
@@ -873,6 +923,58 @@ class GenerateCustomCSSResponse {
|
|
|
873
923
|
return toReturn;
|
|
874
924
|
}
|
|
875
925
|
}
|
|
926
|
+
class GetCreateFormFromTemplateStatusRequest {
|
|
927
|
+
static fromProto(proto) {
|
|
928
|
+
let m = new GetCreateFormFromTemplateStatusRequest();
|
|
929
|
+
m = Object.assign(m, proto);
|
|
930
|
+
return m;
|
|
931
|
+
}
|
|
932
|
+
constructor(kwargs) {
|
|
933
|
+
if (!kwargs) {
|
|
934
|
+
return;
|
|
935
|
+
}
|
|
936
|
+
Object.assign(this, kwargs);
|
|
937
|
+
}
|
|
938
|
+
toApiJson() {
|
|
939
|
+
const toReturn = {};
|
|
940
|
+
if (typeof this.namespace !== 'undefined') {
|
|
941
|
+
toReturn['namespace'] = this.namespace;
|
|
942
|
+
}
|
|
943
|
+
if (typeof this.workflowId !== 'undefined') {
|
|
944
|
+
toReturn['workflowId'] = this.workflowId;
|
|
945
|
+
}
|
|
946
|
+
return toReturn;
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
class GetCreateFormFromTemplateStatusResponse {
|
|
950
|
+
static fromProto(proto) {
|
|
951
|
+
let m = new GetCreateFormFromTemplateStatusResponse();
|
|
952
|
+
m = Object.assign(m, proto);
|
|
953
|
+
if (proto.status) {
|
|
954
|
+
m.status = enumStringToValue(FormCreationStatus, proto.status);
|
|
955
|
+
}
|
|
956
|
+
return m;
|
|
957
|
+
}
|
|
958
|
+
constructor(kwargs) {
|
|
959
|
+
if (!kwargs) {
|
|
960
|
+
return;
|
|
961
|
+
}
|
|
962
|
+
Object.assign(this, kwargs);
|
|
963
|
+
}
|
|
964
|
+
toApiJson() {
|
|
965
|
+
const toReturn = {};
|
|
966
|
+
if (typeof this.status !== 'undefined') {
|
|
967
|
+
toReturn['status'] = this.status;
|
|
968
|
+
}
|
|
969
|
+
if (typeof this.formId !== 'undefined') {
|
|
970
|
+
toReturn['formId'] = this.formId;
|
|
971
|
+
}
|
|
972
|
+
if (typeof this.errorMessage !== 'undefined') {
|
|
973
|
+
toReturn['errorMessage'] = this.errorMessage;
|
|
974
|
+
}
|
|
975
|
+
return toReturn;
|
|
976
|
+
}
|
|
977
|
+
}
|
|
876
978
|
class GetEmbedCodeRequest {
|
|
877
979
|
static fromProto(proto) {
|
|
878
980
|
let m = new GetEmbedCodeRequest();
|
|
@@ -1175,6 +1277,9 @@ class ListFormsRequest {
|
|
|
1175
1277
|
if (typeof this.filtersV2 !== 'undefined' && this.filtersV2 !== null) {
|
|
1176
1278
|
toReturn['filtersV2'] = 'toApiJson' in this.filtersV2 ? this.filtersV2.toApiJson() : this.filtersV2;
|
|
1177
1279
|
}
|
|
1280
|
+
if (typeof this.searchTerm !== 'undefined') {
|
|
1281
|
+
toReturn['searchTerm'] = this.searchTerm;
|
|
1282
|
+
}
|
|
1178
1283
|
return toReturn;
|
|
1179
1284
|
}
|
|
1180
1285
|
}
|
|
@@ -2016,6 +2121,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2016
2121
|
args: [{ providedIn: 'root' }]
|
|
2017
2122
|
}] });
|
|
2018
2123
|
|
|
2124
|
+
// *********************************
|
|
2125
|
+
// Code generated by sdkgen
|
|
2126
|
+
// DO NOT EDIT!.
|
|
2127
|
+
//
|
|
2128
|
+
// API Service.
|
|
2129
|
+
// *********************************
|
|
2130
|
+
class FormTemplateApiService {
|
|
2131
|
+
constructor() {
|
|
2132
|
+
this.hostService = inject(HostService);
|
|
2133
|
+
this.http = inject(HttpClient);
|
|
2134
|
+
this._host = this.hostService.hostWithScheme;
|
|
2135
|
+
}
|
|
2136
|
+
apiOptions() {
|
|
2137
|
+
return {
|
|
2138
|
+
headers: new HttpHeaders({
|
|
2139
|
+
'Content-Type': 'application/json'
|
|
2140
|
+
}),
|
|
2141
|
+
withCredentials: true
|
|
2142
|
+
};
|
|
2143
|
+
}
|
|
2144
|
+
createFormFromTemplate(r) {
|
|
2145
|
+
const request = (r.toApiJson) ? r : new CreateFormFromTemplateRequest(r);
|
|
2146
|
+
return this.http.post(this._host + "/forms.v1.FormTemplateService/CreateFormFromTemplate", request.toApiJson(), this.apiOptions())
|
|
2147
|
+
.pipe(map(resp => CreateFormFromTemplateResponse.fromProto(resp)));
|
|
2148
|
+
}
|
|
2149
|
+
getCreateFormFromTemplateStatus(r) {
|
|
2150
|
+
const request = (r.toApiJson) ? r : new GetCreateFormFromTemplateStatusRequest(r);
|
|
2151
|
+
return this.http.post(this._host + "/forms.v1.FormTemplateService/GetCreateFormFromTemplateStatus", request.toApiJson(), this.apiOptions())
|
|
2152
|
+
.pipe(map(resp => GetCreateFormFromTemplateStatusResponse.fromProto(resp)));
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
FormTemplateApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormTemplateApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2156
|
+
FormTemplateApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormTemplateApiService, providedIn: 'root' });
|
|
2157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormTemplateApiService, decorators: [{
|
|
2158
|
+
type: Injectable,
|
|
2159
|
+
args: [{ providedIn: 'root' }]
|
|
2160
|
+
}] });
|
|
2161
|
+
|
|
2019
2162
|
// *********************************
|
|
2020
2163
|
// Code generated by sdkgen
|
|
2021
2164
|
// DO NOT EDIT!.
|
|
@@ -2153,5 +2296,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2153
2296
|
* Generated bundle index. Do not edit.
|
|
2154
2297
|
*/
|
|
2155
2298
|
|
|
2156
|
-
export { ActionParameters, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormSubmission, FormSubmissionApiService, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, PagedRequestOptions, PagedResponseMetadata, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, SectionAction, SectionConfig, StringList, Styles, SubmitConditionParameters, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
2299
|
+
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, PagedRequestOptions, PagedResponseMetadata, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, SectionAction, SectionConfig, StringList, Styles, SubmitConditionParameters, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
2157
2300
|
//# sourceMappingURL=vendasta-forms_microservice.mjs.map
|