]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/constants.js
3cc4e0d47ed2add2d6a9fb4098c3f5bde1dbaf2d
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / main / constants.js
1 dump('Loading constants.js\n');
2 var api = {
3         'AUTH_INIT' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.authenticate.init' },
4         'AUTH_COMPLETE' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.authenticate.complete' },
5         'AUTH_DELETE' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.session.delete' },
6         'BILL_PAY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment' },
7         'BLOB_CHECKOUTS_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.actor.user.checked_out' },
8         'CAPTURE_COPY_FOR_HOLD_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.capture_copy.barcode' },
9         'CHECKIN_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.checkin' },
10         'CHECKOUT' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.checkout' },
11         'CHECKOUT_PERMIT' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.checkout.permit' },
12         'CHECKOUT_RENEW' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.renew' },
13         'FM_ACN_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.callnumber.retrieve' },
14         'FM_ACN_TREE_UPDATE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.volume_tree.fleshed.batch.update' },
15         'FM_ACP_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.retrieve' },
16         'FM_ACP_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.find_by_barcode' },
17         'FM_ACP_FLESHED_BATCH_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.batch.retrieve' },
18         'FM_ACP_FLESHED_BATCH_UPDATE' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.asset.copy.fleshed.batch.update' },
19         'FM_ACPL_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_location.retrieve.all' },
20         'FM_ACTSC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.actor.retrieve.all' },
21         'FM_AHR_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve' },
22         'FM_AIHU_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.in_house_use.create' },
23         'FM_AOU_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_tree.retrieve' },
24         'FM_AOU_RETRIEVE_RELATED_VIA_SESSION' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_unit.full_path.retrieve' },
25         'FM_AOUT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_types.retrieve' },
26         'FM_ASC_BATCH_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.asset.retrieve.batch' },
27         'FM_ASC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.asset.retrieve.all' },
28         'FM_ASV_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.create' },
29         'FM_ASV_RETRIEVE_REQUIRED' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.retrieve.required' },
30         'FM_ASVR_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.response.retrieve' },
31         'FM_AU_IDS_RETRIEVE_VIA_HASH' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.search.advanced' },
32         'FM_AU_RETRIEVE_VIA_SESSION' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.session.retrieve' },
33         'FM_AU_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve_by_barcode' },
34         'FM_AU_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve' },
35         'FM_BRE_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.metadata.retrieve' },
36         'FM_BRE_ID_SEARCH_VIA_TCN' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.tcn' },
37         'FM_BRN_FROM_MARCXML' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.marcxml_to_brn' },
38         'FM_CCS_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_status.retrieve.all' },
39         'FM_CIRC_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.actor.user.checked_out.slim' },
40         'FM_CIT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.ident_types.retrieve' },
41         'FM_CNCT_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.non_cat_types.retrieve.all' },
42         'FM_CST_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.standings.retrieve' },
43         'FM_MB_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.create' },
44         'FM_MB_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.retrieve.all' },
45         'FM_MP_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment.retrieve.all' },
46         'FM_MG_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.grocery.create' },
47         'FM_MOBTS_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.have_balance' },
48         'FM_PGT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.groups.retrieve' },
49         'MARC_HTML_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.html' },
50         'FM_BRN_RETRIEVE_VIA_Z3950_RAW' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.raw_string' },
51         'FM_BRN_RETRIEVE_VIA_Z3950_TCN' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.z3950.import' },
52         'MODS_SLIM_METARECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.metarecord.mods_slim.retrieve' },
53         'MODS_SLIM_RECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.mods_slim.retrieve' },
54         'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.mods_from_copy' },
55         'PERM_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.perm.check' },
56         'PERM_MULTI_ORG_CHECK' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.perm.check.multi_org' },
57 }
58
59 var urls = {
60         'opac' : '/opac/en-US/skin/default/xml/advanced.xml',
61         'opac_rdetail' : '/opac/en-US/skin/default/xml/rdetail.xml',
62         'browser' : '/opac/en-US/skin/default/xml/advanced.xml',
63         'fieldmapper' : '/opac/common/js/fmall.js',
64         'XUL_ADV_USER_BARCODE_ENTRY' : '/xul/server/patron/adv_barcode_entry.xul',
65         'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul',
66         'XUL_BROWSER' : 'chrome://open_ils_staff_client/content/util/browser.xul',
67         'XUL_CHECKIN' : '/xul/server/circ/checkin.xul',
68         'XUL_CHECKOUT' : '/xul/server/circ/checkout.xul',
69         'XUL_COPY_BARCODE_QUERY' : '/xul/server/cat/barcode_entry.xul',
70         'XUL_COPY_EDITOR' : '/xul/server/cat/copy_editor.xul',
71         'XUL_COPY_LOCATION_EDIT' : '/xul/server/admin/copy_locations.xml',
72         'XUL_COPY_STATUS' : '/xul/server/circ/copy_status.xul',
73         'XUL_COPY_VOLUME_BROWSE' : 'chrome://open_ils_staff_client/content/legacy/_browse.xul',
74         'XUL_DEBUG_CONSOLE' : 'chrome://global/content/console.xul',
75         'XUL_DEBUG_FIELDMAPPER' : '/xul/server/util/fm_view.xul',
76         'XUL_DEBUG_FILTER_CONSOLE' : '/xul/server/util/filter_console.xul',
77         'XUL_DEBUG_SHELL' : '/xul/server/util/shell.html',
78         'XUL_DEBUG_XULEDITOR' : '/xul/server/util/xuledit.xul',
79         'XUL_HOLD_CAPTURE' : '/xul/server/circ/hold_capture.xul',
80         'XUL_IN_HOUSE_USE' : '/xul/server/circ/in_house_use.xul',
81         'XUL_MARC_EDIT' : 'chrome://open_ils_staff_client/content/legacy/_marc.xul',
82         'XUL_MARC_VIEW' : '/xul/server/cat/marc_view.xul',
83         'XUL_MENU_FRAME' : 'chrome://open_ils_staff_client/content/main/menu_frame.xul',
84         'XUL_NON_CAT_LABEL_EDIT' : '/xul/server/admin/non_cat_types.xml',
85         'XUL_OPAC_WRAPPER' : 'chrome://open_ils_staff_client/content/cat/opac.xul',
86         'XUL_PATRON_BARCODE_ENTRY' : '/xul/server/patron/barcode_entry.xul',
87         'XUL_PATRON_BILLS' : '/xul/server/patron/bills.xul',
88         'XUL_PATRON_BILL_CC_INFO' : '/xul/server/patron/bill_cc_info.xul',
89         'XUL_PATRON_BILL_CHECK_INFO' : '/xul/server/patron/bill_check_info.xul',
90         'XUL_PATRON_BILL_DETAILS' : '/xul/server/patron/bill_details.xul',
91         'XUL_PATRON_BILL_WIZARD' : '/xul/server/patron/bill_wizard.xul',
92         'XUL_PATRON_DISPLAY' : '/xul/server/patron/display.xul',
93         'XUL_PATRON_EDIT' : '/xul/server/patron/user_edit.xml',
94         'XUL_PATRON_HOLDS' : '/xul/server/patron/holds.xul',
95         'XUL_PATRON_INFO' : 'data:text/html,<h1>Info Here</h1>',
96         'XUL_PATRON_ITEMS' : '/xul/server/patron/items.xul',
97         'XUL_PATRON_SEARCH_FORM' : '/xul/server/patron/search_form.xul',
98         'XUL_PATRON_SEARCH_RESULT' : '/xul/server/patron/search_result.xul',
99         'XUL_PATRON_SUMMARY' : '/xul/server/patron/summary.xul',
100         'XUL_PRE_CAT' : '/xul/server/circ/pre_cat_fields.xul',
101         'XUL_PRINT_LIST_TEMPLATE_EDITOR' : '/xul/server/circ/print_list_template_editor.xul',
102         'XUL_REMOTE_BROWSER' : '/xul/server/util/rbrowser.xul',
103         'XUL_STAT_CAT_EDIT' : '/xul/server/admin/stat_cat_editor.xml',
104         'XUL_SURVEY_WIZARD' : 'chrome://open_ils_staff_client/content/admin/survey_wizard.xul',
105         'XUL_VOLUME_COPY_CREATOR' : '/xul/server/cat/volume_copy_creator.xul',
106         'XUL_VOLUME_EDITOR' : '/xul/server/cat/volume_editor.xul',
107         'XUL_Z3950_IMPORT' : '/xul/server/cat/z3950.xul',
108         'TEST_HTML' : '/xul/server/main/test.html',
109         'TEST_XUL' : 'chrome://open_ils_staff_client/content/admin/test.xul',
110 }