@omnicross/core 0.1.2 → 0.1.3

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 (131) hide show
  1. package/dist/auth/GeminiCodeAssistProjectResolver.cjs +6 -1
  2. package/dist/auth/GeminiCodeAssistProjectResolver.js +6 -1
  3. package/dist/{chunk-SN3YWBX7.cjs → chunk-2FMI2B6V.cjs} +2329 -533
  4. package/dist/{chunk-XBSYYZIY.cjs → chunk-3QOSDDNI.cjs} +39 -3
  5. package/dist/{chunk-2FEVTJWG.js → chunk-4DECIFU7.js} +2162 -366
  6. package/dist/chunk-4IH4EL7M.cjs +9 -0
  7. package/dist/chunk-5ENKBSWO.js +311 -0
  8. package/dist/chunk-6RPZADX3.cjs +92 -0
  9. package/dist/chunk-AEOZIDEB.cjs +32 -0
  10. package/dist/chunk-BO4RFWBR.js +89 -0
  11. package/dist/{chunk-MNYKI4CI.js → chunk-CWM2ZDU5.js} +36 -0
  12. package/dist/chunk-CZHZGRU7.js +383 -0
  13. package/dist/{chunk-4NBS6KPV.cjs → chunk-DQ5VAYZ6.cjs} +7 -8
  14. package/dist/chunk-HUZZZ3JL.js +32 -0
  15. package/dist/{chunk-QOCNX236.js → chunk-IAXWICZU.js} +24 -1
  16. package/dist/{chunk-V5KPWNYX.cjs → chunk-JMJBSACD.cjs} +3 -3
  17. package/dist/chunk-L74VDN4A.cjs +32 -0
  18. package/dist/{chunk-74TMJA7Z.js → chunk-N5QFKSDO.js} +7 -4
  19. package/dist/{chunk-LKZJEL6E.cjs → chunk-Q27JY5RG.cjs} +6 -4
  20. package/dist/{chunk-SPVWWUHX.cjs → chunk-QWBWGODS.cjs} +24 -1
  21. package/dist/chunk-RPII3E6Z.cjs +145 -0
  22. package/dist/chunk-S6JGLF3G.cjs +89 -0
  23. package/dist/chunk-SVXC36MU.cjs +383 -0
  24. package/dist/chunk-TKJMZBAH.js +32 -0
  25. package/dist/{chunk-ZSVQT3PW.js → chunk-UBWEBKRC.js} +5 -6
  26. package/dist/chunk-UNEFIWXI.cjs +32 -0
  27. package/dist/chunk-VQY5W4YW.cjs +311 -0
  28. package/dist/chunk-WNY4WMRF.js +32 -0
  29. package/dist/chunk-XEKD23J5.js +9 -0
  30. package/dist/chunk-XTEI64OU.js +145 -0
  31. package/dist/chunk-XX6NQJMA.js +92 -0
  32. package/dist/{chunk-N3V2J5ZO.cjs → chunk-Y6OM7EV7.cjs} +7 -4
  33. package/dist/{chunk-745DV5FL.js → chunk-Y7FO65VT.js} +3 -3
  34. package/dist/{chunk-PXUJF5HS.js → chunk-ZY6KU6P3.js} +4 -2
  35. package/dist/completion/CompletionService.cjs +22 -15
  36. package/dist/completion/CompletionService.js +21 -14
  37. package/dist/completion/NativeSearchInjector.cjs +3 -3
  38. package/dist/completion/NativeSearchInjector.js +2 -2
  39. package/dist/completion/openrouter-headers.cjs +3 -6
  40. package/dist/completion/openrouter-headers.d.cts +9 -12
  41. package/dist/completion/openrouter-headers.d.ts +9 -12
  42. package/dist/completion/openrouter-headers.js +2 -5
  43. package/dist/completion/openrouter-models.cjs +4 -3
  44. package/dist/completion/openrouter-models.js +2 -1
  45. package/dist/completion.cjs +22 -15
  46. package/dist/completion.js +21 -14
  47. package/dist/index.cjs +139 -17
  48. package/dist/index.d.cts +40 -10
  49. package/dist/index.d.ts +40 -10
  50. package/dist/index.js +146 -24
  51. package/dist/outbound-api/routeResolver.cjs +5 -2
  52. package/dist/outbound-api/routeResolver.d.cts +8 -2
  53. package/dist/outbound-api/routeResolver.d.ts +8 -2
  54. package/dist/outbound-api/routeResolver.js +4 -1
  55. package/dist/outbound-api/types.cjs +6 -1
  56. package/dist/outbound-api/types.d.cts +11 -144
  57. package/dist/outbound-api/types.d.ts +11 -144
  58. package/dist/outbound-api/types.js +6 -0
  59. package/dist/outbound-api.cjs +133 -15
  60. package/dist/outbound-api.d.cts +786 -25
  61. package/dist/outbound-api.d.ts +786 -25
  62. package/dist/outbound-api.js +137 -19
  63. package/dist/pipeline/AuthSource.d.cts +23 -1
  64. package/dist/pipeline/AuthSource.d.ts +23 -1
  65. package/dist/pipeline/LlmConfigProviderAuth.cjs +3 -3
  66. package/dist/pipeline/LlmConfigProviderAuth.js +2 -2
  67. package/dist/pipeline/SubscriptionAccountHealth.cjs +22 -0
  68. package/dist/pipeline/SubscriptionAccountHealth.d.cts +235 -0
  69. package/dist/pipeline/SubscriptionAccountHealth.d.ts +235 -0
  70. package/dist/pipeline/SubscriptionAccountHealth.js +22 -0
  71. package/dist/pipeline/SubscriptionAuthSource.cjs +2 -2
  72. package/dist/pipeline/SubscriptionAuthSource.d.cts +3 -2
  73. package/dist/pipeline/SubscriptionAuthSource.d.ts +3 -2
  74. package/dist/pipeline/SubscriptionAuthSource.js +1 -1
  75. package/dist/pipeline/SubscriptionAuthStrategy.d.cts +24 -1
  76. package/dist/pipeline/SubscriptionAuthStrategy.d.ts +24 -1
  77. package/dist/pipeline/auditSink.cjs +14 -0
  78. package/dist/pipeline/auditSink.d.cts +48 -0
  79. package/dist/pipeline/auditSink.d.ts +48 -0
  80. package/dist/pipeline/auditSink.js +14 -0
  81. package/dist/pipeline/billingEmit.cjs +14 -0
  82. package/dist/pipeline/billingEmit.d.cts +49 -0
  83. package/dist/pipeline/billingEmit.d.ts +49 -0
  84. package/dist/pipeline/billingEmit.js +14 -0
  85. package/dist/ports/usage-event-store.d.cts +26 -1
  86. package/dist/ports/usage-event-store.d.ts +26 -1
  87. package/dist/ports.d.cts +7 -1
  88. package/dist/ports.d.ts +7 -1
  89. package/dist/provider-proxy/ProviderProxy.cjs +22 -15
  90. package/dist/provider-proxy/ProviderProxy.js +21 -14
  91. package/dist/provider-proxy/identity/SubscriptionIdentityStore.cjs +15 -0
  92. package/dist/provider-proxy/identity/SubscriptionIdentityStore.d.cts +121 -0
  93. package/dist/provider-proxy/identity/SubscriptionIdentityStore.d.ts +121 -0
  94. package/dist/provider-proxy/identity/SubscriptionIdentityStore.js +15 -0
  95. package/dist/provider-proxy/identity/fingerprintHeaders.cjs +20 -0
  96. package/dist/provider-proxy/identity/fingerprintHeaders.d.cts +89 -0
  97. package/dist/provider-proxy/identity/fingerprintHeaders.d.ts +89 -0
  98. package/dist/provider-proxy/identity/fingerprintHeaders.js +20 -0
  99. package/dist/provider-proxy/ingress/providerProxyShared.cjs +22 -15
  100. package/dist/provider-proxy/ingress/providerProxyShared.d.cts +11 -2
  101. package/dist/provider-proxy/ingress/providerProxyShared.d.ts +11 -2
  102. package/dist/provider-proxy/ingress/providerProxyShared.js +21 -14
  103. package/dist/provider-proxy/matchText.cjs +4 -2
  104. package/dist/provider-proxy/matchText.d.cts +14 -1
  105. package/dist/provider-proxy/matchText.d.ts +14 -1
  106. package/dist/provider-proxy/matchText.js +3 -1
  107. package/dist/provider-proxy/types.d.cts +23 -0
  108. package/dist/provider-proxy/types.d.ts +23 -0
  109. package/dist/provider-proxy.cjs +22 -15
  110. package/dist/provider-proxy.js +21 -14
  111. package/dist/{routeResolver-HE-ZO0fO.d.ts → routeResolver-B1NglTfe.d.ts} +36 -10
  112. package/dist/{routeResolver-BrbK6ja9.d.cts → routeResolver-CbG5uBgm.d.cts} +36 -10
  113. package/dist/transformer/transformers.cjs +7 -7
  114. package/dist/transformer/transformers.js +7 -7
  115. package/dist/transformer.cjs +5 -5
  116. package/dist/transformer.js +4 -4
  117. package/dist/types-6OUY_xfA.d.ts +830 -0
  118. package/dist/types-aBFFXoBz.d.cts +830 -0
  119. package/dist/usage/usage-recorder.cjs +2 -2
  120. package/dist/usage/usage-recorder.d.cts +19 -1
  121. package/dist/usage/usage-recorder.d.ts +19 -1
  122. package/dist/usage/usage-recorder.js +1 -1
  123. package/dist/usage.cjs +2 -2
  124. package/dist/usage.js +1 -1
  125. package/package.json +4 -2
  126. package/dist/chunk-3MEACFK3.js +0 -193
  127. package/dist/chunk-6VIXXLMX.cjs +0 -14
  128. package/dist/chunk-E3WHL7CO.js +0 -14
  129. package/dist/chunk-G2FUJNA2.cjs +0 -193
  130. package/dist/{chunk-UYPEN5XE.cjs → chunk-FFALUUZZ.cjs} +5 -5
  131. package/dist/{chunk-O466Y272.js → chunk-MQNDWYPN.js} +6 -6
