@capxul/observability 4.2.0-rc.11 → 4.2.0-rc.13

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.
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "source": {
3
- "commit": "12a590f10914e8b056ce54732e6f484f36e060f3",
4
- "tree": "90adc6656be3c1fb0a6e18170877d46081fa2538",
3
+ "commit": "887920e1ba54e17bd8465975fcbc6e1537dfb6b8",
4
+ "tree": "deed16dc942ed9d6b587ceead4dbf8b0b4174e2c",
5
5
  "branch": "codex/programme-rc",
6
6
  "repository": "https://github.com/Xelmar-tech/infrastructure",
7
7
  "lockfileSha256": "5870f53b72706d103220c1bcf733cb4fb71196aea32a9cfbdc277d73cc959264"
8
8
  },
9
9
  "name": "@capxul/observability",
10
- "version": "4.2.0-rc.11"
10
+ "version": "4.2.0-rc.13"
11
11
  }
package/dist/index.d.mts CHANGED
@@ -468,6 +468,8 @@ declare const CAPXUL_OPERATIONS: {
468
468
  };
469
469
  readonly payroll: {
470
470
  readonly authorizeRun: "payroll.authorizeRun";
471
+ readonly emitGroupChanged: "payroll.emitGroupChanged";
472
+ readonly emitRunTransitioned: "payroll.emitRunTransitioned";
471
473
  readonly groups: {
472
474
  readonly access: "payroll.groups";
473
475
  readonly list: "payroll.groups.list";
@@ -2043,6 +2045,18 @@ declare const AccessRecoveryCompletedTelemetryEventSchema: Schema.Struct<{
2043
2045
  readonly organization_id: Schema.optional<Schema.Codec<string, string, never, never>>;
2044
2046
  }>]>;
2045
2047
  }>;
