be-components 7.6.2 → 7.6.4

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.
Files changed (178) hide show
  1. package/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.js +27 -2
  2. package/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.js.map +1 -1
  3. package/lib/commonjs/BetRouter/layouts/MobileAdminLayout.js +24 -0
  4. package/lib/commonjs/BetRouter/layouts/MobileAdminLayout.js.map +1 -1
  5. package/lib/commonjs/BetRouter/types/credentials.js +20 -4
  6. package/lib/commonjs/BetRouter/types/credentials.js.map +1 -1
  7. package/lib/commonjs/BetRouter/types/liquidity.js +4 -0
  8. package/lib/commonjs/NotificationManager/NotificationManagerTabs.js +188 -0
  9. package/lib/commonjs/NotificationManager/NotificationManagerTabs.js.map +1 -0
  10. package/lib/commonjs/NotificationManager/api/index.js +235 -6
  11. package/lib/commonjs/NotificationManager/api/index.js.map +1 -1
  12. package/lib/commonjs/NotificationManager/components/GroupManagement.js +1038 -0
  13. package/lib/commonjs/NotificationManager/components/GroupManagement.js.map +1 -0
  14. package/lib/commonjs/NotificationManager/components/JobManagement.js +783 -0
  15. package/lib/commonjs/NotificationManager/components/JobManagement.js.map +1 -0
  16. package/lib/commonjs/NotificationManager/components/ScheduleNotification.js +407 -0
  17. package/lib/commonjs/NotificationManager/components/ScheduleNotification.js.map +1 -0
  18. package/lib/commonjs/NotificationManager/components/index.js +56 -0
  19. package/lib/commonjs/NotificationManager/components/index.js.map +1 -0
  20. package/lib/commonjs/NotificationManager/components/shared/DateTimePicker.js +113 -0
  21. package/lib/commonjs/NotificationManager/components/shared/DateTimePicker.js.map +1 -0
  22. package/lib/commonjs/NotificationManager/components/shared/GroupSelector.js +191 -0
  23. package/lib/commonjs/NotificationManager/components/shared/GroupSelector.js.map +1 -0
  24. package/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.js +509 -0
  25. package/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.js.map +1 -0
  26. package/lib/commonjs/NotificationManager/components/shared/StatusBadge.js +69 -0
  27. package/lib/commonjs/NotificationManager/components/shared/StatusBadge.js.map +1 -0
  28. package/lib/commonjs/NotificationManager/index.js +38 -23
  29. package/lib/commonjs/NotificationManager/index.js.map +1 -1
  30. package/lib/commonjs/Wallet/components/WalletActionSelector.js +3 -1
  31. package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
  32. package/lib/commonjs/index.js +7 -0
  33. package/lib/commonjs/index.js.map +1 -1
  34. package/lib/commonjs/types.d.js +2 -0
  35. package/lib/commonjs/types.d.js.map +1 -1
  36. package/lib/module/BetRouter/layouts/DesktopAdminLayout.js +29 -4
  37. package/lib/module/BetRouter/layouts/DesktopAdminLayout.js.map +1 -1
  38. package/lib/module/BetRouter/layouts/MobileAdminLayout.js +26 -2
  39. package/lib/module/BetRouter/layouts/MobileAdminLayout.js.map +1 -1
  40. package/lib/module/BetRouter/types/credentials.js +17 -2
  41. package/lib/module/BetRouter/types/credentials.js.map +1 -1
  42. package/lib/module/BetRouter/types/liquidity.js +1 -1
  43. package/lib/module/NotificationManager/NotificationManagerTabs.js +180 -0
  44. package/lib/module/NotificationManager/NotificationManagerTabs.js.map +1 -0
  45. package/lib/module/NotificationManager/api/index.js +235 -6
  46. package/lib/module/NotificationManager/api/index.js.map +1 -1
  47. package/lib/module/NotificationManager/components/GroupManagement.js +1030 -0
  48. package/lib/module/NotificationManager/components/GroupManagement.js.map +1 -0
  49. package/lib/module/NotificationManager/components/JobManagement.js +775 -0
  50. package/lib/module/NotificationManager/components/JobManagement.js.map +1 -0
  51. package/lib/module/NotificationManager/components/ScheduleNotification.js +399 -0
  52. package/lib/module/NotificationManager/components/ScheduleNotification.js.map +1 -0
  53. package/lib/module/NotificationManager/components/index.js +8 -0
  54. package/lib/module/NotificationManager/components/index.js.map +1 -0
  55. package/lib/module/NotificationManager/components/shared/DateTimePicker.js +106 -0
  56. package/lib/module/NotificationManager/components/shared/DateTimePicker.js.map +1 -0
  57. package/lib/module/NotificationManager/components/shared/GroupSelector.js +184 -0
  58. package/lib/module/NotificationManager/components/shared/GroupSelector.js.map +1 -0
  59. package/lib/module/NotificationManager/components/shared/NotificationBuilderForm.js +501 -0
  60. package/lib/module/NotificationManager/components/shared/NotificationBuilderForm.js.map +1 -0
  61. package/lib/module/NotificationManager/components/shared/StatusBadge.js +62 -0
  62. package/lib/module/NotificationManager/components/shared/StatusBadge.js.map +1 -0
  63. package/lib/module/NotificationManager/index.js +32 -23
  64. package/lib/module/NotificationManager/index.js.map +1 -1
  65. package/lib/module/Wallet/components/WalletActionSelector.js +3 -1
  66. package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
  67. package/lib/module/index.js +2 -1
  68. package/lib/module/index.js.map +1 -1
  69. package/lib/module/types.d.js +2 -0
  70. package/lib/module/types.d.js.map +1 -1
  71. package/lib/typescript/lib/commonjs/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -1
  72. package/lib/typescript/lib/commonjs/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -1
  73. package/lib/typescript/lib/commonjs/BetRouter/types/credentials.d.ts +33 -0
  74. package/lib/typescript/lib/commonjs/BetRouter/types/credentials.d.ts.map +1 -1
  75. package/lib/typescript/lib/commonjs/BetRouter/types/liquidity.d.ts +1 -1
  76. package/lib/typescript/lib/commonjs/NotificationManager/NotificationManagerTabs.d.ts +17 -0
  77. package/lib/typescript/lib/commonjs/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
  78. package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts +17 -2
  79. package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts.map +1 -1
  80. package/lib/typescript/lib/commonjs/NotificationManager/components/GroupManagement.d.ts +6 -0
  81. package/lib/typescript/lib/commonjs/NotificationManager/components/GroupManagement.d.ts.map +1 -0
  82. package/lib/typescript/lib/commonjs/NotificationManager/components/JobManagement.d.ts +7 -0
  83. package/lib/typescript/lib/commonjs/NotificationManager/components/JobManagement.d.ts.map +1 -0
  84. package/lib/typescript/lib/commonjs/NotificationManager/components/ScheduleNotification.d.ts +8 -0
  85. package/lib/typescript/lib/commonjs/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
  86. package/lib/typescript/lib/commonjs/NotificationManager/components/index.d.ts +9 -0
  87. package/lib/typescript/lib/commonjs/NotificationManager/components/index.d.ts.map +1 -0
  88. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/DateTimePicker.d.ts +9 -0
  89. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
  90. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/GroupSelector.d.ts +13 -0
  91. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
  92. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.d.ts +10 -0
  93. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
  94. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/StatusBadge.d.ts +6 -0
  95. package/lib/typescript/lib/commonjs/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
  96. package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts +18 -2
  97. package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts.map +1 -1
  98. package/lib/typescript/lib/commonjs/Wallet/components/WalletActionSelector.d.ts.map +1 -1
  99. package/lib/typescript/lib/commonjs/index.d.ts +18 -2
  100. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
  101. package/lib/typescript/lib/module/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -1
  102. package/lib/typescript/lib/module/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -1
  103. package/lib/typescript/lib/module/BetRouter/types/credentials.d.ts +33 -0
  104. package/lib/typescript/lib/module/BetRouter/types/credentials.d.ts.map +1 -1
  105. package/lib/typescript/lib/module/NotificationManager/NotificationManagerTabs.d.ts +17 -0
  106. package/lib/typescript/lib/module/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
  107. package/lib/typescript/lib/module/NotificationManager/api/index.d.ts +17 -2
  108. package/lib/typescript/lib/module/NotificationManager/api/index.d.ts.map +1 -1
  109. package/lib/typescript/lib/module/NotificationManager/components/GroupManagement.d.ts +6 -0
  110. package/lib/typescript/lib/module/NotificationManager/components/GroupManagement.d.ts.map +1 -0
  111. package/lib/typescript/lib/module/NotificationManager/components/JobManagement.d.ts +7 -0
  112. package/lib/typescript/lib/module/NotificationManager/components/JobManagement.d.ts.map +1 -0
  113. package/lib/typescript/lib/module/NotificationManager/components/ScheduleNotification.d.ts +8 -0
  114. package/lib/typescript/lib/module/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
  115. package/lib/typescript/lib/module/NotificationManager/components/index.d.ts +8 -0
  116. package/lib/typescript/lib/module/NotificationManager/components/index.d.ts.map +1 -0
  117. package/lib/typescript/lib/module/NotificationManager/components/shared/DateTimePicker.d.ts +9 -0
  118. package/lib/typescript/lib/module/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
  119. package/lib/typescript/lib/module/NotificationManager/components/shared/GroupSelector.d.ts +13 -0
  120. package/lib/typescript/lib/module/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
  121. package/lib/typescript/lib/module/NotificationManager/components/shared/NotificationBuilderForm.d.ts +10 -0
  122. package/lib/typescript/lib/module/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
  123. package/lib/typescript/lib/module/NotificationManager/components/shared/StatusBadge.d.ts +6 -0
  124. package/lib/typescript/lib/module/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
  125. package/lib/typescript/lib/module/NotificationManager/index.d.ts +1 -0
  126. package/lib/typescript/lib/module/NotificationManager/index.d.ts.map +1 -1
  127. package/lib/typescript/lib/module/Wallet/components/WalletActionSelector.d.ts.map +1 -1
  128. package/lib/typescript/lib/module/index.d.ts +2 -1
  129. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  130. package/lib/typescript/src/BetRouter/layouts/DesktopAdminLayout.d.ts.map +1 -1
  131. package/lib/typescript/src/BetRouter/layouts/MobileAdminLayout.d.ts.map +1 -1
  132. package/lib/typescript/src/BetRouter/types/credentials.d.ts +3 -1
  133. package/lib/typescript/src/BetRouter/types/credentials.d.ts.map +1 -1
  134. package/lib/typescript/src/BetRouter/types/liquidity.d.ts +11 -0
  135. package/lib/typescript/src/BetRouter/types/liquidity.d.ts.map +1 -1
  136. package/lib/typescript/src/NotificationManager/NotificationManagerTabs.d.ts +20 -0
  137. package/lib/typescript/src/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
  138. package/lib/typescript/src/NotificationManager/api/index.d.ts +74 -3
  139. package/lib/typescript/src/NotificationManager/api/index.d.ts.map +1 -1
  140. package/lib/typescript/src/NotificationManager/components/GroupManagement.d.ts +8 -0
  141. package/lib/typescript/src/NotificationManager/components/GroupManagement.d.ts.map +1 -0
  142. package/lib/typescript/src/NotificationManager/components/JobManagement.d.ts +9 -0
  143. package/lib/typescript/src/NotificationManager/components/JobManagement.d.ts.map +1 -0
  144. package/lib/typescript/src/NotificationManager/components/ScheduleNotification.d.ts +10 -0
  145. package/lib/typescript/src/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
  146. package/lib/typescript/src/NotificationManager/components/index.d.ts +8 -0
  147. package/lib/typescript/src/NotificationManager/components/index.d.ts.map +1 -0
  148. package/lib/typescript/src/NotificationManager/components/shared/DateTimePicker.d.ts +12 -0
  149. package/lib/typescript/src/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
  150. package/lib/typescript/src/NotificationManager/components/shared/GroupSelector.d.ts +16 -0
  151. package/lib/typescript/src/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
  152. package/lib/typescript/src/NotificationManager/components/shared/NotificationBuilderForm.d.ts +12 -0
  153. package/lib/typescript/src/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
  154. package/lib/typescript/src/NotificationManager/components/shared/StatusBadge.d.ts +8 -0
  155. package/lib/typescript/src/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
  156. package/lib/typescript/src/NotificationManager/index.d.ts +1 -0
  157. package/lib/typescript/src/NotificationManager/index.d.ts.map +1 -1
  158. package/lib/typescript/src/index.d.ts +2 -1
  159. package/lib/typescript/src/index.d.ts.map +1 -1
  160. package/package.json +1 -1
  161. package/src/BetRouter/layouts/DesktopAdminLayout.tsx +27 -2
  162. package/src/BetRouter/layouts/MobileAdminLayout.tsx +27 -2
  163. package/src/BetRouter/types/credentials.ts +20 -3
  164. package/src/BetRouter/types/liquidity.ts +18 -0
  165. package/src/NotificationManager/NotificationManagerTabs.tsx +178 -0
  166. package/src/NotificationManager/api/index.ts +239 -6
  167. package/src/NotificationManager/components/GroupManagement.tsx +854 -0
  168. package/src/NotificationManager/components/JobManagement.tsx +569 -0
  169. package/src/NotificationManager/components/ScheduleNotification.tsx +388 -0
  170. package/src/NotificationManager/components/index.ts +7 -0
  171. package/src/NotificationManager/components/shared/DateTimePicker.tsx +94 -0
  172. package/src/NotificationManager/components/shared/GroupSelector.tsx +130 -0
  173. package/src/NotificationManager/components/shared/NotificationBuilderForm.tsx +364 -0
  174. package/src/NotificationManager/components/shared/StatusBadge.tsx +72 -0
  175. package/src/NotificationManager/index.tsx +43 -24
  176. package/src/Wallet/components/WalletActionSelector.tsx +1 -1
  177. package/src/index.tsx +2 -0
  178. package/src/types.d.ts +38 -3
