@@ -266,7 +266,6 @@ forms.getForm(formId, injectForms).then((form) => {
266
266
"formsAppEnvironmentId" : 1 ,
267
267
"elements" : [],
268
268
"isAuthenticated" : false ,
269
- "isPublished" : true ,
270
269
"submissionEvents" : []
271
270
}
272
271
```
@@ -322,7 +321,6 @@ forms
322
321
"formsAppEnvironmentId" : 1 ,
323
322
"elements" : [],
324
323
"isAuthenticated" : false ,
325
- "isPublished" : true ,
326
324
"submissionEvents" : [],
327
325
"postSubmissionAction" : " FORMS_LIBRARY" ,
328
326
"isInfoPage" : false
@@ -410,7 +408,6 @@ forms
410
408
formsAppEnvironmentId: 1 ,
411
409
elements: [],
412
410
isAuthenticated: false ,
413
- isPublished: true ,
414
411
submissionEvents: [],
415
412
postSubmissionAction: ' FORMS_LIBRARY' ,
416
413
formsAppIds: [1 , 2 , 3 ],
@@ -435,7 +432,6 @@ forms
435
432
| ` elements ` | Yes | [ ` FormElement ` ] ( ./form-elements/README.md ) ` [] ` | All elements contained within the form itself. |
436
433
| ` isAuthenticated ` | Yes | ` boolean ` | Whether or not the form can only be viewed by an Authenticated user. |
437
434
| ` isMultiPage ` | Yes | ` boolean ` | Whether or not the form contains multiple pages. |
438
- | ` isPublished ` | Yes | ` boolean ` | Whether or not the form is visible within the Forms Apps it's included in. |
439
435
| ` submissionEvents ` | No | ` SubmissionEvent[] ` | Events that occur/trigger on a valid successful submission. |
440
436
| ` submissionEvents[].type ` | Yes | `'CALLBACK' | 'PDF' | 'SPOTTO' | 'ONEBLINK_API'` | The type of submission event. |
441
437
| ` submissionEvents[].configuration ` | Yes | ` mixed ` | Configuration specific to the type of submission event. |
@@ -451,6 +447,8 @@ forms
451
447
| ` redirectUrl ` | No | ` string ` | The URL the form will redirect to if configured to do so by the ` postSubmissionActions ` . |
452
448
| ` isInfoPage ` | Yes | ` boolean ` | Whether or not the Form is an Info Page. |
453
449
| ` tags ` | No | ` string[] ` | A list of tags used to categorise or describe the form. |
450
+ | ` publishStartDate ` | No | ` string ` | The date and time (in ISO format) a form becomes available. |
451
+ | ` publishEndDate ` | No | ` string ` | The date and time (in ISO format) a form becomes unavailable. |
454
452
455
453
### Result
456
454
@@ -463,7 +461,6 @@ forms
463
461
"formsAppEnvironmentId" : 1 ,
464
462
"elements" : [],
465
463
"isAuthenticated" : false ,
466
- "isPublished" : true ,
467
464
"submissionEvents" : [],
468
465
"postSubmissionAction" : " FORMS_LIBRARY" ,
469
466
"formsAppIds" : [1 , 2 , 3 ],
@@ -488,7 +485,6 @@ forms
488
485
formsAppEnvironmentId: 1 ,
489
486
elements: [],
490
487
isAuthenticated: false ,
491
- isPublished: true ,
492
488
submissionEvents: [],
493
489
postSubmissionAction: ' FORMS_LIBRARY' ,
494
490
formsAppIds: [1 , 2 , 3 ],
@@ -523,7 +519,6 @@ forms
523
519
| ` elements ` | Yes | [ ` FormElement ` ] ( ./form-elements/README.md ) ` [] ` | All elements contained within the form itself. |
524
520
| ` isAuthenticated ` | Yes | ` boolean ` | Whether or not the form can only be viewed by an Authenticated user. |
525
521
| ` isMultiPage ` | Yes | ` boolean ` | Whether or not the form contains multiple pages. |
526
- | ` isPublished ` | Yes | ` boolean ` | Whether or not the form is visible within the Forms Apps it's included in. |
527
522
| ` submissionEvents ` | No | ` SubmissionEvent[] ` | Events that occur/trigger on a valid successful submission. |
528
523
| ` submissionEvents[].type ` | Yes | `'CALLBACK' | 'PDF' | 'SPOTTO' | 'ONEBLINK_API'` | The type of submission event. |
529
524
| ` submissionEvents[].configuration ` | Yes | ` mixed ` | Configuration specific to the type of submission event. |
@@ -539,6 +534,8 @@ forms
539
534
| ` redirectUrl ` | No | ` string ` | The URL the form will redirect to if configured to do so by the ` postSubmissionActions ` . |
540
535
| ` isInfoPage ` | Yes | ` boolean ` | Whether or not the Form is an Info Page. |
541
536
| ` tags ` | No | ` string[] ` | A list of tags used to categorise or describe the form. |
537
+ | ` publishStartDate ` | No | ` string ` | The date and time (in ISO format) a form becomes available. |
538
+ | ` publishEndDate ` | No | ` string ` | The date and time (in ISO format) a form becomes unavailable. |
542
539
543
540
### Result
544
541
@@ -551,7 +548,6 @@ forms
551
548
"formsAppEnvironmentId" : 1 ,
552
549
"elements" : [],
553
550
"isAuthenticated" : false ,
554
- "isPublished" : true ,
555
551
"submissionEvents" : [],
556
552
"postSubmissionAction" : " FORMS_LIBRARY" ,
557
553
"formsAppIds" : [1 , 2 , 3 ],
@@ -598,7 +594,6 @@ const form = {
598
594
organisationId: ' 0101010101010' ,
599
595
elements: [],
600
596
isAuthenticated: false ,
601
- isPublished: true ,
602
597
submissionEvents: [],
603
598
postSubmissionAction: ' FORMS_LIBRARY' ,
604
599
formsAppIds: [1 , 2 , 3 ],
@@ -621,7 +616,6 @@ return validatedForm
621
616
| ` elements ` | Yes | [ ` FormElement ` ] ( ./form-elements/README.md ) ` [] ` | All elements contained within the form itself. |
622
617
| ` isAuthenticated ` | Yes | ` boolean ` | Whether or not the form can only be viewed by an Authenticated user. |
623
618
| ` isMultiPage ` | Yes | ` boolean ` | Whether or not the form contains multiple pages. |
624
- | ` isPublished ` | Yes | ` boolean ` | Whether or not the form is visible within the Forms Apps it's included in. |
625
619
| ` submissionEvents ` | No | ` SubmissionEvent[] ` | Events that occur/trigger on a valid successful submission. |
626
620
| ` submissionEvents[].type ` | Yes | `'CALLBACK' | 'PDF' | 'SPOTTO' | 'ONEBLINK_API'` | The type of submission event. |
627
621
| ` submissionEvents[].configuration ` | Yes | ` mixed ` | Configuration specific to the type of submission event. |
@@ -637,6 +631,8 @@ return validatedForm
637
631
| ` redirectUrl ` | No | ` string ` | The URL the form will redirect to if configured to do so by the ` postSubmissionActions ` . |
638
632
| ` isInfoPage ` | Yes | ` boolean ` | Whether or not the Form is an Info Page. |
639
633
| ` tags ` | No | ` string[] ` | A list of tags used to categorise or describe the form. |
634
+ | ` publishStartDate ` | No | ` string ` | The date and time (in ISO format) a form becomes available. |
635
+ | ` publishEndDate ` | No | ` string ` | The date and time (in ISO format) a form becomes unavailable. |
640
636
641
637
### Result
642
638
@@ -649,7 +645,6 @@ return validatedForm
649
645
"formsAppEnvironmentId" : 1 ,
650
646
"elements" : [],
651
647
"isAuthenticated" : false ,
652
- "isPublished" : true ,
653
648
"submissionEvents" : [],
654
649
"postSubmissionAction" : " FORMS_LIBRARY" ,
655
650
"formsAppIds" : [1 , 2 , 3 ],
0 commit comments