1pub const COPY_STATUS_AVAILABLE: i64 = 0;
7pub const COPY_STATUS_CHECKED_OUT: i64 = 1;
8pub const COPY_STATUS_BINDERY: i64 = 2;
9pub const COPY_STATUS_LOST: i64 = 3;
10pub const COPY_STATUS_MISSING: i64 = 4;
11pub const COPY_STATUS_IN_PROCESS: i64 = 5;
12pub const COPY_STATUS_IN_TRANSIT: i64 = 6;
13pub const COPY_STATUS_RESHELVING: i64 = 7;
14pub const COPY_STATUS_ON_HOLDS_SHELF: i64 = 8;
15pub const COPY_STATUS_ON_ORDER: i64 = 9;
16pub const COPY_STATUS_ILL: i64 = 10;
17pub const COPY_STATUS_CATALOGING: i64 = 11;
18pub const COPY_STATUS_RESERVES: i64 = 12;
19pub const COPY_STATUS_DISCARD: i64 = 13;
20pub const COPY_STATUS_DAMAGED: i64 = 14;
21pub const COPY_STATUS_ON_RESV_SHELF: i64 = 15;
22pub const COPY_STATUS_LONG_OVERDUE: i64 = 16;
23pub const COPY_STATUS_LOST_AND_PAID: i64 = 17;
24pub const COPY_STATUS_CANCELED_TRANSIT: i64 = 18;
25
26pub const CIRC_DURATION_SHORT: i64 = 1;
30pub const CIRC_DURATION_NORMAL: i64 = 2;
31pub const CIRC_DURATION_EXTENDED: i64 = 3;
32pub const CIRC_FINE_LEVEL_LOW: i64 = 1;
33pub const CIRC_FINE_LEVEL_MEDIUM: i64 = 2;
34pub const CIRC_FINE_LEVEL_HIGH: i64 = 3;
35pub const CIRC_POLICY_UNLIMITED: &str = "unlimited";
36
37pub const BTYPE_OVERDUE_MATERIALS: i64 = 1;
41pub const BTYPE_LONG_OVERDUE_COLLECTION_FEE: i64 = 2;
42pub const BTYPE_LOST_MATERIALS: i64 = 3;
43pub const BTYPE_LOST_MATERIALS_PROCESSING_FEE: i64 = 4;
44pub const BTYPE_DEPOSIT: i64 = 5;
45pub const BTYPE_RENTAL: i64 = 6;
46pub const BTYPE_DAMAGED_ITEM: i64 = 7;
47pub const BTYPE_DAMAGED_ITEM_PROCESSING_FEE: i64 = 8;
48pub const BTYPE_NOTIFICATION_FEE: i64 = 9;
49pub const BTYPE_LONG_OVERDUE_MATERIALS: i64 = 10;
50pub const BTYPE_LONG_OVERDUE_MATERIALS_PROCESSING_FEE: i64 = 11;
51
52pub const BTYPE_LABEL_OVERDUE_MATERIALS: &str = "Overdue materials";
56pub const BTYPE_LABEL_COLLECTION_FEE: &str = "Long Overdue Collection Fee";
57pub const BTYPE_LABEL_DEPOSIT: &str = "System: Deposit";
58pub const BTYPE_LABEL_RENTAL: &str = "System: Rental";
59pub const BTYPE_NOTE_SYSTEM: &str = "SYSTEM GENERATED";
60
61pub const HOLD_TYPE_COPY: &str = "C";
65pub const HOLD_TYPE_FORCE: &str = "F";
66pub const HOLD_TYPE_RECALL: &str = "R";
67pub const HOLD_TYPE_ISSUANCE: &str = "I";
68pub const HOLD_TYPE_VOLUME: &str = "V";
69pub const HOLD_TYPE_TITLE: &str = "T";
70pub const HOLD_TYPE_METARECORD: &str = "M";
71pub const HOLD_TYPE_MONOPART: &str = "P";
72
73pub const PRECAT_COPY_FINE_LEVEL: i64 = 2;
77pub const PRECAT_COPY_LOAN_DURATION: i64 = 2;
78pub const PRECAT_CALL_NUMBER: i64 = -1;
79pub const PRECAT_BIB_RECORD: i64 = -1;
80
81pub const OILS_AUTH_CACHE_PRFX: &str = "oils_auth_";