@vendasta/forms_microservice 0.2.0 → 0.4.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/_generated/host.service.mjs +4 -4
- package/esm2020/lib/_internal/enums/api.enum.mjs +2 -1
- package/esm2020/lib/_internal/form-submission.api.service.mjs +4 -4
- package/esm2020/lib/_internal/forms.api.service.mjs +4 -4
- package/esm2020/lib/form-submission-export.service.mjs +4 -4
- package/fesm2015/vendasta-forms_microservice.mjs +39 -12
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +39 -12
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +2 -1
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ var FieldType;
|
|
|
21
21
|
FieldType[FieldType["FIELD_TYPE_BOOLEAN"] = 6] = "FIELD_TYPE_BOOLEAN";
|
|
22
22
|
FieldType[FieldType["FIELD_TYPE_RADIO"] = 7] = "FIELD_TYPE_RADIO";
|
|
23
23
|
FieldType[FieldType["FIELD_TYPE_RICH_TEXT_ELEMENT"] = 8] = "FIELD_TYPE_RICH_TEXT_ELEMENT";
|
|
24
|
+
FieldType[FieldType["FIELD_TYPE_EMAIL"] = 9] = "FIELD_TYPE_EMAIL";
|
|
24
25
|
})(FieldType || (FieldType = {}));
|
|
25
26
|
var JsonSchemaLibrary;
|
|
26
27
|
(function (JsonSchemaLibrary) {
|
|
@@ -28,6 +29,11 @@ var JsonSchemaLibrary;
|
|
|
28
29
|
JsonSchemaLibrary[JsonSchemaLibrary["JSON_SCHEMA_LIBRARY_JSONFORM"] = 1] = "JSON_SCHEMA_LIBRARY_JSONFORM";
|
|
29
30
|
})(JsonSchemaLibrary || (JsonSchemaLibrary = {}));
|
|
30
31
|
|
|
32
|
+
// *********************************
|
|
33
|
+
// Code generated by sdkgen
|
|
34
|
+
// DO NOT EDIT!.
|
|
35
|
+
//
|
|
36
|
+
// Enums Index.
|
|
31
37
|
// *********************************
|
|
32
38
|
|
|
33
39
|
function enumStringToValue$1(enumRef, value) {
|
|
@@ -1266,6 +1272,11 @@ class GetMultiFormVersionsListResponseVersions {
|
|
|
1266
1272
|
}
|
|
1267
1273
|
}
|
|
1268
1274
|
|
|
1275
|
+
// *********************************
|
|
1276
|
+
// Code generated by sdkgen
|
|
1277
|
+
// DO NOT EDIT!.
|
|
1278
|
+
//
|
|
1279
|
+
// Objects Index.
|
|
1269
1280
|
// *********************************
|
|
1270
1281
|
|
|
1271
1282
|
const environment = (window ? window['environment'] : 'prod') ?? 'prod';
|
|
@@ -1284,13 +1295,18 @@ class HostService {
|
|
|
1284
1295
|
return 'https://' + this.host;
|
|
1285
1296
|
}
|
|
1286
1297
|
}
|
|
1287
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1288
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1298
|
+
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1299
|
+
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, decorators: [{
|
|
1290
1301
|
type: Injectable,
|
|
1291
1302
|
args: [{ providedIn: 'root' }]
|
|
1292
1303
|
}] });
|
|
1293
1304
|
|
|
1305
|
+
// *********************************
|
|
1306
|
+
// Code generated by sdkgen
|
|
1307
|
+
// DO NOT EDIT!.
|
|
1308
|
+
//
|
|
1309
|
+
// API Service.
|
|
1294
1310
|
// *********************************
|
|
1295
1311
|
class FormSubmissionApiService {
|
|
1296
1312
|
constructor(http, hostService) {
|
|
@@ -1322,13 +1338,18 @@ class FormSubmissionApiService {
|
|
|
1322
1338
|
.pipe(map(resp => GetMultiFormSubmissionResponse.fromProto(resp)));
|
|
1323
1339
|
}
|
|
1324
1340
|
}
|
|
1325
|
-
FormSubmissionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1326
|
-
FormSubmissionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1341
|
+
FormSubmissionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1342
|
+
FormSubmissionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionApiService, providedIn: 'root' });
|
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionApiService, decorators: [{
|
|
1328
1344
|
type: Injectable,
|
|
1329
1345
|
args: [{ providedIn: 'root' }]
|
|
1330
1346
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
1331
1347
|
|
|
1348
|
+
// *********************************
|
|
1349
|
+
// Code generated by sdkgen
|
|
1350
|
+
// DO NOT EDIT!.
|
|
1351
|
+
//
|
|
1352
|
+
// API Service.
|
|
1332
1353
|
// *********************************
|
|
1333
1354
|
class FormsApiService {
|
|
1334
1355
|
constructor(http, hostService) {
|
|
@@ -1394,14 +1415,19 @@ class FormsApiService {
|
|
|
1394
1415
|
.pipe(map(resp => PreviewFormResponse.fromProto(resp)));
|
|
1395
1416
|
}
|
|
1396
1417
|
}
|
|
1397
|
-
FormsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1398
|
-
FormsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1418
|
+
FormsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1419
|
+
FormsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormsApiService, providedIn: 'root' });
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormsApiService, decorators: [{
|
|
1400
1421
|
type: Injectable,
|
|
1401
1422
|
args: [{ providedIn: 'root' }]
|
|
1402
1423
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
1403
1424
|
|
|
1404
1425
|
// *********************************
|
|
1426
|
+
// Code generated by sdkgen
|
|
1427
|
+
// DO NOT EDIT!.
|
|
1428
|
+
//
|
|
1429
|
+
// Index.
|
|
1430
|
+
// *********************************
|
|
1405
1431
|
|
|
1406
1432
|
class FormSubmissionsExportService {
|
|
1407
1433
|
constructor(http, hostService) {
|
|
@@ -1427,14 +1453,15 @@ class FormSubmissionsExportService {
|
|
|
1427
1453
|
}));
|
|
1428
1454
|
}
|
|
1429
1455
|
}
|
|
1430
|
-
FormSubmissionsExportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
1431
|
-
FormSubmissionsExportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
1432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
1456
|
+
FormSubmissionsExportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionsExportService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1457
|
+
FormSubmissionsExportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionsExportService, providedIn: 'root' });
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormSubmissionsExportService, decorators: [{
|
|
1433
1459
|
type: Injectable,
|
|
1434
1460
|
args: [{ providedIn: 'root' }]
|
|
1435
1461
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
1436
1462
|
|
|
1437
1463
|
// MANUALLY CREATED FILE
|
|
1464
|
+
// Don't delete this by mistake when you update the SDK with mscli!
|
|
1438
1465
|
|
|
1439
1466
|
/**
|
|
1440
1467
|
* Generated bundle index. Do not edit.
|