@empressaio/atom-contract 1.7.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.
Files changed (251) hide show
  1. package/CHANGELOG.md +360 -0
  2. package/README.md +379 -0
  3. package/dist/composition.d.ts +112 -0
  4. package/dist/composition.d.ts.map +1 -0
  5. package/dist/composition.js +80 -0
  6. package/dist/composition.js.map +1 -0
  7. package/dist/conformance/common.d.ts +21 -0
  8. package/dist/conformance/common.d.ts.map +1 -0
  9. package/dist/conformance/common.js +29 -0
  10. package/dist/conformance/common.js.map +1 -0
  11. package/dist/conformance/fixtures.d.ts +13 -0
  12. package/dist/conformance/fixtures.d.ts.map +1 -0
  13. package/dist/conformance/fixtures.js +63 -0
  14. package/dist/conformance/fixtures.js.map +1 -0
  15. package/dist/conformance/index.d.ts +11 -0
  16. package/dist/conformance/index.d.ts.map +1 -0
  17. package/dist/conformance/index.js +11 -0
  18. package/dist/conformance/index.js.map +1 -0
  19. package/dist/conformance/validate.d.ts +49 -0
  20. package/dist/conformance/validate.d.ts.map +1 -0
  21. package/dist/conformance/validate.js +138 -0
  22. package/dist/conformance/validate.js.map +1 -0
  23. package/dist/conformance/verify-chain.d.ts +25 -0
  24. package/dist/conformance/verify-chain.d.ts.map +1 -0
  25. package/dist/conformance/verify-chain.js +76 -0
  26. package/dist/conformance/verify-chain.js.map +1 -0
  27. package/dist/context.d.ts +134 -0
  28. package/dist/context.d.ts.map +1 -0
  29. package/dist/context.js +110 -0
  30. package/dist/context.js.map +1 -0
  31. package/dist/encumbrances/administrative-rule.d.ts +128 -0
  32. package/dist/encumbrances/administrative-rule.d.ts.map +1 -0
  33. package/dist/encumbrances/administrative-rule.js +18 -0
  34. package/dist/encumbrances/administrative-rule.js.map +1 -0
  35. package/dist/encumbrances/common.d.ts +153 -0
  36. package/dist/encumbrances/common.d.ts.map +1 -0
  37. package/dist/encumbrances/common.js +124 -0
  38. package/dist/encumbrances/common.js.map +1 -0
  39. package/dist/encumbrances/constraint-resolution.d.ts +169 -0
  40. package/dist/encumbrances/constraint-resolution.d.ts.map +1 -0
  41. package/dist/encumbrances/constraint-resolution.js +41 -0
  42. package/dist/encumbrances/constraint-resolution.js.map +1 -0
  43. package/dist/encumbrances/fixtures.d.ts +16 -0
  44. package/dist/encumbrances/fixtures.d.ts.map +1 -0
  45. package/dist/encumbrances/fixtures.js +107 -0
  46. package/dist/encumbrances/fixtures.js.map +1 -0
  47. package/dist/encumbrances/index.d.ts +15 -0
  48. package/dist/encumbrances/index.d.ts.map +1 -0
  49. package/dist/encumbrances/index.js +15 -0
  50. package/dist/encumbrances/index.js.map +1 -0
  51. package/dist/encumbrances/recorded-instrument.d.ts +131 -0
  52. package/dist/encumbrances/recorded-instrument.d.ts.map +1 -0
  53. package/dist/encumbrances/recorded-instrument.js +19 -0
  54. package/dist/encumbrances/recorded-instrument.js.map +1 -0
  55. package/dist/encumbrances/restriction-clause.d.ts +120 -0
  56. package/dist/encumbrances/restriction-clause.d.ts.map +1 -0
  57. package/dist/encumbrances/restriction-clause.js +17 -0
  58. package/dist/encumbrances/restriction-clause.js.map +1 -0
  59. package/dist/encumbrances/restriction-corpus.d.ts +44 -0
  60. package/dist/encumbrances/restriction-corpus.d.ts.map +1 -0
  61. package/dist/encumbrances/restriction-corpus.js +14 -0
  62. package/dist/encumbrances/restriction-corpus.js.map +1 -0
  63. package/dist/export/downloadable-atom.d.ts +133 -0
  64. package/dist/export/downloadable-atom.d.ts.map +1 -0
  65. package/dist/export/downloadable-atom.js +115 -0
  66. package/dist/export/downloadable-atom.js.map +1 -0
  67. package/dist/export/index.d.ts +6 -0
  68. package/dist/export/index.d.ts.map +1 -0
  69. package/dist/export/index.js +6 -0
  70. package/dist/export/index.js.map +1 -0
  71. package/dist/history.d.ts +124 -0
  72. package/dist/history.d.ts.map +1 -0
  73. package/dist/history.js +170 -0
  74. package/dist/history.js.map +1 -0
  75. package/dist/index.d.ts +29 -0
  76. package/dist/index.d.ts.map +1 -0
  77. package/dist/index.js +20 -0
  78. package/dist/index.js.map +1 -0
  79. package/dist/inline-reference.d.ts +60 -0
  80. package/dist/inline-reference.d.ts.map +1 -0
  81. package/dist/inline-reference.js +73 -0
  82. package/dist/inline-reference.js.map +1 -0
  83. package/dist/obligation.d.ts +131 -0
  84. package/dist/obligation.d.ts.map +1 -0
  85. package/dist/obligation.js +55 -0
  86. package/dist/obligation.js.map +1 -0
  87. package/dist/og/common.d.ts +253 -0
  88. package/dist/og/common.d.ts.map +1 -0
  89. package/dist/og/common.js +195 -0
  90. package/dist/og/common.js.map +1 -0
  91. package/dist/og/completion.d.ts +70 -0
  92. package/dist/og/completion.d.ts.map +1 -0
  93. package/dist/og/completion.js +22 -0
  94. package/dist/og/completion.js.map +1 -0
  95. package/dist/og/equipment-state.d.ts +55 -0
  96. package/dist/og/equipment-state.d.ts.map +1 -0
  97. package/dist/og/equipment-state.js +25 -0
  98. package/dist/og/equipment-state.js.map +1 -0
  99. package/dist/og/fixtures.d.ts +40 -0
  100. package/dist/og/fixtures.d.ts.map +1 -0
  101. package/dist/og/fixtures.js +255 -0
  102. package/dist/og/fixtures.js.map +1 -0
  103. package/dist/og/index.d.ts +23 -0
  104. package/dist/og/index.d.ts.map +1 -0
  105. package/dist/og/index.js +23 -0
  106. package/dist/og/index.js.map +1 -0
  107. package/dist/og/mineral-lease.d.ts +150 -0
  108. package/dist/og/mineral-lease.d.ts.map +1 -0
  109. package/dist/og/mineral-lease.js +24 -0
  110. package/dist/og/mineral-lease.js.map +1 -0
  111. package/dist/og/ownership-interest.d.ts +163 -0
  112. package/dist/og/ownership-interest.d.ts.map +1 -0
  113. package/dist/og/ownership-interest.js +36 -0
  114. package/dist/og/ownership-interest.js.map +1 -0
  115. package/dist/og/pad.d.ts +101 -0
  116. package/dist/og/pad.d.ts.map +1 -0
  117. package/dist/og/pad.js +19 -0
  118. package/dist/og/pad.js.map +1 -0
  119. package/dist/og/production-timeseries.d.ts +154 -0
  120. package/dist/og/production-timeseries.d.ts.map +1 -0
  121. package/dist/og/production-timeseries.js +37 -0
  122. package/dist/og/production-timeseries.js.map +1 -0
  123. package/dist/og/revenue-allocation-unit.d.ts +762 -0
  124. package/dist/og/revenue-allocation-unit.d.ts.map +1 -0
  125. package/dist/og/revenue-allocation-unit.js +105 -0
  126. package/dist/og/revenue-allocation-unit.js.map +1 -0
  127. package/dist/og/rrc-lease.d.ts +124 -0
  128. package/dist/og/rrc-lease.d.ts.map +1 -0
  129. package/dist/og/rrc-lease.js +29 -0
  130. package/dist/og/rrc-lease.js.map +1 -0
  131. package/dist/og/tract.d.ts +88 -0
  132. package/dist/og/tract.d.ts.map +1 -0
  133. package/dist/og/tract.js +30 -0
  134. package/dist/og/tract.js.map +1 -0
  135. package/dist/og/well.d.ts +201 -0
  136. package/dist/og/well.d.ts.map +1 -0
  137. package/dist/og/well.js +40 -0
  138. package/dist/og/well.js.map +1 -0
  139. package/dist/og/wellbore.d.ts +61 -0
  140. package/dist/og/wellbore.d.ts.map +1 -0
  141. package/dist/og/wellbore.js +25 -0
  142. package/dist/og/wellbore.js.map +1 -0
  143. package/dist/og/zone.d.ts +45 -0
  144. package/dist/og/zone.d.ts.map +1 -0
  145. package/dist/og/zone.js +16 -0
  146. package/dist/og/zone.js.map +1 -0
  147. package/dist/read-contract/common.d.ts +74 -0
  148. package/dist/read-contract/common.d.ts.map +1 -0
  149. package/dist/read-contract/common.js +54 -0
  150. package/dist/read-contract/common.js.map +1 -0
  151. package/dist/read-contract/consequence.d.ts +99 -0
  152. package/dist/read-contract/consequence.d.ts.map +1 -0
  153. package/dist/read-contract/consequence.js +46 -0
  154. package/dist/read-contract/consequence.js.map +1 -0
  155. package/dist/read-contract/fixtures.d.ts +8 -0
  156. package/dist/read-contract/fixtures.d.ts.map +1 -0
  157. package/dist/read-contract/fixtures.js +44 -0
  158. package/dist/read-contract/fixtures.js.map +1 -0
  159. package/dist/read-contract/index.d.ts +14 -0
  160. package/dist/read-contract/index.d.ts.map +1 -0
  161. package/dist/read-contract/index.js +14 -0
  162. package/dist/read-contract/index.js.map +1 -0
  163. package/dist/read-contract/model-attribution.d.ts +85 -0
  164. package/dist/read-contract/model-attribution.d.ts.map +1 -0
  165. package/dist/read-contract/model-attribution.js +30 -0
  166. package/dist/read-contract/model-attribution.js.map +1 -0
  167. package/dist/read-contract/read-contract.d.ts +455 -0
  168. package/dist/read-contract/read-contract.d.ts.map +1 -0
  169. package/dist/read-contract/read-contract.js +46 -0
  170. package/dist/read-contract/read-contract.js.map +1 -0
  171. package/dist/registration.d.ts +192 -0
  172. package/dist/registration.d.ts.map +1 -0
  173. package/dist/registration.js +15 -0
  174. package/dist/registration.js.map +1 -0
  175. package/dist/registry.d.ts +128 -0
  176. package/dist/registry.d.ts.map +1 -0
  177. package/dist/registry.js +122 -0
  178. package/dist/registry.js.map +1 -0
  179. package/dist/render.d.ts +30 -0
  180. package/dist/render.d.ts.map +1 -0
  181. package/dist/render.js +44 -0
  182. package/dist/render.js.map +1 -0
  183. package/dist/scope.d.ts +46 -0
  184. package/dist/scope.d.ts.map +1 -0
  185. package/dist/scope.js +17 -0
  186. package/dist/scope.js.map +1 -0
  187. package/dist/temporal/anticipatory-atom.d.ts +123 -0
  188. package/dist/temporal/anticipatory-atom.d.ts.map +1 -0
  189. package/dist/temporal/anticipatory-atom.js +124 -0
  190. package/dist/temporal/anticipatory-atom.js.map +1 -0
  191. package/dist/temporal/common.d.ts +47 -0
  192. package/dist/temporal/common.d.ts.map +1 -0
  193. package/dist/temporal/common.js +100 -0
  194. package/dist/temporal/common.js.map +1 -0
  195. package/dist/temporal/fixtures.d.ts +7 -0
  196. package/dist/temporal/fixtures.d.ts.map +1 -0
  197. package/dist/temporal/fixtures.js +21 -0
  198. package/dist/temporal/fixtures.js.map +1 -0
  199. package/dist/temporal/index.d.ts +13 -0
  200. package/dist/temporal/index.d.ts.map +1 -0
  201. package/dist/temporal/index.js +13 -0
  202. package/dist/temporal/index.js.map +1 -0
  203. package/dist/temporal/interval-query.d.ts +42 -0
  204. package/dist/temporal/interval-query.d.ts.map +1 -0
  205. package/dist/temporal/interval-query.js +49 -0
  206. package/dist/temporal/interval-query.js.map +1 -0
  207. package/dist/temporal/node-id.d.ts +112 -0
  208. package/dist/temporal/node-id.d.ts.map +1 -0
  209. package/dist/temporal/node-id.js +208 -0
  210. package/dist/temporal/node-id.js.map +1 -0
  211. package/dist/temporal/would-affect-edge.d.ts +66 -0
  212. package/dist/temporal/would-affect-edge.d.ts.map +1 -0
  213. package/dist/temporal/would-affect-edge.js +113 -0
  214. package/dist/temporal/would-affect-edge.js.map +1 -0
  215. package/dist/testing/index.d.ts +98 -0
  216. package/dist/testing/index.d.ts.map +1 -0
  217. package/dist/testing/index.js +225 -0
  218. package/dist/testing/index.js.map +1 -0
  219. package/dist/vda.d.ts +46 -0
  220. package/dist/vda.d.ts.map +1 -0
  221. package/dist/vda.js +42 -0
  222. package/dist/vda.js.map +1 -0
  223. package/dist/workspace/brief-run.d.ts +104 -0
  224. package/dist/workspace/brief-run.d.ts.map +1 -0
  225. package/dist/workspace/brief-run.js +32 -0
  226. package/dist/workspace/brief-run.js.map +1 -0
  227. package/dist/workspace/common.d.ts +42 -0
  228. package/dist/workspace/common.d.ts.map +1 -0
  229. package/dist/workspace/common.js +26 -0
  230. package/dist/workspace/common.js.map +1 -0
  231. package/dist/workspace/fixtures.d.ts +10 -0
  232. package/dist/workspace/fixtures.d.ts.map +1 -0
  233. package/dist/workspace/fixtures.js +93 -0
  234. package/dist/workspace/fixtures.js.map +1 -0
  235. package/dist/workspace/index.d.ts +13 -0
  236. package/dist/workspace/index.d.ts.map +1 -0
  237. package/dist/workspace/index.js +13 -0
  238. package/dist/workspace/index.js.map +1 -0
  239. package/dist/workspace/property-workspace.d.ts +148 -0
  240. package/dist/workspace/property-workspace.d.ts.map +1 -0
  241. package/dist/workspace/property-workspace.js +21 -0
  242. package/dist/workspace/property-workspace.js.map +1 -0
  243. package/dist/workspace/workspace-attachment.d.ts +99 -0
  244. package/dist/workspace/workspace-attachment.d.ts.map +1 -0
  245. package/dist/workspace/workspace-attachment.js +35 -0
  246. package/dist/workspace/workspace-attachment.js.map +1 -0
  247. package/dist/workspace/workspace-share-edge.d.ts +115 -0
  248. package/dist/workspace/workspace-share-edge.d.ts.map +1 -0
  249. package/dist/workspace/workspace-share-edge.js +22 -0
  250. package/dist/workspace/workspace-share-edge.js.map +1 -0
  251. package/package.json +107 -0