@@ -1,4 +1,5 @@
1
1
  export type BetOpenlyCredentialProps = any;
2
+ export type PolymarketCredentialProps = any;
2
3
  export interface KalshiCredentialProps {
3
4
  api_key: string;
4
5
  private_key_pem: string;
@@ -10,10 +11,11 @@ export interface BettorEdgeCredentialProps {
10
11
  refresh_token?: string;
11
12
  expire_datetime?: any;
12
13
  }
13
- export type PartnerCredentialProps = KalshiCredentialProps | BettorEdgeCredentialProps | BetOpenlyCredentialProps;
14
+ export type PartnerCredentialProps = KalshiCredentialProps | BettorEdgeCredentialProps | BetOpenlyCredentialProps | PolymarketCredentialProps;
14
15
  export declare const isKalshiCredentials: (creds: any) => creds is KalshiCredentialProps;
15
16
  export declare const isBettorEdgeCredentials: (creds: any) => creds is BettorEdgeCredentialProps;
16
17
  export declare const isBetOpenlyCredentials: (creds: any) => creds is BetOpenlyCredentialProps;
18
+ export declare const isPolymarketCredentials: (creds: any) => creds is PolymarketCredentialProps;
17
19
  export declare const getRequiredCredentialFields: (partnerName: string) => string[];
18
20
  export declare const getCredentialFieldLabels: (partnerName: string) => Record<string, string>;
19
21
  export declare const getCredentialFieldTypes: (partnerName: string) => Record<string, "text" | "password" | "textarea">;
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../src/BetRouter/types/credentials.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAA;AAE1C,MAAM,WAAW,qBAAqB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,eAAe,CAAC,EAAE,GAAG,CAAA;CACxB;AAGD,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GAAG,yBAAyB,GAAG,wBAAwB,CAAA;AAGjH,eAAO,MAAM,mBAAmB,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,qBAEzD,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,yBAE7D,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,OAAO,GAAG,KAAG,KAAK,IAAI,wBAE5D,CAAA;AAGD,eAAO,MAAM,2BAA2B,GAAI,aAAa,MAAM,KAAG,MAAM,EA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AAE,MAAM,CA0BnF,CAAA;AAGD,eAAO,MAAM,uBAAuB,GAAI,aAAa,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,CA0B5G,CAAA"}
@@ -1,3 +1,6 @@
1
+ import type { RouterMarketSideProps, RouterMarketVariableProps, RouterMarketProps } from './markets';
2
+ import type { RouterParticipantProps } from './participants';
3
+ import type { PartnerParticipantProps } from './participants';
1
4
  export interface RouterLiquidityProps {
2
5
  router_liquidity_id: string;
3
6
  liquidity_hash: string;
@@ -11,4 +14,12 @@ export interface RouterLiquidityProps {
11
14
  buy_id?: string;
12
15
  last_update_datetime: any;
13
16
  }
17
+ export interface LiquidityReferenceData {
18
+ allRouterMarketSides: RouterMarketSideProps[];
19
+ allRouterMarketVariables: RouterMarketVariableProps[];
20
+ allRouterMarkets: RouterMarketProps[];
21
+ allTimeframes: any[];
22
+ allRouterParticipants: RouterParticipantProps[];
23
+ allPartnerParticipants: PartnerParticipantProps[];
24
+ }
14
25
  //# sourceMappingURL=liquidity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"liquidity.d.ts","sourceRoot":"","sources":["../../../../../src/BetRouter/types/liquidity.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACjC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAA;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,GAAG,CAAA;IACpB,eAAe,EAAE,GAAG,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oBAAoB,EAAE,GAAG,CAAA;CAC5B"}
1
+ {"version":3,"file":"liquidity.d.ts","sourceRoot":"","sources":["../../../../../src/BetRouter/types/liquidity.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACR,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACpB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,MAAM,WAAW,oBAAoB;IACjC,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,KAAK,EAAC,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAA;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,GAAG,CAAA;IACpB,eAAe,EAAE,GAAG,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oBAAoB,EAAE,GAAG,CAAA;CAC5B;AAGD,MAAM,WAAW,sBAAsB;IACnC,oBAAoB,EAAE,qBAAqB,EAAE,CAAC;IAC9C,wBAAwB,EAAE,yBAAyB,EAAE,CAAC;IACtD,gBAAgB,EAAE,iBAAiB,EAAE,CAAC;IACtC,aAAa,EAAE,GAAG,EAAE,CAAC;IACrB,qBAAqB,EAAE,sBAAsB,EAAE,CAAC;IAChD,sBAAsB,EAAE,uBAAuB,EAAE,CAAC;CACrD"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { type ViewStyle } from 'react-native';
3
+ import type { NotificationManagerTab, MyPlayerProps, FocusPositionProps, PlayerNotificationProps } from '../types';
4
+ interface NotificationManagerTabsProps {
5
+ player_ids?: string[];
6
+ me: MyPlayerProps;
7
+ header_style?: ViewStyle;
8
+ footer_style?: ViewStyle;
9
+ float?: boolean;
10
+ notification_type?: 'order_notifications' | 'competition_notifications' | 'social_notifications';
11
+ default_path_name?: string;
12
+ default_params?: Record<string, string>;
13
+ onFocusPosition?: (pos: FocusPositionProps) => void;
14
+ onComplete?: (notification: PlayerNotificationProps) => void;
15
+ onClose?: () => void;
16
+ defaultTab?: NotificationManagerTab;
17
+ }
18
+ declare const NotificationManagerTabs: ({ player_ids, me, header_style, footer_style, float, notification_type, default_path_name, default_params, onFocusPosition, onComplete, onClose, defaultTab }: NotificationManagerTabsProps) => React.JSX.Element;
19
+ export default NotificationManagerTabs;
20
+ //# sourceMappingURL=NotificationManagerTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationManagerTabs.d.ts","sourceRoot":"","sources":["../../../../src/NotificationManager/NotificationManagerTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAQhE,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,kBAAkB,EAAwB,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAEzI,UAAU,4BAA4B;IAClC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,EAAE,EAAE,aAAa,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iBAAiB,CAAC,EAAE,qBAAqB,GAAG,2BAA2B,GAAG,sBAAsB,CAAC;IACjG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,CAAC,YAAY,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,sBAAsB,CAAC;CACvC;AAED,QAAA,MAAM,uBAAuB,GAAI,+JAa9B,4BAA4B,sBAwI9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { NotificationGroupMemberProps, NotificationGroupProps, PlayerNotificationProps, PublicPlayerProps } from '../../types';
1
+ import type { NotificationGroupMemberProps, NotificationGroupProps, NotificationJobProps, PlayerNotificationProps, PublicPlayerProps } from '../../types';
2
2
  export interface CreateNotificationProps {
3
3
  player_id?: string;
4
4
  player_ids?: string[];
@@ -812,11 +812,82 @@ export declare const NotificationApi: {
812
812
  getPlayersByPlayerIds: (player_ids: string[]) => Promise<PublicPlayerProps[]>;
813
813
  /**
814
814
  * Send notifications to multiple players
815
+ * @param player_notification - The notification to send
816
+ * @param player_ids - Array of player IDs (must be empty if notification_group_id is provided)
817
+ * @param notification_group_id - Optional group ID (server will fetch members)
815
818
  */
816
- broadcastNotifications: (player_notification: PlayerNotificationProps, player_ids: string[]) => Promise<{
819
+ broadcastNotifications: (player_notification: PlayerNotificationProps, player_ids: string[], notification_group_id?: string) => Promise<{
817
820
  message: string;
818
821
  }>;
819
- getActiveNotificationGroups: () => Promise<NotificationGroupProps[]>;
822
+ getActiveNotificationGroups: (limit?: number, offset?: number) => Promise<NotificationGroupProps[]>;
820
823
  getNotificationGroupMembersByGroup: (notification_group_id: string) => Promise<NotificationGroupMemberProps[]>;
824
+ /**
825
+ * Get all notification groups
826
+ */
827
+ getAllNotificationGroups: (limit?: number, offset?: number, search?: string) => Promise<NotificationGroupProps[]>;
828
+ /**
829
+ * Get notification groups by status
830
+ */
831
+ getNotificationGroupsByStatus: (status: "active" | "inactive", limit?: number, offset?: number, search?: string) => Promise<NotificationGroupProps[]>;
832
+ /**
833
+ * Get a single notification group by ID
834
+ */
835
+ getNotificationGroupById: (notification_group_id: string) => Promise<NotificationGroupProps | null>;
836
+ /**
837
+ * Create a new notification group
838
+ */
839
+ createNotificationGroup: (notification_group: Partial<NotificationGroupProps>) => Promise<NotificationGroupProps | null>;
840
+ /**
841
+ * Update an existing notification group
842
+ */
843
+ updateNotificationGroup: (notification_group: NotificationGroupProps) => Promise<NotificationGroupProps | null>;
844
+ /**
845
+ * Inactivate a notification group
846
+ */
847
+ inactivateNotificationGroup: (notification_group_id: string) => Promise<{
848
+ message: string;
849
+ }>;
850
+ /**
851
+ * Trigger grouping function to update group members, or manually add members via player_ids array
852
+ */
853
+ updateGroupMembers: (notification_group_id: string, player_ids?: string[]) => Promise<{
854
+ message: string;
855
+ }>;
856
+ /**
857
+ * Get all notification jobs
858
+ */
859
+ getAllNotificationJobs: (limit?: number, offset?: number) => Promise<NotificationJobProps[]>;
860
+ /**
861
+ * Get notification jobs by status
862
+ */
863
+ getNotificationJobsByStatus: (status: string, limit?: number, offset?: number) => Promise<NotificationJobProps[]>;
864
+ /**
865
+ * Get notification jobs by group ID
866
+ */
867
+ getNotificationJobsByGroup: (notification_group_id: string) => Promise<NotificationJobProps[]>;
868
+ /**
869
+ * Get a single notification job by ID
870
+ */
871
+ getNotificationJobById: (notification_job_id: string) => Promise<NotificationJobProps | null>;
872
+ /**
873
+ * Create a new notification job
874
+ */
875
+ createNotificationJob: (notification_job: Partial<NotificationJobProps>) => Promise<NotificationJobProps | null>;
876
+ /**
877
+ * Update an existing notification job
878
+ */
879
+ updateNotificationJob: (notification_job: NotificationJobProps) => Promise<NotificationJobProps | null>;
880
+ /**
881
+ * Finalize a notification job (mark as ready for sending)
882
+ */
883
+ finalizeNotificationJob: (notification_job_id: string) => Promise<{
884
+ message: string;
885
+ }>;
886
+ /**
887
+ * Cancel a notification job
888
+ */
889
+ cancelNotificationJob: (notification_job_id: string) => Promise<{
890
+ message: string;
891
+ }>;
821
892
  };
822
893
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/NotificationManager/api/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIpI,MAAM,WAAW,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AAC;CAS1F,CAAA"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { FocusPositionProps } from '../../types';
3
+ interface GroupManagementProps {
4
+ onFocusPosition?: (pos: FocusPositionProps) => void;
5
+ }
6
+ declare const GroupManagement: ({ onFocusPosition }: GroupManagementProps) => React.JSX.Element;
7
+ export default GroupManagement;
8
+ //# sourceMappingURL=GroupManagement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupManagement.d.ts","sourceRoot":"","sources":["../../../../../src/NotificationManager/components/GroupManagement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAyC,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAI7F,UAAU,oBAAoB;IAC1B,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACvD;AAgBD,QAAA,MAAM,eAAe,GAAI,qBAAqB,oBAAoB,sBAszBjE,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { NotificationJobProps, FocusPositionProps } from '../../types';
3
+ interface JobManagementProps {
4
+ onEditJob?: (job: NotificationJobProps) => void;
5
+ onFocusPosition?: (pos: FocusPositionProps) => void;
6
+ }
7
+ declare const JobManagement: ({ onEditJob, onFocusPosition }: JobManagementProps) => React.JSX.Element;
8
+ export default JobManagement;
9
+ //# sourceMappingURL=JobManagement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobManagement.d.ts","sourceRoot":"","sources":["../../../../../src/NotificationManager/components/JobManagement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAAE,oBAAoB,EAAiD,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAI3H,UAAU,kBAAkB;IACxB,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IAChD,eAAe,CAAC,EAAC,CAAC,GAAG,EAAC,kBAAkB,KAAK,IAAI,CAAA;CACpD;AAsBD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,sBAihBxE,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { NotificationJobProps, FocusPositionProps } from '../../types';
3
+ interface ScheduleNotificationProps {
4
+ onFocusPosition?: (pos: FocusPositionProps) => void;
5
+ editingJob?: NotificationJobProps | null;
6
+ onJobSaved?: () => void;
7
+ }
8
+ declare const ScheduleNotification: ({ onFocusPosition, editingJob, onJobSaved }: ScheduleNotificationProps) => React.JSX.Element;
9
+ export default ScheduleNotification;
10
+ //# sourceMappingURL=ScheduleNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduleNotification.d.ts","sourceRoot":"","sources":["../../../../../src/NotificationManager/components/ScheduleNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,KAAK,EAAmD,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE7H,UAAU,yBAAyB;IAC/B,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,QAAA,MAAM,oBAAoB,GAAI,6CAA6C,yBAAyB,sBA8WnG,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export { default as GroupManagement } from './GroupManagement';
2
+ export { default as ScheduleNotification } from './ScheduleNotification';
3
+ export { default as JobManagement } from './JobManagement';
4
+ export { default as GroupSelector } from './shared/GroupSelector';
5
+ export { default as StatusBadge } from './shared/StatusBadge';
6
+ export { default as DateTimePicker } from './shared/DateTimePicker';
7
+ export { default as NotificationBuilderForm } from './shared/NotificationBuilderForm';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/NotificationManager/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { FocusPositionProps } from '../../../types';
3
+ interface DateTimePickerProps {
4
+ value: Date;
5
+ onChange: (date: Date) => void;
6
+ label?: string;
7
+ minDate?: Date;
8
+ onFocusPosition?: (pos: FocusPositionProps) => void;
9
+ }
10
+ declare const DateTimePicker: ({ value, onChange, label, onFocusPosition }: DateTimePickerProps) => React.JSX.Element;
11
+ export default DateTimePicker;
12
+ //# sourceMappingURL=DateTimePicker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../../../../src/NotificationManager/components/shared/DateTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,UAAU,mBAAmB;IACzB,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACvD;AAED,QAAA,MAAM,cAAc,GAAI,6CAA6C,mBAAmB,sBA+EvF,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import type { NotificationGroupProps, FocusPositionProps } from '../../../types';
3
+ interface GroupSelectorProps {
4
+ visible: boolean;
5
+ onClose: () => void;
6
+ onSelectGroup: (group: NotificationGroupProps) => void;
7
+ groups: NotificationGroupProps[];
8
+ loading?: boolean;
9
+ selectedGroup?: NotificationGroupProps | null;
10
+ showCustomOption?: boolean;
11
+ customGroup?: NotificationGroupProps;
12
+ onFocusPosition?: (pos: FocusPositionProps) => void;
13
+ }
14
+ declare const GroupSelector: ({ visible, onClose, onSelectGroup, groups, loading, selectedGroup, showCustomOption, customGroup }: GroupSelectorProps) => React.JSX.Element | null;
15
+ export default GroupSelector;
16
+ //# sourceMappingURL=GroupSelector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/NotificationManager/components/shared/GroupSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEjF,UAAU,kBAAkB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACvD,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,sBAAsB,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACvD;AAED,QAAA,MAAM,aAAa,GAAI,oGASpB,kBAAkB,6BAoGpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { PlayerNotificationProps, FocusPositionProps } from '../../../types';
3
+ interface NotificationBuilderFormProps {
4
+ notification: Partial<PlayerNotificationProps>;
5
+ onChange: (notification: Partial<PlayerNotificationProps>) => void;
6
+ onFocusPosition?: (pos: FocusPositionProps) => void;
7
+ showPreview?: boolean;
8
+ showType?: boolean;
9
+ }
10
+ declare const NotificationBuilderForm: ({ notification, onChange, onFocusPosition, showPreview, showType }: NotificationBuilderFormProps) => React.JSX.Element;
11
+ export default NotificationBuilderForm;
12
+ //# sourceMappingURL=NotificationBuilderForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationBuilderForm.d.ts","sourceRoot":"","sources":["../../../../../../src/NotificationManager/components/shared/NotificationBuilderForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAElF,UAAU,4BAA4B;IAClC,YAAY,EAAE,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC/C,QAAQ,EAAE,CAAC,YAAY,EAAE,OAAO,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;IACnE,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACpD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAQD,QAAA,MAAM,uBAAuB,GAAI,oEAM9B,4BAA4B,sBA4U9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { NotificationJobStatus } from '../../../types';
3
+ interface StatusBadgeProps {
4
+ status: NotificationJobStatus;
5
+ }
6
+ declare const StatusBadge: ({ status }: StatusBadgeProps) => React.JSX.Element;
7
+ export default StatusBadge;
8
+ //# sourceMappingURL=StatusBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../../../../src/NotificationManager/components/shared/StatusBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,UAAU,gBAAgB;IACtB,MAAM,EAAE,qBAAqB,CAAC;CACjC;AAED,QAAA,MAAM,WAAW,GAAI,YAAY,gBAAgB,sBA4DhD,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -18,4 +18,5 @@ type NotificationManagerProps = {
18
18
  declare const NotificationManager: ({ player_ids, me, float, header_style, footer_style, notification_type, default_path_name, onFocusPosition, default_params, onComplete, onClose }: NotificationManagerProps) => React.JSX.Element;
19
19
  export default NotificationManager;
20
20
  export { NotificationApi, NotificationHelpers };
21
+ export { default as NotificationManagerTabs } from './NotificationManagerTabs';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/NotificationManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAiD,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7F,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAA0B,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAKnH,KAAK,wBAAwB,GAAG;IAC5B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB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,CAAC;IACjG,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAC,CAAC,GAAG,EAAC,kBAAkB,KAAK,IAAI,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,UAAU,CAAC,EAAE,CAAC,YAAY,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAUF,QAAA,MAAM,mBAAmB,GAAI,mJAY1B,wBAAwB,sBAu3B1B,CAAC;AAEF,eAAe,mBAAmB,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -71,7 +71,8 @@ import BettorBotDashboard from './BettorBot';
71
71
  import NotificationManager from './NotificationManager';
72
72
  import { NotificationApi, NotificationHelpers } from './NotificationManager/api';
73
73
  import BetRouter from './BetRouter/index';
74
+ import NotificationManagerTabs from './NotificationManager/NotificationManagerTabs';
74
75
  export { LivePriceChart, BaseLineChart, TradeChartAdapter } from './Charts';
75
76
  export type { Trade, TradeChartOptions, TimeSeriesPoint, TimeSeriesData, LivePriceChartProps } from './Charts';
76
- export { Authenticator, Observer, MyAction, CreateEmbed, ReferralCodeManager, BetRouter, CreateEngagement, DiscordConnectionManager, BEEventApi, FlashCampaignManager, BettorBotDashboard, EmbedManager, RankingsCard, ManageFlashMarket, BELinkApi, PartnerPortal, SquaresManager, GuideView, BetMatch, ManageFilter, Ticker, Premium, CreateGroupWizard, LeaderboardCard, GroupComponent, LocationTracker, BEClarity, FlashMarket, ContactsCard, PlayerRecommender, GolfScoreboard, ContactsSelector, Campaign, BEPostHog, ManageBracketCompetitionForm, NotificationModule, FlashHolder, useNotifications, ClaritySmartEvents, ProfileManager, CompetitionManager, Components, SocialComponents, APIOverrides, LinearGradient, usePlayerLocation, BettorSearch, Colors, MyWallet, Share, Checkout, MarketComponents, EventComponents, PollCampaign, PollCampaignApi, PollApi, MarketMaker, CompetitionModule, SeasonManager, CreateCompetitionForm, CreateSeasonForm, SeasonModule, AdminCompetitionList, AdServer, Leaderboard, AdProvider, BracketRoom, SquaresModule, SocketManager, PromotedOrder, EngageModule, CompetitionCard, SquaresCompetitionCard, BracketCompetitionCard, SeasonCard, NotificationManager, NotificationApi, NotificationHelpers };
77
+ export { Authenticator, Observer, MyAction, CreateEmbed, ReferralCodeManager, NotificationManagerTabs, BetRouter, CreateEngagement, DiscordConnectionManager, BEEventApi, FlashCampaignManager, BettorBotDashboard, EmbedManager, RankingsCard, ManageFlashMarket, BELinkApi, PartnerPortal, SquaresManager, GuideView, BetMatch, ManageFilter, Ticker, Premium, CreateGroupWizard, LeaderboardCard, GroupComponent, LocationTracker, BEClarity, FlashMarket, ContactsCard, PlayerRecommender, GolfScoreboard, ContactsSelector, Campaign, BEPostHog, ManageBracketCompetitionForm, NotificationModule, FlashHolder, useNotifications, ClaritySmartEvents, ProfileManager, CompetitionManager, Components, SocialComponents, APIOverrides, LinearGradient, usePlayerLocation, BettorSearch, Colors, MyWallet, Share, Checkout, MarketComponents, EventComponents, PollCampaign, PollCampaignApi, PollApi, MarketMaker, CompetitionModule, SeasonManager, CreateCompetitionForm, CreateSeasonForm, SeasonModule, AdminCompetitionList, AdServer, Leaderboard, AdProvider, BracketRoom, SquaresModule, SocketManager, PromotedOrder, EngageModule, CompetitionCard, SquaresCompetitionCard, BracketCompetitionCard, SeasonCard, NotificationManager, NotificationApi, NotificationHelpers };
77
78
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C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WAAW,EACX,mBAAmB,EACnB,uBAAuB,EACvB,SAAS,EACT,gBAAgB,EAChB,wBAAwB,EACxB,UAAU,EACV,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,cAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,OAAO,EACP,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,SAAS,EACT,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,4BAA4B,EAC5B,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,eAAe,EACf,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "7.6.2",
3
+ "version": "7.6.4",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -2,8 +2,8 @@ import React, { useEffect, useState } from 'react';
2
2
  import { View, Text } from "../../Components/Themed";
3
3
  import { ScrollView, TouchableOpacity } from 'react-native';
4
4
  import { useColors } from '../../constants/useColors';
5
- import { Icons, SearchBox } from '../../Components';
6
- import { getLeagues } from '../api';
5
+ import { Icons, SearchBox, Button } from '../../Components';
6
+ import { getLeagues, BetRouterApi } from '../api';
7
7
  import type { RouterLeagueProps } from '../types';
8
8
  import LeagueInfo from '../components/admin/LeagueInfo';
9
9
  import LeagueContests from '../components/admin/LeagueContests';
@@ -33,9 +33,11 @@ const DesktopAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
33
33
  const [selectedSection, setSelectedSection] = useState<NavigationSection>('info');
34
34
  const [selectedTool, setSelectedTool] = useState<GlobalTool | null>(null);
35
35
  const [searchText, setSearchText] = useState('');
36
+ const [reconcilingOpportunities, setReconcilingOpportunities] = useState(false);
36
37
 
37
38
  // Load leagues on mount
38
39
  useEffect(() => {
40
+ BetRouterApi.setEnvironment();
39
41
  loadLeagues();
40
42
  }, []);
41
43
 
@@ -91,6 +93,19 @@ const DesktopAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
91
93
  setSelectedSection('info'); // Reset section when selecting a tool
92
94
  };
93
95
 
96
+ const handleReconcileOpportunities = async () => {
97
+ setReconcilingOpportunities(true);
98
+ try {
99
+ await BetRouterApi.BetRouter.OpportunityApi.reconcileOpportunities();
100
+ alert('Opportunities reconciled successfully!');
101
+ } catch (error) {
102
+ console.error('Failed to reconcile opportunities:', error);
103
+ alert('Failed to reconcile opportunities. Check console for details.');
104
+ } finally {
105
+ setReconcilingOpportunities(false);
106
+ }
107
+ };
108
+
94
109
  const filteredLeagues = leagues.filter(league =>
95
110
  league.name.toLowerCase().includes(searchText.toLowerCase())
96
111
  );
@@ -298,6 +313,7 @@ const DesktopAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
298
313
  paddingLeft: 16,
299
314
  backgroundColor: selectedTool === 'router-markets' ? Colors.views.header : 'transparent',
300
315
  borderRadius: 4,
316
+ marginBottom: 16,
301
317
  }}
302
318
  >
303
319
  <Text
@@ -307,6 +323,15 @@ const DesktopAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
307
323
  Router Markets
308
324
  </Text>
309
325
  </TouchableOpacity>
326
+
327
+ {/* Reconcile Opportunities Button */}
328
+ <View transparent style={{ paddingLeft: 16, paddingRight: 16 }}>
329
+ <Button
330
+ title={reconcilingOpportunities ? "Reconciling..." : "Reconcile Opportunities"}
331
+ onPress={handleReconcileOpportunities}
332
+ disabled={reconcilingOpportunities}
333
+ />
334
+ </View>
310
335
  </View>
311
336
  </ScrollView>
312
337
  </View>
@@ -2,8 +2,8 @@ import React, { useEffect, useState } from 'react';
2
2
  import { View, Text } from "../../Components/Themed";
3
3
  import { ScrollView, TouchableOpacity } from 'react-native';
4
4
  import { useColors } from '../../constants/useColors';
5
- import { Icons, SearchBox } from '../../Components';
6
- import { getLeagues } from '../api';
5
+ import { Icons, SearchBox, Button } from '../../Components';
6
+ import { getLeagues, BetRouterApi } from '../api';
7
7
  import type { RouterLeagueProps } from '../types';
8
8
  import LeagueInfo from '../components/admin/LeagueInfo';
9
9
  import LeagueContests from '../components/admin/LeagueContests';
@@ -34,8 +34,10 @@ const MobileAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
34
34
  const [selectedTool, setSelectedTool] = useState<GlobalTool | null>(null);
35
35
  const [currentScreen, setCurrentScreen] = useState<Screen>('menu');
36
36
  const [searchText, setSearchText] = useState('');
37
+ const [reconcilingOpportunities, setReconcilingOpportunities] = useState(false);
37
38
 
38
39
  useEffect(() => {
40
+ BetRouterApi.setEnvironment();
39
41
  loadLeagues();
40
42
  }, []);
41
43
 
@@ -77,6 +79,19 @@ const MobileAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
77
79
  }
78
80
  };
79
81
 
82
+ const handleReconcileOpportunities = async () => {
83
+ setReconcilingOpportunities(true);
84
+ try {
85
+ await BetRouterApi.BetRouter.OpportunityApi.reconcileOpportunities();
86
+ alert('Opportunities reconciled successfully!');
87
+ } catch (error) {
88
+ console.error('Failed to reconcile opportunities:', error);
89
+ alert('Failed to reconcile opportunities. Check console for details.');
90
+ } finally {
91
+ setReconcilingOpportunities(false);
92
+ }
93
+ };
94
+
80
95
  const filteredLeagues = leagues.filter(league =>
81
96
  league.name.toLowerCase().includes(searchText.toLowerCase())
82
97
  );
@@ -188,6 +203,7 @@ const MobileAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
188
203
  borderRadius: 8,
189
204
  borderWidth: 1,
190
205
  borderColor: Colors.borders.light,
206
+ marginBottom: 8,
191
207
  flexDirection: 'row',
192
208
  alignItems: 'center',
193
209
  justifyContent: 'space-between'
@@ -201,6 +217,15 @@ const MobileAdminLayout = ({ insets, onClose, initialContestId, initialLeagueId
201
217
  </View>
202
218
  <Icons.ChevronIcon size={20} color={Colors.text.descriptionLight} direction="right" />
203
219
  </TouchableOpacity>
220
+
221
+ {/* Reconcile Opportunities Button */}
222
+ <View transparent style={{ marginTop: 4 }}>
223
+ <Button
224
+ title={reconcilingOpportunities ? "Reconciling..." : "Reconcile Opportunities"}
225
+ onPress={handleReconcileOpportunities}
226
+ disabled={reconcilingOpportunities}
227
+ />
228
+ </View>
204
229
  </View>
205
230
 
206
231
  {/* Leagues Section */}
@@ -1,11 +1,12 @@
1
1
  // Partner Credential Types
2
2
  // These define what inputs are needed for each partner
3
3
 
4
- //import { BetOpenlyCredentialProps as BetOpenlyCredentialPropsImport } from "../partners/betopenly/cred.types"
5
-
6
4
  // Re-export BetOpenly credentials
7
5
  export type BetOpenlyCredentialProps = any
8
6
 
7
+ // Re-export Polymarket credentials
8
+ export type PolymarketCredentialProps = any
9
+
9
10
  export interface KalshiCredentialProps {
10
11
  api_key: string
11
12
  private_key_pem: string
@@ -20,7 +21,7 @@ export interface BettorEdgeCredentialProps {
20
21
  }
21
22
 
22
23
  // Union type of all possible credentials
23
- export type PartnerCredentialProps = KalshiCredentialProps | BettorEdgeCredentialProps | BetOpenlyCredentialProps
24
+ export type PartnerCredentialProps = KalshiCredentialProps | BettorEdgeCredentialProps | BetOpenlyCredentialProps | PolymarketCredentialProps
24
25
 
25
26
  // Type guard helpers for client to determine which credential type is needed
26
27
  export const isKalshiCredentials = (creds: any): creds is KalshiCredentialProps => {
@@ -35,6 +36,10 @@ export const isBetOpenlyCredentials = (creds: any): creds is BetOpenlyCredential
35
36
  return 'username' in creds && 'password' in creds && !('device_id' in creds)
36
37
  }
37
38
 
39
+ export const isPolymarketCredentials = (creds: any): creds is PolymarketCredentialProps => {
40
+ return 'private_key' in creds
41
+ }
42
+
38
43
  // Helper to get required fields for a partner by name
39
44
  export const getRequiredCredentialFields = (partnerName: string): string[] => {
40
45
  switch (partnerName) {
@@ -44,6 +49,8 @@ export const getRequiredCredentialFields = (partnerName: string): string[] => {
44
49
  return ['username', 'password']
45
50
  case 'BetOpenly':
46
51
  return ['user_id','username', 'password']
52
+ case 'Polymarket':
53
+ return ['private_key', 'funder']
47
54
  default:
48
55
  return []
49
56
  }
@@ -68,6 +75,11 @@ export const getCredentialFieldLabels = (partnerName: string): Record<string, st
68
75
  password: 'Password',
69
76
  user_id: 'User Id'
70
77
  }
78
+ case 'Polymarket':
79
+ return {
80
+ private_key: 'Private Key (Ethereum Wallet)',
81
+ funder: 'Funder Address (shown under profile pic on Polymarket)'
82
+ }
71
83
  default:
72
84
  return {}
73
85
  }
@@ -92,6 +104,11 @@ export const getCredentialFieldTypes = (partnerName: string): Record<string, 'te
92
104
  username: 'text',
93
105
  password: 'password'
94
106
  }
107
+ case 'Polymarket':
108
+ return {
109
+ private_key: 'password',
110
+ funder: 'text'
111
+ }
95
112
  default:
96
113
  return {}
97
114
  }
@@ -1,5 +1,13 @@
1
1
  // Liquidity Types
2
2
 
3
+ import type {
4
+ RouterMarketSideProps,
5
+ RouterMarketVariableProps,
6
+ RouterMarketProps
7
+ } from './markets';
8
+ import type { RouterParticipantProps } from './participants';
9
+ import type { PartnerParticipantProps } from './participants';
10
+
3
11
  export interface RouterLiquidityProps {
4
12
  router_liquidity_id: string // PK
5
13
  liquidity_hash: string // Hash identifier: partner_id:router_contest_id:router_market_id:market_side_id:market_variable_id:participant_id:timeframe_id
@@ -13,3 +21,13 @@ export interface RouterLiquidityProps {
13
21
  buy_id?: string
14
22
  last_update_datetime: any // MOMENT
15
23
  }
24
+
25
+ // Reference data shared across all getBatchLiquidity calls
26
+ export interface LiquidityReferenceData {
27
+ allRouterMarketSides: RouterMarketSideProps[];
28
+ allRouterMarketVariables: RouterMarketVariableProps[];
29
+ allRouterMarkets: RouterMarketProps[];
30
+ allTimeframes: any[];
31
+ allRouterParticipants: RouterParticipantProps[];
32
+ allPartnerParticipants: PartnerParticipantProps[];
33
+ }