@@ -1,6 +1,14 @@
1
- import { ProviderConfigSource } from '../ports/provider-config-source.js';
2
- import { P as ProviderProxy } from '../ProviderProxy-C-xqrkKi.js';
3
- import { ProviderProxyDeps } from '../provider-proxy/types.js';
1
+ import '@omnicross/contracts/account-tokens-types';
2
+ import '@omnicross/contracts/audit-types';
3
+ import '@omnicross/contracts/billing-types';
4
+ import '@omnicross/contracts/health-logging-types';
5
+ import '@omnicross/contracts/voucher-types';
6
+ import '@omnicross/contracts/webhook-types';
7
+ import '../logger-4GvQNzhE.js';
8
+ import '../ports/provider-config-source.js';
9
+ import '../ProviderProxy-C-xqrkKi.js';
10
+ import '../provider-proxy/types.js';
11
+ export { T as AccountHealthConfig, A as AccountProbeConfig, C as ChatDispatchMode, a as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, b as EndpointRoutingConfig, F as FingerprintConfig, i as KindMappedEndpoint, M as MessagesModelKind, j as ModelKind, k as ModelPrefixTargets, P as ModelRef, l as OutboundApiDeps, m as OutboundApiKeyCreated, n as OutboundApiKeyInfo, o as OutboundApiServerConfig, p as OutboundApiServerStatus, q as OutboundEndpoint, r as OutboundFormatUrls, s as OutboundKeyActivationMode, O as OutboundKeyDb, t as OutboundKeyDbRow, W as OutboundKeyModelRestrictionMode, u as OutboundKeyPolicy, v as OutboundProxyConfig, R as RequestRole, w as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-6OUY_xfA.js';
4
12
  import '@omnicross/contracts/llm-config';
5
13
  import '../transformer/types.js';
6
14
  import '../transformer/TransformerService.js';
@@ -9,149 +17,8 @@ import '@omnicross/contracts/completion-types';
9
17
  import '@omnicross/contracts/subscription-types';
10
18
  import '@omnicross/contracts/usage-types';
11
19
  import '../completion/ApiKeyPoolService.js';
12
- import '../logger-4GvQNzhE.js';
13
20
  import '../pipeline/AuthSource.js';
14
21
  import '../pipeline/SubscriptionAuthSource.js';
15
22
  import '../pipeline/SubscriptionAuthStrategy.js';
16
23
  import '../ports/web-search-backend.js';
17
24
  import '@omnicross/contracts/websearch-types';
18
-
19
- /**
20
- * Shared contract types for the outbound API server (`outbound-api-server`).
21
- *
22
- * The outbound server is a SEPARATE long-lived HTTP listener (distinct from the
23
- * resident loopback `ProviderProxy`) that authenticates external callers via
24
- * named API keys and routes their requests through the EXISTING `provider-proxy`
25
- * ingress parsers + transformer — there is exactly one conversion stack.
26
- *
27
- * These types are kept in their own module so the server, router, auth, rate
28
- * limiter, role detection, and route resolver can share shapes without circular
29
- * imports.
30
- *
31
- * @module outbound-api/types
32
- */
33
-
34
- /** The four endpoints, 1:1 with the four wire-format ingress parsers. */
35
- type OutboundEndpoint = 'chat' | 'responses' | 'messages' | 'gemini';
36
- /** A `"providerId,modelId"` model reference (mirrors `RouterConfig` vocab). */
37
- type ModelRef = string;
38
- /** The detected request role; precedence vision > background > default. */
39
- type RequestRole = 'vision' | 'background' | 'default';
40
- /**
41
- * Per-endpoint routing config. Persisted independently of the global
42
- * "默认模型" settings tab; survives restart.
43
- */
44
- interface EndpointRoutingConfig {
45
- /** Which of the four endpoints this block configures. */
46
- endpoint: OutboundEndpoint;
47
- /** REQUIRED — model for normal (non-vision, non-background) requests. */
48
- defaultModel: ModelRef;
49
- /** REQUIRED — model for background/probe/small-task requests. */
50
- backgroundModel: ModelRef;
51
- /** OPTIONAL — model for requests carrying image/vision content. */
52
- visionModel?: ModelRef;
53
- /** Gates subscription-vs-BYO provider selection. Default FALSE. */
54
- useSubscription: boolean;
55
- /**
56
- * OPTIONAL per-endpoint "background model id" override list (human decision
57
- * after the proposal). When set, an incoming requested model id appearing in
58
- * this list is classified as the BACKGROUND role; otherwise the registry
59
- * small/haiku-class signal is the baseline. Empty/unset → registry signal
60
- * only. Compared against the requested model id (bare or `providerId,modelId`).
61
- */
62
- backgroundModelIds?: string[];
63
- }
64
- /** The persisted server config. */
65
- interface OutboundApiServerConfig {
66
- /** When false the listener never binds (off by default). */
67
- enabled: boolean;
68
- /** When true the listener binds `0.0.0.0` (LAN) instead of `127.0.0.1`. */
69
- networkBinding: boolean;
70
- /** Per-endpoint routing config, one per endpoint (4 entries). */
71
- endpoints: EndpointRoutingConfig[];
72
- /** Persisted port (fixed default; falls back to ephemeral on EADDRINUSE). */
73
- port?: number;
74
- }
75
- /** A live status snapshot the Settings tab renders. */
76
- interface OutboundApiServerStatus {
77
- running: boolean;
78
- /** Actual bound port (0 when not running). */
79
- port: number;
80
- /** Loopback base URL (always present when running). */
81
- loopbackUrl: string | null;
82
- /** LAN base URL (present only when network binding is on). */
83
- lanUrl: string | null;
84
- /** The four format endpoint URLs (loopback). */
85
- formats: OutboundFormatUrls | null;
86
- /** The four format endpoint URLs over the LAN (only when network binding on). */
87
- lanFormats: OutboundFormatUrls | null;
88
- }
89
- /** The four format endpoint URLs for one base. */
90
- interface OutboundFormatUrls {
91
- chat: string;
92
- responses: string;
93
- messages: string;
94
- gemini: string;
95
- }
96
- /** A stored key DTO (never carries the plaintext secret). */
97
- interface OutboundApiKeyInfo {
98
- id: string;
99
- name: string;
100
- keyPrefix: string;
101
- enabled: boolean;
102
- createdAt: number;
103
- lastUsedAt: number | null;
104
- revoked: boolean;
105
- }
106
- /** The one-time create result; `plaintextOnce` is shown exactly once. */
107
- interface OutboundApiKeyCreated {
108
- id: string;
109
- name: string;
110
- keyPrefix: string;
111
- createdAt: number;
112
- plaintextOnce: string;
113
- }
114
- /**
115
- * Structural subset of the DB the outbound server needs — the named-key CRUD
116
- * surface. Kept structural so the server module does not depend on the full
117
- * `DbRpc`.
118
- */
119
- interface OutboundKeyDbRow {
120
- id: string;
121
- name: string;
122
- keyHash: string;
123
- keyPrefix: string;
124
- enabled: boolean;
125
- createdAt: number;
126
- lastUsedAt: number | null;
127
- revokedAt: number | null;
128
- }
129
- interface OutboundKeyDb {
130
- outboundApiKeysList(): Promise<OutboundKeyDbRow[]>;
131
- outboundApiKeysGetByHash(hash: string): Promise<OutboundKeyDbRow | null>;
132
- outboundApiKeysCreate(input: {
133
- id: string;
134
- name: string;
135
- keyHash: string;
136
- keyPrefix: string;
137
- createdAt?: number;
138
- }): Promise<OutboundKeyDbRow>;
139
- outboundApiKeysRevoke(id: string): Promise<boolean>;
140
- outboundApiKeysTouchLastUsed(id: string): Promise<boolean>;
141
- outboundApiKeysSetEnabled(id: string, enabled: boolean): Promise<boolean>;
142
- }
143
- /**
144
- * App-session-scoped dependencies the outbound server needs. The resident
145
- * `ProviderProxy` is shared so the new listener mints routes on the SAME route
146
- * map and reuses the SAME ingress parsers + transformer.
147
- */
148
- interface OutboundApiDeps {
149
- readonly db: OutboundKeyDb;
150
- readonly llmConfig: ProviderConfigSource;
151
- /** The resident proxy — shared for route minting + ingress dispatch. */
152
- readonly providerProxy: ProviderProxy;
153
- /** The proxy's app-session deps (reused verbatim for `routeRequest`). */
154
- readonly proxyDeps: ProviderProxyDeps;
155
- }
156
-
157
- export type { EndpointRoutingConfig, ModelRef, OutboundApiDeps, OutboundApiKeyCreated, OutboundApiKeyInfo, OutboundApiServerConfig, OutboundApiServerStatus, OutboundEndpoint, OutboundFormatUrls, OutboundKeyDb, OutboundKeyDbRow, RequestRole };
@@ -0,0 +1,6 @@
1
+ import {
2
+ ENDPOINT_MODEL_KINDS
3
+ } from "../chunk-XEKD23J5.js";
4
+ export {
5
+ ENDPOINT_MODEL_KINDS
6
+ };
@@ -16,44 +16,162 @@
16
16
 
17
17
 
18
18
 
19
- var _chunkSN3YWBX7cjs = require('./chunk-SN3YWBX7.cjs');
20
- require('./chunk-SPVWWUHX.cjs');
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+ var _chunk2FMI2B6Vcjs = require('./chunk-2FMI2B6V.cjs');
21
63
  require('./chunk-HQP3K7PU.cjs');
22
64
  require('./chunk-FZ46M34D.cjs');
23
65
  require('./chunk-46ZIFWYG.cjs');
24
- require('./chunk-GBHYAGX3.cjs');
25
66
  require('./chunk-3OPYJG76.cjs');
26
- require('./chunk-UYPEN5XE.cjs');
27
- require('./chunk-7YN22L2H.cjs');
28
- require('./chunk-2DCNB7DF.cjs');
67
+ require('./chunk-FFALUUZZ.cjs');
29
68
  require('./chunk-C72S6TTV.cjs');
30
69
  require('./chunk-DWKQZ2SK.cjs');
31
70
  require('./chunk-4VAVYUZS.cjs');
71
+ require('./chunk-7YN22L2H.cjs');
72
+ require('./chunk-2DCNB7DF.cjs');
32
73
  require('./chunk-EYZYXJTJ.cjs');
33
74
  require('./chunk-YMFAJFQT.cjs');
34
- require('./chunk-XBSYYZIY.cjs');
75
+ require('./chunk-3QOSDDNI.cjs');
76
+ require('./chunk-GBHYAGX3.cjs');
77
+ require('./chunk-RPII3E6Z.cjs');
78
+ require('./chunk-6RPZADX3.cjs');
79
+ require('./chunk-QWBWGODS.cjs');
80
+ require('./chunk-NYUNU75A.cjs');
81
+ require('./chunk-VQY5W4YW.cjs');
82
+ require('./chunk-Y6OM7EV7.cjs');
83
+ require('./chunk-SVNDB62D.cjs');
35
84
  require('./chunk-R3HK6R4B.cjs');
85
+ require('./chunk-AEOZIDEB.cjs');
86
+ require('./chunk-L74VDN4A.cjs');
36
87
  require('./chunk-KUU2RNG6.cjs');
37
- require('./chunk-LKZJEL6E.cjs');
88
+ require('./chunk-Q27JY5RG.cjs');
38
89
  require('./chunk-QXD4MV2X.cjs');
39
- require('./chunk-NYUNU75A.cjs');
40
- require('./chunk-N3V2J5ZO.cjs');
41
- require('./chunk-SVNDB62D.cjs');
42
90
  require('./chunk-A2YMUCBT.cjs');
43
91
 
44
92
 
45
93
 
46
94
 
47
95
 
48
- var _chunkG2FUJNA2cjs = require('./chunk-G2FUJNA2.cjs');
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ var _chunkSVXC36MUcjs = require('./chunk-SVXC36MU.cjs');
49
108
  require('./chunk-QBZJ7P2T.cjs');
109
+
110
+
111
+ var _chunk4IH4EL7Mcjs = require('./chunk-4IH4EL7M.cjs');
50
112
  require('./chunk-SUEGJ75D.cjs');
113
+ require('./chunk-S6JGLF3G.cjs');
51
114
  require('./chunk-RSJ3TWJQ.cjs');
52
115
  require('./chunk-YGXJGRFI.cjs');
53
116
  require('./chunk-NZYN7C3P.cjs');
54
- require('./chunk-V5KPWNYX.cjs');
55
- require('./chunk-6VIXXLMX.cjs');
117
+ require('./chunk-JMJBSACD.cjs');
56
118
  require('./chunk-GMMT7RVN.cjs');
119
+ require('./chunk-UNEFIWXI.cjs');
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
57
175
 
58
176
 
59
177
 
@@ -76,4 +194,4 @@ require('./chunk-GMMT7RVN.cjs');
76
194
 
77
195
 
78
196
 
79
- exports.DEFAULT_OUTBOUND_PORT = _chunkSN3YWBX7cjs.DEFAULT_OUTBOUND_PORT; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkSN3YWBX7cjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkSN3YWBX7cjs.OutboundApiServer; exports.OutboundRateLimiter = _chunkSN3YWBX7cjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkG2FUJNA2cjs.SUBSCRIPTION_PROVIDER_IDS; exports.__resetOutboundApiServerForTests = _chunkSN3YWBX7cjs.__resetOutboundApiServerForTests; exports.createNamedKey = _chunkSN3YWBX7cjs.createNamedKey; exports.defaultServerConfig = _chunkSN3YWBX7cjs.defaultServerConfig; exports.detectRequestRole = _chunkSN3YWBX7cjs.detectRequestRole; exports.endpointSupportsSubscription = _chunkG2FUJNA2cjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkSN3YWBX7cjs.endpointToIngressFormat; exports.formatUrls = _chunkSN3YWBX7cjs.formatUrls; exports.getOutboundApiServer = _chunkSN3YWBX7cjs.getOutboundApiServer; exports.hashKey = _chunkSN3YWBX7cjs.hashKey; exports.isSubscriptionProviderId = _chunkG2FUJNA2cjs.isSubscriptionProviderId; exports.loadServerConfig = _chunkSN3YWBX7cjs.loadServerConfig; exports.mergeServerConfig = _chunkSN3YWBX7cjs.mergeServerConfig; exports.normalizeServerConfig = _chunkSN3YWBX7cjs.normalizeServerConfig; exports.resolveRoute = _chunkG2FUJNA2cjs.resolveRoute; exports.saveServerConfig = _chunkSN3YWBX7cjs.saveServerConfig; exports.verifyPresentedKey = _chunkSN3YWBX7cjs.verifyPresentedKey;
197
+ exports.AUDIT_REDACTED = _chunk2FMI2B6Vcjs.AUDIT_REDACTED; exports.ConcurrencyQueueFullError = _chunk2FMI2B6Vcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunk2FMI2B6Vcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunk2FMI2B6Vcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunk2FMI2B6Vcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_CONCURRENCY_QUEUE = _chunk2FMI2B6Vcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunk2FMI2B6Vcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunk2FMI2B6Vcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk2FMI2B6Vcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunk2FMI2B6Vcjs.KeySpendTracker; exports.KeyedMutex = _chunk2FMI2B6Vcjs.KeyedMutex; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunk2FMI2B6Vcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiConfigError = _chunk2FMI2B6Vcjs.OutboundApiConfigError; exports.OutboundApiServer = _chunk2FMI2B6Vcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk2FMI2B6Vcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk2FMI2B6Vcjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkSVXC36MUcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunk2FMI2B6Vcjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunk2FMI2B6Vcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk2FMI2B6Vcjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunk2FMI2B6Vcjs.beginAuditCapture; exports.beginBillingCapture = _chunk2FMI2B6Vcjs.beginBillingCapture; exports.checkKeyQuota = _chunk2FMI2B6Vcjs.checkKeyQuota; exports.classifyModelPrefix = _chunkSVXC36MUcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunk2FMI2B6Vcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk2FMI2B6Vcjs.computeVoucherGrant; exports.createNamedKey = _chunk2FMI2B6Vcjs.createNamedKey; exports.defaultServerConfig = _chunk2FMI2B6Vcjs.defaultServerConfig; exports.detectModelKind = _chunkSVXC36MUcjs.detectModelKind; exports.detectRequestRole = _chunkSVXC36MUcjs.detectRequestRole; exports.endpointSupportsSubscription = _chunkSVXC36MUcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkSVXC36MUcjs.endpointToIngressFormat; exports.formatUrls = _chunk2FMI2B6Vcjs.formatUrls; exports.generateVoucherCode = _chunk2FMI2B6Vcjs.generateVoucherCode; exports.getOutboundApiServer = _chunk2FMI2B6Vcjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunk2FMI2B6Vcjs.handleVoucherRedeem; exports.hashKey = _chunk2FMI2B6Vcjs.hashKey; exports.hashVoucherCode = _chunk2FMI2B6Vcjs.hashVoucherCode; exports.isConcurrencyRejection = _chunk2FMI2B6Vcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunkSVXC36MUcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunk2FMI2B6Vcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunk2FMI2B6Vcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunkSVXC36MUcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunk2FMI2B6Vcjs.isUserMessageRequest; exports.loadServerConfig = _chunk2FMI2B6Vcjs.loadServerConfig; exports.mergeServerConfig = _chunk2FMI2B6Vcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunkSVXC36MUcjs.modelKindsForEndpoint; exports.newVoucherId = _chunk2FMI2B6Vcjs.newVoucherId; exports.normalizeAccountProbe = _chunk2FMI2B6Vcjs.normalizeAccountProbe; exports.normalizeAudit = _chunk2FMI2B6Vcjs.normalizeAudit; exports.normalizeBilling = _chunk2FMI2B6Vcjs.normalizeBilling; exports.normalizeFingerprint = _chunk2FMI2B6Vcjs.normalizeFingerprint; exports.normalizePrefixTargets = _chunk2FMI2B6Vcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk2FMI2B6Vcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk2FMI2B6Vcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk2FMI2B6Vcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunk2FMI2B6Vcjs.normalizeServerConfig; exports.normalizeVoucher = _chunk2FMI2B6Vcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk2FMI2B6Vcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk2FMI2B6Vcjs.normalizeWebhookSegment; exports.parseModelRef = _chunkSVXC36MUcjs.parseModelRef; exports.pickModelRefFromList = _chunkSVXC36MUcjs.pickModelRefFromList; exports.randomBase62 = _chunk2FMI2B6Vcjs.randomBase62; exports.redactAuditText = _chunk2FMI2B6Vcjs.redactAuditText; exports.resolvePrefixTarget = _chunkSVXC36MUcjs.resolvePrefixTarget; exports.resolveRoute = _chunkSVXC36MUcjs.resolveRoute; exports.saveServerConfig = _chunk2FMI2B6Vcjs.saveServerConfig; exports.startOfLocalDay = _chunk2FMI2B6Vcjs.startOfLocalDay; exports.startOfLocalWeek = _chunk2FMI2B6Vcjs.startOfLocalWeek; exports.toVoucherInfo = _chunk2FMI2B6Vcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunkSVXC36MUcjs.validateEndpointModelConfig; exports.validateServerModelConfig = _chunkSVXC36MUcjs.validateServerModelConfig; exports.verifyKey = _chunk2FMI2B6Vcjs.verifyKey; exports.verifyPresentedKey = _chunk2FMI2B6Vcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk2FMI2B6Vcjs.voucherCodePrefix;