@vendasta/forms_microservice 0.0.24 → 0.1.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 +3 -3
- package/esm2020/lib/_internal/form-submission.api.service.mjs +3 -3
- package/esm2020/lib/_internal/forms.api.service.mjs +3 -3
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +222 -213
- package/esm2020/lib/_internal/objects/paging.mjs +13 -13
- package/esm2020/lib/form-submission-export.service.mjs +3 -3
- package/fesm2015/vendasta-forms_microservice.mjs +245 -236
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +245 -236
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/interfaces/api.interface.d.ts +3 -0
- package/lib/_internal/objects/api.d.ts +3 -0
- package/package.json +3 -3
- package/src/README.md +0 -1
|
@@ -37,12 +37,6 @@ function enumStringToValue$1(enumRef, value) {
|
|
|
37
37
|
return enumRef[value];
|
|
38
38
|
}
|
|
39
39
|
class PagedRequestOptions {
|
|
40
|
-
constructor(kwargs) {
|
|
41
|
-
if (!kwargs) {
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
Object.assign(this, kwargs);
|
|
45
|
-
}
|
|
46
40
|
static fromProto(proto) {
|
|
47
41
|
let m = new PagedRequestOptions();
|
|
48
42
|
m = Object.assign(m, proto);
|
|
@@ -51,6 +45,12 @@ class PagedRequestOptions {
|
|
|
51
45
|
}
|
|
52
46
|
return m;
|
|
53
47
|
}
|
|
48
|
+
constructor(kwargs) {
|
|
49
|
+
if (!kwargs) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
Object.assign(this, kwargs);
|
|
53
|
+
}
|
|
54
54
|
toApiJson() {
|
|
55
55
|
const toReturn = {};
|
|
56
56
|
if (typeof this.cursor !== 'undefined') {
|
|
@@ -63,12 +63,6 @@ class PagedRequestOptions {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
class PagedResponseMetadata {
|
|
66
|
-
constructor(kwargs) {
|
|
67
|
-
if (!kwargs) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
Object.assign(this, kwargs);
|
|
71
|
-
}
|
|
72
66
|
static fromProto(proto) {
|
|
73
67
|
let m = new PagedResponseMetadata();
|
|
74
68
|
m = Object.assign(m, proto);
|
|
@@ -77,6 +71,12 @@ class PagedResponseMetadata {
|
|
|
77
71
|
}
|
|
78
72
|
return m;
|
|
79
73
|
}
|
|
74
|
+
constructor(kwargs) {
|
|
75
|
+
if (!kwargs) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
Object.assign(this, kwargs);
|
|
79
|
+
}
|
|
80
80
|
toApiJson() {
|
|
81
81
|
const toReturn = {};
|
|
82
82
|
if (typeof this.nextCursor !== 'undefined') {
|
|
@@ -99,12 +99,6 @@ function enumStringToValue(enumRef, value) {
|
|
|
99
99
|
return enumRef[value];
|
|
100
100
|
}
|
|
101
101
|
class CreateFormRequest {
|
|
102
|
-
constructor(kwargs) {
|
|
103
|
-
if (!kwargs) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
Object.assign(this, kwargs);
|
|
107
|
-
}
|
|
108
102
|
static fromProto(proto) {
|
|
109
103
|
let m = new CreateFormRequest();
|
|
110
104
|
m = Object.assign(m, proto);
|
|
@@ -113,6 +107,12 @@ class CreateFormRequest {
|
|
|
113
107
|
}
|
|
114
108
|
return m;
|
|
115
109
|
}
|
|
110
|
+
constructor(kwargs) {
|
|
111
|
+
if (!kwargs) {
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
Object.assign(this, kwargs);
|
|
115
|
+
}
|
|
116
116
|
toApiJson() {
|
|
117
117
|
const toReturn = {};
|
|
118
118
|
if (typeof this.formConfig !== 'undefined' && this.formConfig !== null) {
|
|
@@ -122,17 +122,17 @@ class CreateFormRequest {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
class CreateFormResponse {
|
|
125
|
+
static fromProto(proto) {
|
|
126
|
+
let m = new CreateFormResponse();
|
|
127
|
+
m = Object.assign(m, proto);
|
|
128
|
+
return m;
|
|
129
|
+
}
|
|
125
130
|
constructor(kwargs) {
|
|
126
131
|
if (!kwargs) {
|
|
127
132
|
return;
|
|
128
133
|
}
|
|
129
134
|
Object.assign(this, kwargs);
|
|
130
135
|
}
|
|
131
|
-
static fromProto(proto) {
|
|
132
|
-
let m = new CreateFormResponse();
|
|
133
|
-
m = Object.assign(m, proto);
|
|
134
|
-
return m;
|
|
135
|
-
}
|
|
136
136
|
toApiJson() {
|
|
137
137
|
const toReturn = {};
|
|
138
138
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -145,12 +145,6 @@ class CreateFormResponse {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
class CreateFormSubmissionRequest {
|
|
148
|
-
constructor(kwargs) {
|
|
149
|
-
if (!kwargs) {
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
Object.assign(this, kwargs);
|
|
153
|
-
}
|
|
154
148
|
static fromProto(proto) {
|
|
155
149
|
let m = new CreateFormSubmissionRequest();
|
|
156
150
|
m = Object.assign(m, proto);
|
|
@@ -159,6 +153,12 @@ class CreateFormSubmissionRequest {
|
|
|
159
153
|
}
|
|
160
154
|
return m;
|
|
161
155
|
}
|
|
156
|
+
constructor(kwargs) {
|
|
157
|
+
if (!kwargs) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
Object.assign(this, kwargs);
|
|
161
|
+
}
|
|
162
162
|
toApiJson() {
|
|
163
163
|
const toReturn = {};
|
|
164
164
|
if (typeof this.submission !== 'undefined' && this.submission !== null) {
|
|
@@ -171,17 +171,17 @@ class CreateFormSubmissionRequest {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
class CreateFormSubmissionResponse {
|
|
174
|
+
static fromProto(proto) {
|
|
175
|
+
let m = new CreateFormSubmissionResponse();
|
|
176
|
+
m = Object.assign(m, proto);
|
|
177
|
+
return m;
|
|
178
|
+
}
|
|
174
179
|
constructor(kwargs) {
|
|
175
180
|
if (!kwargs) {
|
|
176
181
|
return;
|
|
177
182
|
}
|
|
178
183
|
Object.assign(this, kwargs);
|
|
179
184
|
}
|
|
180
|
-
static fromProto(proto) {
|
|
181
|
-
let m = new CreateFormSubmissionResponse();
|
|
182
|
-
m = Object.assign(m, proto);
|
|
183
|
-
return m;
|
|
184
|
-
}
|
|
185
185
|
toApiJson() {
|
|
186
186
|
const toReturn = {};
|
|
187
187
|
if (typeof this.redirectUrl !== 'undefined') {
|
|
@@ -191,17 +191,17 @@ class CreateFormSubmissionResponse {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
class DeleteFormRequest {
|
|
194
|
+
static fromProto(proto) {
|
|
195
|
+
let m = new DeleteFormRequest();
|
|
196
|
+
m = Object.assign(m, proto);
|
|
197
|
+
return m;
|
|
198
|
+
}
|
|
194
199
|
constructor(kwargs) {
|
|
195
200
|
if (!kwargs) {
|
|
196
201
|
return;
|
|
197
202
|
}
|
|
198
203
|
Object.assign(this, kwargs);
|
|
199
204
|
}
|
|
200
|
-
static fromProto(proto) {
|
|
201
|
-
let m = new DeleteFormRequest();
|
|
202
|
-
m = Object.assign(m, proto);
|
|
203
|
-
return m;
|
|
204
|
-
}
|
|
205
205
|
toApiJson() {
|
|
206
206
|
const toReturn = {};
|
|
207
207
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -214,12 +214,6 @@ class DeleteFormRequest {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
class FormConfigField {
|
|
217
|
-
constructor(kwargs) {
|
|
218
|
-
if (!kwargs) {
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
Object.assign(this, kwargs);
|
|
222
|
-
}
|
|
223
217
|
static fromProto(proto) {
|
|
224
218
|
let m = new FormConfigField();
|
|
225
219
|
m = Object.assign(m, proto);
|
|
@@ -231,6 +225,12 @@ class FormConfigField {
|
|
|
231
225
|
}
|
|
232
226
|
return m;
|
|
233
227
|
}
|
|
228
|
+
constructor(kwargs) {
|
|
229
|
+
if (!kwargs) {
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
Object.assign(this, kwargs);
|
|
233
|
+
}
|
|
234
234
|
toApiJson() {
|
|
235
235
|
const toReturn = {};
|
|
236
236
|
if (typeof this.schema !== 'undefined' && this.schema !== null) {
|
|
@@ -258,12 +258,6 @@ class FormConfigField {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
class FieldValue {
|
|
261
|
-
constructor(kwargs) {
|
|
262
|
-
if (!kwargs) {
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
Object.assign(this, kwargs);
|
|
266
|
-
}
|
|
267
261
|
static fromProto(proto) {
|
|
268
262
|
let m = new FieldValue();
|
|
269
263
|
m = Object.assign(m, proto);
|
|
@@ -272,6 +266,12 @@ class FieldValue {
|
|
|
272
266
|
}
|
|
273
267
|
return m;
|
|
274
268
|
}
|
|
269
|
+
constructor(kwargs) {
|
|
270
|
+
if (!kwargs) {
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
Object.assign(this, kwargs);
|
|
274
|
+
}
|
|
275
275
|
toApiJson() {
|
|
276
276
|
const toReturn = {};
|
|
277
277
|
if (typeof this.invalid !== 'undefined') {
|
|
@@ -290,17 +290,17 @@ class FieldValue {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
class ListFormsRequestFilters {
|
|
293
|
+
static fromProto(proto) {
|
|
294
|
+
let m = new ListFormsRequestFilters();
|
|
295
|
+
m = Object.assign(m, proto);
|
|
296
|
+
return m;
|
|
297
|
+
}
|
|
293
298
|
constructor(kwargs) {
|
|
294
299
|
if (!kwargs) {
|
|
295
300
|
return;
|
|
296
301
|
}
|
|
297
302
|
Object.assign(this, kwargs);
|
|
298
303
|
}
|
|
299
|
-
static fromProto(proto) {
|
|
300
|
-
let m = new ListFormsRequestFilters();
|
|
301
|
-
m = Object.assign(m, proto);
|
|
302
|
-
return m;
|
|
303
|
-
}
|
|
304
304
|
toApiJson() {
|
|
305
305
|
const toReturn = {};
|
|
306
306
|
if (typeof this.partnerId !== 'undefined') {
|
|
@@ -310,12 +310,6 @@ class ListFormsRequestFilters {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
class FormConfig {
|
|
313
|
-
constructor(kwargs) {
|
|
314
|
-
if (!kwargs) {
|
|
315
|
-
return;
|
|
316
|
-
}
|
|
317
|
-
Object.assign(this, kwargs);
|
|
318
|
-
}
|
|
319
313
|
static fromProto(proto) {
|
|
320
314
|
let m = new FormConfig();
|
|
321
315
|
m = Object.assign(m, proto);
|
|
@@ -333,6 +327,12 @@ class FormConfig {
|
|
|
333
327
|
}
|
|
334
328
|
return m;
|
|
335
329
|
}
|
|
330
|
+
constructor(kwargs) {
|
|
331
|
+
if (!kwargs) {
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
Object.assign(this, kwargs);
|
|
335
|
+
}
|
|
336
336
|
toApiJson() {
|
|
337
337
|
const toReturn = {};
|
|
338
338
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -374,21 +374,24 @@ class FormConfig {
|
|
|
374
374
|
if (typeof this.recaptchaSecretKey !== 'undefined') {
|
|
375
375
|
toReturn['recaptchaSecretKey'] = this.recaptchaSecretKey;
|
|
376
376
|
}
|
|
377
|
+
if (typeof this.submitButtonLabel !== 'undefined') {
|
|
378
|
+
toReturn['submitButtonLabel'] = this.submitButtonLabel;
|
|
379
|
+
}
|
|
377
380
|
return toReturn;
|
|
378
381
|
}
|
|
379
382
|
}
|
|
380
383
|
class GetMultiRequestFormConfigIdentifier {
|
|
384
|
+
static fromProto(proto) {
|
|
385
|
+
let m = new GetMultiRequestFormConfigIdentifier();
|
|
386
|
+
m = Object.assign(m, proto);
|
|
387
|
+
return m;
|
|
388
|
+
}
|
|
381
389
|
constructor(kwargs) {
|
|
382
390
|
if (!kwargs) {
|
|
383
391
|
return;
|
|
384
392
|
}
|
|
385
393
|
Object.assign(this, kwargs);
|
|
386
394
|
}
|
|
387
|
-
static fromProto(proto) {
|
|
388
|
-
let m = new GetMultiRequestFormConfigIdentifier();
|
|
389
|
-
m = Object.assign(m, proto);
|
|
390
|
-
return m;
|
|
391
|
-
}
|
|
392
395
|
toApiJson() {
|
|
393
396
|
const toReturn = {};
|
|
394
397
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -401,12 +404,6 @@ class GetMultiRequestFormConfigIdentifier {
|
|
|
401
404
|
}
|
|
402
405
|
}
|
|
403
406
|
class ListFormsResponseFormRow {
|
|
404
|
-
constructor(kwargs) {
|
|
405
|
-
if (!kwargs) {
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
Object.assign(this, kwargs);
|
|
409
|
-
}
|
|
410
407
|
static fromProto(proto) {
|
|
411
408
|
let m = new ListFormsResponseFormRow();
|
|
412
409
|
m = Object.assign(m, proto);
|
|
@@ -418,6 +415,12 @@ class ListFormsResponseFormRow {
|
|
|
418
415
|
}
|
|
419
416
|
return m;
|
|
420
417
|
}
|
|
418
|
+
constructor(kwargs) {
|
|
419
|
+
if (!kwargs) {
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
Object.assign(this, kwargs);
|
|
423
|
+
}
|
|
421
424
|
toApiJson() {
|
|
422
425
|
const toReturn = {};
|
|
423
426
|
if (typeof this.form !== 'undefined' && this.form !== null) {
|
|
@@ -430,12 +433,6 @@ class ListFormsResponseFormRow {
|
|
|
430
433
|
}
|
|
431
434
|
}
|
|
432
435
|
class ListFormSubmissionResponseFormSubmission {
|
|
433
|
-
constructor(kwargs) {
|
|
434
|
-
if (!kwargs) {
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
|
-
Object.assign(this, kwargs);
|
|
438
|
-
}
|
|
439
436
|
static fromProto(proto) {
|
|
440
437
|
let m = new ListFormSubmissionResponseFormSubmission();
|
|
441
438
|
m = Object.assign(m, proto);
|
|
@@ -447,6 +444,12 @@ class ListFormSubmissionResponseFormSubmission {
|
|
|
447
444
|
}
|
|
448
445
|
return m;
|
|
449
446
|
}
|
|
447
|
+
constructor(kwargs) {
|
|
448
|
+
if (!kwargs) {
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
451
|
+
Object.assign(this, kwargs);
|
|
452
|
+
}
|
|
450
453
|
toApiJson() {
|
|
451
454
|
const toReturn = {};
|
|
452
455
|
if (typeof this.formSubmissionId !== 'undefined') {
|
|
@@ -465,17 +468,17 @@ class ListFormSubmissionResponseFormSubmission {
|
|
|
465
468
|
}
|
|
466
469
|
}
|
|
467
470
|
class FormSubmission {
|
|
471
|
+
static fromProto(proto) {
|
|
472
|
+
let m = new FormSubmission();
|
|
473
|
+
m = Object.assign(m, proto);
|
|
474
|
+
return m;
|
|
475
|
+
}
|
|
468
476
|
constructor(kwargs) {
|
|
469
477
|
if (!kwargs) {
|
|
470
478
|
return;
|
|
471
479
|
}
|
|
472
480
|
Object.assign(this, kwargs);
|
|
473
481
|
}
|
|
474
|
-
static fromProto(proto) {
|
|
475
|
-
let m = new FormSubmission();
|
|
476
|
-
m = Object.assign(m, proto);
|
|
477
|
-
return m;
|
|
478
|
-
}
|
|
479
482
|
toApiJson() {
|
|
480
483
|
const toReturn = {};
|
|
481
484
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -491,17 +494,17 @@ class FormSubmission {
|
|
|
491
494
|
}
|
|
492
495
|
}
|
|
493
496
|
class GetEmbedCodeRequest {
|
|
497
|
+
static fromProto(proto) {
|
|
498
|
+
let m = new GetEmbedCodeRequest();
|
|
499
|
+
m = Object.assign(m, proto);
|
|
500
|
+
return m;
|
|
501
|
+
}
|
|
494
502
|
constructor(kwargs) {
|
|
495
503
|
if (!kwargs) {
|
|
496
504
|
return;
|
|
497
505
|
}
|
|
498
506
|
Object.assign(this, kwargs);
|
|
499
507
|
}
|
|
500
|
-
static fromProto(proto) {
|
|
501
|
-
let m = new GetEmbedCodeRequest();
|
|
502
|
-
m = Object.assign(m, proto);
|
|
503
|
-
return m;
|
|
504
|
-
}
|
|
505
508
|
toApiJson() {
|
|
506
509
|
const toReturn = {};
|
|
507
510
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -511,17 +514,17 @@ class GetEmbedCodeRequest {
|
|
|
511
514
|
}
|
|
512
515
|
}
|
|
513
516
|
class GetEmbedCodeResponse {
|
|
517
|
+
static fromProto(proto) {
|
|
518
|
+
let m = new GetEmbedCodeResponse();
|
|
519
|
+
m = Object.assign(m, proto);
|
|
520
|
+
return m;
|
|
521
|
+
}
|
|
514
522
|
constructor(kwargs) {
|
|
515
523
|
if (!kwargs) {
|
|
516
524
|
return;
|
|
517
525
|
}
|
|
518
526
|
Object.assign(this, kwargs);
|
|
519
527
|
}
|
|
520
|
-
static fromProto(proto) {
|
|
521
|
-
let m = new GetEmbedCodeResponse();
|
|
522
|
-
m = Object.assign(m, proto);
|
|
523
|
-
return m;
|
|
524
|
-
}
|
|
525
528
|
toApiJson() {
|
|
526
529
|
const toReturn = {};
|
|
527
530
|
if (typeof this.embedCode !== 'undefined') {
|
|
@@ -531,17 +534,17 @@ class GetEmbedCodeResponse {
|
|
|
531
534
|
}
|
|
532
535
|
}
|
|
533
536
|
class GetFormRequest {
|
|
537
|
+
static fromProto(proto) {
|
|
538
|
+
let m = new GetFormRequest();
|
|
539
|
+
m = Object.assign(m, proto);
|
|
540
|
+
return m;
|
|
541
|
+
}
|
|
534
542
|
constructor(kwargs) {
|
|
535
543
|
if (!kwargs) {
|
|
536
544
|
return;
|
|
537
545
|
}
|
|
538
546
|
Object.assign(this, kwargs);
|
|
539
547
|
}
|
|
540
|
-
static fromProto(proto) {
|
|
541
|
-
let m = new GetFormRequest();
|
|
542
|
-
m = Object.assign(m, proto);
|
|
543
|
-
return m;
|
|
544
|
-
}
|
|
545
548
|
toApiJson() {
|
|
546
549
|
const toReturn = {};
|
|
547
550
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -551,12 +554,6 @@ class GetFormRequest {
|
|
|
551
554
|
}
|
|
552
555
|
}
|
|
553
556
|
class GetFormResponse {
|
|
554
|
-
constructor(kwargs) {
|
|
555
|
-
if (!kwargs) {
|
|
556
|
-
return;
|
|
557
|
-
}
|
|
558
|
-
Object.assign(this, kwargs);
|
|
559
|
-
}
|
|
560
557
|
static fromProto(proto) {
|
|
561
558
|
let m = new GetFormResponse();
|
|
562
559
|
m = Object.assign(m, proto);
|
|
@@ -565,6 +562,12 @@ class GetFormResponse {
|
|
|
565
562
|
}
|
|
566
563
|
return m;
|
|
567
564
|
}
|
|
565
|
+
constructor(kwargs) {
|
|
566
|
+
if (!kwargs) {
|
|
567
|
+
return;
|
|
568
|
+
}
|
|
569
|
+
Object.assign(this, kwargs);
|
|
570
|
+
}
|
|
568
571
|
toApiJson() {
|
|
569
572
|
const toReturn = {};
|
|
570
573
|
if (typeof this.formConfig !== 'undefined' && this.formConfig !== null) {
|
|
@@ -574,17 +577,17 @@ class GetFormResponse {
|
|
|
574
577
|
}
|
|
575
578
|
}
|
|
576
579
|
class GetMultiFormVersionsListRequest {
|
|
580
|
+
static fromProto(proto) {
|
|
581
|
+
let m = new GetMultiFormVersionsListRequest();
|
|
582
|
+
m = Object.assign(m, proto);
|
|
583
|
+
return m;
|
|
584
|
+
}
|
|
577
585
|
constructor(kwargs) {
|
|
578
586
|
if (!kwargs) {
|
|
579
587
|
return;
|
|
580
588
|
}
|
|
581
589
|
Object.assign(this, kwargs);
|
|
582
590
|
}
|
|
583
|
-
static fromProto(proto) {
|
|
584
|
-
let m = new GetMultiFormVersionsListRequest();
|
|
585
|
-
m = Object.assign(m, proto);
|
|
586
|
-
return m;
|
|
587
|
-
}
|
|
588
591
|
toApiJson() {
|
|
589
592
|
const toReturn = {};
|
|
590
593
|
if (typeof this.formIds !== 'undefined') {
|
|
@@ -594,12 +597,6 @@ class GetMultiFormVersionsListRequest {
|
|
|
594
597
|
}
|
|
595
598
|
}
|
|
596
599
|
class GetMultiFormVersionsListResponse {
|
|
597
|
-
constructor(kwargs) {
|
|
598
|
-
if (!kwargs) {
|
|
599
|
-
return;
|
|
600
|
-
}
|
|
601
|
-
Object.assign(this, kwargs);
|
|
602
|
-
}
|
|
603
600
|
static fromProto(proto) {
|
|
604
601
|
let m = new GetMultiFormVersionsListResponse();
|
|
605
602
|
m = Object.assign(m, proto);
|
|
@@ -608,6 +605,12 @@ class GetMultiFormVersionsListResponse {
|
|
|
608
605
|
}
|
|
609
606
|
return m;
|
|
610
607
|
}
|
|
608
|
+
constructor(kwargs) {
|
|
609
|
+
if (!kwargs) {
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
Object.assign(this, kwargs);
|
|
613
|
+
}
|
|
611
614
|
toApiJson() {
|
|
612
615
|
const toReturn = {};
|
|
613
616
|
if (typeof this.versions !== 'undefined' && this.versions !== null) {
|
|
@@ -617,12 +620,6 @@ class GetMultiFormVersionsListResponse {
|
|
|
617
620
|
}
|
|
618
621
|
}
|
|
619
622
|
class GetMultiRequest {
|
|
620
|
-
constructor(kwargs) {
|
|
621
|
-
if (!kwargs) {
|
|
622
|
-
return;
|
|
623
|
-
}
|
|
624
|
-
Object.assign(this, kwargs);
|
|
625
|
-
}
|
|
626
623
|
static fromProto(proto) {
|
|
627
624
|
let m = new GetMultiRequest();
|
|
628
625
|
m = Object.assign(m, proto);
|
|
@@ -631,6 +628,12 @@ class GetMultiRequest {
|
|
|
631
628
|
}
|
|
632
629
|
return m;
|
|
633
630
|
}
|
|
631
|
+
constructor(kwargs) {
|
|
632
|
+
if (!kwargs) {
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
Object.assign(this, kwargs);
|
|
636
|
+
}
|
|
634
637
|
toApiJson() {
|
|
635
638
|
const toReturn = {};
|
|
636
639
|
if (typeof this.formConfigIdentifiers !== 'undefined' && this.formConfigIdentifiers !== null) {
|
|
@@ -640,12 +643,6 @@ class GetMultiRequest {
|
|
|
640
643
|
}
|
|
641
644
|
}
|
|
642
645
|
class GetMultiResponse {
|
|
643
|
-
constructor(kwargs) {
|
|
644
|
-
if (!kwargs) {
|
|
645
|
-
return;
|
|
646
|
-
}
|
|
647
|
-
Object.assign(this, kwargs);
|
|
648
|
-
}
|
|
649
646
|
static fromProto(proto) {
|
|
650
647
|
let m = new GetMultiResponse();
|
|
651
648
|
m = Object.assign(m, proto);
|
|
@@ -654,6 +651,12 @@ class GetMultiResponse {
|
|
|
654
651
|
}
|
|
655
652
|
return m;
|
|
656
653
|
}
|
|
654
|
+
constructor(kwargs) {
|
|
655
|
+
if (!kwargs) {
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
Object.assign(this, kwargs);
|
|
659
|
+
}
|
|
657
660
|
toApiJson() {
|
|
658
661
|
const toReturn = {};
|
|
659
662
|
if (typeof this.formConfigs !== 'undefined' && this.formConfigs !== null) {
|
|
@@ -663,12 +666,6 @@ class GetMultiResponse {
|
|
|
663
666
|
}
|
|
664
667
|
}
|
|
665
668
|
class ListFormSubmissionRequest {
|
|
666
|
-
constructor(kwargs) {
|
|
667
|
-
if (!kwargs) {
|
|
668
|
-
return;
|
|
669
|
-
}
|
|
670
|
-
Object.assign(this, kwargs);
|
|
671
|
-
}
|
|
672
669
|
static fromProto(proto) {
|
|
673
670
|
let m = new ListFormSubmissionRequest();
|
|
674
671
|
m = Object.assign(m, proto);
|
|
@@ -677,6 +674,12 @@ class ListFormSubmissionRequest {
|
|
|
677
674
|
}
|
|
678
675
|
return m;
|
|
679
676
|
}
|
|
677
|
+
constructor(kwargs) {
|
|
678
|
+
if (!kwargs) {
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
681
|
+
Object.assign(this, kwargs);
|
|
682
|
+
}
|
|
680
683
|
toApiJson() {
|
|
681
684
|
const toReturn = {};
|
|
682
685
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -689,12 +692,6 @@ class ListFormSubmissionRequest {
|
|
|
689
692
|
}
|
|
690
693
|
}
|
|
691
694
|
class ListFormSubmissionResponse {
|
|
692
|
-
constructor(kwargs) {
|
|
693
|
-
if (!kwargs) {
|
|
694
|
-
return;
|
|
695
|
-
}
|
|
696
|
-
Object.assign(this, kwargs);
|
|
697
|
-
}
|
|
698
695
|
static fromProto(proto) {
|
|
699
696
|
let m = new ListFormSubmissionResponse();
|
|
700
697
|
m = Object.assign(m, proto);
|
|
@@ -706,6 +703,12 @@ class ListFormSubmissionResponse {
|
|
|
706
703
|
}
|
|
707
704
|
return m;
|
|
708
705
|
}
|
|
706
|
+
constructor(kwargs) {
|
|
707
|
+
if (!kwargs) {
|
|
708
|
+
return;
|
|
709
|
+
}
|
|
710
|
+
Object.assign(this, kwargs);
|
|
711
|
+
}
|
|
709
712
|
toApiJson() {
|
|
710
713
|
const toReturn = {};
|
|
711
714
|
if (typeof this.submissions !== 'undefined' && this.submissions !== null) {
|
|
@@ -718,12 +721,6 @@ class ListFormSubmissionResponse {
|
|
|
718
721
|
}
|
|
719
722
|
}
|
|
720
723
|
class ListFormsRequest {
|
|
721
|
-
constructor(kwargs) {
|
|
722
|
-
if (!kwargs) {
|
|
723
|
-
return;
|
|
724
|
-
}
|
|
725
|
-
Object.assign(this, kwargs);
|
|
726
|
-
}
|
|
727
724
|
static fromProto(proto) {
|
|
728
725
|
let m = new ListFormsRequest();
|
|
729
726
|
m = Object.assign(m, proto);
|
|
@@ -735,6 +732,12 @@ class ListFormsRequest {
|
|
|
735
732
|
}
|
|
736
733
|
return m;
|
|
737
734
|
}
|
|
735
|
+
constructor(kwargs) {
|
|
736
|
+
if (!kwargs) {
|
|
737
|
+
return;
|
|
738
|
+
}
|
|
739
|
+
Object.assign(this, kwargs);
|
|
740
|
+
}
|
|
738
741
|
toApiJson() {
|
|
739
742
|
const toReturn = {};
|
|
740
743
|
if (typeof this.filters !== 'undefined' && this.filters !== null) {
|
|
@@ -747,12 +750,6 @@ class ListFormsRequest {
|
|
|
747
750
|
}
|
|
748
751
|
}
|
|
749
752
|
class ListFormsResponse {
|
|
750
|
-
constructor(kwargs) {
|
|
751
|
-
if (!kwargs) {
|
|
752
|
-
return;
|
|
753
|
-
}
|
|
754
|
-
Object.assign(this, kwargs);
|
|
755
|
-
}
|
|
756
753
|
static fromProto(proto) {
|
|
757
754
|
let m = new ListFormsResponse();
|
|
758
755
|
m = Object.assign(m, proto);
|
|
@@ -764,6 +761,12 @@ class ListFormsResponse {
|
|
|
764
761
|
}
|
|
765
762
|
return m;
|
|
766
763
|
}
|
|
764
|
+
constructor(kwargs) {
|
|
765
|
+
if (!kwargs) {
|
|
766
|
+
return;
|
|
767
|
+
}
|
|
768
|
+
Object.assign(this, kwargs);
|
|
769
|
+
}
|
|
767
770
|
toApiJson() {
|
|
768
771
|
const toReturn = {};
|
|
769
772
|
if (typeof this.formRows !== 'undefined' && this.formRows !== null) {
|
|
@@ -776,17 +779,17 @@ class ListFormsResponse {
|
|
|
776
779
|
}
|
|
777
780
|
}
|
|
778
781
|
class FormConfigFieldUnmappedFieldOption {
|
|
782
|
+
static fromProto(proto) {
|
|
783
|
+
let m = new FormConfigFieldUnmappedFieldOption();
|
|
784
|
+
m = Object.assign(m, proto);
|
|
785
|
+
return m;
|
|
786
|
+
}
|
|
779
787
|
constructor(kwargs) {
|
|
780
788
|
if (!kwargs) {
|
|
781
789
|
return;
|
|
782
790
|
}
|
|
783
791
|
Object.assign(this, kwargs);
|
|
784
792
|
}
|
|
785
|
-
static fromProto(proto) {
|
|
786
|
-
let m = new FormConfigFieldUnmappedFieldOption();
|
|
787
|
-
m = Object.assign(m, proto);
|
|
788
|
-
return m;
|
|
789
|
-
}
|
|
790
793
|
toApiJson() {
|
|
791
794
|
const toReturn = {};
|
|
792
795
|
if (typeof this.value !== 'undefined') {
|
|
@@ -799,17 +802,17 @@ class FormConfigFieldUnmappedFieldOption {
|
|
|
799
802
|
}
|
|
800
803
|
}
|
|
801
804
|
class RenderFormResponsePreFillByUrlQueryParameter {
|
|
805
|
+
static fromProto(proto) {
|
|
806
|
+
let m = new RenderFormResponsePreFillByUrlQueryParameter();
|
|
807
|
+
m = Object.assign(m, proto);
|
|
808
|
+
return m;
|
|
809
|
+
}
|
|
802
810
|
constructor(kwargs) {
|
|
803
811
|
if (!kwargs) {
|
|
804
812
|
return;
|
|
805
813
|
}
|
|
806
814
|
Object.assign(this, kwargs);
|
|
807
815
|
}
|
|
808
|
-
static fromProto(proto) {
|
|
809
|
-
let m = new RenderFormResponsePreFillByUrlQueryParameter();
|
|
810
|
-
m = Object.assign(m, proto);
|
|
811
|
-
return m;
|
|
812
|
-
}
|
|
813
816
|
toApiJson() {
|
|
814
817
|
const toReturn = {};
|
|
815
818
|
if (typeof this.fieldId !== 'undefined') {
|
|
@@ -822,12 +825,6 @@ class RenderFormResponsePreFillByUrlQueryParameter {
|
|
|
822
825
|
}
|
|
823
826
|
}
|
|
824
827
|
class PreviewFormRequest {
|
|
825
|
-
constructor(kwargs) {
|
|
826
|
-
if (!kwargs) {
|
|
827
|
-
return;
|
|
828
|
-
}
|
|
829
|
-
Object.assign(this, kwargs);
|
|
830
|
-
}
|
|
831
828
|
static fromProto(proto) {
|
|
832
829
|
let m = new PreviewFormRequest();
|
|
833
830
|
m = Object.assign(m, proto);
|
|
@@ -839,6 +836,12 @@ class PreviewFormRequest {
|
|
|
839
836
|
}
|
|
840
837
|
return m;
|
|
841
838
|
}
|
|
839
|
+
constructor(kwargs) {
|
|
840
|
+
if (!kwargs) {
|
|
841
|
+
return;
|
|
842
|
+
}
|
|
843
|
+
Object.assign(this, kwargs);
|
|
844
|
+
}
|
|
842
845
|
toApiJson() {
|
|
843
846
|
const toReturn = {};
|
|
844
847
|
if (typeof this.formConfig !== 'undefined' && this.formConfig !== null) {
|
|
@@ -851,17 +854,17 @@ class PreviewFormRequest {
|
|
|
851
854
|
}
|
|
852
855
|
}
|
|
853
856
|
class PreviewFormResponse {
|
|
857
|
+
static fromProto(proto) {
|
|
858
|
+
let m = new PreviewFormResponse();
|
|
859
|
+
m = Object.assign(m, proto);
|
|
860
|
+
return m;
|
|
861
|
+
}
|
|
854
862
|
constructor(kwargs) {
|
|
855
863
|
if (!kwargs) {
|
|
856
864
|
return;
|
|
857
865
|
}
|
|
858
866
|
Object.assign(this, kwargs);
|
|
859
867
|
}
|
|
860
|
-
static fromProto(proto) {
|
|
861
|
-
let m = new PreviewFormResponse();
|
|
862
|
-
m = Object.assign(m, proto);
|
|
863
|
-
return m;
|
|
864
|
-
}
|
|
865
868
|
toApiJson() {
|
|
866
869
|
const toReturn = {};
|
|
867
870
|
if (typeof this.jsonSchema !== 'undefined') {
|
|
@@ -874,12 +877,6 @@ class PreviewFormResponse {
|
|
|
874
877
|
}
|
|
875
878
|
}
|
|
876
879
|
class RenderFormRequest {
|
|
877
|
-
constructor(kwargs) {
|
|
878
|
-
if (!kwargs) {
|
|
879
|
-
return;
|
|
880
|
-
}
|
|
881
|
-
Object.assign(this, kwargs);
|
|
882
|
-
}
|
|
883
880
|
static fromProto(proto) {
|
|
884
881
|
let m = new RenderFormRequest();
|
|
885
882
|
m = Object.assign(m, proto);
|
|
@@ -888,6 +885,12 @@ class RenderFormRequest {
|
|
|
888
885
|
}
|
|
889
886
|
return m;
|
|
890
887
|
}
|
|
888
|
+
constructor(kwargs) {
|
|
889
|
+
if (!kwargs) {
|
|
890
|
+
return;
|
|
891
|
+
}
|
|
892
|
+
Object.assign(this, kwargs);
|
|
893
|
+
}
|
|
891
894
|
toApiJson() {
|
|
892
895
|
const toReturn = {};
|
|
893
896
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -900,12 +903,6 @@ class RenderFormRequest {
|
|
|
900
903
|
}
|
|
901
904
|
}
|
|
902
905
|
class RenderFormResponse {
|
|
903
|
-
constructor(kwargs) {
|
|
904
|
-
if (!kwargs) {
|
|
905
|
-
return;
|
|
906
|
-
}
|
|
907
|
-
Object.assign(this, kwargs);
|
|
908
|
-
}
|
|
909
906
|
static fromProto(proto) {
|
|
910
907
|
let m = new RenderFormResponse();
|
|
911
908
|
m = Object.assign(m, proto);
|
|
@@ -917,6 +914,12 @@ class RenderFormResponse {
|
|
|
917
914
|
}
|
|
918
915
|
return m;
|
|
919
916
|
}
|
|
917
|
+
constructor(kwargs) {
|
|
918
|
+
if (!kwargs) {
|
|
919
|
+
return;
|
|
920
|
+
}
|
|
921
|
+
Object.assign(this, kwargs);
|
|
922
|
+
}
|
|
920
923
|
toApiJson() {
|
|
921
924
|
const toReturn = {};
|
|
922
925
|
if (typeof this.jsonSchema !== 'undefined') {
|
|
@@ -938,12 +941,6 @@ class RenderFormResponse {
|
|
|
938
941
|
}
|
|
939
942
|
}
|
|
940
943
|
class FormConfigFieldSchema {
|
|
941
|
-
constructor(kwargs) {
|
|
942
|
-
if (!kwargs) {
|
|
943
|
-
return;
|
|
944
|
-
}
|
|
945
|
-
Object.assign(this, kwargs);
|
|
946
|
-
}
|
|
947
944
|
static fromProto(proto) {
|
|
948
945
|
let m = new FormConfigFieldSchema();
|
|
949
946
|
m = Object.assign(m, proto);
|
|
@@ -952,6 +949,12 @@ class FormConfigFieldSchema {
|
|
|
952
949
|
}
|
|
953
950
|
return m;
|
|
954
951
|
}
|
|
952
|
+
constructor(kwargs) {
|
|
953
|
+
if (!kwargs) {
|
|
954
|
+
return;
|
|
955
|
+
}
|
|
956
|
+
Object.assign(this, kwargs);
|
|
957
|
+
}
|
|
955
958
|
toApiJson() {
|
|
956
959
|
const toReturn = {};
|
|
957
960
|
if (typeof this.unmappedField !== 'undefined' && this.unmappedField !== null) {
|
|
@@ -961,17 +964,17 @@ class FormConfigFieldSchema {
|
|
|
961
964
|
}
|
|
962
965
|
}
|
|
963
966
|
class Styles {
|
|
967
|
+
static fromProto(proto) {
|
|
968
|
+
let m = new Styles();
|
|
969
|
+
m = Object.assign(m, proto);
|
|
970
|
+
return m;
|
|
971
|
+
}
|
|
964
972
|
constructor(kwargs) {
|
|
965
973
|
if (!kwargs) {
|
|
966
974
|
return;
|
|
967
975
|
}
|
|
968
976
|
Object.assign(this, kwargs);
|
|
969
977
|
}
|
|
970
|
-
static fromProto(proto) {
|
|
971
|
-
let m = new Styles();
|
|
972
|
-
m = Object.assign(m, proto);
|
|
973
|
-
return m;
|
|
974
|
-
}
|
|
975
978
|
toApiJson() {
|
|
976
979
|
const toReturn = {};
|
|
977
980
|
if (typeof this.width !== 'undefined') {
|
|
@@ -998,16 +1001,16 @@ class Styles {
|
|
|
998
1001
|
if (typeof this.primaryFontColor !== 'undefined') {
|
|
999
1002
|
toReturn['primaryFontColor'] = this.primaryFontColor;
|
|
1000
1003
|
}
|
|
1004
|
+
if (typeof this.primaryColor !== 'undefined') {
|
|
1005
|
+
toReturn['primaryColor'] = this.primaryColor;
|
|
1006
|
+
}
|
|
1007
|
+
if (typeof this.onPrimaryColor !== 'undefined') {
|
|
1008
|
+
toReturn['onPrimaryColor'] = this.onPrimaryColor;
|
|
1009
|
+
}
|
|
1001
1010
|
return toReturn;
|
|
1002
1011
|
}
|
|
1003
1012
|
}
|
|
1004
1013
|
class ListFormSubmissionResponseFormSubmissionSubmittedValue {
|
|
1005
|
-
constructor(kwargs) {
|
|
1006
|
-
if (!kwargs) {
|
|
1007
|
-
return;
|
|
1008
|
-
}
|
|
1009
|
-
Object.assign(this, kwargs);
|
|
1010
|
-
}
|
|
1011
1014
|
static fromProto(proto) {
|
|
1012
1015
|
let m = new ListFormSubmissionResponseFormSubmissionSubmittedValue();
|
|
1013
1016
|
m = Object.assign(m, proto);
|
|
@@ -1016,6 +1019,12 @@ class ListFormSubmissionResponseFormSubmissionSubmittedValue {
|
|
|
1016
1019
|
}
|
|
1017
1020
|
return m;
|
|
1018
1021
|
}
|
|
1022
|
+
constructor(kwargs) {
|
|
1023
|
+
if (!kwargs) {
|
|
1024
|
+
return;
|
|
1025
|
+
}
|
|
1026
|
+
Object.assign(this, kwargs);
|
|
1027
|
+
}
|
|
1019
1028
|
toApiJson() {
|
|
1020
1029
|
const toReturn = {};
|
|
1021
1030
|
if (typeof this.fieldId !== 'undefined') {
|
|
@@ -1028,12 +1037,6 @@ class ListFormSubmissionResponseFormSubmissionSubmittedValue {
|
|
|
1028
1037
|
}
|
|
1029
1038
|
}
|
|
1030
1039
|
class FormConfigFieldUnmappedField {
|
|
1031
|
-
constructor(kwargs) {
|
|
1032
|
-
if (!kwargs) {
|
|
1033
|
-
return;
|
|
1034
|
-
}
|
|
1035
|
-
Object.assign(this, kwargs);
|
|
1036
|
-
}
|
|
1037
1040
|
static fromProto(proto) {
|
|
1038
1041
|
let m = new FormConfigFieldUnmappedField();
|
|
1039
1042
|
m = Object.assign(m, proto);
|
|
@@ -1045,6 +1048,12 @@ class FormConfigFieldUnmappedField {
|
|
|
1045
1048
|
}
|
|
1046
1049
|
return m;
|
|
1047
1050
|
}
|
|
1051
|
+
constructor(kwargs) {
|
|
1052
|
+
if (!kwargs) {
|
|
1053
|
+
return;
|
|
1054
|
+
}
|
|
1055
|
+
Object.assign(this, kwargs);
|
|
1056
|
+
}
|
|
1048
1057
|
toApiJson() {
|
|
1049
1058
|
const toReturn = {};
|
|
1050
1059
|
if (typeof this.id !== 'undefined') {
|
|
@@ -1063,12 +1072,6 @@ class FormConfigFieldUnmappedField {
|
|
|
1063
1072
|
}
|
|
1064
1073
|
}
|
|
1065
1074
|
class UpdateFormRequest {
|
|
1066
|
-
constructor(kwargs) {
|
|
1067
|
-
if (!kwargs) {
|
|
1068
|
-
return;
|
|
1069
|
-
}
|
|
1070
|
-
Object.assign(this, kwargs);
|
|
1071
|
-
}
|
|
1072
1075
|
static fromProto(proto) {
|
|
1073
1076
|
let m = new UpdateFormRequest();
|
|
1074
1077
|
m = Object.assign(m, proto);
|
|
@@ -1077,6 +1080,12 @@ class UpdateFormRequest {
|
|
|
1077
1080
|
}
|
|
1078
1081
|
return m;
|
|
1079
1082
|
}
|
|
1083
|
+
constructor(kwargs) {
|
|
1084
|
+
if (!kwargs) {
|
|
1085
|
+
return;
|
|
1086
|
+
}
|
|
1087
|
+
Object.assign(this, kwargs);
|
|
1088
|
+
}
|
|
1080
1089
|
toApiJson() {
|
|
1081
1090
|
const toReturn = {};
|
|
1082
1091
|
if (typeof this.formConfig !== 'undefined' && this.formConfig !== null) {
|
|
@@ -1086,17 +1095,17 @@ class UpdateFormRequest {
|
|
|
1086
1095
|
}
|
|
1087
1096
|
}
|
|
1088
1097
|
class UpdateFormResponse {
|
|
1098
|
+
static fromProto(proto) {
|
|
1099
|
+
let m = new UpdateFormResponse();
|
|
1100
|
+
m = Object.assign(m, proto);
|
|
1101
|
+
return m;
|
|
1102
|
+
}
|
|
1089
1103
|
constructor(kwargs) {
|
|
1090
1104
|
if (!kwargs) {
|
|
1091
1105
|
return;
|
|
1092
1106
|
}
|
|
1093
1107
|
Object.assign(this, kwargs);
|
|
1094
1108
|
}
|
|
1095
|
-
static fromProto(proto) {
|
|
1096
|
-
let m = new UpdateFormResponse();
|
|
1097
|
-
m = Object.assign(m, proto);
|
|
1098
|
-
return m;
|
|
1099
|
-
}
|
|
1100
1109
|
toApiJson() {
|
|
1101
1110
|
const toReturn = {};
|
|
1102
1111
|
if (typeof this.version !== 'undefined') {
|
|
@@ -1106,17 +1115,17 @@ class UpdateFormResponse {
|
|
|
1106
1115
|
}
|
|
1107
1116
|
}
|
|
1108
1117
|
class GetMultiFormVersionsListResponseVersions {
|
|
1118
|
+
static fromProto(proto) {
|
|
1119
|
+
let m = new GetMultiFormVersionsListResponseVersions();
|
|
1120
|
+
m = Object.assign(m, proto);
|
|
1121
|
+
return m;
|
|
1122
|
+
}
|
|
1109
1123
|
constructor(kwargs) {
|
|
1110
1124
|
if (!kwargs) {
|
|
1111
1125
|
return;
|
|
1112
1126
|
}
|
|
1113
1127
|
Object.assign(this, kwargs);
|
|
1114
1128
|
}
|
|
1115
|
-
static fromProto(proto) {
|
|
1116
|
-
let m = new GetMultiFormVersionsListResponseVersions();
|
|
1117
|
-
m = Object.assign(m, proto);
|
|
1118
|
-
return m;
|
|
1119
|
-
}
|
|
1120
1129
|
toApiJson() {
|
|
1121
1130
|
const toReturn = {};
|
|
1122
1131
|
if (typeof this.formId !== 'undefined') {
|
|
@@ -1148,9 +1157,9 @@ class HostService {
|
|
|
1148
1157
|
return 'https://' + this.host;
|
|
1149
1158
|
}
|
|
1150
1159
|
}
|
|
1151
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1152
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1160
|
+
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1161
|
+
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, decorators: [{
|
|
1154
1163
|
type: Injectable,
|
|
1155
1164
|
args: [{ providedIn: 'root' }]
|
|
1156
1165
|
}] });
|
|
@@ -1181,9 +1190,9 @@ class FormSubmissionApiService {
|
|
|
1181
1190
|
.pipe(map(resp => ListFormSubmissionResponse.fromProto(resp)));
|
|
1182
1191
|
}
|
|
1183
1192
|
}
|
|
1184
|
-
FormSubmissionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1185
|
-
FormSubmissionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1193
|
+
FormSubmissionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1194
|
+
FormSubmissionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionApiService, providedIn: 'root' });
|
|
1195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionApiService, decorators: [{
|
|
1187
1196
|
type: Injectable,
|
|
1188
1197
|
args: [{ providedIn: 'root' }]
|
|
1189
1198
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -1253,9 +1262,9 @@ class FormsApiService {
|
|
|
1253
1262
|
.pipe(map(resp => PreviewFormResponse.fromProto(resp)));
|
|
1254
1263
|
}
|
|
1255
1264
|
}
|
|
1256
|
-
FormsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1257
|
-
FormsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1265
|
+
FormsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1266
|
+
FormsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormsApiService, providedIn: 'root' });
|
|
1267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormsApiService, decorators: [{
|
|
1259
1268
|
type: Injectable,
|
|
1260
1269
|
args: [{ providedIn: 'root' }]
|
|
1261
1270
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -1286,9 +1295,9 @@ class FormSubmissionsExportService {
|
|
|
1286
1295
|
}));
|
|
1287
1296
|
}
|
|
1288
1297
|
}
|
|
1289
|
-
FormSubmissionsExportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1290
|
-
FormSubmissionsExportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1298
|
+
FormSubmissionsExportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionsExportService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1299
|
+
FormSubmissionsExportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionsExportService, providedIn: 'root' });
|
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: FormSubmissionsExportService, decorators: [{
|
|
1292
1301
|
type: Injectable,
|
|
1293
1302
|
args: [{ providedIn: 'root' }]
|
|
1294
1303
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|