@@ -0,0 +1,762 @@
1
+ import { z } from "zod";
2
+ import type { AccessPolicy } from "../registration.js";
3
+ import { type WidthedConfidence } from "../read-contract/common.js";
4
+ /**
5
+ * Allocation method for tract participation factors. Per ADR-025 Herbert review,
6
+ * the method is operator-asserted and must be tagged on every factor — no bare
7
+ * factors without method + source are representable.
8
+ */
9
+ export type AllocationMethod = "stated-fraction" | "acreage" | "lateral-length" | "take-points" | "acre-feet" | "oil-in-place" | "other";
10
+ export declare const ALLOCATION_METHODS: ReadonlyArray<AllocationMethod>;
11
+ /**
12
+ * Unit basis discriminator: pooled-unit (county instruments), allocation-well
13
+ * (RRC plat), or psa (pooling and spacing agreement).
14
+ */
15
+ export type UnitBasis = "pooled-unit" | "allocation-well" | "psa";
16
+ export declare const UNIT_BASES: ReadonlyArray<UnitBasis>;
17
+ /**
18
+ * Tract participation entry carrying operator-asserted factor, allocation
19
+ * method, and source. Per ADR-025, the schema must NOT allow a bare factor
20
+ * without allocationMethod + source.
21
+ */
22
+ export interface TractParticipation {
23
+ tractDid: string;
24
+ factor: number;
25
+ allocationMethod: AllocationMethod;
26
+ source: string;
27
+ confidence: WidthedConfidence;
28
+ /** For allocation-well basis: take points on this tract */
29
+ takePoints?: number;
30
+ /** For allocation-well basis: productive lateral footage on this tract */
31
+ productiveLateralFootage?: number;
32
+ }
33
+ export declare const TRACT_PARTICIPATION_SCHEMA: z.ZodObject<{
34
+ tractDid: z.ZodString;
35
+ factor: z.ZodNumber;
36
+ allocationMethod: z.ZodEnum<[AllocationMethod, ...AllocationMethod[]]>;
37
+ source: z.ZodString;
38
+ confidence: z.ZodReadonly<z.ZodObject<{
39
+ readonly estimate: z.ZodNumber;
40
+ readonly n: z.ZodNumber;
41
+ readonly intervalWidth: z.ZodNumber;
42
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ estimate: number;
45
+ n: number;
46
+ intervalWidth: number;
47
+ provenance: "asserted" | "backtest" | "seed" | "live";
48
+ }, {
49
+ estimate: number;
50
+ n: number;
51
+ intervalWidth: number;
52
+ provenance: "asserted" | "backtest" | "seed" | "live";
53
+ }>>;
54
+ takePoints: z.ZodOptional<z.ZodNumber>;
55
+ productiveLateralFootage: z.ZodOptional<z.ZodNumber>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ confidence: Readonly<{
58
+ estimate: number;
59
+ n: number;
60
+ intervalWidth: number;
61
+ provenance: "asserted" | "backtest" | "seed" | "live";
62
+ }>;
63
+ source: string;
64
+ tractDid: string;
65
+ factor: number;
66
+ allocationMethod: AllocationMethod;
67
+ takePoints?: number | undefined;
68
+ productiveLateralFootage?: number | undefined;
69
+ }, {
70
+ confidence: Readonly<{
71
+ estimate: number;
72
+ n: number;
73
+ intervalWidth: number;
74
+ provenance: "asserted" | "backtest" | "seed" | "live";
75
+ }>;
76
+ source: string;
77
+ tractDid: string;
78
+ factor: number;
79
+ allocationMethod: AllocationMethod;
80
+ takePoints?: number | undefined;
81
+ productiveLateralFootage?: number | undefined;
82
+ }>;
83
+ /**
84
+ * Per-tract ratification gap for pooled-unit basis. Mirrors the gaps[] pattern
85
+ * on ownership-interest: ratifications are load-bearing (pooling often not
86
+ * binding until ratified), so the model renders gaps as gaps rather than
87
+ * asserting clean coverage over a broken record.
88
+ */
89
+ export interface RatificationGap {
90
+ tractDid: string;
91
+ gapDescription: string;
92
+ }
93
+ export declare const RATIFICATION_GAP_SCHEMA: z.ZodObject<{
94
+ tractDid: z.ZodString;
95
+ gapDescription: z.ZodString;
96
+ }, "strip", z.ZodTypeAny, {
97
+ tractDid: string;
98
+ gapDescription: string;
99
+ }, {
100
+ tractDid: string;
101
+ gapDescription: string;
102
+ }>;
103
+ /**
104
+ * Revenue-allocation-unit atom instance per ADR-025 Herbert review
105
+ * (2026-07-06). One first-class object with two source adapters (pooled-unit
106
+ * from county instruments; allocation-well from RRC plat), discriminated by
107
+ * `basis`. Defines how production revenue allocates across tracts for a well
108
+ * or well set.
109
+ *
110
+ * Per ADR-025: "The DOI is derived, never source." Computed owner decimals
111
+ * (allocation factor × NMI × lease royalty) are engine-run outputs
112
+ * (procedure-execution). Obtained operator DOIs / signed division orders enter
113
+ * as external assertions linked by a `reconciles-with` edge to the computed
114
+ * value; discrepancies surface as disputes, never silent overwrites.
115
+ *
116
+ * DID format: unit_<hash> (hashed derivation from source, externalId).
117
+ */
118
+ export interface RevenueAllocationUnitAtomInstance {
119
+ entityType: "revenue-allocation-unit";
120
+ unitDid: string;
121
+ basis: UnitBasis;
122
+ wellDids: ReadonlyArray<string>;
123
+ operatorActorDid: string;
124
+ effectiveFrom: string;
125
+ effectiveTo?: string;
126
+ tractParticipations: ReadonlyArray<TractParticipation>;
127
+ sourceInstrumentDids?: ReadonlyArray<string>;
128
+ ratificationInstrumentDids?: ReadonlyArray<string>;
129
+ ratificationGaps?: ReadonlyArray<RatificationGap>;
130
+ sourcePlatCid?: string;
131
+ sourceNote?: string;
132
+ sourceCitation: string;
133
+ extractedAt: string;
134
+ asOf?: string;
135
+ accessPolicy: AccessPolicy;
136
+ }
137
+ /**
138
+ * Revenue-allocation-unit schema with discriminated union on basis. Each basis
139
+ * variant enforces its required fields; for example, pooled-unit requires
140
+ * sourceInstrumentDids, allocation-well requires sourcePlatCid.
141
+ * PSA basis requires either sourceInstrumentDids or sourceNote (validated post-parse).
142
+ */
143
+ export declare const REVENUE_ALLOCATION_UNIT_SCHEMA: z.ZodEffects<z.ZodDiscriminatedUnion<"basis", [z.ZodObject<{
144
+ accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
145
+ sourceCitation: z.ZodString;
146
+ extractedAt: z.ZodString;
147
+ asOf: z.ZodOptional<z.ZodString>;
148
+ entityType: z.ZodLiteral<"revenue-allocation-unit">;
149
+ unitDid: z.ZodEffects<z.ZodString, string, string>;
150
+ wellDids: z.ZodArray<z.ZodString, "many">;
151
+ operatorActorDid: z.ZodString;
152
+ effectiveFrom: z.ZodString;
153
+ effectiveTo: z.ZodOptional<z.ZodString>;
154
+ tractParticipations: z.ZodArray<z.ZodObject<{
155
+ tractDid: z.ZodString;
156
+ factor: z.ZodNumber;
157
+ allocationMethod: z.ZodEnum<[AllocationMethod, ...AllocationMethod[]]>;
158
+ source: z.ZodString;
159
+ confidence: z.ZodReadonly<z.ZodObject<{
160
+ readonly estimate: z.ZodNumber;
161
+ readonly n: z.ZodNumber;
162
+ readonly intervalWidth: z.ZodNumber;
163
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ estimate: number;
166
+ n: number;
167
+ intervalWidth: number;
168
+ provenance: "asserted" | "backtest" | "seed" | "live";
169
+ }, {
170
+ estimate: number;
171
+ n: number;
172
+ intervalWidth: number;
173
+ provenance: "asserted" | "backtest" | "seed" | "live";
174
+ }>>;
175
+ takePoints: z.ZodOptional<z.ZodNumber>;
176
+ productiveLateralFootage: z.ZodOptional<z.ZodNumber>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ confidence: Readonly<{
179
+ estimate: number;
180
+ n: number;
181
+ intervalWidth: number;
182
+ provenance: "asserted" | "backtest" | "seed" | "live";
183
+ }>;
184
+ source: string;
185
+ tractDid: string;
186
+ factor: number;
187
+ allocationMethod: AllocationMethod;
188
+ takePoints?: number | undefined;
189
+ productiveLateralFootage?: number | undefined;
190
+ }, {
191
+ confidence: Readonly<{
192
+ estimate: number;
193
+ n: number;
194
+ intervalWidth: number;
195
+ provenance: "asserted" | "backtest" | "seed" | "live";
196
+ }>;
197
+ source: string;
198
+ tractDid: string;
199
+ factor: number;
200
+ allocationMethod: AllocationMethod;
201
+ takePoints?: number | undefined;
202
+ productiveLateralFootage?: number | undefined;
203
+ }>, "many">;
204
+ } & {
205
+ basis: z.ZodLiteral<"pooled-unit">;
206
+ sourceInstrumentDids: z.ZodArray<z.ZodString, "many">;
207
+ ratificationInstrumentDids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
208
+ ratificationGaps: z.ZodOptional<z.ZodArray<z.ZodObject<{
209
+ tractDid: z.ZodString;
210
+ gapDescription: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ tractDid: string;
213
+ gapDescription: string;
214
+ }, {
215
+ tractDid: string;
216
+ gapDescription: string;
217
+ }>, "many">>;
218
+ sourcePlatCid: z.ZodUndefined;
219
+ sourceNote: z.ZodUndefined;
220
+ }, "strip", z.ZodTypeAny, {
221
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
222
+ entityType: "revenue-allocation-unit";
223
+ sourceCitation: string;
224
+ extractedAt: string;
225
+ basis: "pooled-unit";
226
+ wellDids: string[];
227
+ operatorActorDid: string;
228
+ effectiveFrom: string;
229
+ unitDid: string;
230
+ tractParticipations: {
231
+ confidence: Readonly<{
232
+ estimate: number;
233
+ n: number;
234
+ intervalWidth: number;
235
+ provenance: "asserted" | "backtest" | "seed" | "live";
236
+ }>;
237
+ source: string;
238
+ tractDid: string;
239
+ factor: number;
240
+ allocationMethod: AllocationMethod;
241
+ takePoints?: number | undefined;
242
+ productiveLateralFootage?: number | undefined;
243
+ }[];
244
+ sourceInstrumentDids: string[];
245
+ asOf?: string | undefined;
246
+ effectiveTo?: string | undefined;
247
+ ratificationInstrumentDids?: string[] | undefined;
248
+ ratificationGaps?: {
249
+ tractDid: string;
250
+ gapDescription: string;
251
+ }[] | undefined;
252
+ sourcePlatCid?: undefined;
253
+ sourceNote?: undefined;
254
+ }, {
255
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
256
+ entityType: "revenue-allocation-unit";
257
+ sourceCitation: string;
258
+ extractedAt: string;
259
+ basis: "pooled-unit";
260
+ wellDids: string[];
261
+ operatorActorDid: string;
262
+ effectiveFrom: string;
263
+ unitDid: string;
264
+ tractParticipations: {
265
+ confidence: Readonly<{
266
+ estimate: number;
267
+ n: number;
268
+ intervalWidth: number;
269
+ provenance: "asserted" | "backtest" | "seed" | "live";
270
+ }>;
271
+ source: string;
272
+ tractDid: string;
273
+ factor: number;
274
+ allocationMethod: AllocationMethod;
275
+ takePoints?: number | undefined;
276
+ productiveLateralFootage?: number | undefined;
277
+ }[];
278
+ sourceInstrumentDids: string[];
279
+ asOf?: string | undefined;
280
+ effectiveTo?: string | undefined;
281
+ ratificationInstrumentDids?: string[] | undefined;
282
+ ratificationGaps?: {
283
+ tractDid: string;
284
+ gapDescription: string;
285
+ }[] | undefined;
286
+ sourcePlatCid?: undefined;
287
+ sourceNote?: undefined;
288
+ }>, z.ZodObject<{
289
+ accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
290
+ sourceCitation: z.ZodString;
291
+ extractedAt: z.ZodString;
292
+ asOf: z.ZodOptional<z.ZodString>;
293
+ entityType: z.ZodLiteral<"revenue-allocation-unit">;
294
+ unitDid: z.ZodEffects<z.ZodString, string, string>;
295
+ wellDids: z.ZodArray<z.ZodString, "many">;
296
+ operatorActorDid: z.ZodString;
297
+ effectiveFrom: z.ZodString;
298
+ effectiveTo: z.ZodOptional<z.ZodString>;
299
+ tractParticipations: z.ZodArray<z.ZodObject<{
300
+ tractDid: z.ZodString;
301
+ factor: z.ZodNumber;
302
+ allocationMethod: z.ZodEnum<[AllocationMethod, ...AllocationMethod[]]>;
303
+ source: z.ZodString;
304
+ confidence: z.ZodReadonly<z.ZodObject<{
305
+ readonly estimate: z.ZodNumber;
306
+ readonly n: z.ZodNumber;
307
+ readonly intervalWidth: z.ZodNumber;
308
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ estimate: number;
311
+ n: number;
312
+ intervalWidth: number;
313
+ provenance: "asserted" | "backtest" | "seed" | "live";
314
+ }, {
315
+ estimate: number;
316
+ n: number;
317
+ intervalWidth: number;
318
+ provenance: "asserted" | "backtest" | "seed" | "live";
319
+ }>>;
320
+ takePoints: z.ZodOptional<z.ZodNumber>;
321
+ productiveLateralFootage: z.ZodOptional<z.ZodNumber>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ confidence: Readonly<{
324
+ estimate: number;
325
+ n: number;
326
+ intervalWidth: number;
327
+ provenance: "asserted" | "backtest" | "seed" | "live";
328
+ }>;
329
+ source: string;
330
+ tractDid: string;
331
+ factor: number;
332
+ allocationMethod: AllocationMethod;
333
+ takePoints?: number | undefined;
334
+ productiveLateralFootage?: number | undefined;
335
+ }, {
336
+ confidence: Readonly<{
337
+ estimate: number;
338
+ n: number;
339
+ intervalWidth: number;
340
+ provenance: "asserted" | "backtest" | "seed" | "live";
341
+ }>;
342
+ source: string;
343
+ tractDid: string;
344
+ factor: number;
345
+ allocationMethod: AllocationMethod;
346
+ takePoints?: number | undefined;
347
+ productiveLateralFootage?: number | undefined;
348
+ }>, "many">;
349
+ } & {
350
+ basis: z.ZodLiteral<"allocation-well">;
351
+ sourcePlatCid: z.ZodString;
352
+ sourceInstrumentDids: z.ZodUndefined;
353
+ ratificationInstrumentDids: z.ZodUndefined;
354
+ ratificationGaps: z.ZodUndefined;
355
+ sourceNote: z.ZodUndefined;
356
+ }, "strip", z.ZodTypeAny, {
357
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
358
+ entityType: "revenue-allocation-unit";
359
+ sourceCitation: string;
360
+ extractedAt: string;
361
+ basis: "allocation-well";
362
+ wellDids: string[];
363
+ operatorActorDid: string;
364
+ effectiveFrom: string;
365
+ unitDid: string;
366
+ tractParticipations: {
367
+ confidence: Readonly<{
368
+ estimate: number;
369
+ n: number;
370
+ intervalWidth: number;
371
+ provenance: "asserted" | "backtest" | "seed" | "live";
372
+ }>;
373
+ source: string;
374
+ tractDid: string;
375
+ factor: number;
376
+ allocationMethod: AllocationMethod;
377
+ takePoints?: number | undefined;
378
+ productiveLateralFootage?: number | undefined;
379
+ }[];
380
+ sourcePlatCid: string;
381
+ asOf?: string | undefined;
382
+ effectiveTo?: string | undefined;
383
+ sourceInstrumentDids?: undefined;
384
+ ratificationInstrumentDids?: undefined;
385
+ ratificationGaps?: undefined;
386
+ sourceNote?: undefined;
387
+ }, {
388
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
389
+ entityType: "revenue-allocation-unit";
390
+ sourceCitation: string;
391
+ extractedAt: string;
392
+ basis: "allocation-well";
393
+ wellDids: string[];
394
+ operatorActorDid: string;
395
+ effectiveFrom: string;
396
+ unitDid: string;
397
+ tractParticipations: {
398
+ confidence: Readonly<{
399
+ estimate: number;
400
+ n: number;
401
+ intervalWidth: number;
402
+ provenance: "asserted" | "backtest" | "seed" | "live";
403
+ }>;
404
+ source: string;
405
+ tractDid: string;
406
+ factor: number;
407
+ allocationMethod: AllocationMethod;
408
+ takePoints?: number | undefined;
409
+ productiveLateralFootage?: number | undefined;
410
+ }[];
411
+ sourcePlatCid: string;
412
+ asOf?: string | undefined;
413
+ effectiveTo?: string | undefined;
414
+ sourceInstrumentDids?: undefined;
415
+ ratificationInstrumentDids?: undefined;
416
+ ratificationGaps?: undefined;
417
+ sourceNote?: undefined;
418
+ }>, z.ZodObject<{
419
+ accessPolicy: z.ZodEnum<["public-free", "public-paid", "platform-internal", "tenant-private", "tenant-shared"]>;
420
+ sourceCitation: z.ZodString;
421
+ extractedAt: z.ZodString;
422
+ asOf: z.ZodOptional<z.ZodString>;
423
+ entityType: z.ZodLiteral<"revenue-allocation-unit">;
424
+ unitDid: z.ZodEffects<z.ZodString, string, string>;
425
+ wellDids: z.ZodArray<z.ZodString, "many">;
426
+ operatorActorDid: z.ZodString;
427
+ effectiveFrom: z.ZodString;
428
+ effectiveTo: z.ZodOptional<z.ZodString>;
429
+ tractParticipations: z.ZodArray<z.ZodObject<{
430
+ tractDid: z.ZodString;
431
+ factor: z.ZodNumber;
432
+ allocationMethod: z.ZodEnum<[AllocationMethod, ...AllocationMethod[]]>;
433
+ source: z.ZodString;
434
+ confidence: z.ZodReadonly<z.ZodObject<{
435
+ readonly estimate: z.ZodNumber;
436
+ readonly n: z.ZodNumber;
437
+ readonly intervalWidth: z.ZodNumber;
438
+ readonly provenance: z.ZodEnum<["asserted", "backtest", "seed", "live"]>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ estimate: number;
441
+ n: number;
442
+ intervalWidth: number;
443
+ provenance: "asserted" | "backtest" | "seed" | "live";
444
+ }, {
445
+ estimate: number;
446
+ n: number;
447
+ intervalWidth: number;
448
+ provenance: "asserted" | "backtest" | "seed" | "live";
449
+ }>>;
450
+ takePoints: z.ZodOptional<z.ZodNumber>;
451
+ productiveLateralFootage: z.ZodOptional<z.ZodNumber>;
452
+ }, "strip", z.ZodTypeAny, {
453
+ confidence: Readonly<{
454
+ estimate: number;
455
+ n: number;
456
+ intervalWidth: number;
457
+ provenance: "asserted" | "backtest" | "seed" | "live";
458
+ }>;
459
+ source: string;
460
+ tractDid: string;
461
+ factor: number;
462
+ allocationMethod: AllocationMethod;
463
+ takePoints?: number | undefined;
464
+ productiveLateralFootage?: number | undefined;
465
+ }, {
466
+ confidence: Readonly<{
467
+ estimate: number;
468
+ n: number;
469
+ intervalWidth: number;
470
+ provenance: "asserted" | "backtest" | "seed" | "live";
471
+ }>;
472
+ source: string;
473
+ tractDid: string;
474
+ factor: number;
475
+ allocationMethod: AllocationMethod;
476
+ takePoints?: number | undefined;
477
+ productiveLateralFootage?: number | undefined;
478
+ }>, "many">;
479
+ } & {
480
+ basis: z.ZodLiteral<"psa">;
481
+ sourceInstrumentDids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
482
+ sourceNote: z.ZodOptional<z.ZodString>;
483
+ ratificationInstrumentDids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
484
+ ratificationGaps: z.ZodOptional<z.ZodArray<z.ZodObject<{
485
+ tractDid: z.ZodString;
486
+ gapDescription: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ tractDid: string;
489
+ gapDescription: string;
490
+ }, {
491
+ tractDid: string;
492
+ gapDescription: string;
493
+ }>, "many">>;
494
+ sourcePlatCid: z.ZodUndefined;
495
+ }, "strip", z.ZodTypeAny, {
496
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
497
+ entityType: "revenue-allocation-unit";
498
+ sourceCitation: string;
499
+ extractedAt: string;
500
+ basis: "psa";
501
+ wellDids: string[];
502
+ operatorActorDid: string;
503
+ effectiveFrom: string;
504
+ unitDid: string;
505
+ tractParticipations: {
506
+ confidence: Readonly<{
507
+ estimate: number;
508
+ n: number;
509
+ intervalWidth: number;
510
+ provenance: "asserted" | "backtest" | "seed" | "live";
511
+ }>;
512
+ source: string;
513
+ tractDid: string;
514
+ factor: number;
515
+ allocationMethod: AllocationMethod;
516
+ takePoints?: number | undefined;
517
+ productiveLateralFootage?: number | undefined;
518
+ }[];
519
+ asOf?: string | undefined;
520
+ effectiveTo?: string | undefined;
521
+ sourceInstrumentDids?: string[] | undefined;
522
+ ratificationInstrumentDids?: string[] | undefined;
523
+ ratificationGaps?: {
524
+ tractDid: string;
525
+ gapDescription: string;
526
+ }[] | undefined;
527
+ sourcePlatCid?: undefined;
528
+ sourceNote?: string | undefined;
529
+ }, {
530
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
531
+ entityType: "revenue-allocation-unit";
532
+ sourceCitation: string;
533
+ extractedAt: string;
534
+ basis: "psa";
535
+ wellDids: string[];
536
+ operatorActorDid: string;
537
+ effectiveFrom: string;
538
+ unitDid: string;
539
+ tractParticipations: {
540
+ confidence: Readonly<{
541
+ estimate: number;
542
+ n: number;
543
+ intervalWidth: number;
544
+ provenance: "asserted" | "backtest" | "seed" | "live";
545
+ }>;
546
+ source: string;
547
+ tractDid: string;
548
+ factor: number;
549
+ allocationMethod: AllocationMethod;
550
+ takePoints?: number | undefined;
551
+ productiveLateralFootage?: number | undefined;
552
+ }[];
553
+ asOf?: string | undefined;
554
+ effectiveTo?: string | undefined;
555
+ sourceInstrumentDids?: string[] | undefined;
556
+ ratificationInstrumentDids?: string[] | undefined;
557
+ ratificationGaps?: {
558
+ tractDid: string;
559
+ gapDescription: string;
560
+ }[] | undefined;
561
+ sourcePlatCid?: undefined;
562
+ sourceNote?: string | undefined;
563
+ }>]>, {
564
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
565
+ entityType: "revenue-allocation-unit";
566
+ sourceCitation: string;
567
+ extractedAt: string;
568
+ basis: "pooled-unit";
569
+ wellDids: string[];
570
+ operatorActorDid: string;
571
+ effectiveFrom: string;
572
+ unitDid: string;
573
+ tractParticipations: {
574
+ confidence: Readonly<{
575
+ estimate: number;
576
+ n: number;
577
+ intervalWidth: number;
578
+ provenance: "asserted" | "backtest" | "seed" | "live";
579
+ }>;
580
+ source: string;
581
+ tractDid: string;
582
+ factor: number;
583
+ allocationMethod: AllocationMethod;
584
+ takePoints?: number | undefined;
585
+ productiveLateralFootage?: number | undefined;
586
+ }[];
587
+ sourceInstrumentDids: string[];
588
+ asOf?: string | undefined;
589
+ effectiveTo?: string | undefined;
590
+ ratificationInstrumentDids?: string[] | undefined;
591
+ ratificationGaps?: {
592
+ tractDid: string;
593
+ gapDescription: string;
594
+ }[] | undefined;
595
+ sourcePlatCid?: undefined;
596
+ sourceNote?: undefined;
597
+ } | {
598
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
599
+ entityType: "revenue-allocation-unit";
600
+ sourceCitation: string;
601
+ extractedAt: string;
602
+ basis: "allocation-well";
603
+ wellDids: string[];
604
+ operatorActorDid: string;
605
+ effectiveFrom: string;
606
+ unitDid: string;
607
+ tractParticipations: {
608
+ confidence: Readonly<{
609
+ estimate: number;
610
+ n: number;
611
+ intervalWidth: number;
612
+ provenance: "asserted" | "backtest" | "seed" | "live";
613
+ }>;
614
+ source: string;
615
+ tractDid: string;
616
+ factor: number;
617
+ allocationMethod: AllocationMethod;
618
+ takePoints?: number | undefined;
619
+ productiveLateralFootage?: number | undefined;
620
+ }[];
621
+ sourcePlatCid: string;
622
+ asOf?: string | undefined;
623
+ effectiveTo?: string | undefined;
624
+ sourceInstrumentDids?: undefined;
625
+ ratificationInstrumentDids?: undefined;
626
+ ratificationGaps?: undefined;
627
+ sourceNote?: undefined;
628
+ } | {
629
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
630
+ entityType: "revenue-allocation-unit";
631
+ sourceCitation: string;
632
+ extractedAt: string;
633
+ basis: "psa";
634
+ wellDids: string[];
635
+ operatorActorDid: string;
636
+ effectiveFrom: string;
637
+ unitDid: string;
638
+ tractParticipations: {
639
+ confidence: Readonly<{
640
+ estimate: number;
641
+ n: number;
642
+ intervalWidth: number;
643
+ provenance: "asserted" | "backtest" | "seed" | "live";
644
+ }>;
645
+ source: string;
646
+ tractDid: string;
647
+ factor: number;
648
+ allocationMethod: AllocationMethod;
649
+ takePoints?: number | undefined;
650
+ productiveLateralFootage?: number | undefined;
651
+ }[];
652
+ asOf?: string | undefined;
653
+ effectiveTo?: string | undefined;
654
+ sourceInstrumentDids?: string[] | undefined;
655
+ ratificationInstrumentDids?: string[] | undefined;
656
+ ratificationGaps?: {
657
+ tractDid: string;
658
+ gapDescription: string;
659
+ }[] | undefined;
660
+ sourcePlatCid?: undefined;
661
+ sourceNote?: string | undefined;
662
+ }, {
663
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
664
+ entityType: "revenue-allocation-unit";
665
+ sourceCitation: string;
666
+ extractedAt: string;
667
+ basis: "pooled-unit";
668
+ wellDids: string[];
669
+ operatorActorDid: string;
670
+ effectiveFrom: string;
671
+ unitDid: string;
672
+ tractParticipations: {
673
+ confidence: Readonly<{
674
+ estimate: number;
675
+ n: number;
676
+ intervalWidth: number;
677
+ provenance: "asserted" | "backtest" | "seed" | "live";
678
+ }>;
679
+ source: string;
680
+ tractDid: string;
681
+ factor: number;
682
+ allocationMethod: AllocationMethod;
683
+ takePoints?: number | undefined;
684
+ productiveLateralFootage?: number | undefined;
685
+ }[];
686
+ sourceInstrumentDids: string[];
687
+ asOf?: string | undefined;
688
+ effectiveTo?: string | undefined;
689
+ ratificationInstrumentDids?: string[] | undefined;
690
+ ratificationGaps?: {
691
+ tractDid: string;
692
+ gapDescription: string;
693
+ }[] | undefined;
694
+ sourcePlatCid?: undefined;
695
+ sourceNote?: undefined;
696
+ } | {
697
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
698
+ entityType: "revenue-allocation-unit";
699
+ sourceCitation: string;
700
+ extractedAt: string;
701
+ basis: "allocation-well";
702
+ wellDids: string[];
703
+ operatorActorDid: string;
704
+ effectiveFrom: string;
705
+ unitDid: string;
706
+ tractParticipations: {
707
+ confidence: Readonly<{
708
+ estimate: number;
709
+ n: number;
710
+ intervalWidth: number;
711
+ provenance: "asserted" | "backtest" | "seed" | "live";
712
+ }>;
713
+ source: string;
714
+ tractDid: string;
715
+ factor: number;
716
+ allocationMethod: AllocationMethod;
717
+ takePoints?: number | undefined;
718
+ productiveLateralFootage?: number | undefined;
719
+ }[];
720
+ sourcePlatCid: string;
721
+ asOf?: string | undefined;
722
+ effectiveTo?: string | undefined;
723
+ sourceInstrumentDids?: undefined;
724
+ ratificationInstrumentDids?: undefined;
725
+ ratificationGaps?: undefined;
726
+ sourceNote?: undefined;
727
+ } | {
728
+ accessPolicy: "public-free" | "public-paid" | "platform-internal" | "tenant-private" | "tenant-shared";
729
+ entityType: "revenue-allocation-unit";
730
+ sourceCitation: string;
731
+ extractedAt: string;
732
+ basis: "psa";
733
+ wellDids: string[];
734
+ operatorActorDid: string;
735
+ effectiveFrom: string;
736
+ unitDid: string;
737
+ tractParticipations: {
738
+ confidence: Readonly<{
739
+ estimate: number;
740
+ n: number;
741
+ intervalWidth: number;
742
+ provenance: "asserted" | "backtest" | "seed" | "live";
743
+ }>;
744
+ source: string;
745
+ tractDid: string;
746
+ factor: number;
747
+ allocationMethod: AllocationMethod;
748
+ takePoints?: number | undefined;
749
+ productiveLateralFootage?: number | undefined;
750
+ }[];
751
+ asOf?: string | undefined;
752
+ effectiveTo?: string | undefined;
753
+ sourceInstrumentDids?: string[] | undefined;
754
+ ratificationInstrumentDids?: string[] | undefined;
755
+ ratificationGaps?: {
756
+ tractDid: string;
757
+ gapDescription: string;
758
+ }[] | undefined;
759
+ sourcePlatCid?: undefined;
760
+ sourceNote?: string | undefined;
761
+ }>;
762
+ //# sourceMappingURL=revenue-allocation-unit.d.ts.map