@fern-api/venus-api-sdk 0.13.2 → 0.13.4-3-g1fe7ae7

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 (323) hide show
  1. package/Client.d.ts +7 -3
  2. package/api/resources/commons/types/OrganizationId.d.ts +1 -1
  3. package/api/resources/commons/types/OrganizationId.js +1 -2
  4. package/api/resources/commons/types/UserId.d.ts +1 -1
  5. package/api/resources/commons/types/UserId.js +1 -2
  6. package/api/resources/index.js +17 -7
  7. package/api/resources/organization/client/Client.d.ts +5 -1
  8. package/api/resources/organization/client/Client.js +63 -109
  9. package/api/resources/organization/client/addUser.d.ts +1 -1
  10. package/api/resources/organization/client/addUser.js +17 -7
  11. package/api/resources/organization/client/create.d.ts +1 -1
  12. package/api/resources/organization/client/create.js +17 -7
  13. package/api/resources/organization/client/get.d.ts +1 -1
  14. package/api/resources/organization/client/get.js +17 -7
  15. package/api/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +1 -1
  16. package/api/resources/organization/client/getMyOrganizationFromScopedToken.js +17 -7
  17. package/api/resources/organization/client/getOrgIdsFromToken.d.ts +1 -1
  18. package/api/resources/organization/client/getOrgIdsFromToken.js +17 -7
  19. package/api/resources/organization/client/index.js +17 -7
  20. package/api/resources/organization/client/inviteUser.d.ts +1 -1
  21. package/api/resources/organization/client/inviteUser.js +17 -7
  22. package/api/resources/organization/client/isMember.d.ts +1 -1
  23. package/api/resources/organization/client/isMember.js +17 -7
  24. package/api/resources/organization/client/removeUser.d.ts +1 -1
  25. package/api/resources/organization/client/removeUser.js +17 -7
  26. package/api/resources/organization/client/update.d.ts +1 -1
  27. package/api/resources/organization/client/update.js +17 -7
  28. package/api/resources/organization/types/CreateOrganizationResponse.d.ts +12 -0
  29. package/api/resources/organization/types/CreateOrganizationResponse.js +5 -0
  30. package/api/resources/organization/types/index.d.ts +1 -0
  31. package/api/resources/organization/types/index.js +1 -0
  32. package/api/resources/registry/client/Client.d.ts +4 -0
  33. package/api/resources/registry/client/Client.js +29 -40
  34. package/api/resources/registry/client/generateRegistryTokens.d.ts +1 -1
  35. package/api/resources/registry/client/generateRegistryTokens.js +17 -7
  36. package/api/resources/registry/client/hasRegistryPermission.d.ts +1 -1
  37. package/api/resources/registry/client/hasRegistryPermission.js +17 -7
  38. package/api/resources/registry/client/index.js +17 -7
  39. package/api/resources/registry/client/revokeToken.d.ts +1 -1
  40. package/api/resources/registry/client/revokeToken.js +17 -7
  41. package/api/resources/registry/types/RegistryToken.d.ts +1 -1
  42. package/api/resources/user/client/Client.d.ts +4 -0
  43. package/api/resources/user/client/Client.js +23 -25
  44. package/api/resources/user/client/getMyOrganizations.d.ts +1 -1
  45. package/api/resources/user/client/getMyOrganizations.js +17 -7
  46. package/api/resources/user/client/getMyself.d.ts +1 -1
  47. package/api/resources/user/client/getMyself.js +17 -7
  48. package/api/resources/user/client/index.js +17 -7
  49. package/core/auth/BearerToken.d.ts +1 -1
  50. package/core/fetcher/APIResponse.d.ts +1 -1
  51. package/core/fetcher/Fetcher.d.ts +3 -3
  52. package/core/fetcher/Fetcher.js +6 -5
  53. package/core/fetcher/Supplier.d.ts +1 -1
  54. package/core/fetcher/createRequestUrl.d.ts +1 -1
  55. package/core/fetcher/createRequestUrl.js +1 -2
  56. package/core/fetcher/getFetchFn.js +18 -9
  57. package/core/fetcher/getHeader.js +1 -2
  58. package/core/fetcher/getRequestBody.js +5 -5
  59. package/core/fetcher/getResponseBody.js +4 -2
  60. package/core/fetcher/makeRequest.d.ts +1 -1
  61. package/core/fetcher/requestWithRetries.js +17 -9
  62. package/core/fetcher/signals.d.ts +0 -1
  63. package/core/fetcher/signals.js +2 -3
  64. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
  65. package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
  66. package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
  67. package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
  68. package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
  69. package/core/index.js +17 -7
  70. package/core/json.d.ts +15 -0
  71. package/core/json.js +24 -0
  72. package/core/runtime/runtime.d.ts +1 -1
  73. package/core/runtime/runtime.js +51 -41
  74. package/core/schemas/Schema.d.ts +7 -5
  75. package/core/schemas/Schema.js +2 -0
  76. package/core/schemas/builders/bigint/bigint.d.ts +1 -1
  77. package/core/schemas/builders/bigint/bigint.js +22 -19
  78. package/core/schemas/builders/date/date.js +1 -2
  79. package/core/schemas/builders/enum/enum.js +1 -2
  80. package/core/schemas/builders/lazy/lazy.d.ts +1 -1
  81. package/core/schemas/builders/lazy/lazy.js +3 -4
  82. package/core/schemas/builders/lazy/lazyObject.js +1 -2
  83. package/core/schemas/builders/list/list.js +1 -2
  84. package/core/schemas/builders/literals/booleanLiteral.js +1 -2
  85. package/core/schemas/builders/literals/stringLiteral.js +1 -2
  86. package/core/schemas/builders/object/object.d.ts +1 -1
  87. package/core/schemas/builders/object/object.js +31 -3
  88. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
  89. package/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
  90. package/core/schemas/builders/object/property.js +2 -3
  91. package/core/schemas/builders/object/types.d.ts +16 -11
  92. package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
  93. package/core/schemas/builders/object-like/types.d.ts +1 -1
  94. package/core/schemas/builders/record/record.js +2 -4
  95. package/core/schemas/builders/record/types.d.ts +2 -2
  96. package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
  97. package/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
  98. package/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
  99. package/core/schemas/builders/set/set.js +1 -2
  100. package/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
  101. package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
  102. package/core/schemas/builders/union/discriminant.js +1 -2
  103. package/core/schemas/builders/union/types.d.ts +6 -6
  104. package/core/schemas/builders/union/union.d.ts +1 -1
  105. package/core/schemas/builders/union/union.js +1 -2
  106. package/core/schemas/utils/MaybePromise.d.ts +1 -1
  107. package/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
  108. package/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
  109. package/core/schemas/utils/entries.d.ts +1 -1
  110. package/core/schemas/utils/entries.js +1 -2
  111. package/core/schemas/utils/filterObject.d.ts +1 -1
  112. package/core/schemas/utils/filterObject.js +1 -2
  113. package/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
  114. package/core/schemas/utils/isPlainObject.js +1 -2
  115. package/core/schemas/utils/keys.d.ts +1 -1
  116. package/core/schemas/utils/keys.js +1 -2
  117. package/core/schemas/utils/maybeSkipValidation.js +1 -2
  118. package/core/schemas/utils/partition.js +1 -2
  119. package/dist/Client.d.ts +7 -3
  120. package/dist/api/resources/commons/types/OrganizationId.d.ts +1 -1
  121. package/dist/api/resources/commons/types/OrganizationId.js +1 -2
  122. package/dist/api/resources/commons/types/UserId.d.ts +1 -1
  123. package/dist/api/resources/commons/types/UserId.js +1 -2
  124. package/dist/api/resources/index.js +17 -7
  125. package/dist/api/resources/organization/client/Client.d.ts +5 -1
  126. package/dist/api/resources/organization/client/Client.js +63 -109
  127. package/dist/api/resources/organization/client/addUser.d.ts +1 -1
  128. package/dist/api/resources/organization/client/addUser.js +17 -7
  129. package/dist/api/resources/organization/client/create.d.ts +1 -1
  130. package/dist/api/resources/organization/client/create.js +17 -7
  131. package/dist/api/resources/organization/client/get.d.ts +1 -1
  132. package/dist/api/resources/organization/client/get.js +17 -7
  133. package/dist/api/resources/organization/client/getMyOrganizationFromScopedToken.d.ts +1 -1
  134. package/dist/api/resources/organization/client/getMyOrganizationFromScopedToken.js +17 -7
  135. package/dist/api/resources/organization/client/getOrgIdsFromToken.d.ts +1 -1
  136. package/dist/api/resources/organization/client/getOrgIdsFromToken.js +17 -7
  137. package/dist/api/resources/organization/client/index.js +17 -7
  138. package/dist/api/resources/organization/client/inviteUser.d.ts +1 -1
  139. package/dist/api/resources/organization/client/inviteUser.js +17 -7
  140. package/dist/api/resources/organization/client/isMember.d.ts +1 -1
  141. package/dist/api/resources/organization/client/isMember.js +17 -7
  142. package/dist/api/resources/organization/client/removeUser.d.ts +1 -1
  143. package/dist/api/resources/organization/client/removeUser.js +17 -7
  144. package/dist/api/resources/organization/client/update.d.ts +1 -1
  145. package/dist/api/resources/organization/client/update.js +17 -7
  146. package/dist/api/resources/organization/types/CreateOrganizationResponse.d.ts +12 -0
  147. package/dist/api/resources/organization/types/CreateOrganizationResponse.js +5 -0
  148. package/dist/api/resources/organization/types/index.d.ts +1 -0
  149. package/dist/api/resources/organization/types/index.js +1 -0
  150. package/dist/api/resources/registry/client/Client.d.ts +4 -0
  151. package/dist/api/resources/registry/client/Client.js +29 -40
  152. package/dist/api/resources/registry/client/generateRegistryTokens.d.ts +1 -1
  153. package/dist/api/resources/registry/client/generateRegistryTokens.js +17 -7
  154. package/dist/api/resources/registry/client/hasRegistryPermission.d.ts +1 -1
  155. package/dist/api/resources/registry/client/hasRegistryPermission.js +17 -7
  156. package/dist/api/resources/registry/client/index.js +17 -7
  157. package/dist/api/resources/registry/client/revokeToken.d.ts +1 -1
  158. package/dist/api/resources/registry/client/revokeToken.js +17 -7
  159. package/dist/api/resources/registry/types/RegistryToken.d.ts +1 -1
  160. package/dist/api/resources/user/client/Client.d.ts +4 -0
  161. package/dist/api/resources/user/client/Client.js +23 -25
  162. package/dist/api/resources/user/client/getMyOrganizations.d.ts +1 -1
  163. package/dist/api/resources/user/client/getMyOrganizations.js +17 -7
  164. package/dist/api/resources/user/client/getMyself.d.ts +1 -1
  165. package/dist/api/resources/user/client/getMyself.js +17 -7
  166. package/dist/api/resources/user/client/index.js +17 -7
  167. package/dist/core/auth/BearerToken.d.ts +1 -1
  168. package/dist/core/fetcher/APIResponse.d.ts +1 -1
  169. package/dist/core/fetcher/Fetcher.d.ts +3 -3
  170. package/dist/core/fetcher/Fetcher.js +6 -5
  171. package/dist/core/fetcher/Supplier.d.ts +1 -1
  172. package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
  173. package/dist/core/fetcher/createRequestUrl.js +1 -2
  174. package/dist/core/fetcher/getFetchFn.js +18 -9
  175. package/dist/core/fetcher/getHeader.js +1 -2
  176. package/dist/core/fetcher/getRequestBody.js +5 -5
  177. package/dist/core/fetcher/getResponseBody.js +4 -2
  178. package/dist/core/fetcher/makeRequest.d.ts +1 -1
  179. package/dist/core/fetcher/requestWithRetries.js +17 -9
  180. package/dist/core/fetcher/signals.d.ts +0 -1
  181. package/dist/core/fetcher/signals.js +2 -3
  182. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -1
  183. package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +6 -4
  184. package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
  185. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +1 -1
  186. package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +18 -9
  187. package/dist/core/index.js +17 -7
  188. package/dist/core/json.d.ts +15 -0
  189. package/dist/core/json.js +24 -0
  190. package/dist/core/runtime/runtime.d.ts +1 -1
  191. package/dist/core/runtime/runtime.js +51 -41
  192. package/dist/core/schemas/Schema.d.ts +7 -5
  193. package/dist/core/schemas/Schema.js +2 -0
  194. package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
  195. package/dist/core/schemas/builders/bigint/bigint.js +22 -19
  196. package/dist/core/schemas/builders/date/date.js +1 -2
  197. package/dist/core/schemas/builders/enum/enum.js +1 -2
  198. package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
  199. package/dist/core/schemas/builders/lazy/lazy.js +3 -4
  200. package/dist/core/schemas/builders/lazy/lazyObject.js +1 -2
  201. package/dist/core/schemas/builders/list/list.js +1 -2
  202. package/dist/core/schemas/builders/literals/booleanLiteral.js +1 -2
  203. package/dist/core/schemas/builders/literals/stringLiteral.js +1 -2
  204. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  205. package/dist/core/schemas/builders/object/object.js +31 -3
  206. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +3 -3
  207. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +1 -2
  208. package/dist/core/schemas/builders/object/property.js +2 -3
  209. package/dist/core/schemas/builders/object/types.d.ts +16 -11
  210. package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -3
  211. package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
  212. package/dist/core/schemas/builders/record/record.js +2 -4
  213. package/dist/core/schemas/builders/record/types.d.ts +2 -2
  214. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +4 -0
  215. package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +67 -4
  216. package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +1 -2
  217. package/dist/core/schemas/builders/set/set.js +1 -2
  218. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +4 -4
  219. package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +1 -2
  220. package/dist/core/schemas/builders/union/discriminant.js +1 -2
  221. package/dist/core/schemas/builders/union/types.d.ts +6 -6
  222. package/dist/core/schemas/builders/union/union.d.ts +1 -1
  223. package/dist/core/schemas/builders/union/union.js +1 -2
  224. package/dist/core/schemas/utils/MaybePromise.d.ts +1 -1
  225. package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +4 -4
  226. package/dist/core/schemas/utils/createIdentitySchemaCreator.js +1 -2
  227. package/dist/core/schemas/utils/entries.d.ts +1 -1
  228. package/dist/core/schemas/utils/entries.js +1 -2
  229. package/dist/core/schemas/utils/filterObject.d.ts +1 -1
  230. package/dist/core/schemas/utils/filterObject.js +1 -2
  231. package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +1 -2
  232. package/dist/core/schemas/utils/isPlainObject.js +1 -2
  233. package/dist/core/schemas/utils/keys.d.ts +1 -1
  234. package/dist/core/schemas/utils/keys.js +1 -2
  235. package/dist/core/schemas/utils/maybeSkipValidation.js +1 -2
  236. package/dist/core/schemas/utils/partition.js +1 -2
  237. package/dist/index.d.ts +1 -0
  238. package/dist/index.js +19 -8
  239. package/dist/serialization/resources/commons/types/OrganizationId.js +17 -7
  240. package/dist/serialization/resources/commons/types/UserId.js +17 -7
  241. package/dist/serialization/resources/index.js +17 -7
  242. package/dist/serialization/resources/organization/client/addUser.js +17 -7
  243. package/dist/serialization/resources/organization/client/create.js +17 -7
  244. package/dist/serialization/resources/organization/client/get.js +17 -7
  245. package/dist/serialization/resources/organization/client/getMyOrganizationFromScopedToken.js +17 -7
  246. package/dist/serialization/resources/organization/client/getOrgIdsFromToken.js +17 -7
  247. package/dist/serialization/resources/organization/client/index.js +17 -7
  248. package/dist/serialization/resources/organization/client/inviteUser.js +17 -7
  249. package/dist/serialization/resources/organization/client/isMember.js +17 -7
  250. package/dist/serialization/resources/organization/client/removeUser.js +17 -7
  251. package/dist/serialization/resources/organization/client/requests/AddUserToOrgRequest.js +17 -7
  252. package/dist/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +17 -7
  253. package/dist/serialization/resources/organization/client/requests/InviteUserToOrgRequest.js +17 -7
  254. package/dist/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.js +17 -7
  255. package/dist/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +17 -7
  256. package/dist/serialization/resources/organization/client/update.js +17 -7
  257. package/dist/serialization/resources/organization/types/CreateOrganizationResponse.d.ts +13 -0
  258. package/dist/serialization/resources/organization/types/CreateOrganizationResponse.js +44 -0
  259. package/dist/serialization/resources/organization/types/LightweightUser.js +17 -7
  260. package/dist/serialization/resources/organization/types/Organization.js +17 -7
  261. package/dist/serialization/resources/organization/types/index.d.ts +1 -0
  262. package/dist/serialization/resources/organization/types/index.js +1 -0
  263. package/dist/serialization/resources/registry/client/generateRegistryTokens.js +17 -7
  264. package/dist/serialization/resources/registry/client/hasRegistryPermission.js +17 -7
  265. package/dist/serialization/resources/registry/client/index.js +17 -7
  266. package/dist/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.js +17 -7
  267. package/dist/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.js +17 -7
  268. package/dist/serialization/resources/registry/client/requests/RevokeTokenRequest.js +17 -7
  269. package/dist/serialization/resources/registry/client/revokeToken.js +17 -7
  270. package/dist/serialization/resources/registry/types/MavenRegistryToken.js +17 -7
  271. package/dist/serialization/resources/registry/types/NpmRegistryToken.js +17 -7
  272. package/dist/serialization/resources/registry/types/PypiRegistryToken.js +17 -7
  273. package/dist/serialization/resources/registry/types/RegistryToken.js +17 -7
  274. package/dist/serialization/resources/registry/types/RegistryTokens.js +17 -7
  275. package/dist/serialization/resources/user/types/OrganizationsPage.js +17 -7
  276. package/dist/serialization/resources/user/types/User.js +17 -7
  277. package/dist/version.d.ts +1 -1
  278. package/dist/version.js +1 -1
  279. package/index.d.ts +1 -0
  280. package/index.js +19 -8
  281. package/{jest.config.js → jest.config.mjs} +4 -1
  282. package/package.json +16 -17
  283. package/scripts/rename-to-esm-files.js +115 -0
  284. package/serialization/resources/commons/types/OrganizationId.js +17 -7
  285. package/serialization/resources/commons/types/UserId.js +17 -7
  286. package/serialization/resources/index.js +17 -7
  287. package/serialization/resources/organization/client/addUser.js +17 -7
  288. package/serialization/resources/organization/client/create.js +17 -7
  289. package/serialization/resources/organization/client/get.js +17 -7
  290. package/serialization/resources/organization/client/getMyOrganizationFromScopedToken.js +17 -7
  291. package/serialization/resources/organization/client/getOrgIdsFromToken.js +17 -7
  292. package/serialization/resources/organization/client/index.js +17 -7
  293. package/serialization/resources/organization/client/inviteUser.js +17 -7
  294. package/serialization/resources/organization/client/isMember.js +17 -7
  295. package/serialization/resources/organization/client/removeUser.js +17 -7
  296. package/serialization/resources/organization/client/requests/AddUserToOrgRequest.js +17 -7
  297. package/serialization/resources/organization/client/requests/CreateOrganizationRequest.js +17 -7
  298. package/serialization/resources/organization/client/requests/InviteUserToOrgRequest.js +17 -7
  299. package/serialization/resources/organization/client/requests/RemoveUserFromOrgRequest.js +17 -7
  300. package/serialization/resources/organization/client/requests/UpdateOrganizationRequest.js +17 -7
  301. package/serialization/resources/organization/client/update.js +17 -7
  302. package/serialization/resources/organization/types/CreateOrganizationResponse.d.ts +13 -0
  303. package/serialization/resources/organization/types/CreateOrganizationResponse.js +44 -0
  304. package/serialization/resources/organization/types/LightweightUser.js +17 -7
  305. package/serialization/resources/organization/types/Organization.js +17 -7
  306. package/serialization/resources/organization/types/index.d.ts +1 -0
  307. package/serialization/resources/organization/types/index.js +1 -0
  308. package/serialization/resources/registry/client/generateRegistryTokens.js +17 -7
  309. package/serialization/resources/registry/client/hasRegistryPermission.js +17 -7
  310. package/serialization/resources/registry/client/index.js +17 -7
  311. package/serialization/resources/registry/client/requests/CheckRegistryPermissionRequest.js +17 -7
  312. package/serialization/resources/registry/client/requests/GenerateRegistryTokensRequest.js +17 -7
  313. package/serialization/resources/registry/client/requests/RevokeTokenRequest.js +17 -7
  314. package/serialization/resources/registry/client/revokeToken.js +17 -7
  315. package/serialization/resources/registry/types/MavenRegistryToken.js +17 -7
  316. package/serialization/resources/registry/types/NpmRegistryToken.js +17 -7
  317. package/serialization/resources/registry/types/PypiRegistryToken.js +17 -7
  318. package/serialization/resources/registry/types/RegistryToken.js +17 -7
  319. package/serialization/resources/registry/types/RegistryTokens.js +17 -7
  320. package/serialization/resources/user/types/OrganizationsPage.js +17 -7
  321. package/serialization/resources/user/types/User.js +17 -7
  322. package/version.d.ts +1 -1
  323. package/version.js +1 -1
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.GenerateRegistryTokensRequest = void 0;
30
40
  const core = __importStar(require("../../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.RevokeTokenRequest = void 0;
30
40
  const core = __importStar(require("../../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  var __rest = (this && this.__rest) || function (s, e) {
29
39
  var t = {};
30
40
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.MavenRegistryToken = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.NpmRegistryToken = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.PypiRegistryToken = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.RegistryToken = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.RegistryTokens = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.OrganizationsPage = void 0;
30
40
  const core = __importStar(require("../../../../core"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.User = void 0;
30
40
  const core = __importStar(require("../../../../core"));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.2";
1
+ export declare const SDK_VERSION = "0.13.4-3-g1fe7ae7";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.13.2";
4
+ exports.SDK_VERSION = "0.13.4-3-g1fe7ae7";
package/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * as FernVenusApi from "./api";
2
2
  export { FernVenusApiClient } from "./Client";
3
+ export * as serialization from "./serialization";
package/index.js CHANGED
@@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.FernVenusApiClient = exports.FernVenusApi = void 0;
36
+ exports.serialization = exports.FernVenusApiClient = exports.FernVenusApi = void 0;
27
37
  exports.FernVenusApi = __importStar(require("./api"));
28
38
  var Client_1 = require("./Client");
29
39
  Object.defineProperty(exports, "FernVenusApiClient", { enumerable: true, get: function () { return Client_1.FernVenusApiClient; } });
40
+ exports.serialization = __importStar(require("./serialization"));
@@ -1,5 +1,8 @@
1
1
  /** @type {import('jest').Config} */
2
- module.exports = {
2
+ export default {
3
3
  preset: "ts-jest",
4
4
  testEnvironment: "node",
5
+ moduleNameMapper: {
6
+ "(.+)\.js$": "$1",
7
+ },
5
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/venus-api-sdk",
3
- "version": "0.13.2",
3
+ "version": "0.13.4-3-g1fe7ae7",
4
4
  "private": false,
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -14,26 +14,25 @@
14
14
  "url-join": "4.0.1",
15
15
  "form-data": "^4.0.0",
16
16
  "formdata-node": "^6.0.3",
17
- "node-fetch": "2.7.0",
18
- "qs": "6.11.2",
17
+ "node-fetch": "^2.7.0",
18
+ "qs": "^6.13.1",
19
19
  "readable-stream": "^4.5.2",
20
- "js-base64": "3.7.2"
20
+ "js-base64": "3.7.7"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/url-join": "4.0.1",
24
- "@types/qs": "6.9.8",
25
- "@types/node-fetch": "2.6.9",
26
- "@types/readable-stream": "^4.0.15",
27
- "fetch-mock-jest": "^1.5.1",
28
- "webpack": "^5.94.0",
29
- "ts-loader": "^9.3.1",
30
- "jest": "29.7.0",
31
- "@types/jest": "29.5.5",
32
- "ts-jest": "29.1.1",
33
- "jest-environment-jsdom": "29.7.0",
34
- "@types/node": "17.0.33",
35
- "prettier": "2.7.1",
36
- "typescript": "4.6.4"
24
+ "@types/qs": "^6.9.17",
25
+ "@types/node-fetch": "^2.6.12",
26
+ "@types/readable-stream": "^4.0.18",
27
+ "webpack": "^5.97.1",
28
+ "ts-loader": "^9.5.1",
29
+ "jest": "^29.7.0",
30
+ "@types/jest": "^29.5.14",
31
+ "ts-jest": "^29.1.1",
32
+ "jest-environment-jsdom": "^29.7.0",
33
+ "@types/node": "^18.19.70",
34
+ "prettier": "^3.4.2",
35
+ "typescript": "~5.7.2"
37
36
  },
38
37
  "browser": {
39
38
  "fs": false,
@@ -0,0 +1,115 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require("fs").promises;
4
+ const path = require("path");
5
+
6
+ const extensionMap = {
7
+ ".js": ".mjs",
8
+ ".d.ts": ".d.mts",
9
+ };
10
+ const oldExtensions = Object.keys(extensionMap);
11
+
12
+ async function findFiles(rootPath) {
13
+ const files = [];
14
+
15
+ async function scan(directory) {
16
+ const entries = await fs.readdir(directory, { withFileTypes: true });
17
+
18
+ for (const entry of entries) {
19
+ const fullPath = path.join(directory, entry.name);
20
+
21
+ if (entry.isDirectory()) {
22
+ if (entry.name !== "node_modules" && !entry.name.startsWith(".")) {
23
+ await scan(fullPath);
24
+ }
25
+ } else if (entry.isFile()) {
26
+ if (oldExtensions.some((ext) => entry.name.endsWith(ext))) {
27
+ files.push(fullPath);
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ await scan(rootPath);
34
+ return files;
35
+ }
36
+
37
+ async function updateFiles(files) {
38
+ const updatedFiles = [];
39
+ for (const file of files) {
40
+ const updated = await updateFileContents(file);
41
+ updatedFiles.push(updated);
42
+ }
43
+
44
+ console.log(`Updated imports in ${updatedFiles.length} files.`);
45
+ }
46
+
47
+ async function updateFileContents(file) {
48
+ const content = await fs.readFile(file, "utf8");
49
+
50
+ let newContent = content;
51
+ // Update each extension type defined in the map
52
+ for (const [oldExt, newExt] of Object.entries(extensionMap)) {
53
+ const regex = new RegExp(`(import|export)(.+from\\s+['"])(\\.\\.?\\/[^'"]+)(\\${oldExt})(['"])`, "g");
54
+ newContent = newContent.replace(regex, `$1$2$3${newExt}$5`);
55
+ }
56
+
57
+ if (content !== newContent) {
58
+ await fs.writeFile(file, newContent, "utf8");
59
+ return true;
60
+ }
61
+ return false;
62
+ }
63
+
64
+ async function renameFiles(files) {
65
+ let counter = 0;
66
+ for (const file of files) {
67
+ const ext = oldExtensions.find((ext) => file.endsWith(ext));
68
+ const newExt = extensionMap[ext];
69
+
70
+ if (newExt) {
71
+ const newPath = file.slice(0, -ext.length) + newExt;
72
+ await fs.rename(file, newPath);
73
+ counter++;
74
+ }
75
+ }
76
+
77
+ console.log(`Renamed ${counter} files.`);
78
+ }
79
+
80
+ async function main() {
81
+ try {
82
+ const targetDir = process.argv[2];
83
+ if (!targetDir) {
84
+ console.error("Please provide a target directory");
85
+ process.exit(1);
86
+ }
87
+
88
+ const targetPath = path.resolve(targetDir);
89
+ const targetStats = await fs.stat(targetPath);
90
+
91
+ if (!targetStats.isDirectory()) {
92
+ console.error("The provided path is not a directory");
93
+ process.exit(1);
94
+ }
95
+
96
+ console.log(`Scanning directory: ${targetDir}`);
97
+
98
+ const files = await findFiles(targetDir);
99
+
100
+ if (files.length === 0) {
101
+ console.log("No matching files found.");
102
+ process.exit(0);
103
+ }
104
+
105
+ console.log(`Found ${files.length} files.`);
106
+ await updateFiles(files);
107
+ await renameFiles(files);
108
+ console.log("\nDone!");
109
+ } catch (error) {
110
+ console.error("An error occurred:", error.message);
111
+ process.exit(1);
112
+ }
113
+ }
114
+
115
+ main();
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.OrganizationId = void 0;
30
40
  const FernVenusApi = __importStar(require("../../../../api/index"));
@@ -18,13 +18,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
18
18
  }) : function(o, v) {
19
19
  o["default"] = v;
20
20
  });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
28
38
  Object.defineProperty(exports, "__esModule", { value: true });
29
39
  exports.UserId = void 0;
30
40
  const FernVenusApi = __importStar(require("../../../../api/index"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
37
  };