@flarehr/apollo-super-selection 1.3.40354 → 1.3.40462

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.
@@ -72,6 +72,13 @@ declare type PromotedFundChoiceDto = {
72
72
  usi: string;
73
73
  memberNumber: string;
74
74
  };
75
+ } | {
76
+ kind: 'generic';
77
+ generic: {
78
+ fundId: string;
79
+ usi: string;
80
+ memberNumber: string;
81
+ };
75
82
  };
76
83
  export declare function hydratePromotedFundChoiceDtoKind(dto: PromotedFundChoiceDto): void;
77
84
  export declare function getSuperChoiceUsi(dto: SuperChoiceDetailsDto): Option<string>;
@@ -2,6 +2,7 @@ import { Option } from 'fp-ts/Option';
2
2
  import { PromotedFund } from './promoted-fund/types';
3
3
  export declare const allPromotedFunds: PromotedFund[];
4
4
  export declare const getFundByDtoPropName: (dtoPropName: string) => Option<PromotedFund>;
5
+ export declare const getFundByFundId: (fundId: string) => Option<PromotedFund>;
5
6
  export declare const getFundNameByFundId: (fundId: string) => Option<string>;
6
7
  export declare const getFooterTextOverrideByFundId: (fundId: string) => Option<string>;
7
8
  export declare const getFundUsiByFundId: (fundId: string) => Option<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "1.3.40354",
3
+ "version": "1.3.40462",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",