@secondlayer/shared 11.13.0 → 11.13.2

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.
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -552,7 +552,7 @@ interface ApiKeysTable {
552
552
  ip_address: string;
553
553
  account_id: string;
554
554
  product: Generated<"account" | "streams" | "index">;
555
- tier: "free" | "build" | "scale" | "enterprise" | null;
555
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
556
556
  last_used_at: Date | null;
557
557
  revoked_at: Date | null;
558
558
  created_at: Generated<Date>;
@@ -236,7 +236,7 @@ interface ApiKeysTable {
236
236
  ip_address: string;
237
237
  account_id: string;
238
238
  product: Generated<"account" | "streams" | "index">;
239
- tier: "free" | "build" | "scale" | "enterprise" | null;
239
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
240
240
  last_used_at: Date | null;
241
241
  revoked_at: Date | null;
242
242
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -245,7 +245,7 @@ interface ApiKeysTable {
245
245
  ip_address: string;
246
246
  account_id: string;
247
247
  product: Generated<"account" | "streams" | "index">;
248
- tier: "free" | "build" | "scale" | "enterprise" | null;
248
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
249
249
  last_used_at: Date | null;
250
250
  revoked_at: Date | null;
251
251
  created_at: Generated<Date>;
@@ -235,7 +235,7 @@ interface ApiKeysTable {
235
235
  ip_address: string;
236
236
  account_id: string;
237
237
  product: Generated<"account" | "streams" | "index">;
238
- tier: "free" | "build" | "scale" | "enterprise" | null;
238
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
239
239
  last_used_at: Date | null;
240
240
  revoked_at: Date | null;
241
241
  created_at: Generated<Date>;
@@ -234,7 +234,7 @@ interface ApiKeysTable {
234
234
  ip_address: string;
235
235
  account_id: string;
236
236
  product: Generated<"account" | "streams" | "index">;
237
- tier: "free" | "build" | "scale" | "enterprise" | null;
237
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
238
238
  last_used_at: Date | null;
239
239
  revoked_at: Date | null;
240
240
  created_at: Generated<Date>;
@@ -234,7 +234,7 @@ interface ApiKeysTable {
234
234
  ip_address: string;
235
235
  account_id: string;
236
236
  product: Generated<"account" | "streams" | "index">;
237
- tier: "free" | "build" | "scale" | "enterprise" | null;
237
+ tier: "free" | "build" | "scale" | "enterprise" | "internal" | null;
238
238
  last_used_at: Date | null;
239
239
  revoked_at: Date | null;
240
240
  created_at: Generated<Date>;
@@ -2696,6 +2696,10 @@ interface WebhookSummary {
2696
2696
  * cleared on resume. Present on the list summary (not detail-only) so a
2697
2697
  * numbers-only insight can be shown per row without a per-row fetch. */
2698
2698
  circuitOpenedAt: string | null;
2699
+ /** Consecutive failed deliveries (reset to 0 on a success). On the
2700
+ * summary so the list can show a failing receiver per row without a
2701
+ * per-row fetch. */
2702
+ circuitFailures: number;
2699
2703
  createdAt: string;
2700
2704
  updatedAt: string;
2701
2705
  }
@@ -2707,7 +2711,6 @@ interface WebhookDetail extends WebhookSummary {
2707
2711
  maxRetries: number;
2708
2712
  timeoutMs: number;
2709
2713
  concurrency: number;
2710
- circuitFailures: number;
2711
2714
  lastError: string | null;
2712
2715
  /** Set on a `kind="chain"` webhook when this instance's chain-trigger
2713
2716
  * evaluator isn't running (`SUBGRAPH_SOURCE` != `streams-index`) — the