@hiver/connector-admin 0.0.10-beta.8 → 1.0.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.
Files changed (236) hide show
  1. package/app/connectors/index.d.ts +1 -1
  2. package/app/connectors/index.d.ts.map +1 -1
  3. package/app/connectors/pages/api-view/__tests__/connector-config.test.d.ts.map +1 -0
  4. package/app/connectors/pages/api-view/index.d.ts.map +1 -0
  5. package/app/connectors/pages/api-view/style.d.ts.map +1 -0
  6. package/app/connectors/pages/auth-success/index.d.ts.map +1 -1
  7. package/app/connectors/pages/connector-view/agent/styles.d.ts +2 -2
  8. package/app/connectors/pages/connector-view/agent/styles.d.ts.map +1 -1
  9. package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
  10. package/app/connectors/pages/connector-view/dashboard/styles.d.ts +1 -16
  11. package/app/connectors/pages/connector-view/dashboard/styles.d.ts.map +1 -1
  12. package/app/connectors/pages/connector-view/index.d.ts.map +1 -1
  13. package/app/connectors/pages/connector-view/style.d.ts +5 -0
  14. package/app/connectors/pages/connector-view/style.d.ts.map +1 -0
  15. package/app/connectors/pages/settings/index.d.ts.map +1 -1
  16. package/app/connectors/pages/settings/styles.d.ts +2 -3
  17. package/app/connectors/pages/settings/styles.d.ts.map +1 -1
  18. package/app/connectors/pages/upgrade-page/index.d.ts +7 -0
  19. package/app/connectors/pages/upgrade-page/index.d.ts.map +1 -0
  20. package/app/connectors/pages/upgrade-page/style.d.ts +16 -0
  21. package/app/connectors/pages/upgrade-page/style.d.ts.map +1 -0
  22. package/app/connectors/provider.d.ts +3 -6
  23. package/app/connectors/provider.d.ts.map +1 -1
  24. package/app/connectors/router.d.ts +3 -2
  25. package/app/connectors/router.d.ts.map +1 -1
  26. package/app/style.d.ts +5 -0
  27. package/app/style.d.ts.map +1 -0
  28. package/components/layouts/sidebar/index.d.ts.map +1 -1
  29. package/components/layouts/sidebar/styles.d.ts.map +1 -1
  30. package/components/ui/bread-crumbs/index.d.ts +6 -2
  31. package/components/ui/bread-crumbs/index.d.ts.map +1 -1
  32. package/components/ui/bread-crumbs/styles.d.ts.map +1 -1
  33. package/components/ui/form/index.d.ts +7 -1
  34. package/components/ui/form/index.d.ts.map +1 -1
  35. package/components/ui/form/styles.d.ts.map +1 -1
  36. package/components/ui/form-fields/index.d.ts +4 -0
  37. package/components/ui/form-fields/index.d.ts.map +1 -1
  38. package/components/ui/form-fields/styles.d.ts.map +1 -1
  39. package/constants/bread-crumbs.d.ts +0 -2
  40. package/constants/bread-crumbs.d.ts.map +1 -1
  41. package/constants/gainsight.d.ts +23 -0
  42. package/constants/gainsight.d.ts.map +1 -0
  43. package/constants/global-constants.d.ts +13 -0
  44. package/constants/global-constants.d.ts.map +1 -0
  45. package/constants/modal.d.ts +1 -1
  46. package/constants/modal.d.ts.map +1 -1
  47. package/constants/router-paths.d.ts +1 -1
  48. package/constants/sidebar.d.ts +3 -0
  49. package/constants/sidebar.d.ts.map +1 -1
  50. package/context/index.d.ts +5 -2
  51. package/context/index.d.ts.map +1 -1
  52. package/context/main-app-provider/index.d.ts +2 -5
  53. package/context/main-app-provider/index.d.ts.map +1 -1
  54. package/features/agent/components/agent-landing/index.d.ts +2 -1
  55. package/features/agent/components/agent-landing/index.d.ts.map +1 -1
  56. package/features/agent/components/agent-landing/styles.d.ts +4 -4
  57. package/features/agent/components/agent-landing/styles.d.ts.map +1 -1
  58. package/features/agent/constants/index.d.ts +2 -0
  59. package/features/agent/constants/index.d.ts.map +1 -1
  60. package/features/api-library/components/api-library/index.d.ts +11 -0
  61. package/features/api-library/components/api-library/index.d.ts.map +1 -0
  62. package/features/api-library/components/api-library/styles.d.ts +5 -0
  63. package/features/api-library/components/api-library/styles.d.ts.map +1 -0
  64. package/features/api-library/components/api-library-skeleton/index.d.ts.map +1 -0
  65. package/features/{connector-library → api-library}/components/api-library-skeleton/styles.d.ts +3 -1
  66. package/features/api-library/components/api-library-skeleton/styles.d.ts.map +1 -0
  67. package/features/api-library/constants/api-library.d.ts +4 -0
  68. package/features/api-library/constants/api-library.d.ts.map +1 -0
  69. package/features/auth/api/index.d.ts +0 -1
  70. package/features/auth/api/index.d.ts.map +1 -1
  71. package/features/auth/components/api-executor/index.d.ts +3 -1
  72. package/features/auth/components/api-executor/index.d.ts.map +1 -1
  73. package/features/auth/components/auth-form/index.d.ts.map +1 -1
  74. package/features/auth/components/auth-form/styles.d.ts +2 -1
  75. package/features/auth/components/auth-form/styles.d.ts.map +1 -1
  76. package/features/auth/components/auth-form-skeleton/index.d.ts +2 -0
  77. package/features/auth/components/auth-form-skeleton/index.d.ts.map +1 -0
  78. package/features/auth/constants/api.d.ts +0 -1
  79. package/features/auth/constants/api.d.ts.map +1 -1
  80. package/features/auth/constants/form-config.d.ts.map +1 -1
  81. package/features/auth/constants/index.d.ts +7 -2
  82. package/features/auth/constants/index.d.ts.map +1 -1
  83. package/features/auth/store/initial-state.d.ts +0 -3
  84. package/features/auth/store/initial-state.d.ts.map +1 -1
  85. package/features/auth/store/selectors.d.ts +0 -3
  86. package/features/auth/store/selectors.d.ts.map +1 -1
  87. package/features/auth/store/slice.d.ts +5 -17
  88. package/features/auth/store/slice.d.ts.map +1 -1
  89. package/features/auth/types/form.d.ts +2 -1
  90. package/features/auth/types/form.d.ts.map +1 -1
  91. package/features/auth/types/request.d.ts +4 -3
  92. package/features/auth/types/request.d.ts.map +1 -1
  93. package/features/auth/utils/index.d.ts.map +1 -1
  94. package/features/connector-library/api/index.d.ts +1 -2
  95. package/features/connector-library/api/index.d.ts.map +1 -1
  96. package/features/connector-library/components/custom-connector-card-item/index.d.ts +11 -0
  97. package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -0
  98. package/features/connector-library/components/custom-connector-card-item/styles.d.ts +11 -0
  99. package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -0
  100. package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
  101. package/features/connector-library/components/custom-connector-card-list/index.d.ts +3 -0
  102. package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -0
  103. package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +1 -0
  104. package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +9 -0
  105. package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -0
  106. package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts +5 -0
  107. package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -0
  108. package/features/connector-library/constants/api.d.ts +1 -2
  109. package/features/connector-library/constants/api.d.ts.map +1 -1
  110. package/features/connector-library/store/initial-state.d.ts +4 -10
  111. package/features/connector-library/store/initial-state.d.ts.map +1 -1
  112. package/features/connector-library/store/selectors.d.ts +2 -8
  113. package/features/connector-library/store/selectors.d.ts.map +1 -1
  114. package/features/connector-library/store/slice.d.ts +10 -36
  115. package/features/connector-library/store/slice.d.ts.map +1 -1
  116. package/features/request-new-connector/components/request-new-card/index.d.ts.map +1 -1
  117. package/features/request-new-connector/components/request-new-card/styles.d.ts +0 -11
  118. package/features/request-new-connector/components/request-new-card/styles.d.ts.map +1 -1
  119. package/features/request-new-connector/components/request-new-modal/index.d.ts +1 -1
  120. package/features/request-new-connector/components/request-new-modal/index.d.ts.map +1 -1
  121. package/features/request-new-connector/components/request-new-modal/request-panel.d.ts +1 -0
  122. package/features/request-new-connector/components/request-new-modal/request-panel.d.ts.map +1 -1
  123. package/features/request-new-connector/components/request-new-modal/styles.d.ts +3 -1
  124. package/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -1
  125. package/features/request-new-connector/components/request-new-modal/submitted-panel.d.ts.map +1 -1
  126. package/features/request-new-connector/constants/index.d.ts +1 -1
  127. package/features/request-new-connector/constants/index.d.ts.map +1 -1
  128. package/features/request-new-connector/types/index.d.ts +2 -2
  129. package/features/request-new-connector/types/index.d.ts.map +1 -1
  130. package/features/template-library/api/index.d.ts +7 -0
  131. package/features/template-library/api/index.d.ts.map +1 -0
  132. package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
  133. package/features/template-library/components/library-card-list/index.d.ts.map +1 -0
  134. package/features/{connector-library → template-library}/components/library-card-list/styles.d.ts +0 -2
  135. package/features/template-library/components/library-card-list/styles.d.ts.map +1 -0
  136. package/features/template-library/components/library-card-skeleton/index.d.ts.map +1 -0
  137. package/features/template-library/components/library-card-skeleton/styles.d.ts.map +1 -0
  138. package/features/template-library/components/library-edit-list/index.d.ts.map +1 -0
  139. package/features/template-library/components/library-edit-list/styles.d.ts.map +1 -0
  140. package/features/template-library/constants/api.d.ts +3 -0
  141. package/features/template-library/constants/api.d.ts.map +1 -0
  142. package/features/template-library/constants/content-page.d.ts.map +1 -0
  143. package/features/template-library/store/initial-state.d.ts +15 -0
  144. package/features/template-library/store/initial-state.d.ts.map +1 -0
  145. package/features/template-library/store/selectors.d.ts +9 -0
  146. package/features/template-library/store/selectors.d.ts.map +1 -0
  147. package/features/template-library/store/slice.d.ts +41 -0
  148. package/features/template-library/store/slice.d.ts.map +1 -0
  149. package/features/toast-message/constants/toast.d.ts +2 -0
  150. package/features/toast-message/constants/toast.d.ts.map +1 -1
  151. package/features/toast-message/showMessage.d.ts.map +1 -1
  152. package/gainsight-7AZqfBvZ.js +25 -0
  153. package/hooks-CjAK86gy.js +6 -0
  154. package/index-BAHDqKss.js +29 -0
  155. package/index-BluFU4Qp.js +81 -0
  156. package/{index-m1nx1YPE.js → index-BnVEsSdV.js} +1712 -1532
  157. package/index-BqGsuBlL.js +31966 -0
  158. package/index-DKo2NU-Y.js +104 -0
  159. package/{index-CQYnmtXy.js → index-Dt3uzcNe.js} +1779 -1443
  160. package/index-iNlSCq_d.js +190 -0
  161. package/index.es.js +5 -5
  162. package/index.umd.js +1497 -476
  163. package/main.d.ts +1 -0
  164. package/main.d.ts.map +1 -1
  165. package/package.json +1 -1
  166. package/selectors-BZXXKPzK.js +9 -0
  167. package/showMessage-CQ6TNMXe.js +2648 -0
  168. package/store/hooks.d.ts +2 -0
  169. package/store/hooks.d.ts.map +1 -1
  170. package/store/index.d.ts +4 -0
  171. package/store/index.d.ts.map +1 -1
  172. package/store/request-connector-api/initial-state.d.ts +1 -1
  173. package/store/request-connector-api/slice.d.ts +1 -1
  174. package/testing/mocks/handlers/auth.d.ts.map +1 -1
  175. package/testing/mocks/handlers/connector-template.d.ts +1 -0
  176. package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
  177. package/testing/setup-store.d.ts +2 -0
  178. package/testing/setup-store.d.ts.map +1 -1
  179. package/types/common.d.ts +4 -0
  180. package/types/common.d.ts.map +1 -1
  181. package/types/connector.d.ts +10 -6
  182. package/types/connector.d.ts.map +1 -1
  183. package/types/router.d.ts +18 -0
  184. package/types/router.d.ts.map +1 -1
  185. package/utils/index.d.ts +12 -0
  186. package/utils/index.d.ts.map +1 -1
  187. package/app/connectors/pages/settings/connector-config/__tests__/connector-config.test.d.ts.map +0 -1
  188. package/app/connectors/pages/settings/connector-config/index.d.ts.map +0 -1
  189. package/app/connectors/pages/settings/connector-config/style.d.ts.map +0 -1
  190. package/features/auth/utils/type-guards.d.ts +0 -8
  191. package/features/auth/utils/type-guards.d.ts.map +0 -1
  192. package/features/connector-library/components/api-library/index.d.ts +0 -7
  193. package/features/connector-library/components/api-library/index.d.ts.map +0 -1
  194. package/features/connector-library/components/api-library/styles.d.ts +0 -4
  195. package/features/connector-library/components/api-library/styles.d.ts.map +0 -1
  196. package/features/connector-library/components/api-library-skeleton/index.d.ts.map +0 -1
  197. package/features/connector-library/components/api-library-skeleton/styles.d.ts.map +0 -1
  198. package/features/connector-library/components/connector-enabled-modal/index.d.ts +0 -9
  199. package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +0 -1
  200. package/features/connector-library/components/connector-enabled-modal/styles.d.ts +0 -4
  201. package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
  202. package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
  203. package/features/connector-library/components/library-card-list/index.d.ts.map +0 -1
  204. package/features/connector-library/components/library-card-list/styles.d.ts.map +0 -1
  205. package/features/connector-library/components/library-card-skeleton/index.d.ts.map +0 -1
  206. package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +0 -1
  207. package/features/connector-library/components/library-edit-list/index.d.ts.map +0 -1
  208. package/features/connector-library/components/library-edit-list/styles.d.ts.map +0 -1
  209. package/features/connector-library/constants/api-library.d.ts +0 -3
  210. package/features/connector-library/constants/api-library.d.ts.map +0 -1
  211. package/features/connector-library/constants/content-page.d.ts.map +0 -1
  212. package/features/connector-library/types/connector.d.ts +0 -13
  213. package/features/connector-library/types/connector.d.ts.map +0 -1
  214. package/features/request-new-connector/components/custom-connector-card/__tests__/custom-connector-card.test.d.ts.map +0 -1
  215. package/features/request-new-connector/components/custom-connector-card/index.d.ts +0 -10
  216. package/features/request-new-connector/components/custom-connector-card/index.d.ts.map +0 -1
  217. package/features/request-new-connector/components/custom-connector-card/style.d.ts.map +0 -1
  218. package/index-B4vTJgTz.js +0 -66
  219. package/index-BD6d8j8c.js +0 -68
  220. package/index-EHBDsMzm.js +0 -67
  221. package/index-X3arshLk.js +0 -711
  222. package/index-sfSOXkkP.js +0 -30265
  223. package/styled-ui-components-D4lUYZ75.js +0 -2253
  224. /package/app/connectors/pages/{settings/connector-config → api-view}/__tests__/connector-config.test.d.ts +0 -0
  225. /package/app/connectors/pages/{settings/connector-config → api-view}/index.d.ts +0 -0
  226. /package/app/connectors/pages/{settings/connector-config → api-view}/style.d.ts +0 -0
  227. /package/features/{connector-library → api-library}/components/api-library-skeleton/index.d.ts +0 -0
  228. /package/features/{request-new-connector/components/custom-connector-card → connector-library/components/custom-connector-card-list}/__tests__/custom-connector-card.test.d.ts +0 -0
  229. /package/features/{request-new-connector/components/custom-connector-card → connector-library/components/custom-connector-card-list}/style.d.ts +0 -0
  230. /package/features/{connector-library → template-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
  231. /package/features/{connector-library → template-library}/components/library-card-list/index.d.ts +0 -0
  232. /package/features/{connector-library → template-library}/components/library-card-skeleton/index.d.ts +0 -0
  233. /package/features/{connector-library → template-library}/components/library-card-skeleton/styles.d.ts +0 -0
  234. /package/features/{connector-library → template-library}/components/library-edit-list/index.d.ts +0 -0
  235. /package/features/{connector-library → template-library}/components/library-edit-list/styles.d.ts +0 -0
  236. /package/features/{connector-library → template-library}/constants/content-page.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/request-new-connector/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAE,MAAyC,CAAC;AACrE,eAAO,MAAM,wBAAwB,EAAE,MAAqI,CAAC;AAC7K,eAAO,MAAM,WAAW,EAAE,MAAgC,CAAC;AAC3D,eAAO,MAAM,eAAe,EAAE,MAAwC,CAAC;AACvE,eAAO,MAAM,eAAe,EAAE,MAA0B,CAAC;AACzD,eAAO,MAAM,uBAAuB,EAAE,MAAkC,CAAC;AACzE,eAAO,MAAM,aAAa,EAAE,MACyD,CAAC;AACtF,eAAO,MAAM,6BAA6B,EAAE,MAAwH,CAAC;AACrK,eAAO,MAAM,uBAAuB,EAAE,MAAwB,CAAC;AAC/D,eAAO,MAAM,sCAAsC,EAAE,MAA6B,CAAC;AACnF,eAAO,MAAM,uCAAuC,EAAE,MAAuD,CAAC;AAC9G,eAAO,MAAM,6BAA6B,EAAE,MAAyB,CAAC;AACtE,eAAO,MAAM,iCAAiC,EAAE,MAA4B,CAAC;AAC7E,eAAO,MAAM,uCAAuC,EAAE,MAC2C,CAAC;AAClG,eAAO,MAAM,uCAAuC,EAAE,MAAe,CAAC;AACtE,eAAO,MAAM,gBAAgB,EAAE,MAA2B,CAAC;AAC3D,eAAO,MAAM,aAAa,EAAE,MAAwB,CAAC;AACrD,eAAO,MAAM,cAAc,EAAE,MAAyB,CAAC;AACvD,eAAO,MAAM,MAAM,EAAE,MAAiB,CAAC;AACvC,eAAO,MAAM,OAAO,EAAE,MAAkB,CAAC;AACzC,eAAO,MAAM,YAAY;;;CAGxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/request-new-connector/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,EAAE,MAAyC,CAAC;AACrE,eAAO,MAAM,wBAAwB,EAAE,MAAqI,CAAC;AAC7K,eAAO,MAAM,WAAW,EAAE,MAAgC,CAAC;AAC3D,eAAO,MAAM,eAAe,EAAE,MAAwC,CAAC;AACvE,eAAO,MAAM,eAAe,EAAE,MAA8B,CAAC;AAC7D,eAAO,MAAM,uBAAuB,EAAE,MAAkC,CAAC;AACzE,eAAO,MAAM,aAAa,EAAE,MACyD,CAAC;AACtF,eAAO,MAAM,6BAA6B,EAAE,MAAwH,CAAC;AACrK,eAAO,MAAM,uBAAuB,EAAE,MAA2B,CAAC;AAClE,eAAO,MAAM,sCAAsC,EAAE,MAA6B,CAAC;AACnF,eAAO,MAAM,uCAAuC,EAAE,MAAuD,CAAC;AAC9G,eAAO,MAAM,6BAA6B,EAAE,MAAyB,CAAC;AACtE,eAAO,MAAM,iCAAiC,EAAE,MAA4B,CAAC;AAC7E,eAAO,MAAM,uCAAuC,EAAE,MAC2C,CAAC;AAClG,eAAO,MAAM,uCAAuC,EAAE,MAAe,CAAC;AACtE,eAAO,MAAM,aAAa,EAAE,MAAwB,CAAC;AACrD,eAAO,MAAM,cAAc,EAAE,MAAyB,CAAC;AACvD,eAAO,MAAM,MAAM,EAAE,MAAiB,CAAC;AACvC,eAAO,MAAM,OAAO,EAAE,MAAkB,CAAC;AACzC,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAEF,eAAO,MAAM,UAAU,oDAAoD,CAAC"}
@@ -7,7 +7,7 @@ export interface IRequestableConnector {
7
7
  name: string;
8
8
  }
9
9
  export interface IRequestableAPI {
10
- connector: string;
10
+ connector_type: string;
11
11
  apis: Array<{
12
12
  key: string;
13
13
  name: string;
@@ -15,6 +15,6 @@ export interface IRequestableAPI {
15
15
  }
16
16
  export interface IRequests {
17
17
  requestableConnectors: Array<IRequestableConnector>;
18
- requestableAPIs: Array<IRequestableAPI>;
18
+ requestableApis: Array<IRequestableAPI>;
19
19
  }
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/request-new-connector/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,SAAS;IACxB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/request-new-connector/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,SAAS;IACxB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACzC"}
@@ -0,0 +1,7 @@
1
+ export interface IUpdateConnectorDetails {
2
+ id: string;
3
+ enabled: boolean;
4
+ }
5
+ export declare const getConnectorTempelates: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
6
+ export declare const getConnectorTemplateDetails: (templateId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/api/index.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,oEAKlC,CAAC;AAEF,eAAO,MAAM,2BAA2B,eAAgB,MAAM,iEAK7D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-card-list.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/template-library/components/library-card-list/__tests__/library-card-list.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqC,MAAM,OAAO,CAAC;AAe9D,eAAO,MAAM,eAAe,EAAE,EA4C7B,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { StyledComponent } from '@emotion/styled';
2
2
  import { BoxProps, TypographyProps, IconProps } from '@hiver/hiver-ui-kit';
3
3
  export declare const TitleHeader: StyledComponent<TypographyProps>;
4
- export declare const LibraryText: StyledComponent<TypographyProps>;
5
- export declare const LibraryDescription: StyledComponent<TypographyProps>;
6
4
  export declare const LibraryCardWrapper: StyledComponent<BoxProps>;
7
5
  export declare const LibraryCard: StyledComponent<BoxProps>;
8
6
  export declare const CardIconWrapper: StyledComponent<IconProps>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-card-list/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAMxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAOxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAajD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,SAAS,CAUtD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAAe,CAAC,eAAe,CASnE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-card-skeleton/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,+CAsB/B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-card-skeleton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,aAAa,CAO1D,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-edit-list/index.tsx"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-edit-list/styles.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare const TEMPLATE_URL: string;
2
+ export declare const TEMPLATE_DETAILS_URL: string;
3
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,EAAE,MAAsC,CAAC;AAClE,eAAO,MAAM,oBAAoB,EAAE,MAAgD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-page.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/constants/content-page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAE,MAA4B,CAAC;AAC7D,eAAO,MAAM,sBAAsB,EAAE,MACsD,CAAC;AAC5F,eAAO,MAAM,OAAO,EAAE,MAAkB,CAAC;AACzC,eAAO,MAAM,mBAAmB,EAAE,MAC+F,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { ApiStatus } from '../../../types/api';
2
+ import { IConnectorDetails, ConnectorId } from '../../../types/connector';
3
+ export interface ConnectorState {
4
+ connectorTemplates: {
5
+ [key: ConnectorId]: IConnectorDetails;
6
+ } | null;
7
+ connectorTemplateList: ConnectorId[];
8
+ templateListApiStatus: ApiStatus;
9
+ connectorsApiStatus: ApiStatus;
10
+ templateDetailsApiStatus: ApiStatus;
11
+ selectedConnector?: string | null;
12
+ selectedTemplateData?: IConnectorDetails | null;
13
+ }
14
+ export declare const initialState: ConnectorState;
15
+ //# sourceMappingURL=initial-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAExE,MAAM,WAAW,cAAc;IAC7B,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,WAAW,GAAG,iBAAiB,CAAA;KAAE,GAAG,IAAI,CAAC;IACrE,qBAAqB,EAAE,WAAW,EAAE,CAAC;IACrC,qBAAqB,EAAE,SAAS,CAAC;IACjC,mBAAmB,EAAE,SAAS,CAAC;IAC/B,wBAAwB,EAAE,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACjD;AAGD,eAAO,MAAM,YAAY,EAAE,cAO1B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { RootState } from '../../../store';
2
+ export declare const selectConnectorTemplateList: (state: RootState) => string[];
3
+ export declare const selectConnectorTemplates: (state: RootState) => {
4
+ [key: string]: import('../../../types/connector').IConnectorDetails;
5
+ } | null;
6
+ export declare const selectCurrentTemplateData: (state: RootState) => import('../../../types/connector').IConnectorDetails | null | undefined;
7
+ export declare const selectTemplateListApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
8
+ export declare const selectTemplateDetailsApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
9
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,2BAA2B,UAAW,SAAS,aAAgD,CAAC;AAC7G,eAAO,MAAM,wBAAwB,UAAW,SAAS;;QAA6C,CAAC;AACvG,eAAO,MAAM,yBAAyB,UAAW,SAAS,4EAA+C,CAAC;AAC1G,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAgD,CAAC;AAC7G,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { IConnectorDetails } from '../../../types/connector';
2
+ import { selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData } from './selectors';
3
+ export declare const connectorLibrarySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').ConnectorState, {
4
+ clearSelectedTemplate: (state: import('immer').WritableDraft<import('./initial-state').ConnectorState>) => void;
5
+ }, "templateLibrary", "templateLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').ConnectorState>>;
6
+ declare const fetchConnectorTemplates: import('@reduxjs/toolkit').AsyncThunk<{
7
+ connectors: {
8
+ [k: string]: IConnectorDetails;
9
+ };
10
+ connectorList: string[];
11
+ }, void, {
12
+ state?: unknown;
13
+ dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
14
+ extra?: unknown;
15
+ rejectValue?: unknown;
16
+ serializedErrorType?: unknown;
17
+ pendingMeta?: unknown;
18
+ fulfilledMeta?: unknown;
19
+ rejectedMeta?: unknown;
20
+ }>;
21
+ declare const fetchTemplateDetails: import('@reduxjs/toolkit').AsyncThunk<{
22
+ selectedTemplateData: null;
23
+ } | {
24
+ selectedTemplateData: IConnectorDetails;
25
+ }, string, {
26
+ state?: unknown;
27
+ dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
28
+ extra?: unknown;
29
+ rejectValue?: unknown;
30
+ serializedErrorType?: unknown;
31
+ pendingMeta?: unknown;
32
+ fulfilledMeta?: unknown;
33
+ rejectedMeta?: unknown;
34
+ }>;
35
+ declare const _default: import('redux').Reducer<import('./initial-state').ConnectorState>;
36
+ export default _default;
37
+ export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
38
+ clearSelectedTemplate: (state: import('immer').WritableDraft<import('./initial-state').ConnectorState>) => void;
39
+ }, "templateLibrary">;
40
+ export { fetchConnectorTemplates, fetchTemplateDetails, selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData };
41
+ //# sourceMappingURL=slice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/store/slice.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAE/G,eAAO,MAAM,qBAAqB;;6HAkChC,CAAC;AAIH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;EAiB3B,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;0BASiB,iBAAiB;;;;;;;;;;EAE1D,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO;;qBAAgC,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EAC1B,CAAC"}
@@ -1,4 +1,6 @@
1
1
  export declare const SUCCESS_TOAST: "success";
2
2
  export declare const ERROR_TOAST: "error";
3
3
  export declare const INFO_DARK: "info-dark";
4
+ export declare const ERROR_TOGGLE = "Error in toggling connector state";
5
+ export declare const TOGGLE_DISABLE_SUCCESS = "Connector disabled successfully";
4
6
  //# sourceMappingURL=toast.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/constants/toast.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAqB,CAAC;AAChD,eAAO,MAAM,WAAW,SAAmB,CAAC;AAC5C,eAAO,MAAM,SAAS,aAAuB,CAAC"}
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../src/features/toast-message/constants/toast.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAqB,CAAC;AAChD,eAAO,MAAM,WAAW,SAAmB,CAAC;AAC5C,eAAO,MAAM,SAAS,aAAuB,CAAC;AAE9C,eAAO,MAAM,YAAY,sCAAsC,CAAC;AAChE,eAAO,MAAM,sBAAsB,oCAAoC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"showMessage.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/showMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,uCAAuC,CAAC;AAC/C,OAAO,gBAAgB,CAAC;AAQxB;;;GAGG;AAEH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CACxC;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,YAAY,+BAoC/C;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,QAE5C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"showMessage.d.ts","sourceRoot":"","sources":["../../../src/features/toast-message/showMessage.tsx"],"names":[],"mappings":"AAQA;;;GAGG;AAEH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,CAAC;IACrD,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CACxC;AAED,iBAAS,WAAW,CAAC,aAAa,EAAE,YAAY,+BA0C/C;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,QAE5C;AAED,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ const _ = {
2
+ REQUEST_NEW_CLICKED: "request_new_connector_clicked",
3
+ TOGGLE_ENABLED: "connector_enabled_clicked",
4
+ TOGGLE_DISABLED: "connector_disabled_clicked",
5
+ SETTINGS_CLICKED: "connector_settings_clicked",
6
+ ADD_CONNECTOR_CLICKED: "add_connector_clicked",
7
+ CONNECTOR_BACK_CLICKED: "connector_back_button_clicked",
8
+ SAVE_AUTHORIZE_CLICKED: "save_and_authenticate_clicked",
9
+ SEND_TEST_CLICK: "send_test_request_clicked",
10
+ AUTH_UPDATED: "auth_type_updated",
11
+ REQUEST_NEW_FEATURE_CLICKED: "request_new_feature_clicked",
12
+ REQUEST_NEW_CONNECTOR_SHOWN: "request_new_connector_popup_shown",
13
+ REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED: "request_new_connector_popup_submitted_clicked",
14
+ REQUEST_NEW_CONNECTOR_CLOSE_CLICKED: "request_new_connector_popup_closed_clicked",
15
+ REQUEST_NEW_CONNECTOR_DONE_CLICKED: "request_new_connector_popup_done_clicked",
16
+ REQUEST_NEW_FEATURE_SHOWN: "request_new_feature_popup_shown",
17
+ REQUEST_NEW_FEATURE_SUBMIT_CLICKED: "request_new_feature_popup_submitted_clicked",
18
+ REQUEST_NEW_FEATURE_CLOSE_CLICKED: "request_new_feature_popup_closed_clicked",
19
+ REQUEST_NEW_FEATURE_DONE_CLICKED: "request_new_feature_popup_done_clicked",
20
+ LIBRARY_CARD_CLICKED: "library_item_clicked",
21
+ TAB_CLICKED: "tab_clicked"
22
+ };
23
+ export {
24
+ _ as G
25
+ };
@@ -0,0 +1,6 @@
1
+ import { a$ as s, b0 as e } from "./index-BqGsuBlL.js";
2
+ const t = s.withTypes(), a = e.withTypes();
3
+ export {
4
+ a,
5
+ t as u
6
+ };
@@ -0,0 +1,29 @@
1
+ import { s as p, B as d, aY as f, aZ as A, a_ as h, A as u, aA as w, aB as l, j as e } from "./index-BqGsuBlL.js";
2
+ import { useEffect as r } from "react";
3
+ import { u as m, a as c } from "./hooks-CjAK86gy.js";
4
+ import { d as S, e as x } from "./selectors-BZXXKPzK.js";
5
+ const T = p(d)`
6
+ position: fixed;
7
+ z-index: 1000;
8
+ background-color: #fff;
9
+ width: 100vw;
10
+ height: 100vh;
11
+ padding: 20px;
12
+ `, D = () => {
13
+ const o = m(), t = c(S), s = c(x);
14
+ return r(() => {
15
+ const i = new URLSearchParams(window.location.search), n = i.get(f), a = i.get(A);
16
+ window.opener && a && n && o(h({ data: { token: n }, connectorId: a }));
17
+ }, [o]), r(() => {
18
+ window.opener && t && window.opener.postMessage(
19
+ s === u.FAILED ? w : l,
20
+ window.location.origin
21
+ );
22
+ }, [t, s]), /* @__PURE__ */ e.jsxs(T, { children: [
23
+ /* @__PURE__ */ e.jsx("h1", { children: "Authentication Complete" }),
24
+ /* @__PURE__ */ e.jsx("p", { children: "Redirecting..." })
25
+ ] });
26
+ };
27
+ export {
28
+ D as AuthSuccess
29
+ };
@@ -0,0 +1,81 @@
1
+ import { s as o, B as s, T as m, M as S, u as C, a as b, R as B, S as x, j as i, C as E, b as T, c as v, O as j } from "./index-BqGsuBlL.js";
2
+ import { useContext as k, useEffect as A } from "react";
3
+ import { G as N } from "./gainsight-7AZqfBvZ.js";
4
+ const O = o(s)`
5
+ box-sizing: border-box;
6
+ background-color: #ffffff;
7
+ width: 178px;
8
+ z-index: 2;
9
+ position: fixed;
10
+ height: 100%;
11
+ `, w = o(s)`
12
+ padding-top: 17px;
13
+ box-sizing: border-box;
14
+ width: 178px;
15
+ border-right: 1px solid rgba(214, 221, 232, 1);
16
+ height: 100%;
17
+ `, y = o(m)`
18
+ font-size: 14px;
19
+ line-height: 24px;
20
+ `, z = o(s)`
21
+ display: flex;
22
+ flex-direction: column;
23
+ gap: 8px;
24
+ margin-top: 29px;
25
+ & div {
26
+ display: block;
27
+ height: 32px;
28
+ width: 162px;
29
+ padding: 4px 12px;
30
+ text-decoration: none;
31
+ color: #6f7c90;
32
+ font-size: 13px;
33
+ line-height: 24px;
34
+ cursor: pointer;
35
+ &.active {
36
+ font-size: 14px;
37
+ background-color: rgba(246, 248, 252, 1);
38
+ border-radius: 4px;
39
+ color: #343c45;
40
+ }
41
+ }
42
+ `, I = ({ sidebarOptions: d = [] }) => {
43
+ const { currentSideBar: r, setCurrentSideBar: a, sendTrackingEvent: h } = k(S), l = C(), { pathname: c } = b();
44
+ A(() => {
45
+ const t = d.find((n) => B.BASEPATH + n.route === c), e = Object.keys(x).find((n) => x[n].includes(c));
46
+ t != null && t.value && (t == null ? void 0 : t.value) !== r ? a(t.value) : e && e !== r && a(e);
47
+ }, [c]);
48
+ const g = (t, e, n, p) => {
49
+ t.stopPropagation(), a(n), h(N.TAB_CLICKED, { tab: p }), l(e);
50
+ }, f = () => /* @__PURE__ */ i.jsx(z, { children: d.map(({ id: t, value: e, route: n }) => {
51
+ const p = r === e;
52
+ return /* @__PURE__ */ i.jsx(
53
+ "div",
54
+ {
55
+ "data-testid": t,
56
+ className: p ? "active" : "",
57
+ onClick: (u) => g(u, n, e, t),
58
+ children: e
59
+ },
60
+ t
61
+ );
62
+ }) });
63
+ return /* @__PURE__ */ i.jsx(O, { "data-testid": "sideBarParent", children: /* @__PURE__ */ i.jsxs(w, { children: [
64
+ /* @__PURE__ */ i.jsx(y, { variant: "h3", "data-testid": "custom-connector-heading", children: E }),
65
+ f()
66
+ ] }) });
67
+ }, P = o(T)`
68
+ flex-direction: row;
69
+ align-items: stretch;
70
+ min-height: 100%;
71
+ `, W = o(s)`
72
+ margin: 0 48px 20px 177px;
73
+ width: 100%;
74
+ min-height: 100%;
75
+ `, D = () => /* @__PURE__ */ i.jsxs(P, { children: [
76
+ /* @__PURE__ */ i.jsx(I, { sidebarOptions: v }),
77
+ /* @__PURE__ */ i.jsx(W, { children: /* @__PURE__ */ i.jsx(j, {}) })
78
+ ] });
79
+ export {
80
+ D as ConnectorView
81
+ };