2048
+ /**
2049
+ * R05 (#1963) wired three of these steps at the app's dashboard Access
2050
+ * boundary: `dashboard_granted` on the commit of the granted content,
2051
+ * `gate_error_displayed` on the mounted error surface, and `retry_selected` on
2052
+ * the actual selection. `redirect_completed` stays RESERVED and unproduced —
2053
+ * asking for a navigation is not arriving, and the destination page's own
2054
+ * normalized pageview already carries the arrival on the same journey, so a
2055
+ * second event would add no fact. `capability_refusal_displayed` and
2056
+ * `signer_refusal_displayed` belong to the screens that draw those refusals
2057
+ * (Recipients, Invoice, Payroll, Quick Pay); Access publishes the contract and
2058
+ * the `CanReason` those owners report, and produces neither itself.
2059
+ */
2046
2060
  declare const UiAccessStepCompletedTelemetryEventSchema: Schema.Struct<{
2047
2061
  readonly name: Schema.Literal<"ui_access_step_completed">;
2048
2062
  readonly props: Schema.Struct<{
@@ -2176,6 +2190,12 @@ declare const PayrollRunTransitionedTelemetryEventSchema: Schema.Struct<{
2176
2190
  readonly organization_id: Schema.Codec<string, string, never, never>;
2177
2191
  readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2178
2192
  readonly run_id: Schema.String;
2193
+ /**
2194
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2195
+ * this run's Payment membership. `payment_count` counts THAT command's
2196
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2197
+ */
2198
+ readonly command_id: Schema.optional<Schema.String>;
2179
2199
  readonly payment_count: Schema.optional<Schema.Number>;
2180
2200
  readonly occurred_at: Schema.Number;
2181
2201
  }>;
@@ -2371,6 +2391,12 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2371
2391
  readonly organization_id: Schema.Codec<string, string, never, never>;
2372
2392
  readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2373
2393
  readonly run_id: Schema.String;
2394
+ /**
2395
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2396
+ * this run's Payment membership. `payment_count` counts THAT command's
2397
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2398
+ */
2399
+ readonly command_id: Schema.optional<Schema.String>;
2374
2400
  readonly payment_count: Schema.optional<Schema.Number>;
2375
2401
  readonly occurred_at: Schema.Number;
2376
2402
  }>;
@@ -3567,7 +3593,7 @@ declare const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS: readonly [];
3567
3593
  * A domain node removes its entry when it adds the producer. The telemetry
3568
3594
  * gate rejects an entry that has a producer.
3569
3595
  */
3570
- declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly ["org_invite_progressed", "invoice_issued", "invoice_request_transitioned", "payroll_group_changed", "payroll_run_transitioned"];
3596
+ declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly ["org_invite_progressed", "invoice_issued", "invoice_request_transitioned"];
3571
3597
  /**
3572
3598
  * Catalog events whose product mapper remains gated on the #1150 frontend
3573
3599
  * adoption. L1 S1 removes their retired SDK-flow producers without inventing
package/dist/index.mjs CHANGED
@@ -361,6 +361,8 @@ const CAPXUL_OPERATIONS = {
361
361
  recipient: { resolve: "recipient.resolve" },
362
362
  payroll: {
363
363
  authorizeRun: "payroll.authorizeRun",
364
+ emitGroupChanged: "payroll.emitGroupChanged",
365
+ emitRunTransitioned: "payroll.emitRunTransitioned",
364
366
  groups: {
365
367
  access: "payroll.groups",
366
368
  list: "payroll.groups.list",
@@ -1728,6 +1730,18 @@ const AccessRecoveryCompletedTelemetryEventSchema = Schema.Struct({
1728
1730
  name: Schema.Literal("access_recovery_completed"),
1729
1731
  props: AccessRecoveryCompletedProps
1730
1732
  });
1733
+ /**
1734
+ * R05 (#1963) wired three of these steps at the app's dashboard Access
1735
+ * boundary: `dashboard_granted` on the commit of the granted content,
1736
+ * `gate_error_displayed` on the mounted error surface, and `retry_selected` on
1737
+ * the actual selection. `redirect_completed` stays RESERVED and unproduced —
1738
+ * asking for a navigation is not arriving, and the destination page's own
1739
+ * normalized pageview already carries the arrival on the same journey, so a
1740
+ * second event would add no fact. `capability_refusal_displayed` and
1741
+ * `signer_refusal_displayed` belong to the screens that draw those refusals
1742
+ * (Recipients, Invoice, Payroll, Quick Pay); Access publishes the contract and
1743
+ * the `CanReason` those owners report, and produces neither itself.
1744
+ */
1731
1745
  const UiAccessStepCompletedTelemetryEventSchema = Schema.Struct({
1732
1746
  name: Schema.Literal("ui_access_step_completed"),
1733
1747
  props: Schema.Struct({
@@ -1864,6 +1878,12 @@ const PayrollRunTransitionedTelemetryEventSchema = Schema.Struct({
1864
1878
  "settled"
1865
1879
  ]),
1866
1880
  run_id: Schema.String,
1881
+ /**
1882
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
1883
+ * this run's Payment membership. `payment_count` counts THAT command's
1884
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
1885
+ */
1886
+ command_id: OptionalString,
1867
1887
  payment_count: Schema.optional(Schema.Number),
1868
1888
  occurred_at: Schema.Number
1869
1889
  })
@@ -1960,9 +1980,7 @@ const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS = [];
1960
1980
  const CONTRACT_FIRST_TELEMETRY_EVENTS = [
1961
1981
  "org_invite_progressed",
1962
1982
  "invoice_issued",
1963
- "invoice_request_transitioned",
1964
- "payroll_group_changed",
1965
- "payroll_run_transitioned"
1983
+ "invoice_request_transitioned"
1966
1984
  ];
1967
1985
  /**
1968
1986
  * Catalog events whose product mapper remains gated on the #1150 frontend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "4.2.0-rc.11",
3
+ "version": "4.2.0-rc.13",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
38
38
  "vite-plus": "0.3.0",
39
39
  "vitest": "4.1.11",
40
- "@capxul/types": "0.3.0",
41
40
  "@capxul/errors": "0.3.0",
41
+ "@capxul/types": "0.3.0",
42
42
  "@capxul/typescript-config": "0.0.0"
43
43
  },
44
44
  "scripts": {