owasp-nest 0.2.1 → 0.2.2

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 (399) hide show
  1. package/FUNCTIONS.md +7 -4
  2. package/README.md +49 -34
  3. package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterGetChapter.d.ts → chaptersGetChapter.d.ts} +2 -2
  4. package/dist/commonjs/funcs/chaptersGetChapter.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterGetChapter.js → chaptersGetChapter.js} +8 -8
  6. package/dist/commonjs/funcs/chaptersGetChapter.js.map +1 -0
  7. package/dist/{esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts → commonjs/funcs/chaptersListChapters.d.ts} +4 -4
  8. package/dist/commonjs/funcs/chaptersListChapters.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterListChapters.js → chaptersListChapters.js} +8 -9
  10. package/dist/commonjs/funcs/chaptersListChapters.js.map +1 -0
  11. package/dist/{esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts → commonjs/funcs/committeesGetCommittee.d.ts} +2 -2
  12. package/dist/commonjs/funcs/committeesGetCommittee.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/{committeesAppsApiRestV0CommitteeGetChapter.js → committeesGetCommittee.js} +8 -8
  14. package/dist/commonjs/funcs/committeesGetCommittee.js.map +1 -0
  15. package/dist/commonjs/funcs/committeesListCommittees.js +3 -3
  16. package/dist/commonjs/funcs/committeesListCommittees.js.map +1 -1
  17. package/dist/{esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts → commonjs/funcs/communityGetMember.d.ts} +2 -2
  18. package/dist/commonjs/funcs/communityGetMember.d.ts.map +1 -0
  19. package/dist/commonjs/funcs/{communityAppsApiRestV0MemberGetMember.js → communityGetMember.js} +8 -8
  20. package/dist/commonjs/funcs/communityGetMember.js.map +1 -0
  21. package/dist/{esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts → commonjs/funcs/communityGetOrganization.d.ts} +2 -2
  22. package/dist/commonjs/funcs/communityGetOrganization.d.ts.map +1 -0
  23. package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationGetOrganization.js → communityGetOrganization.js} +8 -9
  24. package/dist/commonjs/funcs/communityGetOrganization.js.map +1 -0
  25. package/dist/commonjs/funcs/communityListMembers.js +3 -3
  26. package/dist/commonjs/funcs/communityListMembers.js.map +1 -1
  27. package/dist/commonjs/funcs/communityListOrganizations.d.ts +18 -0
  28. package/dist/commonjs/funcs/communityListOrganizations.d.ts.map +1 -0
  29. package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationListOrganization.js → communityListOrganizations.js} +8 -9
  30. package/dist/commonjs/funcs/communityListOrganizations.js.map +1 -0
  31. package/dist/{esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts → commonjs/funcs/eventsListEvents.d.ts} +2 -2
  32. package/dist/commonjs/funcs/eventsListEvents.d.ts.map +1 -0
  33. package/dist/commonjs/funcs/{eventsAppsApiRestV0EventListEvents.js → eventsListEvents.js} +8 -9
  34. package/dist/commonjs/funcs/eventsListEvents.js.map +1 -0
  35. package/dist/commonjs/funcs/issuesListIssues.js +3 -3
  36. package/dist/commonjs/funcs/issuesListIssues.js.map +1 -1
  37. package/dist/{esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts → commonjs/funcs/projectsGetProject.d.ts} +2 -2
  38. package/dist/commonjs/funcs/projectsGetProject.d.ts.map +1 -0
  39. package/dist/commonjs/funcs/{projectsAppsApiRestV0ProjectGetProject.js → projectsGetProject.js} +8 -8
  40. package/dist/commonjs/funcs/projectsGetProject.js.map +1 -0
  41. package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationListOrganization.d.ts → projectsListProjects.d.ts} +4 -4
  42. package/dist/commonjs/funcs/projectsListProjects.d.ts.map +1 -0
  43. package/dist/commonjs/funcs/{projectsAppsApiRestV0ProjectListProjects.js → projectsListProjects.js} +8 -9
  44. package/dist/commonjs/funcs/projectsListProjects.js.map +1 -0
  45. package/dist/commonjs/funcs/releasesListReleases.js +3 -3
  46. package/dist/commonjs/funcs/releasesListReleases.js.map +1 -1
  47. package/dist/commonjs/funcs/repositoriesListRepositories.js +3 -3
  48. package/dist/commonjs/funcs/repositoriesListRepositories.js.map +1 -1
  49. package/dist/commonjs/lib/config.d.ts +3 -3
  50. package/dist/commonjs/lib/config.d.ts.map +1 -1
  51. package/dist/commonjs/lib/config.js +2 -2
  52. package/dist/commonjs/lib/env.d.ts +1 -1
  53. package/dist/commonjs/lib/env.d.ts.map +1 -1
  54. package/dist/commonjs/lib/env.js +1 -1
  55. package/dist/commonjs/lib/env.js.map +1 -1
  56. package/dist/commonjs/lib/security.js +1 -1
  57. package/dist/commonjs/lib/security.js.map +1 -1
  58. package/dist/commonjs/models/operations/getchapter.d.ts +29 -0
  59. package/dist/commonjs/models/operations/getchapter.d.ts.map +1 -0
  60. package/dist/commonjs/models/operations/{appsapirestv0chaptergetchapter.js → getchapter.js} +17 -17
  61. package/dist/commonjs/models/operations/getchapter.js.map +1 -0
  62. package/dist/commonjs/models/operations/getcommittee.d.ts +29 -0
  63. package/dist/commonjs/models/operations/getcommittee.d.ts.map +1 -0
  64. package/dist/commonjs/models/operations/{appsapirestv0committeegetchapter.js → getcommittee.js} +17 -17
  65. package/dist/commonjs/models/operations/getcommittee.js.map +1 -0
  66. package/dist/commonjs/models/operations/getmember.d.ts +29 -0
  67. package/dist/commonjs/models/operations/getmember.d.ts.map +1 -0
  68. package/dist/commonjs/models/operations/{appsapirestv0membergetmember.js → getmember.js} +17 -17
  69. package/dist/commonjs/models/operations/getmember.js.map +1 -0
  70. package/dist/commonjs/models/operations/getorganization.d.ts +29 -0
  71. package/dist/commonjs/models/operations/getorganization.d.ts.map +1 -0
  72. package/dist/commonjs/models/operations/{appsapirestv0organizationgetorganization.js → getorganization.js} +17 -17
  73. package/dist/commonjs/models/operations/getorganization.js.map +1 -0
  74. package/dist/commonjs/models/operations/getproject.d.ts +29 -0
  75. package/dist/commonjs/models/operations/getproject.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/{appsapirestv0projectgetproject.js → getproject.js} +17 -17
  77. package/dist/commonjs/models/operations/getproject.js.map +1 -0
  78. package/dist/commonjs/models/operations/index.d.ts +9 -9
  79. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/index.js +9 -9
  81. package/dist/commonjs/models/operations/index.js.map +1 -1
  82. package/dist/commonjs/models/operations/listchapters.d.ts +84 -0
  83. package/dist/commonjs/models/operations/listchapters.d.ts.map +1 -0
  84. package/dist/commonjs/models/operations/listchapters.js +110 -0
  85. package/dist/commonjs/models/operations/listchapters.js.map +1 -0
  86. package/dist/commonjs/models/operations/listevents.d.ts +74 -0
  87. package/dist/commonjs/models/operations/listevents.d.ts.map +1 -0
  88. package/dist/commonjs/models/operations/listevents.js +106 -0
  89. package/dist/commonjs/models/operations/listevents.js.map +1 -0
  90. package/dist/commonjs/models/operations/listorganizations.d.ts +79 -0
  91. package/dist/commonjs/models/operations/listorganizations.d.ts.map +1 -0
  92. package/dist/commonjs/models/operations/listorganizations.js +108 -0
  93. package/dist/commonjs/models/operations/listorganizations.js.map +1 -0
  94. package/dist/commonjs/models/operations/listprojects.d.ts +80 -0
  95. package/dist/commonjs/models/operations/listprojects.d.ts.map +1 -0
  96. package/dist/commonjs/models/operations/listprojects.js +109 -0
  97. package/dist/commonjs/models/operations/listprojects.js.map +1 -0
  98. package/dist/commonjs/models/security.d.ts +2 -2
  99. package/dist/commonjs/models/security.d.ts.map +1 -1
  100. package/dist/commonjs/models/security.js +4 -4
  101. package/dist/commonjs/models/security.js.map +1 -1
  102. package/dist/commonjs/sdk/chapters.d.ts +2 -2
  103. package/dist/commonjs/sdk/chapters.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/chapters.js +6 -6
  105. package/dist/commonjs/sdk/chapters.js.map +1 -1
  106. package/dist/commonjs/sdk/committees.d.ts +1 -1
  107. package/dist/commonjs/sdk/committees.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/committees.js +3 -3
  109. package/dist/commonjs/sdk/committees.js.map +1 -1
  110. package/dist/commonjs/sdk/community.d.ts +3 -3
  111. package/dist/commonjs/sdk/community.d.ts.map +1 -1
  112. package/dist/commonjs/sdk/community.js +9 -9
  113. package/dist/commonjs/sdk/community.js.map +1 -1
  114. package/dist/commonjs/sdk/events.d.ts +1 -1
  115. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  116. package/dist/commonjs/sdk/events.js +3 -3
  117. package/dist/commonjs/sdk/events.js.map +1 -1
  118. package/dist/commonjs/sdk/projects.d.ts +2 -2
  119. package/dist/commonjs/sdk/projects.d.ts.map +1 -1
  120. package/dist/commonjs/sdk/projects.js +6 -6
  121. package/dist/commonjs/sdk/projects.js.map +1 -1
  122. package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterGetChapter.d.ts → chaptersGetChapter.d.ts} +2 -2
  123. package/dist/esm/funcs/chaptersGetChapter.d.ts.map +1 -0
  124. package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterGetChapter.js → chaptersGetChapter.js} +7 -7
  125. package/dist/esm/funcs/chaptersGetChapter.js.map +1 -0
  126. package/dist/{commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts → esm/funcs/chaptersListChapters.d.ts} +2 -2
  127. package/dist/esm/funcs/chaptersListChapters.d.ts.map +1 -0
  128. package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterListChapters.js → chaptersListChapters.js} +7 -8
  129. package/dist/esm/funcs/chaptersListChapters.js.map +1 -0
  130. package/dist/{commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts → esm/funcs/committeesGetCommittee.d.ts} +2 -2
  131. package/dist/esm/funcs/committeesGetCommittee.d.ts.map +1 -0
  132. package/dist/esm/funcs/{committeesAppsApiRestV0CommitteeGetChapter.js → committeesGetCommittee.js} +7 -7
  133. package/dist/esm/funcs/committeesGetCommittee.js.map +1 -0
  134. package/dist/esm/funcs/committeesListCommittees.js +3 -3
  135. package/dist/esm/funcs/committeesListCommittees.js.map +1 -1
  136. package/dist/{commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts → esm/funcs/communityGetMember.d.ts} +2 -2
  137. package/dist/esm/funcs/communityGetMember.d.ts.map +1 -0
  138. package/dist/esm/funcs/{communityAppsApiRestV0MemberGetMember.js → communityGetMember.js} +7 -7
  139. package/dist/esm/funcs/communityGetMember.js.map +1 -0
  140. package/dist/{commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts → esm/funcs/communityGetOrganization.d.ts} +2 -2
  141. package/dist/esm/funcs/communityGetOrganization.d.ts.map +1 -0
  142. package/dist/esm/funcs/{communityAppsApiRestV0OrganizationGetOrganization.js → communityGetOrganization.js} +7 -8
  143. package/dist/esm/funcs/communityGetOrganization.js.map +1 -0
  144. package/dist/esm/funcs/communityListMembers.js +3 -3
  145. package/dist/esm/funcs/communityListMembers.js.map +1 -1
  146. package/dist/esm/funcs/communityListOrganizations.d.ts +18 -0
  147. package/dist/esm/funcs/communityListOrganizations.d.ts.map +1 -0
  148. package/dist/esm/funcs/{communityAppsApiRestV0OrganizationListOrganization.js → communityListOrganizations.js} +7 -8
  149. package/dist/esm/funcs/communityListOrganizations.js.map +1 -0
  150. package/dist/{commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts → esm/funcs/eventsListEvents.d.ts} +2 -2
  151. package/dist/esm/funcs/eventsListEvents.d.ts.map +1 -0
  152. package/dist/esm/funcs/{eventsAppsApiRestV0EventListEvents.js → eventsListEvents.js} +7 -8
  153. package/dist/esm/funcs/eventsListEvents.js.map +1 -0
  154. package/dist/esm/funcs/issuesListIssues.js +3 -3
  155. package/dist/esm/funcs/issuesListIssues.js.map +1 -1
  156. package/dist/{commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts → esm/funcs/projectsGetProject.d.ts} +2 -2
  157. package/dist/esm/funcs/projectsGetProject.d.ts.map +1 -0
  158. package/dist/esm/funcs/{projectsAppsApiRestV0ProjectGetProject.js → projectsGetProject.js} +7 -7
  159. package/dist/esm/funcs/projectsGetProject.js.map +1 -0
  160. package/dist/esm/funcs/{projectsAppsApiRestV0ProjectListProjects.d.ts → projectsListProjects.d.ts} +2 -2
  161. package/dist/esm/funcs/projectsListProjects.d.ts.map +1 -0
  162. package/dist/esm/funcs/{projectsAppsApiRestV0ProjectListProjects.js → projectsListProjects.js} +7 -8
  163. package/dist/esm/funcs/projectsListProjects.js.map +1 -0
  164. package/dist/esm/funcs/releasesListReleases.js +3 -3
  165. package/dist/esm/funcs/releasesListReleases.js.map +1 -1
  166. package/dist/esm/funcs/repositoriesListRepositories.js +3 -3
  167. package/dist/esm/funcs/repositoriesListRepositories.js.map +1 -1
  168. package/dist/esm/lib/config.d.ts +3 -3
  169. package/dist/esm/lib/config.d.ts.map +1 -1
  170. package/dist/esm/lib/config.js +2 -2
  171. package/dist/esm/lib/env.d.ts +1 -1
  172. package/dist/esm/lib/env.d.ts.map +1 -1
  173. package/dist/esm/lib/env.js +1 -1
  174. package/dist/esm/lib/env.js.map +1 -1
  175. package/dist/esm/lib/security.js +1 -1
  176. package/dist/esm/lib/security.js.map +1 -1
  177. package/dist/esm/models/operations/getchapter.d.ts +29 -0
  178. package/dist/esm/models/operations/getchapter.d.ts.map +1 -0
  179. package/dist/esm/models/operations/getchapter.js +40 -0
  180. package/dist/esm/models/operations/getchapter.js.map +1 -0
  181. package/dist/esm/models/operations/getcommittee.d.ts +29 -0
  182. package/dist/esm/models/operations/getcommittee.d.ts.map +1 -0
  183. package/dist/esm/models/operations/getcommittee.js +40 -0
  184. package/dist/esm/models/operations/getcommittee.js.map +1 -0
  185. package/dist/esm/models/operations/getmember.d.ts +29 -0
  186. package/dist/esm/models/operations/getmember.d.ts.map +1 -0
  187. package/dist/esm/models/operations/getmember.js +40 -0
  188. package/dist/esm/models/operations/getmember.js.map +1 -0
  189. package/dist/esm/models/operations/getorganization.d.ts +29 -0
  190. package/dist/esm/models/operations/getorganization.d.ts.map +1 -0
  191. package/dist/esm/models/operations/getorganization.js +40 -0
  192. package/dist/esm/models/operations/getorganization.js.map +1 -0
  193. package/dist/esm/models/operations/getproject.d.ts +29 -0
  194. package/dist/esm/models/operations/getproject.d.ts.map +1 -0
  195. package/dist/esm/models/operations/getproject.js +40 -0
  196. package/dist/esm/models/operations/getproject.js.map +1 -0
  197. package/dist/esm/models/operations/index.d.ts +9 -9
  198. package/dist/esm/models/operations/index.d.ts.map +1 -1
  199. package/dist/esm/models/operations/index.js +9 -9
  200. package/dist/esm/models/operations/index.js.map +1 -1
  201. package/dist/esm/models/operations/listchapters.d.ts +84 -0
  202. package/dist/esm/models/operations/listchapters.d.ts.map +1 -0
  203. package/dist/esm/models/operations/listchapters.js +72 -0
  204. package/dist/esm/models/operations/listchapters.js.map +1 -0
  205. package/dist/esm/models/operations/listevents.d.ts +74 -0
  206. package/dist/esm/models/operations/listevents.d.ts.map +1 -0
  207. package/dist/esm/models/operations/listevents.js +68 -0
  208. package/dist/esm/models/operations/listevents.js.map +1 -0
  209. package/dist/esm/models/operations/listorganizations.d.ts +79 -0
  210. package/dist/esm/models/operations/listorganizations.d.ts.map +1 -0
  211. package/dist/esm/models/operations/listorganizations.js +70 -0
  212. package/dist/esm/models/operations/listorganizations.js.map +1 -0
  213. package/dist/esm/models/operations/listprojects.d.ts +80 -0
  214. package/dist/esm/models/operations/listprojects.d.ts.map +1 -0
  215. package/dist/esm/models/operations/listprojects.js +71 -0
  216. package/dist/esm/models/operations/listprojects.js.map +1 -0
  217. package/dist/esm/models/security.d.ts +2 -2
  218. package/dist/esm/models/security.d.ts.map +1 -1
  219. package/dist/esm/models/security.js +4 -4
  220. package/dist/esm/models/security.js.map +1 -1
  221. package/dist/esm/sdk/chapters.d.ts +2 -2
  222. package/dist/esm/sdk/chapters.d.ts.map +1 -1
  223. package/dist/esm/sdk/chapters.js +6 -6
  224. package/dist/esm/sdk/chapters.js.map +1 -1
  225. package/dist/esm/sdk/committees.d.ts +1 -1
  226. package/dist/esm/sdk/committees.d.ts.map +1 -1
  227. package/dist/esm/sdk/committees.js +3 -3
  228. package/dist/esm/sdk/committees.js.map +1 -1
  229. package/dist/esm/sdk/community.d.ts +3 -3
  230. package/dist/esm/sdk/community.d.ts.map +1 -1
  231. package/dist/esm/sdk/community.js +9 -9
  232. package/dist/esm/sdk/community.js.map +1 -1
  233. package/dist/esm/sdk/events.d.ts +1 -1
  234. package/dist/esm/sdk/events.d.ts.map +1 -1
  235. package/dist/esm/sdk/events.js +3 -3
  236. package/dist/esm/sdk/events.js.map +1 -1
  237. package/dist/esm/sdk/projects.d.ts +2 -2
  238. package/dist/esm/sdk/projects.d.ts.map +1 -1
  239. package/dist/esm/sdk/projects.js +6 -6
  240. package/dist/esm/sdk/projects.js.map +1 -1
  241. package/docs/sdks/chapters/README.md +26 -20
  242. package/docs/sdks/committees/README.md +12 -12
  243. package/docs/sdks/community/README.md +32 -32
  244. package/docs/sdks/events/README.md +10 -10
  245. package/docs/sdks/issues/README.md +2 -2
  246. package/docs/sdks/projects/README.md +20 -20
  247. package/docs/sdks/releases/README.md +2 -2
  248. package/docs/sdks/repositories/README.md +2 -2
  249. package/examples/{chaptersAppsApiRestV0ChapterListChapters.example.ts → chaptersListChapters.example.ts} +6 -3
  250. package/examples/package-lock.json +1 -1
  251. package/jsr.json +1 -1
  252. package/package.json +1 -1
  253. package/src/funcs/{chaptersAppsApiRestV0ChapterGetChapter.ts → chaptersGetChapter.ts} +8 -11
  254. package/src/funcs/{chaptersAppsApiRestV0ChapterListChapters.ts → chaptersListChapters.ts} +8 -9
  255. package/src/funcs/{committeesAppsApiRestV0CommitteeGetChapter.ts → committeesGetCommittee.ts} +8 -11
  256. package/src/funcs/committeesListCommittees.ts +3 -3
  257. package/src/funcs/{communityAppsApiRestV0MemberGetMember.ts → communityGetMember.ts} +8 -11
  258. package/src/funcs/{communityAppsApiRestV0OrganizationGetOrganization.ts → communityGetOrganization.ts} +8 -10
  259. package/src/funcs/communityListMembers.ts +3 -3
  260. package/src/funcs/{communityAppsApiRestV0OrganizationListOrganization.ts → communityListOrganizations.ts} +10 -13
  261. package/src/funcs/{eventsAppsApiRestV0EventListEvents.ts → eventsListEvents.ts} +8 -9
  262. package/src/funcs/issuesListIssues.ts +3 -3
  263. package/src/funcs/{projectsAppsApiRestV0ProjectGetProject.ts → projectsGetProject.ts} +8 -11
  264. package/src/funcs/{projectsAppsApiRestV0ProjectListProjects.ts → projectsListProjects.ts} +8 -9
  265. package/src/funcs/releasesListReleases.ts +3 -3
  266. package/src/funcs/repositoriesListRepositories.ts +3 -3
  267. package/src/lib/config.ts +3 -3
  268. package/src/lib/env.ts +2 -2
  269. package/src/lib/security.ts +1 -1
  270. package/src/models/operations/getchapter.ts +75 -0
  271. package/src/models/operations/getcommittee.ts +75 -0
  272. package/src/models/operations/getmember.ts +75 -0
  273. package/src/models/operations/getorganization.ts +75 -0
  274. package/src/models/operations/getproject.ts +75 -0
  275. package/src/models/operations/index.ts +9 -9
  276. package/src/models/operations/listchapters.ts +136 -0
  277. package/src/models/operations/listevents.ts +122 -0
  278. package/src/models/operations/listorganizations.ts +131 -0
  279. package/src/models/operations/listprojects.ts +130 -0
  280. package/src/models/security.ts +6 -6
  281. package/src/sdk/chapters.ts +8 -8
  282. package/src/sdk/committees.ts +4 -4
  283. package/src/sdk/community.ts +12 -14
  284. package/src/sdk/events.ts +4 -4
  285. package/src/sdk/projects.ts +8 -8
  286. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +0 -1
  287. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +0 -1
  288. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +0 -1
  289. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +0 -1
  290. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +0 -1
  291. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +0 -1
  292. package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +0 -1
  293. package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.js.map +0 -1
  294. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +0 -1
  295. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +0 -1
  296. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +0 -1
  297. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +0 -1
  298. package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +0 -1
  299. package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.js.map +0 -1
  300. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +0 -1
  301. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +0 -1
  302. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts +0 -18
  303. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +0 -1
  304. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +0 -1
  305. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts +0 -29
  306. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts.map +0 -1
  307. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js.map +0 -1
  308. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts +0 -84
  309. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts.map +0 -1
  310. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js +0 -113
  311. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js.map +0 -1
  312. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts +0 -29
  313. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts.map +0 -1
  314. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js.map +0 -1
  315. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts +0 -74
  316. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts.map +0 -1
  317. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js +0 -108
  318. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js.map +0 -1
  319. package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts +0 -29
  320. package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts.map +0 -1
  321. package/dist/commonjs/models/operations/appsapirestv0membergetmember.js.map +0 -1
  322. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts +0 -29
  323. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts.map +0 -1
  324. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js.map +0 -1
  325. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts +0 -79
  326. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts.map +0 -1
  327. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js +0 -109
  328. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js.map +0 -1
  329. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts +0 -29
  330. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts.map +0 -1
  331. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js.map +0 -1
  332. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts +0 -80
  333. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts.map +0 -1
  334. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js +0 -112
  335. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js.map +0 -1
  336. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +0 -1
  337. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +0 -1
  338. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts +0 -18
  339. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +0 -1
  340. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +0 -1
  341. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +0 -1
  342. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +0 -1
  343. package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +0 -1
  344. package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.js.map +0 -1
  345. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +0 -1
  346. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +0 -1
  347. package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +0 -1
  348. package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +0 -1
  349. package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +0 -1
  350. package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.js.map +0 -1
  351. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +0 -1
  352. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +0 -1
  353. package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +0 -1
  354. package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +0 -1
  355. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts +0 -29
  356. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts.map +0 -1
  357. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js +0 -40
  358. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js.map +0 -1
  359. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts +0 -84
  360. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts.map +0 -1
  361. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js +0 -75
  362. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js.map +0 -1
  363. package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts +0 -29
  364. package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts.map +0 -1
  365. package/dist/esm/models/operations/appsapirestv0committeegetchapter.js +0 -40
  366. package/dist/esm/models/operations/appsapirestv0committeegetchapter.js.map +0 -1
  367. package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts +0 -74
  368. package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts.map +0 -1
  369. package/dist/esm/models/operations/appsapirestv0eventlistevents.js +0 -70
  370. package/dist/esm/models/operations/appsapirestv0eventlistevents.js.map +0 -1
  371. package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts +0 -29
  372. package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts.map +0 -1
  373. package/dist/esm/models/operations/appsapirestv0membergetmember.js +0 -40
  374. package/dist/esm/models/operations/appsapirestv0membergetmember.js.map +0 -1
  375. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts +0 -29
  376. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts.map +0 -1
  377. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js +0 -40
  378. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js.map +0 -1
  379. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts +0 -79
  380. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts.map +0 -1
  381. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js +0 -71
  382. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js.map +0 -1
  383. package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts +0 -29
  384. package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts.map +0 -1
  385. package/dist/esm/models/operations/appsapirestv0projectgetproject.js +0 -40
  386. package/dist/esm/models/operations/appsapirestv0projectgetproject.js.map +0 -1
  387. package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts +0 -80
  388. package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts.map +0 -1
  389. package/dist/esm/models/operations/appsapirestv0projectlistprojects.js +0 -74
  390. package/dist/esm/models/operations/appsapirestv0projectlistprojects.js.map +0 -1
  391. package/src/models/operations/appsapirestv0chaptergetchapter.ts +0 -80
  392. package/src/models/operations/appsapirestv0chapterlistchapters.ts +0 -153
  393. package/src/models/operations/appsapirestv0committeegetchapter.ts +0 -86
  394. package/src/models/operations/appsapirestv0eventlistevents.ts +0 -134
  395. package/src/models/operations/appsapirestv0membergetmember.ts +0 -80
  396. package/src/models/operations/appsapirestv0organizationgetorganization.ts +0 -89
  397. package/src/models/operations/appsapirestv0organizationlistorganization.ts +0 -154
  398. package/src/models/operations/appsapirestv0projectgetproject.ts +0 -80
  399. package/src/models/operations/appsapirestv0projectlistprojects.ts +0 -147
