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

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": "fd5b4d0f124c75f609e469b8673c61f84253c0dc",
4
+ "tree": "d61f0f6b0c83dfc2d405ffc6b55eecf2e9d80f2d",
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.12"
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";
@@ -2176,6 +2178,12 @@ declare const PayrollRunTransitionedTelemetryEventSchema: Schema.Struct<{
2176
2178
  readonly organization_id: Schema.Codec<string, string, never, never>;
2177
2179
  readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2178
2180
  readonly run_id: Schema.String;
2181
+ /**
2182
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2183
+ * this run's Payment membership. `payment_count` counts THAT command's
2184
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2185
+ */
2186
+ readonly command_id: Schema.optional<Schema.String>;
2179
2187
  readonly payment_count: Schema.optional<Schema.Number>;
2180
2188
  readonly occurred_at: Schema.Number;
2181
2189
  }>;
@@ -2371,6 +2379,12 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2371
2379
  readonly organization_id: Schema.Codec<string, string, never, never>;
2372
2380
  readonly transition: Schema.Literals<readonly ["prepared", "authorized", "settled"]>;
2373
2381
  readonly run_id: Schema.String;
2382
+ /**
2383
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
2384
+ * this run's Payment membership. `payment_count` counts THAT command's
2385
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
2386
+ */
2387
+ readonly command_id: Schema.optional<Schema.String>;
2374
2388
  readonly payment_count: Schema.optional<Schema.Number>;
2375
2389
  readonly occurred_at: Schema.Number;
2376
2390
  }>;
@@ -3567,7 +3581,7 @@ declare const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS: readonly [];
3567
3581
  * A domain node removes its entry when it adds the producer. The telemetry
3568
3582
  * gate rejects an entry that has a producer.
3569
3583
  */
3570
- declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly ["org_invite_progressed", "invoice_issued", "invoice_request_transitioned", "payroll_group_changed", "payroll_run_transitioned"];
3584
+ declare const CONTRACT_FIRST_TELEMETRY_EVENTS: readonly ["org_invite_progressed", "invoice_issued", "invoice_request_transitioned"];
3571
3585
  /**
3572
3586
  * Catalog events whose product mapper remains gated on the #1150 frontend
3573
3587
  * 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",
@@ -1864,6 +1866,12 @@ const PayrollRunTransitionedTelemetryEventSchema = Schema.Struct({
1864
1866
  "settled"
1865
1867
  ]),
1866
1868
  run_id: Schema.String,
1869
+ /**
1870
+ * The `paymentCommands` row at `payrollRuns.batchRef` — the durable owner of
1871
+ * this run's Payment membership. `payment_count` counts THAT command's
1872
+ * `paymentIds`, so an unrelated Payment quoting the run id changes neither.
1873
+ */
1874
+ command_id: OptionalString,
1867
1875
  payment_count: Schema.optional(Schema.Number),
1868
1876
  occurred_at: Schema.Number
1869
1877
  })
@@ -1960,9 +1968,7 @@ const FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS = [];
1960
1968
  const CONTRACT_FIRST_TELEMETRY_EVENTS = [
1961
1969
  "org_invite_progressed",
1962
1970
  "invoice_issued",
1963
- "invoice_request_transitioned",
1964
- "payroll_group_changed",
1965
- "payroll_run_transitioned"
1971
+ "invoice_request_transitioned"
1966
1972
  ];
1967
1973
  /**
1968
1974
  * 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.12",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,9 +37,9 @@
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/typescript-config": "0.0.0",
40
41
  "@capxul/types": "0.3.0",
41
- "@capxul/errors": "0.3.0",
42
- "@capxul/typescript-config": "0.0.0"
42
+ "@capxul/errors": "0.3.0"
43
43
  },
44
44
  "scripts": {
45
45
  "check-types": "vp exec ../../node_modules/@typescript/native/bin/tsc -p tsconfig.json --noEmit",