autocontext-oil-gas-core 0.26.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/BOUNDARIES.md +19 -0
- package/LICENSE +55 -0
- package/README.md +86 -0
- package/dist/accounting.d.ts +322 -0
- package/dist/accounting.d.ts.map +1 -0
- package/dist/accounting.js +411 -0
- package/dist/accounting.js.map +1 -0
- package/dist/afe.d.ts +156 -0
- package/dist/afe.d.ts.map +1 -0
- package/dist/afe.js +166 -0
- package/dist/afe.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +793 -0
- package/dist/cli.js.map +1 -0
- package/dist/connectors.d.ts +44 -0
- package/dist/connectors.d.ts.map +1 -0
- package/dist/connectors.js +143 -0
- package/dist/connectors.js.map +1 -0
- package/dist/decline-curve.d.ts +51 -0
- package/dist/decline-curve.d.ts.map +1 -0
- package/dist/decline-curve.js +145 -0
- package/dist/decline-curve.js.map +1 -0
- package/dist/economics.d.ts +85 -0
- package/dist/economics.d.ts.map +1 -0
- package/dist/economics.js +217 -0
- package/dist/economics.js.map +1 -0
- package/dist/executive-monthly-ops.d.ts +63 -0
- package/dist/executive-monthly-ops.d.ts.map +1 -0
- package/dist/executive-monthly-ops.js +128 -0
- package/dist/executive-monthly-ops.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/ingestion.d.ts +74 -0
- package/dist/ingestion.d.ts.map +1 -0
- package/dist/ingestion.js +183 -0
- package/dist/ingestion.js.map +1 -0
- package/dist/interventions.d.ts +1117 -0
- package/dist/interventions.d.ts.map +1 -0
- package/dist/interventions.js +2316 -0
- package/dist/interventions.js.map +1 -0
- package/dist/io.d.ts +4 -0
- package/dist/io.d.ts.map +1 -0
- package/dist/io.js +14 -0
- package/dist/io.js.map +1 -0
- package/dist/monthly-operating-review.d.ts +80 -0
- package/dist/monthly-operating-review.d.ts.map +1 -0
- package/dist/monthly-operating-review.js +243 -0
- package/dist/monthly-operating-review.js.map +1 -0
- package/dist/netback.d.ts +75 -0
- package/dist/netback.d.ts.map +1 -0
- package/dist/netback.js +146 -0
- package/dist/netback.js.map +1 -0
- package/dist/production-quality.d.ts +40 -0
- package/dist/production-quality.d.ts.map +1 -0
- package/dist/production-quality.js +179 -0
- package/dist/production-quality.js.map +1 -0
- package/dist/production.d.ts +9 -0
- package/dist/production.d.ts.map +1 -0
- package/dist/production.js +111 -0
- package/dist/production.js.map +1 -0
- package/dist/report.d.ts +36 -0
- package/dist/report.d.ts.map +1 -0
- package/dist/report.js +352 -0
- package/dist/report.js.map +1 -0
- package/dist/revenue.d.ts +355 -0
- package/dist/revenue.d.ts.map +1 -0
- package/dist/revenue.js +378 -0
- package/dist/revenue.js.map +1 -0
- package/dist/schemas.d.ts +626 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +111 -0
- package/dist/schemas.js.map +1 -0
- package/dist/source-fit.d.ts +81 -0
- package/dist/source-fit.d.ts.map +1 -0
- package/dist/source-fit.js +259 -0
- package/dist/source-fit.js.map +1 -0
- package/dist/source-pack.d.ts +30 -0
- package/dist/source-pack.d.ts.map +1 -0
- package/dist/source-pack.js +180 -0
- package/dist/source-pack.js.map +1 -0
- package/dist/watchlist.d.ts +66 -0
- package/dist/watchlist.d.ts.map +1 -0
- package/dist/watchlist.js +141 -0
- package/dist/watchlist.js.map +1 -0
- package/dist/workflow.d.ts +239 -0
- package/dist/workflow.d.ts.map +1 -0
- package/dist/workflow.js +571 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +68 -0
package/BOUNDARIES.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# autocontext-oil-gas-core boundaries
|
|
2
|
+
|
|
3
|
+
`autocontext-oil-gas-core` keeps deterministic oil and gas calculations in package code and produces inspectable JSON/Markdown artifacts.
|
|
4
|
+
|
|
5
|
+
## Included
|
|
6
|
+
|
|
7
|
+
- Source-pack validation and source-fit comparison.
|
|
8
|
+
- Monthly well production normalization.
|
|
9
|
+
- Deterministic decline-curve screening.
|
|
10
|
+
- Deterministic asset economics and scenario sensitivities from explicit forecasts and assumptions.
|
|
11
|
+
- Deterministic portfolio screening with rankings, source-fit flags, and review queues.
|
|
12
|
+
- Deterministic lease-operating-statement, revenue reconciliation, monthly operating review, and executive packet queues beside ERP/accounting systems.
|
|
13
|
+
- Deterministic per-well efficiency and geology-aware workover/recomplete/new-drill opportunity screening.
|
|
14
|
+
|
|
15
|
+
## Professional-use boundaries
|
|
16
|
+
|
|
17
|
+
Use outputs as decision support for qualified oil and gas professionals. Preserve source provenance and assumptions. Require human review before reserves booking, regulatory filing, capital approval, public disclosure, drilling, recompletion, workover execution, or other field execution.
|
|
18
|
+
|
|
19
|
+
The package does not provide certified reserves reports, legal/tax/title advice, regulatory or environmental signoff, investment advice for public securities, ERP/general-ledger functions, payment authorization, revenue distribution statements, or safety-critical operating instructions.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
10
|
+
|
|
11
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
12
|
+
|
|
13
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
14
|
+
|
|
15
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
16
|
+
|
|
17
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
18
|
+
|
|
19
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
20
|
+
|
|
21
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work.
|
|
22
|
+
|
|
23
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
24
|
+
|
|
25
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
26
|
+
|
|
27
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
28
|
+
|
|
29
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
30
|
+
|
|
31
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution alone or by combination of their Contribution with the Work to which such Contribution was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
32
|
+
|
|
33
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
34
|
+
|
|
35
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
36
|
+
|
|
37
|
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
38
|
+
|
|
39
|
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
40
|
+
|
|
41
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
42
|
+
|
|
43
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
+
|
|
45
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement You may have executed with Licensor regarding such Contributions.
|
|
46
|
+
|
|
47
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
+
|
|
49
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
+
|
|
51
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
+
|
|
53
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
+
|
|
55
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# autocontext-oil-gas-core
|
|
2
|
+
|
|
3
|
+
Primary TypeScript npm package for deterministic oil and gas source-fit, production normalization, decline-curve, asset-economics, portfolio-screening, lease-operating-statement review, AFE spend review, revenue reconciliation review, cash netback review, well watchlist, monthly operating review, executive monthly ops packets, geology/readiness/spacing/LOE-aware well-intervention workflows, and exact-knapsack intervention budget optimization.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install autocontext-oil-gas-core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## API surface
|
|
12
|
+
|
|
13
|
+
- `validateSourcePack`
|
|
14
|
+
- `validateSourcePackFromFile`
|
|
15
|
+
- `loadProductionDatasetFromFile`
|
|
16
|
+
- `loadProductionDatasetFromSource`
|
|
17
|
+
- `ProductionRecordConnector` for API/database integrations
|
|
18
|
+
- `createHttpProductionConnector`
|
|
19
|
+
- `createDatabaseProductionConnector`
|
|
20
|
+
- `mapProductionRecord`
|
|
21
|
+
- `normalizeProductionDataset`
|
|
22
|
+
- `auditProductionQuality`
|
|
23
|
+
- `compareProductionSourceFit`
|
|
24
|
+
- `compareProductionSourcePacks`
|
|
25
|
+
- `compareGeologySourceFit`
|
|
26
|
+
- `fitDeclineCurve`
|
|
27
|
+
- `forecastProduction`
|
|
28
|
+
- `runAssetEconomics`
|
|
29
|
+
- `runAssetEconomicsScenarios`
|
|
30
|
+
- `runAssetScreenWorkflow`
|
|
31
|
+
- `runSourceGovernedAssetScreenWorkflow`
|
|
32
|
+
- `runPortfolioScreenWorkflow`
|
|
33
|
+
- `runLeaseOperatingStatementReview`
|
|
34
|
+
- `runAfeSpendReview`
|
|
35
|
+
- `loadLeaseOperatingStatementFromFile`
|
|
36
|
+
- `mapLeaseOperatingStatementLine`
|
|
37
|
+
- `runRevenueReconciliationReview`
|
|
38
|
+
- `loadRevenueStatementFromFile`
|
|
39
|
+
- `mapRevenueStatementLine`
|
|
40
|
+
- `runMonthlyOperatingReview`
|
|
41
|
+
- `runNetbackReview`
|
|
42
|
+
- `runWellWatchlist`
|
|
43
|
+
- `runExecutiveMonthlyOpsPacket`
|
|
44
|
+
- `parseGeologyDataset`
|
|
45
|
+
- `parseTypeCurveLibrary`
|
|
46
|
+
- `parseInterventionScenarioDefinitions`
|
|
47
|
+
- `analyzeWellEfficiency`
|
|
48
|
+
- `rankInterventionOpportunities`
|
|
49
|
+
- `runWellInterventionScreenWorkflow`
|
|
50
|
+
- `runInterventionBudgetOptimizer`
|
|
51
|
+
- `runExecutiveInterventionQuicklookWorkflow`
|
|
52
|
+
- Markdown/HTML report renderers
|
|
53
|
+
|
|
54
|
+
## CLI
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
oil-gas-impact validate-source-pack --source-pack source-pack.json --out validation.json --report validation.md
|
|
58
|
+
oil-gas-impact normalize-production --input production.csv --out normalized.json --report normalized.md
|
|
59
|
+
oil-gas-impact audit-production-quality --input normalized.json --out quality.json --report quality.md
|
|
60
|
+
oil-gas-impact compare-production-source-fit --left internal.json --right enverus.json --left-label internal --right-label enverus --out source-fit.json --report source-fit.md
|
|
61
|
+
oil-gas-impact compare-geology-source-fit --left internal-geology.json --right vendor-geology.json --left-label internal --right-label vendor --out geology-source-fit.json --report geology-source-fit.md
|
|
62
|
+
oil-gas-impact fit-decline --input normalized.json --well-id well-a --product oil --out decline.json --report decline.md
|
|
63
|
+
oil-gas-impact run-economics --forecast decline.json --assumptions assumptions.json --out economics.json --report economics.md
|
|
64
|
+
oil-gas-impact run-economics-scenarios --forecast forecast.json --assumptions assumptions.json --scenarios scenarios.json --out scenarios.json --report scenarios.md
|
|
65
|
+
oil-gas-impact run-lease-operating-statement-review --production production.json --statement lease-operating-statement.json --budget budget.json --category-map examples/accounting/category-map.json --run-dir /tmp/accounting
|
|
66
|
+
oil-gas-impact run-afe-spend-review --statement lease-operating-statement.json --budget afe-budget.json --run-dir /tmp/afe-spend
|
|
67
|
+
oil-gas-impact run-revenue-reconciliation-review --production production.json --revenue-statement revenue-statement.json --ownership ownership.json --run-dir /tmp/revenue
|
|
68
|
+
oil-gas-impact run-monthly-operating-review --production production.json --statement lease-operating-statement.json --revenue-statement revenue-statement.json --ownership ownership.json --run-dir /tmp/monthly
|
|
69
|
+
oil-gas-impact run-netback-review --production production.json --statement lease-operating-statement.json --revenue revenue-statement.json --ownership ownership.json --run-dir /tmp/netback
|
|
70
|
+
oil-gas-impact run-well-watchlist --production production.json --statement lease-operating-statement.json --revenue revenue-statement.json --ownership ownership.json --run-dir /tmp/watchlist
|
|
71
|
+
oil-gas-impact run-executive-monthly-ops-packet --production production.json --statement lease-operating-statement.json --revenue-statement revenue-statement.json --ownership ownership.json --run-dir /tmp/executive-monthly
|
|
72
|
+
oil-gas-impact run-asset-screen --source-pack source-pack.json --assumptions assumptions.json --well-id well-a --run-dir /tmp/asset-screen
|
|
73
|
+
oil-gas-impact run-source-governed-asset-screen --primary-production internal.json --comparison-production enverus.json --primary-label internal --comparison-label enverus --assumptions assumptions.json --well-id well-a --run-dir /tmp/source-governed
|
|
74
|
+
oil-gas-impact run-portfolio-screen --primary-production internal.json --comparison-production enverus.json --primary-label internal --comparison-label enverus --assumptions assumptions.json --scenarios scenarios.json --run-dir /tmp/portfolio
|
|
75
|
+
oil-gas-impact run-well-intervention-screen --production production.json --geology geology.json --type-curves type-curves.json --candidates candidates.json --assumptions assumptions.json --scenarios intervention-scenarios.json --base-scenario-id base --run-dir /tmp/well-interventions
|
|
76
|
+
oil-gas-impact optimize-intervention-budget --intervention-screen /tmp/well-interventions/well-intervention-screen.json --budget-usd 750000 --out intervention-budget.json --report intervention-budget.md
|
|
77
|
+
oil-gas-impact run-executive-intervention-quicklook --primary-production internal-production.json --comparison-production vendor-production.json --primary-label internal --comparison-label vendor --geology internal-geology.json --comparison-geology vendor-geology.json --type-curves type-curves.json --candidates candidates.json --assumptions assumptions.json --scenarios intervention-scenarios.json --budget-usd 750000 --run-dir /tmp/executive-quicklook
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## API/database ingestion
|
|
81
|
+
|
|
82
|
+
Most enterprise usage should feed records from an API or database connector rather than CSV. Implement `ProductionRecordConnector` and pass it to `runAssetScreenWorkflow` through `productionSource`; file adapters are included for demos, audit fixtures, and data-room exports.
|
|
83
|
+
|
|
84
|
+
## Boundary
|
|
85
|
+
|
|
86
|
+
This is professional decision-support software. It does not replace qualified engineering, reserves, finance, legal, tax, regulatory, environmental, safety, or field-operations review.
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type NormalizedProductionDataset } from "./schemas.js";
|
|
3
|
+
export type LeaseOperatingCostCategory = "loe" | "water_handling" | "workover" | "transportation" | "taxes" | "g_and_a" | "capex" | "other";
|
|
4
|
+
export type LeaseOperatingCategoryMap = Record<string, LeaseOperatingCostCategory>;
|
|
5
|
+
declare const LeaseOperatingStatementLineSchema: z.ZodObject<{
|
|
6
|
+
wellId: z.ZodString;
|
|
7
|
+
month: z.ZodString;
|
|
8
|
+
accountCode: z.ZodString;
|
|
9
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
10
|
+
category: z.ZodDefault<z.ZodEnum<["loe", "water_handling", "workover", "transportation", "taxes", "g_and_a", "capex", "other"]>>;
|
|
11
|
+
amountUsd: z.ZodNumber;
|
|
12
|
+
vendorName: z.ZodOptional<z.ZodString>;
|
|
13
|
+
invoiceId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
afeId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
wellId: string;
|
|
19
|
+
month: string;
|
|
20
|
+
accountCode: string;
|
|
21
|
+
category: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other";
|
|
22
|
+
amountUsd: number;
|
|
23
|
+
sourceId?: string | undefined;
|
|
24
|
+
notes?: string | undefined;
|
|
25
|
+
accountName?: string | undefined;
|
|
26
|
+
vendorName?: string | undefined;
|
|
27
|
+
invoiceId?: string | undefined;
|
|
28
|
+
afeId?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
wellId: string;
|
|
31
|
+
month: string;
|
|
32
|
+
accountCode: string;
|
|
33
|
+
amountUsd: number;
|
|
34
|
+
sourceId?: string | undefined;
|
|
35
|
+
notes?: string | undefined;
|
|
36
|
+
accountName?: string | undefined;
|
|
37
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
38
|
+
vendorName?: string | undefined;
|
|
39
|
+
invoiceId?: string | undefined;
|
|
40
|
+
afeId?: string | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
declare const LeaseOperatingStatementSchema: z.ZodObject<{
|
|
43
|
+
schemaVersion: z.ZodLiteral<"oil-gas-lease-operating-statement/v1">;
|
|
44
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
45
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
46
|
+
wellId: z.ZodString;
|
|
47
|
+
month: z.ZodString;
|
|
48
|
+
accountCode: z.ZodString;
|
|
49
|
+
accountName: z.ZodOptional<z.ZodString>;
|
|
50
|
+
category: z.ZodDefault<z.ZodEnum<["loe", "water_handling", "workover", "transportation", "taxes", "g_and_a", "capex", "other"]>>;
|
|
51
|
+
amountUsd: z.ZodNumber;
|
|
52
|
+
vendorName: z.ZodOptional<z.ZodString>;
|
|
53
|
+
invoiceId: z.ZodOptional<z.ZodString>;
|
|
54
|
+
afeId: z.ZodOptional<z.ZodString>;
|
|
55
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
wellId: string;
|
|
59
|
+
month: string;
|
|
60
|
+
accountCode: string;
|
|
61
|
+
category: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other";
|
|
62
|
+
amountUsd: number;
|
|
63
|
+
sourceId?: string | undefined;
|
|
64
|
+
notes?: string | undefined;
|
|
65
|
+
accountName?: string | undefined;
|
|
66
|
+
vendorName?: string | undefined;
|
|
67
|
+
invoiceId?: string | undefined;
|
|
68
|
+
afeId?: string | undefined;
|
|
69
|
+
}, {
|
|
70
|
+
wellId: string;
|
|
71
|
+
month: string;
|
|
72
|
+
accountCode: string;
|
|
73
|
+
amountUsd: number;
|
|
74
|
+
sourceId?: string | undefined;
|
|
75
|
+
notes?: string | undefined;
|
|
76
|
+
accountName?: string | undefined;
|
|
77
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
78
|
+
vendorName?: string | undefined;
|
|
79
|
+
invoiceId?: string | undefined;
|
|
80
|
+
afeId?: string | undefined;
|
|
81
|
+
}>, "many">;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
schemaVersion: "oil-gas-lease-operating-statement/v1";
|
|
84
|
+
lines: {
|
|
85
|
+
wellId: string;
|
|
86
|
+
month: string;
|
|
87
|
+
accountCode: string;
|
|
88
|
+
category: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other";
|
|
89
|
+
amountUsd: number;
|
|
90
|
+
sourceId?: string | undefined;
|
|
91
|
+
notes?: string | undefined;
|
|
92
|
+
accountName?: string | undefined;
|
|
93
|
+
vendorName?: string | undefined;
|
|
94
|
+
invoiceId?: string | undefined;
|
|
95
|
+
afeId?: string | undefined;
|
|
96
|
+
}[];
|
|
97
|
+
generatedAt?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
schemaVersion: "oil-gas-lease-operating-statement/v1";
|
|
100
|
+
lines: {
|
|
101
|
+
wellId: string;
|
|
102
|
+
month: string;
|
|
103
|
+
accountCode: string;
|
|
104
|
+
amountUsd: number;
|
|
105
|
+
sourceId?: string | undefined;
|
|
106
|
+
notes?: string | undefined;
|
|
107
|
+
accountName?: string | undefined;
|
|
108
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
109
|
+
vendorName?: string | undefined;
|
|
110
|
+
invoiceId?: string | undefined;
|
|
111
|
+
afeId?: string | undefined;
|
|
112
|
+
}[];
|
|
113
|
+
generatedAt?: string | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
declare const LeaseOperatingBudgetLineSchema: z.ZodObject<{
|
|
116
|
+
wellId: z.ZodString;
|
|
117
|
+
month: z.ZodString;
|
|
118
|
+
budgetUsd: z.ZodNumber;
|
|
119
|
+
category: z.ZodOptional<z.ZodEnum<["loe", "water_handling", "workover", "transportation", "taxes", "g_and_a", "capex", "other"]>>;
|
|
120
|
+
accountCode: z.ZodOptional<z.ZodString>;
|
|
121
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
122
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
wellId: string;
|
|
125
|
+
month: string;
|
|
126
|
+
budgetUsd: number;
|
|
127
|
+
sourceId?: string | undefined;
|
|
128
|
+
notes?: string | undefined;
|
|
129
|
+
accountCode?: string | undefined;
|
|
130
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
wellId: string;
|
|
133
|
+
month: string;
|
|
134
|
+
budgetUsd: number;
|
|
135
|
+
sourceId?: string | undefined;
|
|
136
|
+
notes?: string | undefined;
|
|
137
|
+
accountCode?: string | undefined;
|
|
138
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
139
|
+
}>;
|
|
140
|
+
declare const LeaseOperatingBudgetSchema: z.ZodObject<{
|
|
141
|
+
schemaVersion: z.ZodLiteral<"oil-gas-lease-operating-budget/v1">;
|
|
142
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
143
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
144
|
+
wellId: z.ZodString;
|
|
145
|
+
month: z.ZodString;
|
|
146
|
+
budgetUsd: z.ZodNumber;
|
|
147
|
+
category: z.ZodOptional<z.ZodEnum<["loe", "water_handling", "workover", "transportation", "taxes", "g_and_a", "capex", "other"]>>;
|
|
148
|
+
accountCode: z.ZodOptional<z.ZodString>;
|
|
149
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
wellId: string;
|
|
153
|
+
month: string;
|
|
154
|
+
budgetUsd: number;
|
|
155
|
+
sourceId?: string | undefined;
|
|
156
|
+
notes?: string | undefined;
|
|
157
|
+
accountCode?: string | undefined;
|
|
158
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
wellId: string;
|
|
161
|
+
month: string;
|
|
162
|
+
budgetUsd: number;
|
|
163
|
+
sourceId?: string | undefined;
|
|
164
|
+
notes?: string | undefined;
|
|
165
|
+
accountCode?: string | undefined;
|
|
166
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
167
|
+
}>, "many">;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
schemaVersion: "oil-gas-lease-operating-budget/v1";
|
|
170
|
+
lines: {
|
|
171
|
+
wellId: string;
|
|
172
|
+
month: string;
|
|
173
|
+
budgetUsd: number;
|
|
174
|
+
sourceId?: string | undefined;
|
|
175
|
+
notes?: string | undefined;
|
|
176
|
+
accountCode?: string | undefined;
|
|
177
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
178
|
+
}[];
|
|
179
|
+
generatedAt?: string | undefined;
|
|
180
|
+
}, {
|
|
181
|
+
schemaVersion: "oil-gas-lease-operating-budget/v1";
|
|
182
|
+
lines: {
|
|
183
|
+
wellId: string;
|
|
184
|
+
month: string;
|
|
185
|
+
budgetUsd: number;
|
|
186
|
+
sourceId?: string | undefined;
|
|
187
|
+
notes?: string | undefined;
|
|
188
|
+
accountCode?: string | undefined;
|
|
189
|
+
category?: "workover" | "loe" | "water_handling" | "transportation" | "taxes" | "g_and_a" | "capex" | "other" | undefined;
|
|
190
|
+
}[];
|
|
191
|
+
generatedAt?: string | undefined;
|
|
192
|
+
}>;
|
|
193
|
+
export type LeaseOperatingStatementLine = z.infer<typeof LeaseOperatingStatementLineSchema>;
|
|
194
|
+
export type LeaseOperatingStatement = z.infer<typeof LeaseOperatingStatementSchema>;
|
|
195
|
+
export type LeaseOperatingBudgetLine = z.infer<typeof LeaseOperatingBudgetLineSchema>;
|
|
196
|
+
export type LeaseOperatingBudget = z.infer<typeof LeaseOperatingBudgetSchema>;
|
|
197
|
+
export type CsvFieldSelector = string | readonly string[];
|
|
198
|
+
export type LeaseOperatingStatementLineField = "wellId" | "month" | "accountCode" | "accountName" | "category" | "amountUsd" | "vendorName" | "invoiceId" | "afeId" | "sourceId" | "notes";
|
|
199
|
+
export type LeaseOperatingStatementLineFieldMapping = Partial<Record<LeaseOperatingStatementLineField, CsvFieldSelector>>;
|
|
200
|
+
export interface LeaseOperatingStatementImportOptions {
|
|
201
|
+
fieldMapping?: LeaseOperatingStatementLineFieldMapping;
|
|
202
|
+
categoryMap?: LeaseOperatingCategoryMap;
|
|
203
|
+
defaults?: Partial<LeaseOperatingStatementLine>;
|
|
204
|
+
generatedAt?: string;
|
|
205
|
+
}
|
|
206
|
+
export type LeaseOperatingBudgetLineField = "wellId" | "month" | "budgetUsd" | "category" | "accountCode" | "sourceId" | "notes";
|
|
207
|
+
export type LeaseOperatingBudgetLineFieldMapping = Partial<Record<LeaseOperatingBudgetLineField, CsvFieldSelector>>;
|
|
208
|
+
export interface LeaseOperatingBudgetImportOptions {
|
|
209
|
+
fieldMapping?: LeaseOperatingBudgetLineFieldMapping;
|
|
210
|
+
categoryMap?: LeaseOperatingCategoryMap;
|
|
211
|
+
defaults?: Partial<LeaseOperatingBudgetLine>;
|
|
212
|
+
generatedAt?: string;
|
|
213
|
+
}
|
|
214
|
+
export interface LeaseOperatingStatementReviewInput {
|
|
215
|
+
runDir: string;
|
|
216
|
+
productionDataset?: unknown;
|
|
217
|
+
productionPath?: string;
|
|
218
|
+
normalizedProduction?: unknown;
|
|
219
|
+
normalizedProductionPath?: string;
|
|
220
|
+
statement?: unknown;
|
|
221
|
+
statementPath?: string;
|
|
222
|
+
budget?: unknown;
|
|
223
|
+
budgetPath?: string;
|
|
224
|
+
categoryMap?: LeaseOperatingCategoryMap;
|
|
225
|
+
generatedAt?: string;
|
|
226
|
+
costPerBoeWarnUsd?: number;
|
|
227
|
+
costPerBoeFailUsd?: number;
|
|
228
|
+
loePerBoeWarnUsd?: number;
|
|
229
|
+
loePerBoeFailUsd?: number;
|
|
230
|
+
waterHandlingPerWaterBblWarnUsd?: number;
|
|
231
|
+
budgetVarianceWarnUsd?: number;
|
|
232
|
+
budgetVarianceWarnFraction?: number;
|
|
233
|
+
}
|
|
234
|
+
export interface LeaseOperatingStatementReviewItem {
|
|
235
|
+
severity: "info" | "warning" | "error";
|
|
236
|
+
code: string;
|
|
237
|
+
message: string;
|
|
238
|
+
wellId?: string;
|
|
239
|
+
month?: string;
|
|
240
|
+
accountCode?: string;
|
|
241
|
+
amountUsd?: number;
|
|
242
|
+
costPerBoeUsd?: number;
|
|
243
|
+
varianceUsd?: number;
|
|
244
|
+
varianceFraction?: number;
|
|
245
|
+
}
|
|
246
|
+
export interface LeaseOperatingStatementMonthlyReview {
|
|
247
|
+
wellId: string;
|
|
248
|
+
month: string;
|
|
249
|
+
boe: number;
|
|
250
|
+
oilBbl: number;
|
|
251
|
+
gasMcf: number;
|
|
252
|
+
waterBbl: number;
|
|
253
|
+
costUsd: number;
|
|
254
|
+
loeUsd: number;
|
|
255
|
+
capexUsd: number;
|
|
256
|
+
categoryCostsUsd: Record<LeaseOperatingCostCategory, number>;
|
|
257
|
+
lineCount: number;
|
|
258
|
+
costPerBoeUsd?: number;
|
|
259
|
+
loePerBoeUsd?: number;
|
|
260
|
+
waterHandlingCostPerWaterBblUsd?: number;
|
|
261
|
+
budgetUsd?: number;
|
|
262
|
+
varianceUsd?: number;
|
|
263
|
+
varianceFraction?: number;
|
|
264
|
+
status: "pass" | "warn" | "fail";
|
|
265
|
+
flags: string[];
|
|
266
|
+
}
|
|
267
|
+
export interface LeaseOperatingStatementCategorySummary {
|
|
268
|
+
category: LeaseOperatingCostCategory;
|
|
269
|
+
lineCount: number;
|
|
270
|
+
amountUsd: number;
|
|
271
|
+
percentOfTotalCost: number;
|
|
272
|
+
}
|
|
273
|
+
export interface LeaseOperatingStatementReviewArtifacts {
|
|
274
|
+
normalizedProductionJson: string;
|
|
275
|
+
reviewJson: string;
|
|
276
|
+
reviewMarkdown: string;
|
|
277
|
+
reviewQueueJson: string;
|
|
278
|
+
}
|
|
279
|
+
export interface LeaseOperatingStatementReviewResult {
|
|
280
|
+
schema: "autocontext-oil-gas-core/lease-operating-statement-review/v1";
|
|
281
|
+
runDir: string;
|
|
282
|
+
generatedAt: string;
|
|
283
|
+
status: "pass" | "warn" | "fail";
|
|
284
|
+
summary: {
|
|
285
|
+
wellCount: number;
|
|
286
|
+
monthCount: number;
|
|
287
|
+
costLineCount: number;
|
|
288
|
+
totalCostUsd: number;
|
|
289
|
+
totalLoeUsd: number;
|
|
290
|
+
totalCapexUsd: number;
|
|
291
|
+
totalBoe: number;
|
|
292
|
+
averageCostPerBoeUsd?: number;
|
|
293
|
+
highCostPerBoeWellMonthCount: number;
|
|
294
|
+
budgetVarianceCount: number;
|
|
295
|
+
missingProductionCostLineCount: number;
|
|
296
|
+
reviewQueueItemCount: number;
|
|
297
|
+
topCostWellId?: string;
|
|
298
|
+
topCostMonth?: string;
|
|
299
|
+
};
|
|
300
|
+
thresholds: Required<Pick<LeaseOperatingStatementReviewInput, "costPerBoeWarnUsd" | "costPerBoeFailUsd" | "loePerBoeWarnUsd" | "loePerBoeFailUsd" | "waterHandlingPerWaterBblWarnUsd" | "budgetVarianceWarnUsd" | "budgetVarianceWarnFraction">>;
|
|
301
|
+
normalizedProduction: NormalizedProductionDataset;
|
|
302
|
+
statement: LeaseOperatingStatement;
|
|
303
|
+
budget?: LeaseOperatingBudget;
|
|
304
|
+
monthly: LeaseOperatingStatementMonthlyReview[];
|
|
305
|
+
categorySummary: LeaseOperatingStatementCategorySummary[];
|
|
306
|
+
reviewQueue: LeaseOperatingStatementReviewItem[];
|
|
307
|
+
artifacts: LeaseOperatingStatementReviewArtifacts;
|
|
308
|
+
}
|
|
309
|
+
export declare function parseLeaseOperatingStatement(input: unknown): LeaseOperatingStatement;
|
|
310
|
+
export declare function parseLeaseOperatingBudget(input: unknown): LeaseOperatingBudget;
|
|
311
|
+
export declare function parseLeaseOperatingCategoryMap(value: unknown): LeaseOperatingCategoryMap;
|
|
312
|
+
export declare function applyLeaseOperatingStatementCategoryMap(statement: LeaseOperatingStatement, categoryMap: LeaseOperatingCategoryMap | undefined): LeaseOperatingStatement;
|
|
313
|
+
export declare function applyLeaseOperatingBudgetCategoryMap(budget: LeaseOperatingBudget, categoryMap: LeaseOperatingCategoryMap | undefined): LeaseOperatingBudget;
|
|
314
|
+
export declare function mapLeaseOperatingStatementLine(rowValue: Record<string, unknown>, options?: LeaseOperatingStatementImportOptions): LeaseOperatingStatementLine;
|
|
315
|
+
export declare function parseLeaseOperatingStatementCsv(csv: string, options?: LeaseOperatingStatementImportOptions): LeaseOperatingStatement;
|
|
316
|
+
export declare function loadLeaseOperatingStatementFromFile(path: string, options?: LeaseOperatingStatementImportOptions): Promise<LeaseOperatingStatement>;
|
|
317
|
+
export declare function mapLeaseOperatingBudgetLine(rowValue: Record<string, unknown>, options?: LeaseOperatingBudgetImportOptions): LeaseOperatingBudgetLine;
|
|
318
|
+
export declare function parseLeaseOperatingBudgetCsv(csv: string, options?: LeaseOperatingBudgetImportOptions): LeaseOperatingBudget;
|
|
319
|
+
export declare function loadLeaseOperatingBudgetFromFile(path: string, options?: LeaseOperatingBudgetImportOptions): Promise<LeaseOperatingBudget>;
|
|
320
|
+
export declare function runLeaseOperatingStatementReview(input: LeaseOperatingStatementReviewInput): Promise<LeaseOperatingStatementReviewResult>;
|
|
321
|
+
export {};
|
|
322
|
+
//# sourceMappingURL=accounting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounting.d.ts","sourceRoot":"","sources":["../src/accounting.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAA6D,KAAK,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3H,MAAM,MAAM,0BAA0B,GAAG,KAAK,GAAG,gBAAgB,GAAG,UAAU,GAAG,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAC5I,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC;AAInF,QAAA,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrC,CAAC;AAEH,QAAA,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAC;AAEH,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEH,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM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