@@ -31,9 +31,9 @@ import { Result } from "../types/fp.js";
31
31
  * @remarks
32
32
  * Retrieve a paginated list of OWASP events.
33
33
  */
34
- export function eventsAppsApiRestV0EventListEvents(
34
+ export function eventsListEvents(
35
35
  client: NestCore,
36
- request?: operations.AppsApiRestV0EventListEventsRequest | undefined,
36
+ request?: operations.ListEventsRequest | undefined,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
@@ -57,7 +57,7 @@ export function eventsAppsApiRestV0EventListEvents(
57
57
 
58
58
  async function $do(
59
59
  client: NestCore,
60
- request?: operations.AppsApiRestV0EventListEventsRequest | undefined,
60
+ request?: operations.ListEventsRequest | undefined,
61
61
  options?: RequestOptions,
62
62
  ): Promise<
63
63
  [
@@ -78,8 +78,7 @@ async function $do(
78
78
  const parsed = safeParse(
79
79
  request,
80
80
  (value) =>
81
- operations.AppsApiRestV0EventListEventsRequest$outboundSchema.optional()
82
- .parse(value),
81
+ operations.ListEventsRequest$outboundSchema.optional().parse(value),
83
82
  "Input validation failed",
84
83
  );
85
84
  if (!parsed.ok) {
@@ -100,19 +99,19 @@ async function $do(
100
99
  Accept: "application/json",
101
100
  }));
102
101
 
103
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
102
+ const secConfig = await extractSecurity(client._options.apiKey);
103
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
105
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
105
 
107
106
  const context = {
108
107
  options: client._options,
109
108
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
- operationID: "apps_api_rest_v0_event_list_events",
109
+ operationID: "list_events",
111
110
  oAuth2Scopes: [],
112
111
 
113
112
  resolvedSecurity: requestSecurity,
114
113
 
115
- securitySource: client._options.apiKeyHeader,
114
+ securitySource: client._options.apiKey,
116
115
  retryConfig: options?.retries
117
116
  || client._options.retryConfig
118
117
  || { strategy: "none" },
@@ -100,8 +100,8 @@ async function $do(
100
100
  Accept: "application/json",
101
101
  }));
102
102
 
103
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKey);
104
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
@@ -112,7 +112,7 @@ async function $do(
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
115
- securitySource: client._options.apiKeyHeader,
115
+ securitySource: client._options.apiKey,
116
116
  retryConfig: options?.retries
117
117
  || client._options.retryConfig
118
118
  || { strategy: "none" },
@@ -32,9 +32,9 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Retrieve project details.
34
34
  */
35
- export function projectsAppsApiRestV0ProjectGetProject(
35
+ export function projectsGetProject(
36
36
  client: NestCore,
37
- request: operations.AppsApiRestV0ProjectGetProjectRequest,
37
+ request: operations.GetProjectRequest,
38
38
  options?: RequestOptions,
39
39
  ): APIPromise<
40
40
  Result<
@@ -59,7 +59,7 @@ export function projectsAppsApiRestV0ProjectGetProject(
59
59
 
60
60
  async function $do(
61
61
  client: NestCore,
62
- request: operations.AppsApiRestV0ProjectGetProjectRequest,
62
+ request: operations.GetProjectRequest,
63
63
  options?: RequestOptions,
64
64
  ): Promise<
65
65
  [
@@ -80,10 +80,7 @@ async function $do(
80
80
  > {
81
81
  const parsed = safeParse(
82
82
  request,
83
- (value) =>
84
- operations.AppsApiRestV0ProjectGetProjectRequest$outboundSchema.parse(
85
- value,
86
- ),
83
+ (value) => operations.GetProjectRequest$outboundSchema.parse(value),
87
84
  "Input validation failed",
88
85
  );
89
86
  if (!parsed.ok) {
@@ -105,19 +102,19 @@ async function $do(
105
102
  Accept: "application/json",
106
103
  }));
107
104
 
108
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
109
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
105
+ const secConfig = await extractSecurity(client._options.apiKey);
106
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
110
107
  const requestSecurity = resolveGlobalSecurity(securityInput);
111
108
 
112
109
  const context = {
113
110
  options: client._options,
114
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
115
- operationID: "apps_api_rest_v0_project_get_project",
112
+ operationID: "get_project",
116
113
  oAuth2Scopes: [],
117
114
 
118
115
  resolvedSecurity: requestSecurity,
119
116
 
120
- securitySource: client._options.apiKeyHeader,
117
+ securitySource: client._options.apiKey,
121
118
  retryConfig: options?.retries
122
119
  || client._options.retryConfig
123
120
  || { strategy: "none" },
@@ -31,9 +31,9 @@ import { Result } from "../types/fp.js";
31
31
  * @remarks
32
32
  * Retrieve a paginated list of OWASP projects.
33
33
  */
34
- export function projectsAppsApiRestV0ProjectListProjects(
34
+ export function projectsListProjects(
35
35
  client: NestCore,
36
- request?: operations.AppsApiRestV0ProjectListProjectsRequest | undefined,
36
+ request?: operations.ListProjectsRequest | undefined,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
@@ -57,7 +57,7 @@ export function projectsAppsApiRestV0ProjectListProjects(
57
57
 
58
58
  async function $do(
59
59
  client: NestCore,
60
- request?: operations.AppsApiRestV0ProjectListProjectsRequest | undefined,
60
+ request?: operations.ListProjectsRequest | undefined,
61
61
  options?: RequestOptions,
62
62
  ): Promise<
63
63
  [
@@ -78,8 +78,7 @@ async function $do(
78
78
  const parsed = safeParse(
79
79
  request,
80
80
  (value) =>
81
- operations.AppsApiRestV0ProjectListProjectsRequest$outboundSchema
82
- .optional().parse(value),
81
+ operations.ListProjectsRequest$outboundSchema.optional().parse(value),
83
82
  "Input validation failed",
84
83
  );
85
84
  if (!parsed.ok) {
@@ -101,19 +100,19 @@ async function $do(
101
100
  Accept: "application/json",
102
101
  }));
103
102
 
104
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
105
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKey);
104
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
106
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
107
106
 
108
107
  const context = {
109
108
  options: client._options,
110
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
111
- operationID: "apps_api_rest_v0_project_list_projects",
110
+ operationID: "list_projects",
112
111
  oAuth2Scopes: [],
113
112
 
114
113
  resolvedSecurity: requestSecurity,
115
114
 
116
- securitySource: client._options.apiKeyHeader,
115
+ securitySource: client._options.apiKey,
117
116
  retryConfig: options?.retries
118
117
  || client._options.retryConfig
119
118
  || { strategy: "none" },
@@ -100,8 +100,8 @@ async function $do(
100
100
  Accept: "application/json",
101
101
  }));
102
102
 
103
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
104
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
103
+ const secConfig = await extractSecurity(client._options.apiKey);
104
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
105
105
  const requestSecurity = resolveGlobalSecurity(securityInput);
106
106
 
107
107
  const context = {
@@ -112,7 +112,7 @@ async function $do(
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
115
- securitySource: client._options.apiKeyHeader,
115
+ securitySource: client._options.apiKey,
116
116
  retryConfig: options?.retries
117
117
  || client._options.retryConfig
118
118
  || { strategy: "none" },
@@ -99,8 +99,8 @@ async function $do(
99
99
  Accept: "application/json",
100
100
  }));
101
101
 
102
- const secConfig = await extractSecurity(client._options.apiKeyHeader);
103
- const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
102
+ const secConfig = await extractSecurity(client._options.apiKey);
103
+ const securityInput = secConfig == null ? {} : { apiKey: secConfig };
104
104
  const requestSecurity = resolveGlobalSecurity(securityInput);
105
105
 
106
106
  const context = {
@@ -111,7 +111,7 @@ async function $do(
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
114
- securitySource: client._options.apiKeyHeader,
114
+ securitySource: client._options.apiKey,
115
115
  retryConfig: options?.retries
116
116
  || client._options.retryConfig
117
117
  || { strategy: "none" },
package/src/lib/config.ts CHANGED
@@ -18,7 +18,7 @@ export const ServerList = [
18
18
  ] as const;
19
19
 
20
20
  export type SDKOptions = {
21
- apiKeyHeader?: string | (() => Promise<string>) | undefined;
21
+ apiKey?: string | (() => Promise<string>) | undefined;
22
22
 
23
23
  httpClient?: HTTPClient;
24
24
  /**
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.2.1",
64
- sdkVersion: "0.2.1",
64
+ sdkVersion: "0.2.2",
65
65
  genVersion: "2.698.4",
66
- userAgent: "speakeasy-sdk/typescript 0.2.1 2.698.4 0.2.1 owasp-nest",
66
+ userAgent: "speakeasy-sdk/typescript 0.2.2 2.698.4 0.2.1 owasp-nest",
67
67
  } as const;
package/src/lib/env.ts CHANGED
@@ -7,13 +7,13 @@ import { dlv } from "./dlv.js";
7
7
  import * as z from "zod";
8
8
 
9
9
  export interface Env {
10
- NEST_API_KEY_HEADER?: string | undefined;
10
+ NEST_API_KEY?: string | undefined;
11
11
 
12
12
  NEST_DEBUG?: boolean | undefined;
13
13
  }
14
14
 
15
15
  export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
16
- NEST_API_KEY_HEADER: z.string().optional(),
16
+ NEST_API_KEY: z.string().optional(),
17
17
 
18
18
  NEST_DEBUG: z.coerce.boolean().optional(),
19
19
  });
@@ -247,7 +247,7 @@ export function resolveGlobalSecurity(
247
247
  {
248
248
  fieldName: "X-API-Key",
249
249
  type: "apiKey:header",
250
- value: security?.apiKeyHeader ?? env().NEST_API_KEY_HEADER,
250
+ value: security?.apiKey ?? env().NEST_API_KEY,
251
251
  },
252
252
  ],
253
253
  );
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetChapterRequest = {
12
+ chapterId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const GetChapterRequest$inboundSchema: z.ZodType<
17
+ GetChapterRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ chapter_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "chapter_id": "chapterId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type GetChapterRequest$Outbound = {
30
+ chapter_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const GetChapterRequest$outboundSchema: z.ZodType<
35
+ GetChapterRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ GetChapterRequest
38
+ > = z.object({
39
+ chapterId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ chapterId: "chapter_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace GetChapterRequest$ {
51
+ /** @deprecated use `GetChapterRequest$inboundSchema` instead. */
52
+ export const inboundSchema = GetChapterRequest$inboundSchema;
53
+ /** @deprecated use `GetChapterRequest$outboundSchema` instead. */
54
+ export const outboundSchema = GetChapterRequest$outboundSchema;
55
+ /** @deprecated use `GetChapterRequest$Outbound` instead. */
56
+ export type Outbound = GetChapterRequest$Outbound;
57
+ }
58
+
59
+ export function getChapterRequestToJSON(
60
+ getChapterRequest: GetChapterRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetChapterRequest$outboundSchema.parse(getChapterRequest),
64
+ );
65
+ }
66
+
67
+ export function getChapterRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetChapterRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetChapterRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetChapterRequest' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetCommitteeRequest = {
12
+ committeeId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const GetCommitteeRequest$inboundSchema: z.ZodType<
17
+ GetCommitteeRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ committee_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "committee_id": "committeeId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type GetCommitteeRequest$Outbound = {
30
+ committee_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const GetCommitteeRequest$outboundSchema: z.ZodType<
35
+ GetCommitteeRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ GetCommitteeRequest
38
+ > = z.object({
39
+ committeeId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ committeeId: "committee_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace GetCommitteeRequest$ {
51
+ /** @deprecated use `GetCommitteeRequest$inboundSchema` instead. */
52
+ export const inboundSchema = GetCommitteeRequest$inboundSchema;
53
+ /** @deprecated use `GetCommitteeRequest$outboundSchema` instead. */
54
+ export const outboundSchema = GetCommitteeRequest$outboundSchema;
55
+ /** @deprecated use `GetCommitteeRequest$Outbound` instead. */
56
+ export type Outbound = GetCommitteeRequest$Outbound;
57
+ }
58
+
59
+ export function getCommitteeRequestToJSON(
60
+ getCommitteeRequest: GetCommitteeRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetCommitteeRequest$outboundSchema.parse(getCommitteeRequest),
64
+ );
65
+ }
66
+
67
+ export function getCommitteeRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetCommitteeRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetCommitteeRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetCommitteeRequest' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetMemberRequest = {
12
+ memberId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const GetMemberRequest$inboundSchema: z.ZodType<
17
+ GetMemberRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ member_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "member_id": "memberId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type GetMemberRequest$Outbound = {
30
+ member_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const GetMemberRequest$outboundSchema: z.ZodType<
35
+ GetMemberRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ GetMemberRequest
38
+ > = z.object({
39
+ memberId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ memberId: "member_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace GetMemberRequest$ {
51
+ /** @deprecated use `GetMemberRequest$inboundSchema` instead. */
52
+ export const inboundSchema = GetMemberRequest$inboundSchema;
53
+ /** @deprecated use `GetMemberRequest$outboundSchema` instead. */
54
+ export const outboundSchema = GetMemberRequest$outboundSchema;
55
+ /** @deprecated use `GetMemberRequest$Outbound` instead. */
56
+ export type Outbound = GetMemberRequest$Outbound;
57
+ }
58
+
59
+ export function getMemberRequestToJSON(
60
+ getMemberRequest: GetMemberRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetMemberRequest$outboundSchema.parse(getMemberRequest),
64
+ );
65
+ }
66
+
67
+ export function getMemberRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetMemberRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetMemberRequest' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetOrganizationRequest = {
12
+ organizationId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const GetOrganizationRequest$inboundSchema: z.ZodType<
17
+ GetOrganizationRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ organization_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "organization_id": "organizationId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type GetOrganizationRequest$Outbound = {
30
+ organization_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const GetOrganizationRequest$outboundSchema: z.ZodType<
35
+ GetOrganizationRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ GetOrganizationRequest
38
+ > = z.object({
39
+ organizationId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ organizationId: "organization_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace GetOrganizationRequest$ {
51
+ /** @deprecated use `GetOrganizationRequest$inboundSchema` instead. */
52
+ export const inboundSchema = GetOrganizationRequest$inboundSchema;
53
+ /** @deprecated use `GetOrganizationRequest$outboundSchema` instead. */
54
+ export const outboundSchema = GetOrganizationRequest$outboundSchema;
55
+ /** @deprecated use `GetOrganizationRequest$Outbound` instead. */
56
+ export type Outbound = GetOrganizationRequest$Outbound;
57
+ }
58
+
59
+ export function getOrganizationRequestToJSON(
60
+ getOrganizationRequest: GetOrganizationRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetOrganizationRequest$outboundSchema.parse(getOrganizationRequest),
64
+ );
65
+ }
66
+
67
+ export function getOrganizationRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetOrganizationRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetOrganizationRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetOrganizationRequest' from JSON`,
74
+ );
75
+ }
@@ -0,0 +1,75 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetProjectRequest = {
12
+ projectId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const GetProjectRequest$inboundSchema: z.ZodType<
17
+ GetProjectRequest,
18
+ z.ZodTypeDef,
19
+ unknown
20
+ > = z.object({
21
+ project_id: z.string(),
22
+ }).transform((v) => {
23
+ return remap$(v, {
24
+ "project_id": "projectId",
25
+ });
26
+ });
27
+
28
+ /** @internal */
29
+ export type GetProjectRequest$Outbound = {
30
+ project_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const GetProjectRequest$outboundSchema: z.ZodType<
35
+ GetProjectRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ GetProjectRequest
38
+ > = z.object({
39
+ projectId: z.string(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ projectId: "project_id",
43
+ });
44
+ });
45
+
46
+ /**
47
+ * @internal
48
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
49
+ */
50
+ export namespace GetProjectRequest$ {
51
+ /** @deprecated use `GetProjectRequest$inboundSchema` instead. */
52
+ export const inboundSchema = GetProjectRequest$inboundSchema;
53
+ /** @deprecated use `GetProjectRequest$outboundSchema` instead. */
54
+ export const outboundSchema = GetProjectRequest$outboundSchema;
55
+ /** @deprecated use `GetProjectRequest$Outbound` instead. */
56
+ export type Outbound = GetProjectRequest$Outbound;
57
+ }
58
+
59
+ export function getProjectRequestToJSON(
60
+ getProjectRequest: GetProjectRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetProjectRequest$outboundSchema.parse(getProjectRequest),
64
+ );
65
+ }
66
+
67
+ export function getProjectRequestFromJSON(
68
+ jsonString: string,
69
+ ): SafeParseResult<GetProjectRequest, SDKValidationError> {
70
+ return safeParse(
71
+ jsonString,
72
+ (x) => GetProjectRequest$inboundSchema.parse(JSON.parse(x)),
73
+ `Failed to parse 'GetProjectRequest' from JSON`,
74
+ );
75
+ }
@@ -2,17 +2,17 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- export * from "./appsapirestv0chaptergetchapter.js";
6
- export * from "./appsapirestv0chapterlistchapters.js";
7
- export * from "./appsapirestv0committeegetchapter.js";
8
- export * from "./appsapirestv0eventlistevents.js";
9
- export * from "./appsapirestv0membergetmember.js";
10
- export * from "./appsapirestv0organizationgetorganization.js";
11
- export * from "./appsapirestv0organizationlistorganization.js";
12
- export * from "./appsapirestv0projectgetproject.js";
13
- export * from "./appsapirestv0projectlistprojects.js";
5
+ export * from "./getchapter.js";
6
+ export * from "./getcommittee.js";
7
+ export * from "./getmember.js";
8
+ export * from "./getorganization.js";
9
+ export * from "./getproject.js";
10
+ export * from "./listchapters.js";
14
11
  export * from "./listcommittees.js";
12
+ export * from "./listevents.js";
15
13
  export * from "./listissues.js";
16
14
  export * from "./listmembers.js";
15
+ export * from "./listorganizations.js";
16
+ export * from "./listprojects.js";
17
17
  export * from "./listreleases.js";
18
18
  export * from "./listrepositories.js";