@fossa-app/bridge 0.1.6 → 0.1.8

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 (265) hide show
  1. package/dist/Models/ApiModels.d.ts +199 -0
  2. package/dist/Models/ApiModels.js +350 -0
  3. package/dist/Models/ApiModels.js.map +1 -0
  4. package/dist/Services/Clients/BranchClient.d.ts +16 -0
  5. package/dist/Services/Clients/BranchClient.js +54 -0
  6. package/dist/Services/Clients/BranchClient.js.map +1 -0
  7. package/dist/Services/Clients/CompanyClient.d.ts +13 -0
  8. package/dist/Services/Clients/CompanyClient.js +38 -0
  9. package/dist/Services/Clients/CompanyClient.js.map +1 -0
  10. package/dist/Services/Clients/CompanyLicenseClient.d.ts +10 -0
  11. package/dist/Services/Clients/CompanyLicenseClient.js +30 -0
  12. package/dist/Services/Clients/CompanyLicenseClient.js.map +1 -0
  13. package/dist/Services/Clients/CompanySettingsClient.d.ts +13 -0
  14. package/dist/Services/Clients/CompanySettingsClient.js +38 -0
  15. package/dist/Services/Clients/CompanySettingsClient.js.map +1 -0
  16. package/dist/Services/Clients/DepartmentClient.d.ts +16 -0
  17. package/dist/Services/Clients/DepartmentClient.js +54 -0
  18. package/dist/Services/Clients/DepartmentClient.js.map +1 -0
  19. package/dist/Services/Clients/EmployeeClient.d.ts +18 -0
  20. package/dist/Services/Clients/EmployeeClient.js +63 -0
  21. package/dist/Services/Clients/EmployeeClient.js.map +1 -0
  22. package/dist/Services/Clients/IdentityClient.d.ts +9 -0
  23. package/dist/Services/Clients/IdentityClient.js +26 -0
  24. package/dist/Services/Clients/IdentityClient.js.map +1 -0
  25. package/dist/Services/Clients/SystemLicenseClient.d.ts +9 -0
  26. package/dist/Services/Clients/SystemLicenseClient.js +26 -0
  27. package/dist/Services/Clients/SystemLicenseClient.js.map +1 -0
  28. package/dist/Services/Endpoints.d.ts +10 -0
  29. package/dist/Services/Endpoints.js +14 -0
  30. package/dist/Services/Endpoints.js.map +1 -0
  31. package/dist/Services/IHttpTransport.d.ts +6 -0
  32. package/dist/Services/IHttpTransport.js +3 -0
  33. package/dist/Services/IHttpTransport.js.map +1 -0
  34. package/dist/Services/UrlHelpers.d.ts +25 -0
  35. package/dist/Services/UrlHelpers.js +103 -0
  36. package/dist/Services/UrlHelpers.js.map +1 -0
  37. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.d.ts +125 -0
  38. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.js +1371 -0
  39. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Array.js.map +1 -0
  40. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.d.ts +27 -0
  41. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.js +172 -0
  42. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Async.js.map +1 -0
  43. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.d.ts +59 -0
  44. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.js +194 -0
  45. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/AsyncBuilder.js.map +1 -0
  46. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.d.ts +129 -0
  47. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.js +428 -0
  48. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.js.map +1 -0
  49. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.d.ts +27 -0
  50. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.js +165 -0
  51. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/BitConverter.js.map +1 -0
  52. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.d.ts +3 -0
  53. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.js +27 -0
  54. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Boolean.js.map +1 -0
  55. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.d.ts +66 -0
  56. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.js +271 -0
  57. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Char.js.map +1 -0
  58. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.d.ts +121 -0
  59. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.js +231 -0
  60. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Choice.js.map +1 -0
  61. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.d.ts +8 -0
  62. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js +192 -0
  63. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js.map +1 -0
  64. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.d.ts +9 -0
  65. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.js +26 -0
  66. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/ConditionalWeakTable.js.map +1 -0
  67. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.d.ts +70 -0
  68. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.js +812 -0
  69. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Date.js.map +1 -0
  70. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.d.ts +65 -0
  71. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.js +345 -0
  72. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOffset.js.map +1 -0
  73. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.d.ts +18 -0
  74. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.js +143 -0
  75. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/DateOnly.js.map +1 -0
  76. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.d.ts +63 -0
  77. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.js +322 -0
  78. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.js.map +1 -0
  79. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.d.ts +11 -0
  80. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.js +60 -0
  81. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Double.js.map +1 -0
  82. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.d.ts +12 -0
  83. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.js +178 -0
  84. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Encoding.js.map +1 -0
  85. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.d.ts +31 -0
  86. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.js +109 -0
  87. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Event.js.map +1 -0
  88. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.d.ts +7 -0
  89. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.js +53 -0
  90. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Collections.js.map +1 -0
  91. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.d.ts +12 -0
  92. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.js +38 -0
  93. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.CompilerServices.js.map +1 -0
  94. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.d.ts +30 -0
  95. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.js +185 -0
  96. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/FSharp.Core.js.map +1 -0
  97. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.d.ts +45 -0
  98. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.js +33 -0
  99. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Global.js.map +1 -0
  100. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.d.ts +10 -0
  101. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.js +152 -0
  102. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Guid.js.map +1 -0
  103. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.d.ts +29 -0
  104. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.js +148 -0
  105. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Int32.js.map +1 -0
  106. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.d.ts +143 -0
  107. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.js +1404 -0
  108. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/List.js.map +1 -0
  109. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.d.ts +3 -0
  110. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.js +52 -0
  111. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Long.js.map +1 -0
  112. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.d.ts +25 -0
  113. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.js +104 -0
  114. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MailboxProcessor.js.map +1 -0
  115. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.d.ts +178 -0
  116. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.js +1525 -0
  117. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Map.js.map +1 -0
  118. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.d.ts +12 -0
  119. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.js +141 -0
  120. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MapUtil.js.map +1 -0
  121. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.d.ts +52 -0
  122. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.js +355 -0
  123. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableMap.js.map +1 -0
  124. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.d.ts +39 -0
  125. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.js +246 -0
  126. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/MutableSet.js.map +1 -0
  127. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.d.ts +3 -0
  128. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.js +18 -0
  129. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Native.js.map +1 -0
  130. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.d.ts +20 -0
  131. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.js +87 -0
  132. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Numeric.js.map +1 -0
  133. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.d.ts +32 -0
  134. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.js +128 -0
  135. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Observable.js.map +1 -0
  136. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.d.ts +29 -0
  137. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.js +127 -0
  138. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Option.js.map +1 -0
  139. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.d.ts +38 -0
  140. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.js +186 -0
  141. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Random.js.map +1 -0
  142. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.d.ts +12 -0
  143. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.js +56 -0
  144. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Range.js.map +1 -0
  145. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.d.ts +119 -0
  146. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js +529 -0
  147. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js.map +1 -0
  148. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.d.ts +10 -0
  149. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.js +144 -0
  150. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/RegExp.js.map +1 -0
  151. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.d.ts +38 -0
  152. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.js +191 -0
  153. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Result.js.map +1 -0
  154. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.d.ts +164 -0
  155. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js +1501 -0
  156. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js.map +1 -0
  157. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.d.ts +18 -0
  158. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.js +129 -0
  159. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Seq2.js.map +1 -0
  160. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.d.ts +190 -0
  161. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.js +1931 -0
  162. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Set.js.map +1 -0
  163. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.d.ts +59 -0
  164. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.js +677 -0
  165. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/String.js.map +1 -0
  166. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.d.ts +85 -0
  167. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.js +390 -0
  168. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Collections.Generic.js.map +1 -0
  169. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.d.ts +40 -0
  170. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.js +204 -0
  171. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.Text.js.map +1 -0
  172. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.d.ts +121 -0
  173. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.js +367 -0
  174. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/System.js.map +1 -0
  175. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.d.ts +15 -0
  176. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.js +138 -0
  177. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeOnly.js.map +1 -0
  178. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.d.ts +35 -0
  179. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.js +210 -0
  180. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/TimeSpan.js.map +1 -0
  181. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.d.ts +19 -0
  182. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.js +72 -0
  183. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Timer.js.map +1 -0
  184. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.d.ts +51 -0
  185. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.js +205 -0
  186. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Types.js.map +1 -0
  187. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.d.ts +2 -0
  188. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.js +8 -0
  189. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Unicode.13.0.0.js.map +1 -0
  190. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.d.ts +32 -0
  191. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.js +170 -0
  192. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Uri.js.map +1 -0
  193. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.d.ts +243 -0
  194. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.js +903 -0
  195. package/dist/fable_modules/fable-library-ts.5.0.0-rc.1/Util.js.map +1 -0
  196. package/package.json +5 -2
  197. package/.build.ps1 +0 -308
  198. package/.gitattributes +0 -43
  199. package/.github/dependabot.yml +0 -38
  200. package/.github/release-drafter.yml +0 -52
  201. package/.github/workflows/cicd.yml +0 -87
  202. package/.github/workflows/lint.yml +0 -34
  203. package/.github/workflows/release-drafter.yml +0 -27
  204. package/Bridge.slnx +0 -8
  205. package/Directory.Build.props +0 -25
  206. package/Images/Icon.png +0 -0
  207. package/build.ps1 +0 -11
  208. package/dotnet-tools.json +0 -27
  209. package/format.ps1 +0 -11
  210. package/gig.ps1 +0 -17
  211. package/global.json +0 -6
  212. package/lint.ps1 +0 -20
  213. package/pack.ps1 +0 -11
  214. package/publish.ps1 +0 -11
  215. package/restore.ps1 +0 -11
  216. package/src/Bridge/Bridge.fsproj +0 -26
  217. package/src/Bridge/Models/ApiModels.fs +0 -142
  218. package/src/Bridge/Services/Clients/BranchClient.fs +0 -46
  219. package/src/Bridge/Services/Clients/CompanyClient.fs +0 -24
  220. package/src/Bridge/Services/Clients/CompanyLicenseClient.fs +0 -17
  221. package/src/Bridge/Services/Clients/CompanySettingsClient.fs +0 -24
  222. package/src/Bridge/Services/Clients/DepartmentClient.fs +0 -48
  223. package/src/Bridge/Services/Clients/EmployeeClient.fs +0 -71
  224. package/src/Bridge/Services/Clients/IdentityClient.fs +0 -11
  225. package/src/Bridge/Services/Clients/SystemLicenseClient.fs +0 -11
  226. package/src/Bridge/Services/Endpoints.fs +0 -13
  227. package/src/Bridge/Services/IHttpTransport.fs +0 -10
  228. package/src/Bridge/Services/UrlHelpers.fs +0 -18
  229. package/src/Bridge/bin/Release/net10.0/Fossa.Bridge.deps.json +0 -98
  230. package/src/Bridge/bin/Release/net10.0/Fossa.Bridge.xml +0 -6
  231. package/src/Bridge/obj/Bridge.fsproj.nuget.dgspec.json +0 -357
  232. package/src/Bridge/obj/Bridge.fsproj.nuget.g.props +0 -29
  233. package/src/Bridge/obj/Bridge.fsproj.nuget.g.targets +0 -2
  234. package/src/Bridge/obj/Release/Fossa.Bridge.0.1.6.nuspec +0 -31
  235. package/src/Bridge/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +0 -3
  236. package/src/Bridge/obj/Release/net10.0/Bridge.AssemblyInfo.fs +0 -20
  237. package/src/Bridge/obj/Release/net10.0/Bridge.fsproj.FileListAbsolute.txt +0 -14
  238. package/src/Bridge/obj/Release/net10.0/Bridge.sourcelink.json +0 -1
  239. package/src/Bridge/obj/Release/net10.0/Fossa.Bridge.xml +0 -6
  240. package/src/Bridge/obj/Release/net10.0/ILLink.Substitutions.xml +0 -15
  241. package/src/Bridge/obj/project.assets.json +0 -501
  242. package/src/Directory.Build.props +0 -23
  243. package/test.ps1 +0 -11
  244. package/tests/Bridge.Tests/Bridge.Tests.fsproj +0 -19
  245. package/tests/Bridge.Tests/Main.fs +0 -7
  246. package/tests/Bridge.Tests/UrlHelpersTests.fs +0 -33
  247. package/tests/Bridge.Tests/bin/Release/net10.0/.msCoverageSourceRootsMapping_Fossa.Bridge.Tests +0 -0
  248. package/tests/Bridge.Tests/bin/Release/net10.0/Fossa.Bridge.Tests +0 -0
  249. package/tests/Bridge.Tests/bin/Release/net10.0/Fossa.Bridge.Tests.deps.json +0 -819
  250. package/tests/Bridge.Tests/bin/Release/net10.0/Fossa.Bridge.Tests.runtimeconfig.json +0 -14
  251. package/tests/Bridge.Tests/bin/Release/net10.0/Fossa.Bridge.xml +0 -6
  252. package/tests/Bridge.Tests/obj/Bridge.Tests.fsproj.nuget.dgspec.json +0 -712
  253. package/tests/Bridge.Tests/obj/Bridge.Tests.fsproj.nuget.g.props +0 -30
  254. package/tests/Bridge.Tests/obj/Bridge.Tests.fsproj.nuget.g.targets +0 -11
  255. package/tests/Bridge.Tests/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.fs +0 -3
  256. package/tests/Bridge.Tests/obj/Release/net10.0/Bridge.T.A317E392.Up2Date +0 -0
  257. package/tests/Bridge.Tests/obj/Release/net10.0/Bridge.Tests.AssemblyInfo.fs +0 -19
  258. package/tests/Bridge.Tests/obj/Release/net10.0/Bridge.Tests.fsproj.FileListAbsolute.txt +0 -190
  259. package/tests/Bridge.Tests/obj/Release/net10.0/Bridge.Tests.sourcelink.json +0 -1
  260. package/tests/Bridge.Tests/obj/Release/net10.0/ILLink.Substitutions.xml +0 -15
  261. package/tests/Bridge.Tests/obj/Release/net10.0/apphost +0 -0
  262. package/tests/Bridge.Tests/obj/project.assets.json +0 -2144
  263. package/trigger.ps1 +0 -32
  264. package/tsconfig.json +0 -18
  265. package/version.ps1 +0 -11
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BranchClient = void 0;
4
+ exports.BranchClient_$reflection = BranchClient_$reflection;
5
+ exports.BranchClient_$ctor_Z7C557C0 = BranchClient_$ctor_Z7C557C0;
6
+ exports.BranchClient__GetBranchesAsync_15548E80 = BranchClient__GetBranchesAsync_15548E80;
7
+ exports.BranchClient__GetBranchAsync_Z524259C1 = BranchClient__GetBranchAsync_Z524259C1;
8
+ exports.BranchClient__CreateBranchAsync_4D6FA665 = BranchClient__CreateBranchAsync_4D6FA665;
9
+ exports.BranchClient__UpdateBranchAsync_281DC87A = BranchClient__UpdateBranchAsync_281DC87A;
10
+ exports.BranchClient__DeleteBranchAsync_Z524259C1 = BranchClient__DeleteBranchAsync_Z524259C1;
11
+ exports.BranchClient__buildUrl_15548E80 = BranchClient__buildUrl_15548E80;
12
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
13
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
14
+ const Endpoints_ts_1 = require("../Endpoints.js");
15
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
16
+ const Seq_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js");
17
+ const Option_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
18
+ const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
19
+ const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
20
+ class BranchClient {
21
+ constructor(transport) {
22
+ this.transport = transport;
23
+ }
24
+ }
25
+ exports.BranchClient = BranchClient;
26
+ function BranchClient_$reflection() {
27
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.BranchClient", undefined, BranchClient);
28
+ }
29
+ function BranchClient_$ctor_Z7C557C0(transport) {
30
+ return new BranchClient(transport);
31
+ }
32
+ function BranchClient__GetBranchesAsync_15548E80(_, query) {
33
+ return _.transport.GetAsync(BranchClient__buildUrl_15548E80(_, query));
34
+ }
35
+ function BranchClient__GetBranchAsync_Z524259C1(_, id) {
36
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Branches), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
37
+ }
38
+ function BranchClient__CreateBranchAsync_4D6FA665(_, model) {
39
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Branches)]), (0, List_ts_1.empty)()), model);
40
+ }
41
+ function BranchClient__UpdateBranchAsync_281DC87A(_, id, model) {
42
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Branches), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()), model);
43
+ }
44
+ function BranchClient__DeleteBranchAsync_Z524259C1(_, id) {
45
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Branches), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
46
+ }
47
+ function BranchClient__buildUrl_15548E80(this$, queryParams) {
48
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => {
49
+ let matchValue = undefined, ids_1 = undefined;
50
+ return (0, Seq_ts_1.append)((matchValue = (0, Option_ts_1.ofNullable)(queryParams.Id), (matchValue != null) ? (((0, CollectionUtil_ts_1.count)((0, Option_ts_1.value)(matchValue)) > 0) ? ((ids_1 = (0, Option_ts_1.value)(matchValue), (0, Seq_ts_1.map)((id) => ["Id", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)], ids_1))) : ((0, Seq_ts_1.empty)())) : ((0, Seq_ts_1.empty)())), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)())))))));
51
+ }));
52
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Branches)]), parameters);
53
+ }
54
+ //# sourceMappingURL=BranchClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BranchClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/BranchClient.ts"],"names":[],"mappings":";;;AAoBA,4DAEC;AAED,kEAEC;AAED,0FAEC;AAED,wFAEC;AAED,4FAEC;AAED,4FAEC;AAED,8FAEC;AAED,0EAMC;AApDD,iGAAqG;AAErG,oDAA4J;AAC5J,kDAAqD;AACrD,qFAAqG;AAErG,mFAAiI;A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2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ import { CompanyModificationModel } from "../../Models/ApiModels.ts";
4
+ export declare class CompanyClient {
5
+ readonly transport: IHttpTransport;
6
+ constructor(transport: IHttpTransport);
7
+ }
8
+ export declare function CompanyClient_$reflection(): TypeInfo;
9
+ export declare function CompanyClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyClient;
10
+ export declare function CompanyClient__GetCompanyAsync(_: CompanyClient): any;
11
+ export declare function CompanyClient__CreateCompanyAsync_279B0896(_: CompanyClient, model: CompanyModificationModel): any;
12
+ export declare function CompanyClient__UpdateCompanyAsync_279B0896(_: CompanyClient, model: CompanyModificationModel): any;
13
+ export declare function CompanyClient__DeleteCompanyAsync(_: CompanyClient): any;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyClient = void 0;
4
+ exports.CompanyClient_$reflection = CompanyClient_$reflection;
5
+ exports.CompanyClient_$ctor_Z7C557C0 = CompanyClient_$ctor_Z7C557C0;
6
+ exports.CompanyClient__GetCompanyAsync = CompanyClient__GetCompanyAsync;
7
+ exports.CompanyClient__CreateCompanyAsync_279B0896 = CompanyClient__CreateCompanyAsync_279B0896;
8
+ exports.CompanyClient__UpdateCompanyAsync_279B0896 = CompanyClient__UpdateCompanyAsync_279B0896;
9
+ exports.CompanyClient__DeleteCompanyAsync = CompanyClient__DeleteCompanyAsync;
10
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
11
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
12
+ const Endpoints_ts_1 = require("../Endpoints.js");
13
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
14
+ class CompanyClient {
15
+ constructor(transport) {
16
+ this.transport = transport;
17
+ }
18
+ }
19
+ exports.CompanyClient = CompanyClient;
20
+ function CompanyClient_$reflection() {
21
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanyClient", undefined, CompanyClient);
22
+ }
23
+ function CompanyClient_$ctor_Z7C557C0(transport) {
24
+ return new CompanyClient(transport);
25
+ }
26
+ function CompanyClient__GetCompanyAsync(_) {
27
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Company)]), (0, List_ts_1.empty)()));
28
+ }
29
+ function CompanyClient__CreateCompanyAsync_279B0896(_, model) {
30
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Company)]), (0, List_ts_1.empty)()), model);
31
+ }
32
+ function CompanyClient__UpdateCompanyAsync_279B0896(_, model) {
33
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Company)]), (0, List_ts_1.empty)()), model);
34
+ }
35
+ function CompanyClient__DeleteCompanyAsync(_) {
36
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Company)]), (0, List_ts_1.empty)()));
37
+ }
38
+ //# sourceMappingURL=CompanyClient.js.map
@@ -0,0 +1 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AAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,sBAAO,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,EAAE,KAAK,CAAC,CAAC;AACpO,CAAC;AAED,SAAgB,iCAAiC,CAAC,CAAgB;IAC9D,OAAO,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,sBAAO,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AAC/K,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ export declare class CompanyLicenseClient {
4
+ readonly transport: IHttpTransport;
5
+ constructor(transport: IHttpTransport);
6
+ }
7
+ export declare function CompanyLicenseClient_$reflection(): TypeInfo;
8
+ export declare function CompanyLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanyLicenseClient;
9
+ export declare function CompanyLicenseClient__GetLicenseAsync(_: CompanyLicenseClient): any;
10
+ export declare function CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(_: CompanyLicenseClient, model: string): any;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanyLicenseClient = void 0;
4
+ exports.CompanyLicenseClient_$reflection = CompanyLicenseClient_$reflection;
5
+ exports.CompanyLicenseClient_$ctor_Z7C557C0 = CompanyLicenseClient_$ctor_Z7C557C0;
6
+ exports.CompanyLicenseClient__GetLicenseAsync = CompanyLicenseClient__GetLicenseAsync;
7
+ exports.CompanyLicenseClient__CreateLicenseAsync_Z721C83C5 = CompanyLicenseClient__CreateLicenseAsync_Z721C83C5;
8
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
9
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
10
+ const Endpoints_ts_1 = require("../Endpoints.js");
11
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
12
+ class CompanyLicenseClient {
13
+ constructor(transport) {
14
+ this.transport = transport;
15
+ }
16
+ }
17
+ exports.CompanyLicenseClient = CompanyLicenseClient;
18
+ function CompanyLicenseClient_$reflection() {
19
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanyLicenseClient", undefined, CompanyLicenseClient);
20
+ }
21
+ function CompanyLicenseClient_$ctor_Z7C557C0(transport) {
22
+ return new CompanyLicenseClient(transport);
23
+ }
24
+ function CompanyLicenseClient__GetLicenseAsync(_) {
25
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanyLicense)]), (0, List_ts_1.empty)()));
26
+ }
27
+ function CompanyLicenseClient__CreateLicenseAsync_Z721C83C5(_, model) {
28
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanyLicense)]), (0, List_ts_1.empty)()), model);
29
+ }
30
+ //# sourceMappingURL=CompanyLicenseClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompanyLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanyLicenseClient.ts"],"names":[],"mappings":";;;AAeA,4EAEC;AAED,kFAEC;AAED,sFAEC;AAED,gHAEC;AA3BD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAA2D;AAC3D,qFAAyF;AAGzF,MAAa,oBAAoB;IAE7B,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,oDAKC;AAED,SAAgB,gCAAgC;IAC5C,OAAO,IAAA,0BAAU,EAAC,oDAAoD,EAAE,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAC7G,CAAC;AAED,SAAgB,mCAAmC,CAAC,SAAyB;IACzE,OAAO,IAAI,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAC/C,CAAC;AAED,SAAgB,qCAAqC,CAAC,CAAuB;IACzE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAmD,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,6BAAc,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AACrO,CAAC;AAED,SAAgB,kDAAkD,CAAC,CAAuB,EAAE,KAAa;IACrG,OAAO,CAAC,CAAC,SAAS,CAAC,SAAS,CAA2D,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,6BAAc,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,EAAE,KAAK,CAAC,CAAC;AACrP,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ import { CompanySettingsModificationModel } from "../../Models/ApiModels.ts";
4
+ export declare class CompanySettingsClient {
5
+ readonly transport: IHttpTransport;
6
+ constructor(transport: IHttpTransport);
7
+ }
8
+ export declare function CompanySettingsClient_$reflection(): TypeInfo;
9
+ export declare function CompanySettingsClient_$ctor_Z7C557C0(transport: IHttpTransport): CompanySettingsClient;
10
+ export declare function CompanySettingsClient__GetCompanySettingsAsync(_: CompanySettingsClient): any;
11
+ export declare function CompanySettingsClient__CreateCompanySettingsAsync_48FEE133(_: CompanySettingsClient, model: CompanySettingsModificationModel): any;
12
+ export declare function CompanySettingsClient__UpdateCompanySettingsAsync_48FEE133(_: CompanySettingsClient, model: CompanySettingsModificationModel): any;
13
+ export declare function CompanySettingsClient__DeleteCompanySettingsAsync(_: CompanySettingsClient): any;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompanySettingsClient = void 0;
4
+ exports.CompanySettingsClient_$reflection = CompanySettingsClient_$reflection;
5
+ exports.CompanySettingsClient_$ctor_Z7C557C0 = CompanySettingsClient_$ctor_Z7C557C0;
6
+ exports.CompanySettingsClient__GetCompanySettingsAsync = CompanySettingsClient__GetCompanySettingsAsync;
7
+ exports.CompanySettingsClient__CreateCompanySettingsAsync_48FEE133 = CompanySettingsClient__CreateCompanySettingsAsync_48FEE133;
8
+ exports.CompanySettingsClient__UpdateCompanySettingsAsync_48FEE133 = CompanySettingsClient__UpdateCompanySettingsAsync_48FEE133;
9
+ exports.CompanySettingsClient__DeleteCompanySettingsAsync = CompanySettingsClient__DeleteCompanySettingsAsync;
10
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
11
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
12
+ const Endpoints_ts_1 = require("../Endpoints.js");
13
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
14
+ class CompanySettingsClient {
15
+ constructor(transport) {
16
+ this.transport = transport;
17
+ }
18
+ }
19
+ exports.CompanySettingsClient = CompanySettingsClient;
20
+ function CompanySettingsClient_$reflection() {
21
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.CompanySettingsClient", undefined, CompanySettingsClient);
22
+ }
23
+ function CompanySettingsClient_$ctor_Z7C557C0(transport) {
24
+ return new CompanySettingsClient(transport);
25
+ }
26
+ function CompanySettingsClient__GetCompanySettingsAsync(_) {
27
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanySettings)]), (0, List_ts_1.empty)()));
28
+ }
29
+ function CompanySettingsClient__CreateCompanySettingsAsync_48FEE133(_, model) {
30
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanySettings)]), (0, List_ts_1.empty)()), model);
31
+ }
32
+ function CompanySettingsClient__UpdateCompanySettingsAsync_48FEE133(_, model) {
33
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanySettings)]), (0, List_ts_1.empty)()), model);
34
+ }
35
+ function CompanySettingsClient__DeleteCompanySettingsAsync(_) {
36
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.CompanySettings)]), (0, List_ts_1.empty)()));
37
+ }
38
+ //# sourceMappingURL=CompanySettingsClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompanySettingsClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/CompanySettingsClient.ts"],"names":[],"mappings":";;;AAeA,8EAEC;AAED,oFAEC;AAED,wGAEC;AAED,gIAEC;AAED,gIAEC;AAED,8GAEC;AAnCD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAA4D;AAC5D,qFAAyF;AAGzF,MAAa,qBAAqB;IAE9B,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,sDAKC;AAED,SAAgB,iCAAiC;IAC7C,OAAO,IAAA,0BAAU,EAAC,qDAAqD,EAAE,SAAS,EAAE,qBAAqB,CAAC,CAAC;AAC/G,CAAC;AAED,SAAgB,oCAAoC,CAAC,SAAyB;IAC1E,OAAO,IAAI,qBAAqB,CAAC,SAAS,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,8CAA8C,CAAC,CAAwB;IACnF,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAgC,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,8BAAe,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AACnN,CAAC;AAED,SAAgB,0DAA0D,CAAC,CAAwB,EAAE,KAAuC;IACxI,OAAO,CAAC,CAAC,SAAS,CAAC,SAAS,CAAkE,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,8BAAe,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,EAAE,KAAK,CAAC,CAAC;AAC7P,CAAC;AAED,SAAgB,0DAA0D,CAAC,CAAwB,EAAE,KAAuC;IACxI,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAkE,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,8BAAe,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,EAAE,KAAK,CAAC,CAAC;AAC5P,CAAC;AAED,SAAgB,iDAAiD,CAAC,CAAwB;IACtF,OAAO,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,8BAAe,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AACvL,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ import { DepartmentModificationModel, DepartmentQueryRequestModel } from "../../Models/ApiModels.ts";
4
+ import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
5
+ export declare class DepartmentClient {
6
+ readonly transport: IHttpTransport;
7
+ constructor(transport: IHttpTransport);
8
+ }
9
+ export declare function DepartmentClient_$reflection(): TypeInfo;
10
+ export declare function DepartmentClient_$ctor_Z7C557C0(transport: IHttpTransport): DepartmentClient;
11
+ export declare function DepartmentClient__GetDepartmentsAsync_Z1FA95010(_: DepartmentClient, query: DepartmentQueryRequestModel): any;
12
+ export declare function DepartmentClient__GetDepartmentAsync_Z524259C1(_: DepartmentClient, id: int64): any;
13
+ export declare function DepartmentClient__CreateDepartmentAsync_5FFA7395(_: DepartmentClient, model: DepartmentModificationModel): any;
14
+ export declare function DepartmentClient__UpdateDepartmentAsync_3A881D8A(_: DepartmentClient, id: int64, model: DepartmentModificationModel): any;
15
+ export declare function DepartmentClient__DeleteDepartmentAsync_Z524259C1(_: DepartmentClient, id: int64): any;
16
+ export declare function DepartmentClient__buildUrl_Z1FA95010(this$: DepartmentClient, queryParams: DepartmentQueryRequestModel): string;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DepartmentClient = void 0;
4
+ exports.DepartmentClient_$reflection = DepartmentClient_$reflection;
5
+ exports.DepartmentClient_$ctor_Z7C557C0 = DepartmentClient_$ctor_Z7C557C0;
6
+ exports.DepartmentClient__GetDepartmentsAsync_Z1FA95010 = DepartmentClient__GetDepartmentsAsync_Z1FA95010;
7
+ exports.DepartmentClient__GetDepartmentAsync_Z524259C1 = DepartmentClient__GetDepartmentAsync_Z524259C1;
8
+ exports.DepartmentClient__CreateDepartmentAsync_5FFA7395 = DepartmentClient__CreateDepartmentAsync_5FFA7395;
9
+ exports.DepartmentClient__UpdateDepartmentAsync_3A881D8A = DepartmentClient__UpdateDepartmentAsync_3A881D8A;
10
+ exports.DepartmentClient__DeleteDepartmentAsync_Z524259C1 = DepartmentClient__DeleteDepartmentAsync_Z524259C1;
11
+ exports.DepartmentClient__buildUrl_Z1FA95010 = DepartmentClient__buildUrl_Z1FA95010;
12
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
13
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
14
+ const Endpoints_ts_1 = require("../Endpoints.js");
15
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
16
+ const Seq_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js");
17
+ const Option_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
18
+ const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
19
+ const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
20
+ class DepartmentClient {
21
+ constructor(transport) {
22
+ this.transport = transport;
23
+ }
24
+ }
25
+ exports.DepartmentClient = DepartmentClient;
26
+ function DepartmentClient_$reflection() {
27
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.DepartmentClient", undefined, DepartmentClient);
28
+ }
29
+ function DepartmentClient_$ctor_Z7C557C0(transport) {
30
+ return new DepartmentClient(transport);
31
+ }
32
+ function DepartmentClient__GetDepartmentsAsync_Z1FA95010(_, query) {
33
+ return _.transport.GetAsync(DepartmentClient__buildUrl_Z1FA95010(_, query));
34
+ }
35
+ function DepartmentClient__GetDepartmentAsync_Z524259C1(_, id) {
36
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Departments), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
37
+ }
38
+ function DepartmentClient__CreateDepartmentAsync_5FFA7395(_, model) {
39
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Departments)]), (0, List_ts_1.empty)()), model);
40
+ }
41
+ function DepartmentClient__UpdateDepartmentAsync_3A881D8A(_, id, model) {
42
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Departments), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()), model);
43
+ }
44
+ function DepartmentClient__DeleteDepartmentAsync_Z524259C1(_, id) {
45
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Departments), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
46
+ }
47
+ function DepartmentClient__buildUrl_Z1FA95010(this$, queryParams) {
48
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => {
49
+ let matchValue = undefined, ids_1 = undefined;
50
+ return (0, Seq_ts_1.append)((matchValue = (0, Option_ts_1.ofNullable)(queryParams.Id), (matchValue != null) ? (((0, CollectionUtil_ts_1.count)((0, Option_ts_1.value)(matchValue)) > 0) ? ((ids_1 = (0, Option_ts_1.value)(matchValue), (0, Seq_ts_1.map)((id) => ["Id", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)], ids_1))) : ((0, Seq_ts_1.empty)())) : ((0, Seq_ts_1.empty)())), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)())))))));
51
+ }));
52
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Departments)]), parameters);
53
+ }
54
+ //# sourceMappingURL=DepartmentClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepartmentClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/DepartmentClient.ts"],"names":[],"mappings":";;;AAoBA,oEAEC;AAED,0EAEC;AAED,0GAEC;AAED,wGAEC;AAED,4GAEC;AAED,4GAEC;AAED,8GAEC;AAED,oFAMC;AApDD,iGAAqG;AAErG,oDAA4J;AAC5J,kDAAwD;AACxD,qFAAqG;AAErG,mFAAiI;AACjI,yFAAoH;AACpH,yGAA0F;AAC1F,yFAA0F;AAE1F,MAAa,gBAAgB;IAEzB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,4CAKC;AAED,SAAgB,4BAA4B;IACxC,OAAO,IAAA,0BAAU,EAAC,gDAAgD,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC;AACrG,CAAC;AAED,SAAgB,+BAA+B,CAAC,SAAyB;IACrE,OAAO,IAAI,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAC3C,CAAC;AAED,SAAgB,+CAA+C,CAAC,CAAmB,EAAE,KAAkC;IACnH,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAkD,oCAAoC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;AACjI,CAAC;AAED,SAAgB,8CAA8C,CAAC,CAAmB,EAAE,EAAS;IACzF,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAA2B,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,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,cAAK,EAAoB,GAAgC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAS,EAAoB,CAAC,UAAU,EAAE,IAAA,6CAA6B,EAAC,IAAA,wBAAY,EAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,IAAA,cAAO,GAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7qC,CAAC,CAAC,CAAC,CAAC;IACJ,OAAO,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,0BAAW,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AAC1I,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ import { EmployeeModificationModel, EmployeePagingRequestModel, EmployeeQueryRequestModel } from "../../Models/ApiModels.ts";
4
+ import { int64 } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
5
+ export declare class EmployeeClient {
6
+ readonly transport: IHttpTransport;
7
+ constructor(transport: IHttpTransport);
8
+ }
9
+ export declare function EmployeeClient_$reflection(): TypeInfo;
10
+ export declare function EmployeeClient_$ctor_Z7C557C0(transport: IHttpTransport): EmployeeClient;
11
+ export declare function EmployeeClient__GetEmployeesAsync_Z5C7407CA(_: EmployeeClient, query: EmployeeQueryRequestModel): any;
12
+ export declare function EmployeeClient__GetEmployeesPagingAsync_Z58F6F376(_: EmployeeClient, query: EmployeePagingRequestModel): any;
13
+ export declare function EmployeeClient__GetEmployeeAsync_Z524259C1(_: EmployeeClient, id: int64): any;
14
+ export declare function EmployeeClient__CreateEmployeeAsync_38598DD3(_: EmployeeClient, model: EmployeeModificationModel): any;
15
+ export declare function EmployeeClient__UpdateEmployeeAsync_5D2BE3CC(_: EmployeeClient, id: int64, model: EmployeeModificationModel): any;
16
+ export declare function EmployeeClient__DeleteEmployeeAsync_Z524259C1(_: EmployeeClient, id: int64): any;
17
+ export declare function EmployeeClient__buildUrl_Z5C7407CA(this$: EmployeeClient, queryParams: EmployeeQueryRequestModel): string;
18
+ export declare function EmployeeClient__buildPagingUrl_Z58F6F376(this$: EmployeeClient, queryParams: EmployeePagingRequestModel): string;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmployeeClient = void 0;
4
+ exports.EmployeeClient_$reflection = EmployeeClient_$reflection;
5
+ exports.EmployeeClient_$ctor_Z7C557C0 = EmployeeClient_$ctor_Z7C557C0;
6
+ exports.EmployeeClient__GetEmployeesAsync_Z5C7407CA = EmployeeClient__GetEmployeesAsync_Z5C7407CA;
7
+ exports.EmployeeClient__GetEmployeesPagingAsync_Z58F6F376 = EmployeeClient__GetEmployeesPagingAsync_Z58F6F376;
8
+ exports.EmployeeClient__GetEmployeeAsync_Z524259C1 = EmployeeClient__GetEmployeeAsync_Z524259C1;
9
+ exports.EmployeeClient__CreateEmployeeAsync_38598DD3 = EmployeeClient__CreateEmployeeAsync_38598DD3;
10
+ exports.EmployeeClient__UpdateEmployeeAsync_5D2BE3CC = EmployeeClient__UpdateEmployeeAsync_5D2BE3CC;
11
+ exports.EmployeeClient__DeleteEmployeeAsync_Z524259C1 = EmployeeClient__DeleteEmployeeAsync_Z524259C1;
12
+ exports.EmployeeClient__buildUrl_Z5C7407CA = EmployeeClient__buildUrl_Z5C7407CA;
13
+ exports.EmployeeClient__buildPagingUrl_Z58F6F376 = EmployeeClient__buildPagingUrl_Z58F6F376;
14
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
15
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
16
+ const Endpoints_ts_1 = require("../Endpoints.js");
17
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
18
+ const Seq_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Seq.js");
19
+ const Option_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Option.js");
20
+ const CollectionUtil_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/CollectionUtil.js");
21
+ const String_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/String.js");
22
+ class EmployeeClient {
23
+ constructor(transport) {
24
+ this.transport = transport;
25
+ }
26
+ }
27
+ exports.EmployeeClient = EmployeeClient;
28
+ function EmployeeClient_$reflection() {
29
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.EmployeeClient", undefined, EmployeeClient);
30
+ }
31
+ function EmployeeClient_$ctor_Z7C557C0(transport) {
32
+ return new EmployeeClient(transport);
33
+ }
34
+ function EmployeeClient__GetEmployeesAsync_Z5C7407CA(_, query) {
35
+ return _.transport.GetAsync(EmployeeClient__buildUrl_Z5C7407CA(_, query));
36
+ }
37
+ function EmployeeClient__GetEmployeesPagingAsync_Z58F6F376(_, query) {
38
+ return _.transport.GetAsync(EmployeeClient__buildPagingUrl_Z58F6F376(_, query));
39
+ }
40
+ function EmployeeClient__GetEmployeeAsync_Z524259C1(_, id) {
41
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
42
+ }
43
+ function EmployeeClient__CreateEmployeeAsync_38598DD3(_, model) {
44
+ return _.transport.PostAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee)]), (0, List_ts_1.empty)()), model);
45
+ }
46
+ function EmployeeClient__UpdateEmployeeAsync_5D2BE3CC(_, id, model) {
47
+ return _.transport.PutAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()), model);
48
+ }
49
+ function EmployeeClient__DeleteEmployeeAsync_Z524259C1(_, id) {
50
+ return _.transport.DeleteAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employee), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)]), (0, List_ts_1.empty)()));
51
+ }
52
+ function EmployeeClient__buildUrl_Z5C7407CA(this$, queryParams) {
53
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => {
54
+ let matchValue = undefined, ids_1 = undefined;
55
+ return (0, Seq_ts_1.append)((matchValue = (0, Option_ts_1.ofNullable)(queryParams.Id), (matchValue != null) ? (((0, CollectionUtil_ts_1.count)((0, Option_ts_1.value)(matchValue)) > 0) ? ((ids_1 = (0, Option_ts_1.value)(matchValue), (0, Seq_ts_1.map)((id) => ["Id", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)(id)], ids_1))) : ((0, Seq_ts_1.empty)())) : ((0, Seq_ts_1.empty)())), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.ReportsToId != null) ? (0, Seq_ts_1.singleton)(["ReportsToId", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259C1)((0, Option_ts_1.nonNullValue)(queryParams.ReportsToId))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.TopLevelOnly != null) ? (0, Seq_ts_1.singleton)(["TopLevelOnly", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z1FBCCD16)((0, Option_ts_1.nonNullValue)(queryParams.TopLevelOnly))]) : (0, Seq_ts_1.empty)())))))))))));
56
+ }));
57
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employees)]), parameters);
58
+ }
59
+ function EmployeeClient__buildPagingUrl_Z58F6F376(this$, queryParams) {
60
+ const parameters = (0, Seq_ts_1.toList)((0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)(!(0, String_ts_1.isNullOrEmpty)(queryParams.Search) ? (0, Seq_ts_1.singleton)(["Search", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(queryParams.Search)]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => (0, Seq_ts_1.append)((queryParams.PageNumber != null) ? (0, Seq_ts_1.singleton)(["PageNumber", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageNumber))]) : (0, Seq_ts_1.empty)(), (0, Seq_ts_1.delay)(() => ((queryParams.PageSize != null) ? (0, Seq_ts_1.singleton)(["PageSize", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z524259A4)((0, Option_ts_1.nonNullValue)(queryParams.PageSize))]) : (0, Seq_ts_1.empty)())))))));
61
+ return (0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Employees)]), parameters);
62
+ }
63
+ //# sourceMappingURL=EmployeeClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmployeeClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/EmployeeClient.ts"],"names":[],"mappings":";;;AAoBA,gEAEC;AAED,sEAEC;AAED,kGAEC;AAED,8GAEC;AAED,gGAEC;AAED,oGAEC;AAED,oGAEC;AAED,sGAEC;AAED,gFAMC;AAED,4FAGC;AA7DD,iGAAqG;AAErG,oDAA2L;AAC3L,kDAAgE;AAChE,qFAAqG;AAErG,mFAAiI;AACjI,yFAAoH;AACpH,yGAA0F;AAC1F,yFAA0F;AAE1F,MAAa,cAAc;IAEvB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,wCAKC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AAC,WAAW,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAA,kBAAS,EAAoB,CAAC,UAAU,EAAE,IAAA,6CAA6B,EAAC,IAAA,wBAAY,EAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC,IAAA,cAAO,GAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/3B,OAAO,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,wBAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACxI,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ export declare class IdentityClient {
4
+ readonly transport: IHttpTransport;
5
+ constructor(transport: IHttpTransport);
6
+ }
7
+ export declare function IdentityClient_$reflection(): TypeInfo;
8
+ export declare function IdentityClient_$ctor_Z7C557C0(transport: IHttpTransport): IdentityClient;
9
+ export declare function IdentityClient__GetClientAsync_Z721C83C5(_: IdentityClient, origin: string): any;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IdentityClient = void 0;
4
+ exports.IdentityClient_$reflection = IdentityClient_$reflection;
5
+ exports.IdentityClient_$ctor_Z7C557C0 = IdentityClient_$ctor_Z7C557C0;
6
+ exports.IdentityClient__GetClientAsync_Z721C83C5 = IdentityClient__GetClientAsync_Z721C83C5;
7
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
8
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
9
+ const Endpoints_ts_1 = require("../Endpoints.js");
10
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
11
+ class IdentityClient {
12
+ constructor(transport) {
13
+ this.transport = transport;
14
+ }
15
+ }
16
+ exports.IdentityClient = IdentityClient;
17
+ function IdentityClient_$reflection() {
18
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.IdentityClient", undefined, IdentityClient);
19
+ }
20
+ function IdentityClient_$ctor_Z7C557C0(transport) {
21
+ return new IdentityClient(transport);
22
+ }
23
+ function IdentityClient__GetClientAsync_Z721C83C5(_, origin) {
24
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.Client)]), (0, List_ts_1.singleton)(["origin", (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(origin)])));
25
+ }
26
+ //# sourceMappingURL=IdentityClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdentityClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/IdentityClient.ts"],"names":[],"mappings":";;;AAeA,gEAEC;AAED,sEAEC;AAED,4FAEC;AAvBD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAAmD;AACnD,qFAA6F;AAG7F,MAAa,cAAc;IAEvB,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,wCAKC;AAED,SAAgB,0BAA0B;IACtC,OAAO,IAAA,0BAAU,EAAC,8CAA8C,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;AACjG,CAAC;AAED,SAAgB,6BAA6B,CAAC,SAAyB;IACnE,OAAO,IAAI,cAAc,CAAC,SAAS,CAAC,CAAC;AACzC,CAAC;AAED,SAAgB,wCAAwC,CAAC,CAAiB,EAAE,MAAc;IACtF,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAA+B,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,qBAAM,CAAC,CAAC,CAAC,EAAE,IAAA,mBAAS,EAAC,CAAC,QAAQ,EAAE,IAAA,6CAA6B,EAAC,MAAM,CAAC,CAAsB,CAAC,CAAC,CAAC,CAAC;AAChQ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { IHttpTransport } from "../IHttpTransport.ts";
2
+ import { TypeInfo } from "../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
3
+ export declare class SystemLicenseClient {
4
+ readonly transport: IHttpTransport;
5
+ constructor(transport: IHttpTransport);
6
+ }
7
+ export declare function SystemLicenseClient_$reflection(): TypeInfo;
8
+ export declare function SystemLicenseClient_$ctor_Z7C557C0(transport: IHttpTransport): SystemLicenseClient;
9
+ export declare function SystemLicenseClient__GetLicenseAsync(_: SystemLicenseClient): any;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SystemLicenseClient = void 0;
4
+ exports.SystemLicenseClient_$reflection = SystemLicenseClient_$reflection;
5
+ exports.SystemLicenseClient_$ctor_Z7C557C0 = SystemLicenseClient_$ctor_Z7C557C0;
6
+ exports.SystemLicenseClient__GetLicenseAsync = SystemLicenseClient__GetLicenseAsync;
7
+ const Reflection_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.js");
8
+ const UrlHelpers_ts_1 = require("../UrlHelpers.js");
9
+ const Endpoints_ts_1 = require("../Endpoints.js");
10
+ const List_ts_1 = require("../../fable_modules/fable-library-ts.5.0.0-rc.1/List.js");
11
+ class SystemLicenseClient {
12
+ constructor(transport) {
13
+ this.transport = transport;
14
+ }
15
+ }
16
+ exports.SystemLicenseClient = SystemLicenseClient;
17
+ function SystemLicenseClient_$reflection() {
18
+ return (0, Reflection_ts_1.class_type)("Fossa.Bridge.Services.Clients.SystemLicenseClient", undefined, SystemLicenseClient);
19
+ }
20
+ function SystemLicenseClient_$ctor_Z7C557C0(transport) {
21
+ return new SystemLicenseClient(transport);
22
+ }
23
+ function SystemLicenseClient__GetLicenseAsync(_) {
24
+ return _.transport.GetAsync((0, UrlHelpers_ts_1.composeRelativeUrl)((0, List_ts_1.ofArray)([(0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.BasePath), (0, UrlHelpers_ts_1.UrlPart_op_Implicit_Z721C83C5)(Endpoints_ts_1.SystemLicense)]), (0, List_ts_1.empty)()));
25
+ }
26
+ //# sourceMappingURL=SystemLicenseClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SystemLicenseClient.js","sourceRoot":"","sources":["../../../fable_output/Services/Clients/SystemLicenseClient.ts"],"names":[],"mappings":";;;AAeA,0EAEC;AAED,gFAEC;AAED,oFAEC;AAvBD,iGAAqG;AACrG,oDAA8F;AAC9F,kDAA0D;AAC1D,qFAAyF;AAGzF,MAAa,mBAAmB;IAE5B,YAAY,SAAyB;QACjC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AALD,kDAKC;AAED,SAAgB,+BAA+B;IAC3C,OAAO,IAAA,0BAAU,EAAC,mDAAmD,EAAE,SAAS,EAAE,mBAAmB,CAAC,CAAC;AAC3G,CAAC;AAED,SAAgB,kCAAkC,CAAC,SAAyB;IACxE,OAAO,IAAI,mBAAmB,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC;AAED,SAAgB,oCAAoC,CAAC,CAAsB;IACvE,OAAO,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAkD,IAAA,kCAAkB,EAAC,IAAA,iBAAO,EAAC,CAAC,IAAA,6CAA6B,EAAC,uBAAQ,CAAC,EAAE,IAAA,6CAA6B,EAAC,4BAAa,CAAC,CAAC,CAAC,EAAE,IAAA,eAAK,GAAqB,CAAC,CAAC,CAAC;AACnO,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const BasePath = "api/1.0";
2
+ export declare const Client = "Identity/Client";
3
+ export declare const SystemLicense = "License/System";
4
+ export declare const CompanyLicense = "License/Company";
5
+ export declare const Company = "Company";
6
+ export declare const CompanySettings = "CompanySettings";
7
+ export declare const Branches = "Branches";
8
+ export declare const Departments = "Departments";
9
+ export declare const Employee = "Employee";
10
+ export declare const Employees = "Employees";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Employees = exports.Employee = exports.Departments = exports.Branches = exports.CompanySettings = exports.Company = exports.CompanyLicense = exports.SystemLicense = exports.Client = exports.BasePath = void 0;
4
+ exports.BasePath = "api/1.0";
5
+ exports.Client = "Identity/Client";
6
+ exports.SystemLicense = "License/System";
7
+ exports.CompanyLicense = "License/Company";
8
+ exports.Company = "Company";
9
+ exports.CompanySettings = "CompanySettings";
10
+ exports.Branches = "Branches";
11
+ exports.Departments = "Departments";
12
+ exports.Employee = "Employee";
13
+ exports.Employees = "Employees";
14
+ //# sourceMappingURL=Endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Endpoints.js","sourceRoot":"","sources":["../../fable_output/Services/Endpoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAG,SAAS,CAAC;AAErB,QAAA,MAAM,GAAG,iBAAiB,CAAC;AAE3B,QAAA,aAAa,GAAG,gBAAgB,CAAC;AAEjC,QAAA,cAAc,GAAG,iBAAiB,CAAC;AAEnC,QAAA,OAAO,GAAG,SAAS,CAAC;AAEpB,QAAA,eAAe,GAAG,iBAAiB,CAAC;AAEpC,QAAA,QAAQ,GAAG,UAAU,CAAC;AAEtB,QAAA,WAAW,GAAG,aAAa,CAAC;AAE5B,QAAA,QAAQ,GAAG,UAAU,CAAC;AAEtB,QAAA,SAAS,GAAG,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface IHttpTransport {
2
+ DeleteAsync(arg0: string): any;
3
+ GetAsync<TResponse>(arg0: string): any;
4
+ PostAsync<TRequest, TResponse>(arg0: string, arg1: TRequest): any;
5
+ PutAsync<TRequest, TResponse>(arg0: string, arg1: TRequest): any;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IHttpTransport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHttpTransport.js","sourceRoot":"","sources":["../../fable_output/Services/IHttpTransport.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { FSharpList } from "../fable_modules/fable-library-ts.5.0.0-rc.1/List.ts";
2
+ import { FSharpChoice$2_$union } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Choice.ts";
3
+ import { TypeInfo } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Reflection.ts";
4
+ import { float64, int32 } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Int32.ts";
5
+ import { int64 } from "../fable_modules/fable-library-ts.5.0.0-rc.1/BigInt.ts";
6
+ import { decimal } from "../fable_modules/fable-library-ts.5.0.0-rc.1/Decimal.ts";
7
+ export declare function getBackendOrigin(frontendOrigin: string): string;
8
+ export declare class UrlPart {
9
+ readonly value: FSharpChoice$2_$union<string, any>;
10
+ constructor(value: FSharpChoice$2_$union<string, any>);
11
+ }
12
+ export declare function UrlPart_$reflection(): TypeInfo;
13
+ export declare function UrlPart_$ctor_Z19415666(value: FSharpChoice$2_$union<string, any>): UrlPart;
14
+ export declare function UrlPart__get_Value(_: UrlPart): FSharpChoice$2_$union<string, any>;
15
+ export declare function UrlPart_op_Implicit_Z721C83C5(s: string): UrlPart;
16
+ export declare function UrlPart_op_Implicit_Z6CAC3EAA(f: any): UrlPart;
17
+ export declare function UrlPart_op_Implicit_Z1FBCCD16(b: boolean): UrlPart;
18
+ export declare function UrlPart_op_Implicit_Z524259A4(i: int32): UrlPart;
19
+ export declare function UrlPart_op_Implicit_Z524259C1(i: int64): UrlPart;
20
+ export declare function UrlPart_op_Implicit_5E38073B(f: float64): UrlPart;
21
+ export declare function UrlPart_op_Implicit_32C73145(d: decimal): UrlPart;
22
+ export declare function UrlPart_op_Implicit_244AC511(g: string): UrlPart;
23
+ export declare function UrlPart_op_Implicit_7F9DDECF(dt: Date): UrlPart;
24
+ export declare function UrlPart_op_Implicit_Z53C0511E(dto: Date): UrlPart;
25
+ export declare function composeRelativeUrl(relativePathSections: FSharpList<UrlPart>, queryParameters: FSharpList<[string, UrlPart]>): string;