@new-project-media/client-frontends-shared-types 3.23.0 → 3.24.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-project-media/client-frontends-shared-types",
3
- "version": "3.23.0",
3
+ "version": "3.24.0",
4
4
  "scripts": {
5
5
  "build": "tsc -p tsconfig.json",
6
6
  "postbuild": "mkdir -p ../../dist/packages/client-frontends-shared-types/ && cp package.json ../../dist/packages/client-frontends-shared-types/",
package/src/index.d.ts CHANGED
@@ -11,3 +11,4 @@ export * from './lib/intel';
11
11
  export * from './lib/websocket';
12
12
  export * from './lib/transactions';
13
13
  export * from './lib/scroll';
14
+ export * from './lib/orgSummaryReferences';
package/src/index.js CHANGED
@@ -14,4 +14,5 @@ tslib_1.__exportStar(require("./lib/intel"), exports);
14
14
  tslib_1.__exportStar(require("./lib/websocket"), exports);
15
15
  tslib_1.__exportStar(require("./lib/transactions"), exports);
16
16
  tslib_1.__exportStar(require("./lib/scroll"), exports);
17
+ tslib_1.__exportStar(require("./lib/orgSummaryReferences"), exports);
17
18
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/client-frontends-shared-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,wDAA6B;AAC7B,yDAA8B;AAC9B,0DAA+B;AAC/B,+DAAoC;AACpC,qEAA0C;AAC1C,8DAAmC;AACnC,0DAA+B;AAC/B,2DAAgC;AAChC,sDAA2B;AAC3B,0DAA+B;AAC/B,6DAAkC;AAClC,uDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/client-frontends-shared-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B;AAC5B,wDAA6B;AAC7B,yDAA8B;AAC9B,0DAA+B;AAC/B,+DAAoC;AACpC,qEAA0C;AAC1C,8DAAmC;AACnC,0DAA+B;AAC/B,2DAAgC;AAChC,sDAA2B;AAC3B,0DAA+B;AAC/B,6DAAkC;AAClC,uDAA4B;AAC5B,qEAA0C"}
@@ -0,0 +1,4 @@
1
+ export declare const ORG_SUMMARY_REF_CODES: readonly ["INTEL", "SIG", "APP", "DC", "TXN"];
2
+ export type OrgSummaryRefCode = (typeof ORG_SUMMARY_REF_CODES)[number];
3
+ export declare const isOrgSummaryRefCode: (value: string) => value is "DC" | "INTEL" | "SIG" | "APP" | "TXN";
4
+ export declare const ORG_SUMMARY_REF_ROUTE_MAP: Record<OrgSummaryRefCode, string>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // Org-summary `[CODE:id]` citation codes → frontend route segment (`/view/<segment>/<id>`).
3
+ // Also consumed by npm-client-apis for customer deep-links — route renames need a consumer version bump.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ORG_SUMMARY_REF_ROUTE_MAP = exports.isOrgSummaryRefCode = exports.ORG_SUMMARY_REF_CODES = void 0;
6
+ exports.ORG_SUMMARY_REF_CODES = ['INTEL', 'SIG', 'APP', 'DC', 'TXN'];
7
+ const isOrgSummaryRefCode = (value) => exports.ORG_SUMMARY_REF_CODES.includes(value);
8
+ exports.isOrgSummaryRefCode = isOrgSummaryRefCode;
9
+ exports.ORG_SUMMARY_REF_ROUTE_MAP = {
10
+ INTEL: 'intel',
11
+ SIG: 'signals',
12
+ APP: 'queues',
13
+ DC: 'data-centers',
14
+ TXN: 'transactions',
15
+ };
16
+ //# sourceMappingURL=orgSummaryReferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orgSummaryReferences.js","sourceRoot":"","sources":["../../../../../packages/client-frontends-shared-types/src/lib/orgSummaryReferences.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,yGAAyG;;;AAE5F,QAAA,qBAAqB,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAU,CAAA;AAI3E,MAAM,mBAAmB,GAAG,CAAC,KAAa,EAA8B,EAAE,CAC9E,6BAA2C,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AADjD,QAAA,mBAAmB,uBAC8B;AAEjD,QAAA,yBAAyB,GAAsC;IAC1E,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,QAAQ;IACb,EAAE,EAAE,cAAc;IAClB,GAAG,EAAE,cAAc;CACpB,CAAA"}
@@ -9,6 +9,7 @@ export interface TransactionResponse {
9
9
  export interface Transaction {
10
10
  reportedAt: string;
11
11
  summary: string;
12
+ corporateMAType?: string;
12
13
  sectors?: Identifier[];
13
14
  country?: Identifier[];
14
15
  regions?: Identifier[];