docassemble.EFSPIntegration 1.7.4__tar.gz → 1.8.2__tar.gz
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.
- {docassemble_efspintegration-1.7.4/docassemble.EFSPIntegration.egg-info → docassemble_efspintegration-1.8.2}/PKG-INFO +2 -2
- docassemble_efspintegration-1.8.2/docassemble/EFSPIntegration/__init__.py +1 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/admin_interview.yml +7 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/any_filing_interview.yml +6 -30
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/codes_interview.yml +16 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/efiling_integration.yml +123 -5
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/login_qs.yml +80 -14
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/logs_interview.yml +8 -2
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/minimal_interview.yml +2 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/toga_payments.yml +3 -1
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/unauthenticated_actions.yml +59 -15
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/unauthenticated_interview.yml +1 -1
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/efm_client.py +166 -46
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/interview_logic.py +20 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/py_efsp_client.py +24 -3
- docassemble_efspintegration-1.8.2/docassemble/EFSPIntegration/test/conftest.py +54 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/test/test_proxy_conn.py +3 -3
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2/docassemble.EFSPIntegration.egg-info}/PKG-INFO +2 -2
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble.EFSPIntegration.egg-info/SOURCES.txt +1 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/pyproject.toml +4 -3
- docassemble_efspintegration-1.7.4/docassemble/EFSPIntegration/__init__.py +0 -1
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/LICENSE +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/MANIFEST.in +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/README.md +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/conversions.py +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/case_search.yml +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/questions/toga_payments_interview.yml +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/sources/README.md +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/sources/admin_interview.feature +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/sources/any_filing_interview.feature +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/sources/example_upload.pdf +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/sources/unauthenticated_interview.feature +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/static/Ajax-loader.gif +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/static/README.md +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/data/templates/README.md +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/py.typed +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/test/__init__.py +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/test/test_conversions.py +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble/EFSPIntegration/test/test_interview_functions.py +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble.EFSPIntegration.egg-info/dependency_links.txt +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble.EFSPIntegration.egg-info/requires.txt +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/docassemble.EFSPIntegration.egg-info/top_level.txt +0 -0
- {docassemble_efspintegration-1.7.4 → docassemble_efspintegration-1.8.2}/setup.cfg +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docassemble.EFSPIntegration
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.2
|
|
4
4
|
Author-email: Bryce Willey <bryce.willey@suffolk.edu>
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: GitHub, https://github.com/SuffolkLITLab/docassemble-EFSPIntegration
|
|
7
|
-
Requires-Python: <3.
|
|
7
|
+
Requires-Python: <3.15,>=3.10,>=3.12.3
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Dist: docassemble.AssemblyLine>=3.5.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.8.2'
|
|
@@ -22,6 +22,10 @@ default screen parts:
|
|
|
22
22
|
metadata:
|
|
23
23
|
title: |
|
|
24
24
|
EFSP Admin Interface
|
|
25
|
+
short title: |
|
|
26
|
+
EFSP Admin
|
|
27
|
+
description: |
|
|
28
|
+
Administrator-focused interface to EFSP functions
|
|
25
29
|
---
|
|
26
30
|
code: |
|
|
27
31
|
proxy_conn = ProxyConnection(credentials_code_block='tyler_login', default_jurisdiction=jurisdiction_id)
|
|
@@ -686,6 +690,7 @@ fields:
|
|
|
686
690
|
- Last name: updated_attorney.name.last
|
|
687
691
|
default: ${ updated_attorney.default_last }
|
|
688
692
|
---
|
|
693
|
+
id: admin search dates
|
|
689
694
|
question: |
|
|
690
695
|
Search dates
|
|
691
696
|
fields:
|
|
@@ -784,6 +789,7 @@ code: |
|
|
|
784
789
|
resp = proxy_conn.get_user_roles(user_id)
|
|
785
790
|
get_user_roles = True
|
|
786
791
|
---
|
|
792
|
+
id: admin update user roles
|
|
787
793
|
reconsider:
|
|
788
794
|
- user_role_resp
|
|
789
795
|
question: |
|
|
@@ -1296,6 +1302,7 @@ subquestion: |
|
|
|
1296
1302
|
|
|
1297
1303
|
continue button field: show_role_resp
|
|
1298
1304
|
---
|
|
1305
|
+
id: admin show error
|
|
1299
1306
|
event: show_error_event
|
|
1300
1307
|
question: |
|
|
1301
1308
|
Error
|
|
@@ -175,6 +175,7 @@ code: |
|
|
|
175
175
|
x.exhibits.ask_number = True
|
|
176
176
|
x.exhibits.target_number = 1
|
|
177
177
|
---
|
|
178
|
+
id: could not find existing case
|
|
178
179
|
event: failed_case_search
|
|
179
180
|
question: |
|
|
180
181
|
Could not find an existing case to file into
|
|
@@ -310,6 +311,7 @@ columns:
|
|
|
310
311
|
edit:
|
|
311
312
|
- party_type
|
|
312
313
|
---
|
|
314
|
+
id: who should be contacted about this filing
|
|
313
315
|
sets:
|
|
314
316
|
- lead_contact.name.first
|
|
315
317
|
question: |
|
|
@@ -359,7 +361,7 @@ subquestion: |
|
|
|
359
361
|
Welcome! You can make any type of filing in an ${ jurisdiction_id.title() } court, to a pre-existing or new case, in this interview.
|
|
360
362
|
continue button field: welcome
|
|
361
363
|
---
|
|
362
|
-
id: return date
|
|
364
|
+
id: closest available return date
|
|
363
365
|
question: |
|
|
364
366
|
Closest available return date
|
|
365
367
|
subquestion: |
|
|
@@ -405,9 +407,6 @@ code: |
|
|
|
405
407
|
code: |
|
|
406
408
|
is_nonindexed_filing = not is_initial_filing and (not case_search.case_was_found and case_search.can_file_non_indexed_case)
|
|
407
409
|
---
|
|
408
|
-
code: |
|
|
409
|
-
needs_all_info = is_initial_filing or is_nonindexed_filing
|
|
410
|
-
---
|
|
411
410
|
code: |
|
|
412
411
|
selected_existing_case = case_search.found_case
|
|
413
412
|
---
|
|
@@ -421,6 +420,7 @@ code: |
|
|
|
421
420
|
existing_case_parties = None
|
|
422
421
|
load_existing_case_defaults = True
|
|
423
422
|
---
|
|
423
|
+
id: alindividual adding attorney
|
|
424
424
|
generic object: ALIndividual
|
|
425
425
|
question: |
|
|
426
426
|
Adding Attorneys for ${ x }
|
|
@@ -433,6 +433,7 @@ fields:
|
|
|
433
433
|
code: |
|
|
434
434
|
tyler_filing_attorney_options
|
|
435
435
|
---
|
|
436
|
+
id: add attorney to existing parties
|
|
436
437
|
question: |
|
|
437
438
|
Are there any more attorneys you'd like to attach to existing contacts?
|
|
438
439
|
fields:
|
|
@@ -450,6 +451,7 @@ code: |
|
|
|
450
451
|
if is_initial_filing:
|
|
451
452
|
existing_parties_new_atts.there_are_any = False
|
|
452
453
|
---
|
|
454
|
+
id: add attorneys to existing users
|
|
453
455
|
question: |
|
|
454
456
|
Add attorneys to existing users
|
|
455
457
|
fields:
|
|
@@ -688,17 +690,6 @@ fields:
|
|
|
688
690
|
min: ${ today() }
|
|
689
691
|
default: ${ today() }
|
|
690
692
|
---
|
|
691
|
-
id: optional service type
|
|
692
|
-
generic object: ALDocument
|
|
693
|
-
question: |
|
|
694
|
-
${ ordinal_number(i) } optional services for ${ x.title }
|
|
695
|
-
fields:
|
|
696
|
-
- Optional Services: x.optional_services[i].code
|
|
697
|
-
datatype: dropdown
|
|
698
|
-
code: |
|
|
699
|
-
x.optional_service_options
|
|
700
|
-
---
|
|
701
|
-
---
|
|
702
693
|
id: another cross reference
|
|
703
694
|
question: |
|
|
704
695
|
Do you have any other types of cross references?
|
|
@@ -706,16 +697,6 @@ fields:
|
|
|
706
697
|
- no label: cross_references.there_is_another
|
|
707
698
|
datatype: yesnoradio
|
|
708
699
|
---
|
|
709
|
-
id: optional service fee amount
|
|
710
|
-
generic object: ALDocument
|
|
711
|
-
question: |
|
|
712
|
-
Optional Service ${ i } fee amount?
|
|
713
|
-
subquestion: |
|
|
714
|
-
${ x.optional_service_map.get(x.optional_services[i].code).get('feeprompttext') }
|
|
715
|
-
fields:
|
|
716
|
-
- Fee Amount: x.optional_services[i].fee_amount
|
|
717
|
-
datatype: currency
|
|
718
|
-
---
|
|
719
700
|
id: you are responsible for payment
|
|
720
701
|
question: |
|
|
721
702
|
Payment of fees (if any)
|
|
@@ -878,11 +859,6 @@ subquestion: |
|
|
|
878
859
|
code: |
|
|
879
860
|
case_subtype_options, case_subtype_map = choices_and_map(proxy_conn.get_case_subtypes(court_id, efile_case_type).data)
|
|
880
861
|
---
|
|
881
|
-
code: |
|
|
882
|
-
tyler_filing_attorney_options, tyler_filing_attorney_map = choices_and_map(proxy_conn.get_attorney_list().data,
|
|
883
|
-
display='{firstName} {middleName} {lastName}',
|
|
884
|
-
backing='attorneyID')
|
|
885
|
-
---
|
|
886
862
|
code: |
|
|
887
863
|
attached_service_contacts = []
|
|
888
864
|
if not needs_all_info:
|
|
@@ -49,6 +49,7 @@ code: |
|
|
|
49
49
|
else:
|
|
50
50
|
pass
|
|
51
51
|
---
|
|
52
|
+
id: search result
|
|
52
53
|
question: Search Result
|
|
53
54
|
subquestion: |
|
|
54
55
|
${ [next(iter(ch.values()), "") for ch in all_choices if next(iter(ch), "") == code_choice] } with "${ search_term }"
|
|
@@ -60,6 +61,7 @@ fields:
|
|
|
60
61
|
search_result.data
|
|
61
62
|
continue button field: show_search_result
|
|
62
63
|
---
|
|
64
|
+
id: retrieve result
|
|
63
65
|
event: show_retrieve_result
|
|
64
66
|
question: Retrieve Result
|
|
65
67
|
subquestion: |
|
|
@@ -92,6 +94,7 @@ data:
|
|
|
92
94
|
- motion_type: Motion type
|
|
93
95
|
#- filing_component: Filing component
|
|
94
96
|
---
|
|
97
|
+
id: choose codes
|
|
95
98
|
question: What code do you want to see?
|
|
96
99
|
subquestion: |
|
|
97
100
|
Only some codes can be searched:
|
|
@@ -111,6 +114,7 @@ fields:
|
|
|
111
114
|
- Search term: search_term
|
|
112
115
|
show if: do_search
|
|
113
116
|
---
|
|
117
|
+
id: initial or subsequent case
|
|
114
118
|
question: |
|
|
115
119
|
Initial case, or subsequent case?
|
|
116
120
|
subquestion: |
|
|
@@ -132,6 +136,7 @@ code: |
|
|
|
132
136
|
case_category_choices, case_category_map = \
|
|
133
137
|
choices_and_map(proxy_conn.get_case_categories(court_id).data, "{name} ({code})")
|
|
134
138
|
---
|
|
139
|
+
id: case category
|
|
135
140
|
question: |
|
|
136
141
|
Case category?
|
|
137
142
|
subquestion: |
|
|
@@ -144,6 +149,7 @@ code: |
|
|
|
144
149
|
damage_amount_choices, damage_amount_map = \
|
|
145
150
|
choices_and_map(proxy_conn.get_damage_amounts(court_id).data, "{name} ({code})")
|
|
146
151
|
---
|
|
152
|
+
id: damage amount
|
|
147
153
|
question: |
|
|
148
154
|
Damage Amount?
|
|
149
155
|
subquestion: |
|
|
@@ -156,6 +162,7 @@ code: |
|
|
|
156
162
|
procedure_remedy_choices, procedure_remedy_map = \
|
|
157
163
|
choices_and_map(proxy_conn.get_procedure_or_remedies(court_id).data, "{name} ({code})")
|
|
158
164
|
---
|
|
165
|
+
id: procedure remedy
|
|
159
166
|
question: |
|
|
160
167
|
Procedure remedy
|
|
161
168
|
subquestion: |
|
|
@@ -168,6 +175,7 @@ code: |
|
|
|
168
175
|
case_type_choices, case_type_map = \
|
|
169
176
|
choices_and_map(proxy_conn.get_case_types(court_id, case_category, timing='Initial' if is_initial_filing else 'Subsequent').data, "{name} ({code})")
|
|
170
177
|
---
|
|
178
|
+
id: case type
|
|
171
179
|
question: |
|
|
172
180
|
Case type
|
|
173
181
|
subquestion: |
|
|
@@ -180,6 +188,7 @@ code: |
|
|
|
180
188
|
case_subtype_options, case_subtype_map = \
|
|
181
189
|
choices_and_map(proxy_conn.get_case_subtypes(court_id, case_type).data, "{name} ({code})")
|
|
182
190
|
---
|
|
191
|
+
id: case subtype
|
|
183
192
|
question: |
|
|
184
193
|
Case Subtype
|
|
185
194
|
subquestion: |
|
|
@@ -194,6 +203,7 @@ code: |
|
|
|
194
203
|
cross_reference_choices, cross_reference_map = \
|
|
195
204
|
choices_and_map(proxy_conn.get_cross_references(court_id, case_category).data, "{name} ({code})")
|
|
196
205
|
---
|
|
206
|
+
id: cross reference
|
|
197
207
|
question: Cross References
|
|
198
208
|
fields:
|
|
199
209
|
- Cross references: cross_reference
|
|
@@ -203,6 +213,7 @@ code: |
|
|
|
203
213
|
party_type_choices, party_type_map = \
|
|
204
214
|
choices_and_map(proxy_conn.get_party_types(court_id, case_type).data, "{name} ({code})")
|
|
205
215
|
---
|
|
216
|
+
id: party type
|
|
206
217
|
question: Party type
|
|
207
218
|
fields:
|
|
208
219
|
- Party type: party_type
|
|
@@ -212,6 +223,7 @@ code: |
|
|
|
212
223
|
filing_type_choices, filing_type_map = \
|
|
213
224
|
choices_and_map(proxy_conn.get_filing_types(court_id, case_category, case_type, is_initial_filing).data, "{name} ({code})")
|
|
214
225
|
---
|
|
226
|
+
id: filing type
|
|
215
227
|
question: Filing type
|
|
216
228
|
fields:
|
|
217
229
|
- Filing type: filing_type
|
|
@@ -221,6 +233,7 @@ code: |
|
|
|
221
233
|
document_type_choices, document_type_map = \
|
|
222
234
|
choices_and_map(proxy_conn.get_document_types(court_id, filing_type).data, "{name} ({code})")
|
|
223
235
|
---
|
|
236
|
+
id: document type
|
|
224
237
|
question: Document type
|
|
225
238
|
fields:
|
|
226
239
|
- Document type: document_type
|
|
@@ -230,6 +243,7 @@ code: |
|
|
|
230
243
|
optional_service_choices, optional_service_map = \
|
|
231
244
|
choices_and_map(proxy_conn.get_optional_services(court_id, filing_type).data, "{name} ({code})")
|
|
232
245
|
---
|
|
246
|
+
id: optional services
|
|
233
247
|
question: Optional service
|
|
234
248
|
fields:
|
|
235
249
|
- Optional service: optional_service
|
|
@@ -239,6 +253,7 @@ code: |
|
|
|
239
253
|
motion_type_choices, motion_type_map = \
|
|
240
254
|
choices_and_map(proxy_conn.get_motion_types(court_id, filing_type).data, "{name} ({code})")
|
|
241
255
|
---
|
|
256
|
+
id: motion type
|
|
242
257
|
question: Motion type
|
|
243
258
|
fields:
|
|
244
259
|
- Motion type: motion_type
|
|
@@ -255,6 +270,7 @@ code: |
|
|
|
255
270
|
else:
|
|
256
271
|
return ""
|
|
257
272
|
---
|
|
273
|
+
id: codes interview all done
|
|
258
274
|
event: end
|
|
259
275
|
question: All done
|
|
260
276
|
subquestion: |
|
|
@@ -91,7 +91,11 @@ question: |
|
|
|
91
91
|
subquestion: |
|
|
92
92
|
|
|
93
93
|
% if ready_to_efile:
|
|
94
|
-
|
|
94
|
+
% if len(al_court_bundle.get_titles()) > 1:
|
|
95
|
+
Below are your ${comma_and_list(al_court_bundle.get_titles())} forms
|
|
96
|
+
% else:
|
|
97
|
+
Below is your ${comma_and_list(al_court_bundle.get_titles())} form
|
|
98
|
+
% endif
|
|
95
99
|
that we will deliver to the ${trial_court} clerk.
|
|
96
100
|
|
|
97
101
|
We will deliver it securely. Please allow up to 15 minutes for the filing to
|
|
@@ -222,6 +226,7 @@ need:
|
|
|
222
226
|
id: ready_to_efile
|
|
223
227
|
code: |
|
|
224
228
|
# Ask for the clerk comments, they'll go in the lead filing doc comments
|
|
229
|
+
is_initial_filing
|
|
225
230
|
ready_to_efile_user_hook
|
|
226
231
|
check_resp
|
|
227
232
|
remaining_to_check = check_resp.data
|
|
@@ -468,6 +473,10 @@ fields:
|
|
|
468
473
|
- Efile and Serve: efile_and_serve
|
|
469
474
|
- Serve: serve
|
|
470
475
|
---
|
|
476
|
+
################
|
|
477
|
+
## Optional Services
|
|
478
|
+
################
|
|
479
|
+
---
|
|
471
480
|
generic object: DAObject
|
|
472
481
|
id: any optional services
|
|
473
482
|
question: |
|
|
@@ -478,6 +487,26 @@ fields:
|
|
|
478
487
|
- no label: x.optional_services.there_are_any
|
|
479
488
|
datatype: yesnoradio
|
|
480
489
|
---
|
|
490
|
+
id: optional service type
|
|
491
|
+
generic object: ALDocument
|
|
492
|
+
question: |
|
|
493
|
+
${ str(ordinal_number(i + 1)).title() } optional service for ${ x.title }
|
|
494
|
+
fields:
|
|
495
|
+
- Optional Services: x.optional_services[i].code
|
|
496
|
+
datatype: dropdown
|
|
497
|
+
code: |
|
|
498
|
+
x.optional_service_options
|
|
499
|
+
---
|
|
500
|
+
id: optional service fee amount
|
|
501
|
+
generic object: ALDocument
|
|
502
|
+
question: |
|
|
503
|
+
Optional Service ${ i + 1 } fee amount?
|
|
504
|
+
subquestion: |
|
|
505
|
+
${ x.optional_service_map.get(x.optional_services[i].code).get('feeprompttext') }
|
|
506
|
+
fields:
|
|
507
|
+
- Fee Amount: x.optional_services[i].fee_amount
|
|
508
|
+
datatype: currency
|
|
509
|
+
---
|
|
481
510
|
generic object: DAObject
|
|
482
511
|
code: |
|
|
483
512
|
if not x.optional_service_options:
|
|
@@ -524,11 +553,11 @@ code: |
|
|
|
524
553
|
---
|
|
525
554
|
generic object: DAObject
|
|
526
555
|
code: |
|
|
527
|
-
x.optional_services_defaults = []
|
|
556
|
+
x.optional_services_defaults = [None]
|
|
528
557
|
---
|
|
529
558
|
generic object: DAObject
|
|
530
559
|
code: |
|
|
531
|
-
x.optional_services_filters = []
|
|
560
|
+
x.optional_services_filters = [[]]
|
|
532
561
|
---
|
|
533
562
|
generic object: DAObject
|
|
534
563
|
code: |
|
|
@@ -551,6 +580,24 @@ fields:
|
|
|
551
580
|
validate: |
|
|
552
581
|
validate_tyler_regex(multiplier_datafield)
|
|
553
582
|
---
|
|
583
|
+
generic object: DAObject
|
|
584
|
+
id: filing courtesy copy info
|
|
585
|
+
question: |
|
|
586
|
+
Would you like to send anyone a copy of your ${ x.title } by email?
|
|
587
|
+
fields:
|
|
588
|
+
- I would like to send someone a copy: x.has_courtesy_copies
|
|
589
|
+
datatype: yesnoradio
|
|
590
|
+
- What emails do you want to send to? (one per line): x.courtesy_copies_raw
|
|
591
|
+
datatype: area
|
|
592
|
+
show if: x.has_courtesy_copies
|
|
593
|
+
validation code: |
|
|
594
|
+
if x.has_courtesy_copies:
|
|
595
|
+
x.courtesy_copies = x.courtesy_copies_raw.splitlines()
|
|
596
|
+
for copy in x.courtesy_copies:
|
|
597
|
+
if not '@' in copy:
|
|
598
|
+
validation_error("Enter a valid email address.", field="x.courtesy_copies_raw")
|
|
599
|
+
break
|
|
600
|
+
---
|
|
554
601
|
code: |
|
|
555
602
|
multiplier_datafield = proxy_conn.get_datafield(court_id, 'OptionalServicesMultipleCopies').data or {}
|
|
556
603
|
---
|
|
@@ -599,7 +646,7 @@ code: |
|
|
|
599
646
|
del x.filing_component
|
|
600
647
|
x.filing_component = x.user_chosen_filing_component
|
|
601
648
|
---
|
|
602
|
-
id: document type
|
|
649
|
+
id: user chosen document type
|
|
603
650
|
generic object: DAObject
|
|
604
651
|
question: |
|
|
605
652
|
What type of document is this?
|
|
@@ -727,6 +774,9 @@ fields:
|
|
|
727
774
|
code: |
|
|
728
775
|
all_case_parties
|
|
729
776
|
---
|
|
777
|
+
code: |
|
|
778
|
+
needs_all_info = is_initial_filing or is_nonindexed_filing
|
|
779
|
+
---
|
|
730
780
|
generic object: DAObject
|
|
731
781
|
code: |
|
|
732
782
|
if needs_all_info and len(users) == 1:
|
|
@@ -742,6 +792,20 @@ code: |
|
|
|
742
792
|
code: |
|
|
743
793
|
filing_description_datafield = proxy_conn.get_datafield(court_id, 'FilingFilingDescription').data or {}
|
|
744
794
|
---
|
|
795
|
+
# Gets set to '' in most interviews; IIRC, setting it overrides what title the clerks
|
|
796
|
+
# are given for a filing, and was undesireable for some jurisdictions.
|
|
797
|
+
generic object: DAObject
|
|
798
|
+
code: |
|
|
799
|
+
x.filing_description = ''
|
|
800
|
+
---
|
|
801
|
+
generic object: DAObject
|
|
802
|
+
code: |
|
|
803
|
+
x.reference_number = None
|
|
804
|
+
---
|
|
805
|
+
generic object: DAObject
|
|
806
|
+
code: |
|
|
807
|
+
x.filing_action = 'efile'
|
|
808
|
+
---
|
|
745
809
|
code: |
|
|
746
810
|
filing_comment_datafield = proxy_conn.get_datafield(court_id, 'FilingFilingComments').data or {}
|
|
747
811
|
---
|
|
@@ -805,6 +869,18 @@ code: |
|
|
|
805
869
|
timing = 'Initial' if is_initial_filing else 'Subsequent'
|
|
806
870
|
case_type_options, case_type_map = choices_and_map(proxy_conn.get_case_types(court_id, efile_case_category, timing=timing).data)
|
|
807
871
|
---
|
|
872
|
+
code: |
|
|
873
|
+
efile_case_category_default = None
|
|
874
|
+
---
|
|
875
|
+
code: |
|
|
876
|
+
efile_case_type_default = None
|
|
877
|
+
---
|
|
878
|
+
code: |
|
|
879
|
+
efile_case_category_exclude = None
|
|
880
|
+
---
|
|
881
|
+
code: |
|
|
882
|
+
efile_case_type_exclude = None
|
|
883
|
+
---
|
|
808
884
|
code: |
|
|
809
885
|
party_type_options, party_type_map = \
|
|
810
886
|
choices_and_map(proxy_conn.get_party_types(court_id, efile_case_type).data)
|
|
@@ -818,6 +894,33 @@ code: |
|
|
|
818
894
|
code: |
|
|
819
895
|
court_policy = proxy_conn.get_policy(court_id).data or {}
|
|
820
896
|
---
|
|
897
|
+
if: can_check_efile
|
|
898
|
+
only sets:
|
|
899
|
+
- max_total_exhibit_size
|
|
900
|
+
- max_mb_per_file
|
|
901
|
+
code: |
|
|
902
|
+
allowed_sizes = get_max_allowed_sizes(proxy_conn, court_id)
|
|
903
|
+
one_mb = 1024 * 1024
|
|
904
|
+
if allowed_sizes:
|
|
905
|
+
max_mb_per_file = allowed_sizes[0] / 1024 / 1024
|
|
906
|
+
if allowed_sizes[0] > one_mb:
|
|
907
|
+
# OCR will increase file sizes a bit, so save some room
|
|
908
|
+
max_per_file = allowed_sizes[0] - one_mb
|
|
909
|
+
else:
|
|
910
|
+
max_per_file = allowed_sizes[0]
|
|
911
|
+
max_total_exhibit_size = allowed_sizes[1] - one_mb
|
|
912
|
+
else:
|
|
913
|
+
max_mb_per_file = 15
|
|
914
|
+
max_total_exhibit_size = 50 * 1024 * 1024
|
|
915
|
+
---
|
|
916
|
+
if: not can_check_efile
|
|
917
|
+
only sets:
|
|
918
|
+
- max_total_exhibit_size
|
|
919
|
+
- max_mb_per_file
|
|
920
|
+
code: |
|
|
921
|
+
max_mb_per_file = 15
|
|
922
|
+
max_total_exhibit_size = 50 * 1024 * 1024
|
|
923
|
+
---
|
|
821
924
|
code: |
|
|
822
925
|
filing_attorney_required_datafield = proxy_conn.get_datafield(court_id, 'FilingFilingAttorneyView').data or {}
|
|
823
926
|
---
|
|
@@ -980,6 +1083,12 @@ code: |
|
|
|
980
1083
|
users[i].attorney_ids
|
|
981
1084
|
users[i].complete = True
|
|
982
1085
|
---
|
|
1086
|
+
code: |
|
|
1087
|
+
users[i].party_type_default = None
|
|
1088
|
+
---
|
|
1089
|
+
code: |
|
|
1090
|
+
other_parties[i].party_type_default = None
|
|
1091
|
+
---
|
|
983
1092
|
if: not can_check_efile
|
|
984
1093
|
code: |
|
|
985
1094
|
users[i].is_form_filler
|
|
@@ -1014,6 +1123,10 @@ if: full_court_info.get("efmType", "ecf") != "ecf"
|
|
|
1014
1123
|
code: |
|
|
1015
1124
|
users[0].is_form_filler = False
|
|
1016
1125
|
---
|
|
1126
|
+
if: not can_check_efile
|
|
1127
|
+
code: |
|
|
1128
|
+
users[0].is_form_filler = False
|
|
1129
|
+
---
|
|
1017
1130
|
code: |
|
|
1018
1131
|
if i > 0:
|
|
1019
1132
|
users[i].is_form_filler = False
|
|
@@ -1108,4 +1221,9 @@ code: |
|
|
|
1108
1221
|
efile_case_type_filters, efile_case_type_default, efile_case_type_exclude)
|
|
1109
1222
|
if efile_case_type is None:
|
|
1110
1223
|
del efile_case_type
|
|
1111
|
-
efile_case_type = user_chosen_case_type
|
|
1224
|
+
efile_case_type = user_chosen_case_type
|
|
1225
|
+
---
|
|
1226
|
+
code: |
|
|
1227
|
+
tyler_filing_attorney_options, tyler_filing_attorney_map = choices_and_map(proxy_conn.get_attorney_list().data,
|
|
1228
|
+
display='{firstName} {middleName} {lastName}',
|
|
1229
|
+
backing='attorneyID')
|
|
@@ -25,23 +25,70 @@ code: |
|
|
|
25
25
|
---
|
|
26
26
|
id: eFile Login
|
|
27
27
|
question: |
|
|
28
|
-
|
|
28
|
+
Connect to your ${ efiling_system_name } account
|
|
29
29
|
subquestion: |
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
You need to use an ${ efiling_system_name } account to e-file this document. If you don't have an account yet, we can help you make one.
|
|
31
|
+
|
|
32
|
+
${ collapse_template(what_is_efile_template) }
|
|
33
|
+
|
|
34
|
+
% if not interview_allows_firm_account:
|
|
35
|
+
<div class="alert alert-warning" role="alert">
|
|
36
|
+
<strong>Warning</strong>: you need to use an individual filer account, not a "firm" account to file this petition. Choose "new account" if you have an existing account but it is managed by your firm.
|
|
37
|
+
</div>
|
|
38
|
+
% endif
|
|
32
39
|
fields:
|
|
33
|
-
-
|
|
34
|
-
|
|
40
|
+
- I want to: user_login_or_make_new
|
|
41
|
+
datatype: radio
|
|
42
|
+
choices:
|
|
43
|
+
- Make a new account: new_account
|
|
44
|
+
- Login to my existing account: existing_account
|
|
45
|
+
- Email address: my_username
|
|
46
|
+
show if:
|
|
47
|
+
variable: user_login_or_make_new
|
|
48
|
+
is: existing_account
|
|
49
|
+
default: |
|
|
50
|
+
${ showifdef("person_to_reg.email") or (user_info().email if user_logged_in() else '') }
|
|
51
|
+
- Password: my_password
|
|
35
52
|
datatype: ALVisiblePassword
|
|
36
|
-
|
|
53
|
+
js show if: |
|
|
54
|
+
val("user_login_or_make_new") == "existing_account" && !val("user_forgot_password")
|
|
55
|
+
default: |
|
|
56
|
+
${ showifdef("new_password") }
|
|
37
57
|
- I forgot my password: user_forgot_password
|
|
38
58
|
datatype: yesno
|
|
59
|
+
show if:
|
|
60
|
+
variable: user_login_or_make_new
|
|
61
|
+
is: existing_account
|
|
62
|
+
---
|
|
63
|
+
template: what_is_efile_template
|
|
64
|
+
subject: |
|
|
65
|
+
What is ${ efiling_system_name }?
|
|
66
|
+
content: |
|
|
67
|
+
${ efiling_system_name } is the Court's official system for electronically
|
|
68
|
+
filing court documents.
|
|
69
|
+
|
|
70
|
+
This website can help you securely connect to ${ efiling_system_name } using your existing ${ efiling_system_name }
|
|
71
|
+
username and password, or to make a new account.
|
|
72
|
+
|
|
73
|
+
You can manage your account from the ${ efiling_system_name } website after we help you make it
|
|
74
|
+
here.
|
|
39
75
|
---
|
|
76
|
+
only sets:
|
|
77
|
+
- tyler_login
|
|
40
78
|
code: |
|
|
79
|
+
if user_login_or_make_new == 'new_account' and (not defined('register_status') or not register_status):
|
|
80
|
+
person_to_reg.email
|
|
81
|
+
# this code block execs twice: once to register, once to login, with different names for the
|
|
82
|
+
# login params
|
|
83
|
+
my_username = person_to_reg.email
|
|
84
|
+
my_password = new_password
|
|
85
|
+
register_status
|
|
86
|
+
|
|
41
87
|
if showifdef('user_forgot_password'):
|
|
42
88
|
tyler_reset_password_resp = proxy_conn.reset_user_password(my_username)
|
|
43
89
|
reset_password_screen
|
|
44
|
-
|
|
90
|
+
|
|
91
|
+
if not showifdef('user_forgot_password'):
|
|
45
92
|
tyler_login_resp = proxy_conn.authenticate_user(tyler_email=my_username, tyler_password=my_password)
|
|
46
93
|
del my_password
|
|
47
94
|
if not tyler_login_resp.is_ok():
|
|
@@ -52,6 +99,13 @@ code: |
|
|
|
52
99
|
login_failed_screen
|
|
53
100
|
else:
|
|
54
101
|
log(word("You are now connected to your e-filing account"), "primary")
|
|
102
|
+
if defined('new_password'):
|
|
103
|
+
del new_password
|
|
104
|
+
if defined('my_password'):
|
|
105
|
+
del my_password
|
|
106
|
+
if defined('tyler_register_resp'):
|
|
107
|
+
del tyler_register_resp
|
|
108
|
+
continue_stored_login = False # this is triggering when it shouldn't, maybe this is helpful?
|
|
55
109
|
tyler_login = True
|
|
56
110
|
---
|
|
57
111
|
need:
|
|
@@ -87,9 +141,20 @@ code: |
|
|
|
87
141
|
---
|
|
88
142
|
id: login with redis
|
|
89
143
|
continue button field: continue_stored_login
|
|
90
|
-
question: Log in to
|
|
144
|
+
question: Log in to ${ efiling_system_name } as ${my_username}?
|
|
91
145
|
subquestion: |
|
|
92
|
-
You recently logged in to
|
|
146
|
+
You recently logged in to ${ efiling_system_name } with the email **${ my_username }**.
|
|
147
|
+
|
|
148
|
+
% if not interview_allows_firm_account:
|
|
149
|
+
<div class="alert alert-warning" role="alert">
|
|
150
|
+
<p>
|
|
151
|
+
<strong>Warning</strong>: you need to use an individual filer account, not a "firm" account
|
|
152
|
+
to file this petition.
|
|
153
|
+
<br/>
|
|
154
|
+
Make a new account if ${ my_username } is an account that is managed by your firm.
|
|
155
|
+
</p>
|
|
156
|
+
</div>
|
|
157
|
+
% endif
|
|
93
158
|
|
|
94
159
|
Would you like to continue with this email?
|
|
95
160
|
fields:
|
|
@@ -107,16 +172,16 @@ code: |
|
|
|
107
172
|
---
|
|
108
173
|
code: |
|
|
109
174
|
# Leaving in until MAPetitionToSealEviction is refactored
|
|
110
|
-
tyler_user_id_key =
|
|
175
|
+
tyler_user_id_key = sql_id_name
|
|
111
176
|
---
|
|
112
177
|
only sets:
|
|
113
178
|
- tyler_user_id
|
|
114
179
|
code: |
|
|
115
|
-
if da_store.defined(
|
|
116
|
-
tyler_user_id = da_store.get(
|
|
180
|
+
if da_store.defined(sql_id_name):
|
|
181
|
+
tyler_user_id = da_store.get(sql_id_name)
|
|
117
182
|
else:
|
|
118
183
|
# not there: will need to login to get the same info
|
|
119
|
-
tyler_user_id = tyler_login_resp.data
|
|
184
|
+
tyler_user_id = tyler_login_resp.data.get('tokens', {}).get(f"TYLER-ID-{jurisdiction_id.upper()}")
|
|
120
185
|
---
|
|
121
186
|
code: |
|
|
122
187
|
change_resp = proxy_conn.self_change_password(current_password, new_user_password)
|
|
@@ -188,6 +253,7 @@ if: can_check_efile and full_court_info.get("efmType", "ecf") == "ecf"
|
|
|
188
253
|
code: |
|
|
189
254
|
logged_in_user_is_admin, logged_in_user_is_global_admin = get_tyler_roles(proxy_conn, {"TYLER-ID": tyler_user_id})
|
|
190
255
|
---
|
|
256
|
+
id: reset password event
|
|
191
257
|
event: reset_password_screen
|
|
192
258
|
question: |
|
|
193
259
|
% if tyler_reset_password_resp.is_ok():
|
|
@@ -214,7 +280,7 @@ continue button field: show_activation_resp
|
|
|
214
280
|
id: Login failed
|
|
215
281
|
event: login_failed_screen
|
|
216
282
|
question: |
|
|
217
|
-
|
|
283
|
+
${ efiling_system_name } Login failed
|
|
218
284
|
subquestion: |
|
|
219
285
|
% if int(tyler_login_resp.response_code) == 403:
|
|
220
286
|
Your login information was not correct. Go back and try again.
|
|
@@ -8,7 +8,7 @@ modules:
|
|
|
8
8
|
- .efm_client
|
|
9
9
|
---
|
|
10
10
|
objects:
|
|
11
|
-
da_file: DAFile
|
|
11
|
+
- da_file: DAFile
|
|
12
12
|
---
|
|
13
13
|
code: |
|
|
14
14
|
proxy_conn = ProxyConnection(credentials_code_block='tyler_login')
|
|
@@ -44,14 +44,20 @@ code: |
|
|
|
44
44
|
da_file_written = True
|
|
45
45
|
---
|
|
46
46
|
mandatory: True
|
|
47
|
+
code: |
|
|
48
|
+
start_screen
|
|
49
|
+
show_downloaded_logs
|
|
50
|
+
---
|
|
51
|
+
id: get logs from proxy
|
|
47
52
|
question: Get logs from ${ proxy_conn.base_url }
|
|
48
53
|
subquestion: |
|
|
49
54
|
Press continue to get logs relating to your server traffic from ${ proxy_conn.base_url }.
|
|
50
55
|
continue button field: start_screen
|
|
51
56
|
---
|
|
57
|
+
id: show logs from proxy
|
|
52
58
|
need:
|
|
53
59
|
- da_file_written
|
|
54
|
-
|
|
60
|
+
event: show_downloaded_logs
|
|
55
61
|
question: Logs from ${ proxy_conn.base_url }
|
|
56
62
|
subquestion: |
|
|
57
63
|
Right click to download [the logs here](${ da_file.url_for() }).
|