owasp-nest 0.2.0 → 0.2.1

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 (354) hide show
  1. package/FUNCTIONS.md +3 -6
  2. package/README.md +31 -37
  3. package/dist/commonjs/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
  4. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +7 -7
  6. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
  7. package/dist/{esm/funcs/chaptersListChapters.d.ts → commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +2 -2
  8. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
  9. package/dist/commonjs/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +6 -5
  10. package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
  11. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
  12. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
  13. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +124 -0
  14. package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
  15. package/dist/commonjs/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
  16. package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
  17. package/dist/commonjs/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +9 -9
  18. package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
  19. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
  20. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
  21. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +125 -0
  22. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
  23. package/dist/commonjs/funcs/{projectsListProjects.d.ts → communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
  24. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
  25. package/dist/commonjs/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +6 -5
  26. package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
  27. package/dist/{esm/funcs/eventsListEvents.d.ts → commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
  28. package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
  29. package/dist/commonjs/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +6 -5
  30. package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
  31. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
  32. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
  33. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js +124 -0
  34. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
  35. package/dist/{esm/funcs/projectsListProjects.d.ts → commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts} +2 -2
  36. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
  37. package/dist/commonjs/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +6 -5
  38. package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
  39. package/dist/commonjs/lib/config.d.ts +4 -4
  40. package/dist/commonjs/lib/config.js +4 -4
  41. package/dist/commonjs/models/errors/committeeerrorresponse.d.ts +41 -0
  42. package/dist/commonjs/models/errors/committeeerrorresponse.d.ts.map +1 -0
  43. package/dist/commonjs/models/{operations/getchapter.js → errors/committeeerrorresponse.js} +39 -23
  44. package/dist/commonjs/models/errors/committeeerrorresponse.js.map +1 -0
  45. package/dist/commonjs/models/errors/index.d.ts +3 -0
  46. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  47. package/dist/commonjs/models/errors/index.js +3 -0
  48. package/dist/commonjs/models/errors/index.js.map +1 -1
  49. package/dist/commonjs/models/errors/organizationerrorresponse.d.ts +41 -0
  50. package/dist/commonjs/models/errors/organizationerrorresponse.d.ts.map +1 -0
  51. package/dist/commonjs/models/errors/organizationerrorresponse.js +85 -0
  52. package/dist/commonjs/models/errors/organizationerrorresponse.js.map +1 -0
  53. package/dist/commonjs/models/errors/projecterrorresponse.d.ts +41 -0
  54. package/dist/commonjs/models/errors/projecterrorresponse.d.ts.map +1 -0
  55. package/dist/commonjs/models/{operations/getmember.js → errors/projecterrorresponse.js} +39 -23
  56. package/dist/commonjs/models/errors/projecterrorresponse.js.map +1 -0
  57. package/dist/commonjs/models/memberschema.d.ts +0 -2
  58. package/dist/commonjs/models/memberschema.d.ts.map +1 -1
  59. package/dist/commonjs/models/memberschema.js +0 -2
  60. package/dist/commonjs/models/memberschema.js.map +1 -1
  61. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
  62. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
  63. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js +78 -0
  64. package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
  65. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
  66. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
  67. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js +113 -0
  68. package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
  69. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
  70. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
  71. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js +78 -0
  72. package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
  73. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
  74. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
  75. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js +108 -0
  76. package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js.map +1 -0
  77. package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts +29 -0
  78. package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
  79. package/dist/commonjs/models/operations/appsapirestv0membergetmember.js +78 -0
  80. package/dist/commonjs/models/operations/appsapirestv0membergetmember.js.map +1 -0
  81. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
  82. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
  83. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js +78 -0
  84. package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
  85. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
  86. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
  87. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js +109 -0
  88. package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
  89. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
  90. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
  91. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js +78 -0
  92. package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js.map +1 -0
  93. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
  94. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
  95. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js +112 -0
  96. package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
  97. package/dist/commonjs/models/operations/index.d.ts +9 -6
  98. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  99. package/dist/commonjs/models/operations/index.js +9 -6
  100. package/dist/commonjs/models/operations/index.js.map +1 -1
  101. package/dist/commonjs/sdk/chapters.d.ts +2 -2
  102. package/dist/commonjs/sdk/chapters.d.ts.map +1 -1
  103. package/dist/commonjs/sdk/chapters.js +6 -6
  104. package/dist/commonjs/sdk/chapters.js.map +1 -1
  105. package/dist/commonjs/sdk/committees.d.ts +7 -0
  106. package/dist/commonjs/sdk/committees.d.ts.map +1 -1
  107. package/dist/commonjs/sdk/committees.js +10 -0
  108. package/dist/commonjs/sdk/committees.js.map +1 -1
  109. package/dist/commonjs/sdk/community.d.ts +11 -4
  110. package/dist/commonjs/sdk/community.d.ts.map +1 -1
  111. package/dist/commonjs/sdk/community.js +18 -8
  112. package/dist/commonjs/sdk/community.js.map +1 -1
  113. package/dist/commonjs/sdk/events.d.ts +1 -1
  114. package/dist/commonjs/sdk/events.d.ts.map +1 -1
  115. package/dist/commonjs/sdk/events.js +3 -3
  116. package/dist/commonjs/sdk/events.js.map +1 -1
  117. package/dist/commonjs/sdk/projects.d.ts +8 -1
  118. package/dist/commonjs/sdk/projects.d.ts.map +1 -1
  119. package/dist/commonjs/sdk/projects.js +13 -3
  120. package/dist/commonjs/sdk/projects.js.map +1 -1
  121. package/dist/esm/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
  122. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
  123. package/dist/esm/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +6 -6
  124. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
  125. package/dist/{commonjs/funcs/communityListOrganizations.d.ts → esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +4 -4
  126. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
  127. package/dist/esm/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +5 -4
  128. package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
  129. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
  130. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
  131. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +88 -0
  132. package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
  133. package/dist/esm/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
  134. package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
  135. package/dist/esm/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +8 -8
  136. package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
  137. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
  138. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
  139. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +89 -0
  140. package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
  141. package/dist/{commonjs/funcs/chaptersListChapters.d.ts → esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
  142. package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
  143. package/dist/esm/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +5 -4
  144. package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
  145. package/dist/{commonjs/funcs/eventsListEvents.d.ts → esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
  146. package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
  147. package/dist/esm/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +5 -4
  148. package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
  149. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
  150. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
  151. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js +88 -0
  152. package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
  153. package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts +18 -0
  154. package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
  155. package/dist/esm/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +5 -4
  156. package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
  157. package/dist/esm/lib/config.d.ts +4 -4
  158. package/dist/esm/lib/config.js +4 -4
  159. package/dist/esm/models/errors/committeeerrorresponse.d.ts +41 -0
  160. package/dist/esm/models/errors/committeeerrorresponse.d.ts.map +1 -0
  161. package/dist/esm/models/errors/committeeerrorresponse.js +48 -0
  162. package/dist/esm/models/errors/committeeerrorresponse.js.map +1 -0
  163. package/dist/esm/models/errors/index.d.ts +3 -0
  164. package/dist/esm/models/errors/index.d.ts.map +1 -1
  165. package/dist/esm/models/errors/index.js +3 -0
  166. package/dist/esm/models/errors/index.js.map +1 -1
  167. package/dist/esm/models/errors/organizationerrorresponse.d.ts +41 -0
  168. package/dist/esm/models/errors/organizationerrorresponse.d.ts.map +1 -0
  169. package/dist/esm/models/errors/organizationerrorresponse.js +48 -0
  170. package/dist/esm/models/errors/organizationerrorresponse.js.map +1 -0
  171. package/dist/esm/models/errors/projecterrorresponse.d.ts +41 -0
  172. package/dist/esm/models/errors/projecterrorresponse.d.ts.map +1 -0
  173. package/dist/esm/models/errors/projecterrorresponse.js +48 -0
  174. package/dist/esm/models/errors/projecterrorresponse.js.map +1 -0
  175. package/dist/esm/models/memberschema.d.ts +0 -2
  176. package/dist/esm/models/memberschema.d.ts.map +1 -1
  177. package/dist/esm/models/memberschema.js +0 -2
  178. package/dist/esm/models/memberschema.js.map +1 -1
  179. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
  180. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
  181. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js +40 -0
  182. package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
  183. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
  184. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
  185. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js +75 -0
  186. package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
  187. package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
  188. package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
  189. package/dist/esm/models/operations/appsapirestv0committeegetchapter.js +40 -0
  190. package/dist/esm/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
  191. package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
  192. package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
  193. package/dist/esm/models/operations/appsapirestv0eventlistevents.js +70 -0
  194. package/dist/esm/models/operations/appsapirestv0eventlistevents.js.map +1 -0
  195. package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts +29 -0
  196. package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
  197. package/dist/esm/models/operations/appsapirestv0membergetmember.js +40 -0
  198. package/dist/esm/models/operations/appsapirestv0membergetmember.js.map +1 -0
  199. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
  200. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
  201. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js +40 -0
  202. package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
  203. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
  204. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
  205. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js +71 -0
  206. package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
  207. package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
  208. package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
  209. package/dist/esm/models/operations/appsapirestv0projectgetproject.js +40 -0
  210. package/dist/esm/models/operations/appsapirestv0projectgetproject.js.map +1 -0
  211. package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
  212. package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
  213. package/dist/esm/models/operations/appsapirestv0projectlistprojects.js +74 -0
  214. package/dist/esm/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
  215. package/dist/esm/models/operations/index.d.ts +9 -6
  216. package/dist/esm/models/operations/index.d.ts.map +1 -1
  217. package/dist/esm/models/operations/index.js +9 -6
  218. package/dist/esm/models/operations/index.js.map +1 -1
  219. package/dist/esm/sdk/chapters.d.ts +2 -2
  220. package/dist/esm/sdk/chapters.d.ts.map +1 -1
  221. package/dist/esm/sdk/chapters.js +6 -6
  222. package/dist/esm/sdk/chapters.js.map +1 -1
  223. package/dist/esm/sdk/committees.d.ts +7 -0
  224. package/dist/esm/sdk/committees.d.ts.map +1 -1
  225. package/dist/esm/sdk/committees.js +10 -0
  226. package/dist/esm/sdk/committees.js.map +1 -1
  227. package/dist/esm/sdk/community.d.ts +11 -4
  228. package/dist/esm/sdk/community.d.ts.map +1 -1
  229. package/dist/esm/sdk/community.js +18 -8
  230. package/dist/esm/sdk/community.js.map +1 -1
  231. package/dist/esm/sdk/events.d.ts +1 -1
  232. package/dist/esm/sdk/events.d.ts.map +1 -1
  233. package/dist/esm/sdk/events.js +3 -3
  234. package/dist/esm/sdk/events.js.map +1 -1
  235. package/dist/esm/sdk/projects.d.ts +8 -1
  236. package/dist/esm/sdk/projects.d.ts.map +1 -1
  237. package/dist/esm/sdk/projects.js +13 -3
  238. package/dist/esm/sdk/projects.js.map +1 -1
  239. package/docs/sdks/chapters/README.md +18 -24
  240. package/docs/sdks/committees/README.md +76 -1
  241. package/docs/sdks/community/README.md +95 -20
  242. package/docs/sdks/events/README.md +8 -8
  243. package/docs/sdks/projects/README.md +88 -9
  244. package/examples/{chaptersListChapters.example.ts → chaptersAppsApiRestV0ChapterListChapters.example.ts} +2 -5
  245. package/examples/package-lock.json +1 -1
  246. package/jsr.json +1 -1
  247. package/package.json +1 -1
  248. package/src/funcs/{chaptersGetChapter.ts → chaptersAppsApiRestV0ChapterGetChapter.ts} +10 -7
  249. package/src/funcs/{chaptersListChapters.ts → chaptersAppsApiRestV0ChapterListChapters.ts} +6 -5
  250. package/src/funcs/committeesAppsApiRestV0CommitteeGetChapter.ts +179 -0
  251. package/src/funcs/{communityGetMember.ts → communityAppsApiRestV0MemberGetMember.ts} +12 -9
  252. package/src/funcs/communityAppsApiRestV0OrganizationGetOrganization.ts +180 -0
  253. package/src/funcs/{communityListOrganizations.ts → communityAppsApiRestV0OrganizationListOrganization.ts} +10 -7
  254. package/src/funcs/{eventsListEvents.ts → eventsAppsApiRestV0EventListEvents.ts} +6 -5
  255. package/src/funcs/projectsAppsApiRestV0ProjectGetProject.ts +179 -0
  256. package/src/funcs/{projectsListProjects.ts → projectsAppsApiRestV0ProjectListProjects.ts} +6 -5
  257. package/src/lib/config.ts +4 -4
  258. package/src/models/errors/committeeerrorresponse.ts +80 -0
  259. package/src/models/errors/index.ts +3 -0
  260. package/src/models/errors/organizationerrorresponse.ts +80 -0
  261. package/src/models/errors/projecterrorresponse.ts +80 -0
  262. package/src/models/memberschema.ts +0 -4
  263. package/src/models/operations/appsapirestv0chaptergetchapter.ts +80 -0
  264. package/src/models/operations/appsapirestv0chapterlistchapters.ts +153 -0
  265. package/src/models/operations/appsapirestv0committeegetchapter.ts +86 -0
  266. package/src/models/operations/appsapirestv0eventlistevents.ts +134 -0
  267. package/src/models/operations/appsapirestv0membergetmember.ts +80 -0
  268. package/src/models/operations/appsapirestv0organizationgetorganization.ts +89 -0
  269. package/src/models/operations/appsapirestv0organizationlistorganization.ts +154 -0
  270. package/src/models/operations/appsapirestv0projectgetproject.ts +80 -0
  271. package/src/models/operations/appsapirestv0projectlistprojects.ts +147 -0
  272. package/src/models/operations/index.ts +9 -6
  273. package/src/sdk/chapters.ts +8 -8
  274. package/src/sdk/committees.ts +18 -0
  275. package/src/sdk/community.ts +30 -10
  276. package/src/sdk/events.ts +4 -4
  277. package/src/sdk/projects.ts +22 -4
  278. package/dist/commonjs/funcs/chaptersGetChapter.d.ts.map +0 -1
  279. package/dist/commonjs/funcs/chaptersGetChapter.js.map +0 -1
  280. package/dist/commonjs/funcs/chaptersListChapters.d.ts.map +0 -1
  281. package/dist/commonjs/funcs/chaptersListChapters.js.map +0 -1
  282. package/dist/commonjs/funcs/communityGetMember.d.ts.map +0 -1
  283. package/dist/commonjs/funcs/communityGetMember.js.map +0 -1
  284. package/dist/commonjs/funcs/communityListOrganizations.d.ts.map +0 -1
  285. package/dist/commonjs/funcs/communityListOrganizations.js.map +0 -1
  286. package/dist/commonjs/funcs/eventsListEvents.d.ts.map +0 -1
  287. package/dist/commonjs/funcs/eventsListEvents.js.map +0 -1
  288. package/dist/commonjs/funcs/projectsListProjects.d.ts.map +0 -1
  289. package/dist/commonjs/funcs/projectsListProjects.js.map +0 -1
  290. package/dist/commonjs/models/operations/getchapter.d.ts +0 -29
  291. package/dist/commonjs/models/operations/getchapter.d.ts.map +0 -1
  292. package/dist/commonjs/models/operations/getchapter.js.map +0 -1
  293. package/dist/commonjs/models/operations/getmember.d.ts +0 -29
  294. package/dist/commonjs/models/operations/getmember.d.ts.map +0 -1
  295. package/dist/commonjs/models/operations/getmember.js.map +0 -1
  296. package/dist/commonjs/models/operations/listchapters.d.ts +0 -84
  297. package/dist/commonjs/models/operations/listchapters.d.ts.map +0 -1
  298. package/dist/commonjs/models/operations/listchapters.js +0 -110
  299. package/dist/commonjs/models/operations/listchapters.js.map +0 -1
  300. package/dist/commonjs/models/operations/listevents.d.ts +0 -74
  301. package/dist/commonjs/models/operations/listevents.d.ts.map +0 -1
  302. package/dist/commonjs/models/operations/listevents.js +0 -106
  303. package/dist/commonjs/models/operations/listevents.js.map +0 -1
  304. package/dist/commonjs/models/operations/listorganizations.d.ts +0 -79
  305. package/dist/commonjs/models/operations/listorganizations.d.ts.map +0 -1
  306. package/dist/commonjs/models/operations/listorganizations.js +0 -108
  307. package/dist/commonjs/models/operations/listorganizations.js.map +0 -1
  308. package/dist/commonjs/models/operations/listprojects.d.ts +0 -80
  309. package/dist/commonjs/models/operations/listprojects.d.ts.map +0 -1
  310. package/dist/commonjs/models/operations/listprojects.js +0 -109
  311. package/dist/commonjs/models/operations/listprojects.js.map +0 -1
  312. package/dist/esm/funcs/chaptersGetChapter.d.ts.map +0 -1
  313. package/dist/esm/funcs/chaptersGetChapter.js.map +0 -1
  314. package/dist/esm/funcs/chaptersListChapters.d.ts.map +0 -1
  315. package/dist/esm/funcs/chaptersListChapters.js.map +0 -1
  316. package/dist/esm/funcs/communityGetMember.d.ts.map +0 -1
  317. package/dist/esm/funcs/communityGetMember.js.map +0 -1
  318. package/dist/esm/funcs/communityListOrganizations.d.ts +0 -18
  319. package/dist/esm/funcs/communityListOrganizations.d.ts.map +0 -1
  320. package/dist/esm/funcs/communityListOrganizations.js.map +0 -1
  321. package/dist/esm/funcs/eventsListEvents.d.ts.map +0 -1
  322. package/dist/esm/funcs/eventsListEvents.js.map +0 -1
  323. package/dist/esm/funcs/projectsListProjects.d.ts.map +0 -1
  324. package/dist/esm/funcs/projectsListProjects.js.map +0 -1
  325. package/dist/esm/models/operations/getchapter.d.ts +0 -29
  326. package/dist/esm/models/operations/getchapter.d.ts.map +0 -1
  327. package/dist/esm/models/operations/getchapter.js +0 -31
  328. package/dist/esm/models/operations/getchapter.js.map +0 -1
  329. package/dist/esm/models/operations/getmember.d.ts +0 -29
  330. package/dist/esm/models/operations/getmember.d.ts.map +0 -1
  331. package/dist/esm/models/operations/getmember.js +0 -31
  332. package/dist/esm/models/operations/getmember.js.map +0 -1
  333. package/dist/esm/models/operations/listchapters.d.ts +0 -84
  334. package/dist/esm/models/operations/listchapters.d.ts.map +0 -1
  335. package/dist/esm/models/operations/listchapters.js +0 -72
  336. package/dist/esm/models/operations/listchapters.js.map +0 -1
  337. package/dist/esm/models/operations/listevents.d.ts +0 -74
  338. package/dist/esm/models/operations/listevents.d.ts.map +0 -1
  339. package/dist/esm/models/operations/listevents.js +0 -68
  340. package/dist/esm/models/operations/listevents.js.map +0 -1
  341. package/dist/esm/models/operations/listorganizations.d.ts +0 -79
  342. package/dist/esm/models/operations/listorganizations.d.ts.map +0 -1
  343. package/dist/esm/models/operations/listorganizations.js +0 -70
  344. package/dist/esm/models/operations/listorganizations.js.map +0 -1
  345. package/dist/esm/models/operations/listprojects.d.ts +0 -80
  346. package/dist/esm/models/operations/listprojects.d.ts.map +0 -1
  347. package/dist/esm/models/operations/listprojects.js +0 -71
  348. package/dist/esm/models/operations/listprojects.js.map +0 -1
  349. package/src/models/operations/getchapter.ts +0 -66
  350. package/src/models/operations/getmember.ts +0 -66
  351. package/src/models/operations/listchapters.ts +0 -136
  352. package/src/models/operations/listevents.ts +0 -122
  353. package/src/models/operations/listorganizations.ts +0 -131
  354. package/src/models/operations/listprojects.ts +0 -130
@@ -0,0 +1,89 @@
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 AppsApiRestV0OrganizationGetOrganizationRequest = {
12
+ organizationId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema:
17
+ z.ZodType<
18
+ AppsApiRestV0OrganizationGetOrganizationRequest,
19
+ z.ZodTypeDef,
20
+ unknown
21
+ > = z.object({
22
+ organization_id: z.string(),
23
+ }).transform((v) => {
24
+ return remap$(v, {
25
+ "organization_id": "organizationId",
26
+ });
27
+ });
28
+
29
+ /** @internal */
30
+ export type AppsApiRestV0OrganizationGetOrganizationRequest$Outbound = {
31
+ organization_id: string;
32
+ };
33
+
34
+ /** @internal */
35
+ export const AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema:
36
+ z.ZodType<
37
+ AppsApiRestV0OrganizationGetOrganizationRequest$Outbound,
38
+ z.ZodTypeDef,
39
+ AppsApiRestV0OrganizationGetOrganizationRequest
40
+ > = z.object({
41
+ organizationId: z.string(),
42
+ }).transform((v) => {
43
+ return remap$(v, {
44
+ organizationId: "organization_id",
45
+ });
46
+ });
47
+
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export namespace AppsApiRestV0OrganizationGetOrganizationRequest$ {
53
+ /** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema` instead. */
54
+ export const inboundSchema =
55
+ AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema;
56
+ /** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema` instead. */
57
+ export const outboundSchema =
58
+ AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema;
59
+ /** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$Outbound` instead. */
60
+ export type Outbound =
61
+ AppsApiRestV0OrganizationGetOrganizationRequest$Outbound;
62
+ }
63
+
64
+ export function appsApiRestV0OrganizationGetOrganizationRequestToJSON(
65
+ appsApiRestV0OrganizationGetOrganizationRequest:
66
+ AppsApiRestV0OrganizationGetOrganizationRequest,
67
+ ): string {
68
+ return JSON.stringify(
69
+ AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema.parse(
70
+ appsApiRestV0OrganizationGetOrganizationRequest,
71
+ ),
72
+ );
73
+ }
74
+
75
+ export function appsApiRestV0OrganizationGetOrganizationRequestFromJSON(
76
+ jsonString: string,
77
+ ): SafeParseResult<
78
+ AppsApiRestV0OrganizationGetOrganizationRequest,
79
+ SDKValidationError
80
+ > {
81
+ return safeParse(
82
+ jsonString,
83
+ (x) =>
84
+ AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema.parse(
85
+ JSON.parse(x),
86
+ ),
87
+ `Failed to parse 'AppsApiRestV0OrganizationGetOrganizationRequest' from JSON`,
88
+ );
89
+ }
@@ -0,0 +1,154 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ /**
13
+ * Ordering field
14
+ */
15
+ export const AppsApiRestV0OrganizationListOrganizationOrdering = {
16
+ CreatedAt: "created_at",
17
+ MinusCreatedAt: "-created_at",
18
+ UpdatedAt: "updated_at",
19
+ MinusUpdatedAt: "-updated_at",
20
+ } as const;
21
+ /**
22
+ * Ordering field
23
+ */
24
+ export type AppsApiRestV0OrganizationListOrganizationOrdering = ClosedEnum<
25
+ typeof AppsApiRestV0OrganizationListOrganizationOrdering
26
+ >;
27
+
28
+ export type AppsApiRestV0OrganizationListOrganizationRequest = {
29
+ /**
30
+ * Location of the organization
31
+ */
32
+ location?: string | null | undefined;
33
+ /**
34
+ * Ordering field
35
+ */
36
+ ordering?:
37
+ | AppsApiRestV0OrganizationListOrganizationOrdering
38
+ | null
39
+ | undefined;
40
+ page?: number | undefined;
41
+ pageSize?: number | null | undefined;
42
+ };
43
+
44
+ /** @internal */
45
+ export const AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema:
46
+ z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> = z
47
+ .nativeEnum(AppsApiRestV0OrganizationListOrganizationOrdering);
48
+
49
+ /** @internal */
50
+ export const AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema:
51
+ z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> =
52
+ AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
53
+
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export namespace AppsApiRestV0OrganizationListOrganizationOrdering$ {
59
+ /** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema` instead. */
60
+ export const inboundSchema =
61
+ AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
62
+ /** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema` instead. */
63
+ export const outboundSchema =
64
+ AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema;
65
+ }
66
+
67
+ /** @internal */
68
+ export const AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema:
69
+ z.ZodType<
70
+ AppsApiRestV0OrganizationListOrganizationRequest,
71
+ z.ZodTypeDef,
72
+ unknown
73
+ > = z.object({
74
+ location: z.nullable(z.string()).optional(),
75
+ ordering: z.nullable(
76
+ AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema,
77
+ ).optional(),
78
+ page: z.number().int().default(1),
79
+ page_size: z.nullable(z.number().int()).optional(),
80
+ }).transform((v) => {
81
+ return remap$(v, {
82
+ "page_size": "pageSize",
83
+ });
84
+ });
85
+
86
+ /** @internal */
87
+ export type AppsApiRestV0OrganizationListOrganizationRequest$Outbound = {
88
+ location?: string | null | undefined;
89
+ ordering?: string | null | undefined;
90
+ page: number;
91
+ page_size?: number | null | undefined;
92
+ };
93
+
94
+ /** @internal */
95
+ export const AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema:
96
+ z.ZodType<
97
+ AppsApiRestV0OrganizationListOrganizationRequest$Outbound,
98
+ z.ZodTypeDef,
99
+ AppsApiRestV0OrganizationListOrganizationRequest
100
+ > = z.object({
101
+ location: z.nullable(z.string()).optional(),
102
+ ordering: z.nullable(
103
+ AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema,
104
+ ).optional(),
105
+ page: z.number().int().default(1),
106
+ pageSize: z.nullable(z.number().int()).optional(),
107
+ }).transform((v) => {
108
+ return remap$(v, {
109
+ pageSize: "page_size",
110
+ });
111
+ });
112
+
113
+ /**
114
+ * @internal
115
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
116
+ */
117
+ export namespace AppsApiRestV0OrganizationListOrganizationRequest$ {
118
+ /** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema` instead. */
119
+ export const inboundSchema =
120
+ AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema;
121
+ /** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema` instead. */
122
+ export const outboundSchema =
123
+ AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema;
124
+ /** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$Outbound` instead. */
125
+ export type Outbound =
126
+ AppsApiRestV0OrganizationListOrganizationRequest$Outbound;
127
+ }
128
+
129
+ export function appsApiRestV0OrganizationListOrganizationRequestToJSON(
130
+ appsApiRestV0OrganizationListOrganizationRequest:
131
+ AppsApiRestV0OrganizationListOrganizationRequest,
132
+ ): string {
133
+ return JSON.stringify(
134
+ AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema.parse(
135
+ appsApiRestV0OrganizationListOrganizationRequest,
136
+ ),
137
+ );
138
+ }
139
+
140
+ export function appsApiRestV0OrganizationListOrganizationRequestFromJSON(
141
+ jsonString: string,
142
+ ): SafeParseResult<
143
+ AppsApiRestV0OrganizationListOrganizationRequest,
144
+ SDKValidationError
145
+ > {
146
+ return safeParse(
147
+ jsonString,
148
+ (x) =>
149
+ AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema.parse(
150
+ JSON.parse(x),
151
+ ),
152
+ `Failed to parse 'AppsApiRestV0OrganizationListOrganizationRequest' from JSON`,
153
+ );
154
+ }
@@ -0,0 +1,80 @@
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 AppsApiRestV0ProjectGetProjectRequest = {
12
+ projectId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const AppsApiRestV0ProjectGetProjectRequest$inboundSchema: z.ZodType<
17
+ AppsApiRestV0ProjectGetProjectRequest,
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 AppsApiRestV0ProjectGetProjectRequest$Outbound = {
30
+ project_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const AppsApiRestV0ProjectGetProjectRequest$outboundSchema: z.ZodType<
35
+ AppsApiRestV0ProjectGetProjectRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ AppsApiRestV0ProjectGetProjectRequest
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 AppsApiRestV0ProjectGetProjectRequest$ {
51
+ /** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ AppsApiRestV0ProjectGetProjectRequest$inboundSchema;
54
+ /** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ AppsApiRestV0ProjectGetProjectRequest$outboundSchema;
57
+ /** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$Outbound` instead. */
58
+ export type Outbound = AppsApiRestV0ProjectGetProjectRequest$Outbound;
59
+ }
60
+
61
+ export function appsApiRestV0ProjectGetProjectRequestToJSON(
62
+ appsApiRestV0ProjectGetProjectRequest: AppsApiRestV0ProjectGetProjectRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ AppsApiRestV0ProjectGetProjectRequest$outboundSchema.parse(
66
+ appsApiRestV0ProjectGetProjectRequest,
67
+ ),
68
+ );
69
+ }
70
+
71
+ export function appsApiRestV0ProjectGetProjectRequestFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<AppsApiRestV0ProjectGetProjectRequest, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) =>
77
+ AppsApiRestV0ProjectGetProjectRequest$inboundSchema.parse(JSON.parse(x)),
78
+ `Failed to parse 'AppsApiRestV0ProjectGetProjectRequest' from JSON`,
79
+ );
80
+ }
@@ -0,0 +1,147 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import * as models from "../index.js";
12
+
13
+ /**
14
+ * Ordering field
15
+ */
16
+ export const AppsApiRestV0ProjectListProjectsOrdering = {
17
+ CreatedAt: "created_at",
18
+ MinusCreatedAt: "-created_at",
19
+ UpdatedAt: "updated_at",
20
+ MinusUpdatedAt: "-updated_at",
21
+ } as const;
22
+ /**
23
+ * Ordering field
24
+ */
25
+ export type AppsApiRestV0ProjectListProjectsOrdering = ClosedEnum<
26
+ typeof AppsApiRestV0ProjectListProjectsOrdering
27
+ >;
28
+
29
+ export type AppsApiRestV0ProjectListProjectsRequest = {
30
+ /**
31
+ * Level of the project
32
+ */
33
+ level?: models.ProjectLevel | null | undefined;
34
+ /**
35
+ * Ordering field
36
+ */
37
+ ordering?: AppsApiRestV0ProjectListProjectsOrdering | null | undefined;
38
+ page?: number | undefined;
39
+ pageSize?: number | null | undefined;
40
+ };
41
+
42
+ /** @internal */
43
+ export const AppsApiRestV0ProjectListProjectsOrdering$inboundSchema:
44
+ z.ZodNativeEnum<typeof AppsApiRestV0ProjectListProjectsOrdering> = z
45
+ .nativeEnum(AppsApiRestV0ProjectListProjectsOrdering);
46
+
47
+ /** @internal */
48
+ export const AppsApiRestV0ProjectListProjectsOrdering$outboundSchema:
49
+ z.ZodNativeEnum<typeof AppsApiRestV0ProjectListProjectsOrdering> =
50
+ AppsApiRestV0ProjectListProjectsOrdering$inboundSchema;
51
+
52
+ /**
53
+ * @internal
54
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
+ */
56
+ export namespace AppsApiRestV0ProjectListProjectsOrdering$ {
57
+ /** @deprecated use `AppsApiRestV0ProjectListProjectsOrdering$inboundSchema` instead. */
58
+ export const inboundSchema =
59
+ AppsApiRestV0ProjectListProjectsOrdering$inboundSchema;
60
+ /** @deprecated use `AppsApiRestV0ProjectListProjectsOrdering$outboundSchema` instead. */
61
+ export const outboundSchema =
62
+ AppsApiRestV0ProjectListProjectsOrdering$outboundSchema;
63
+ }
64
+
65
+ /** @internal */
66
+ export const AppsApiRestV0ProjectListProjectsRequest$inboundSchema: z.ZodType<
67
+ AppsApiRestV0ProjectListProjectsRequest,
68
+ z.ZodTypeDef,
69
+ unknown
70
+ > = z.object({
71
+ level: z.nullable(models.ProjectLevel$inboundSchema).optional(),
72
+ ordering: z.nullable(AppsApiRestV0ProjectListProjectsOrdering$inboundSchema)
73
+ .optional(),
74
+ page: z.number().int().default(1),
75
+ page_size: z.nullable(z.number().int()).optional(),
76
+ }).transform((v) => {
77
+ return remap$(v, {
78
+ "page_size": "pageSize",
79
+ });
80
+ });
81
+
82
+ /** @internal */
83
+ export type AppsApiRestV0ProjectListProjectsRequest$Outbound = {
84
+ level?: string | null | undefined;
85
+ ordering?: string | null | undefined;
86
+ page: number;
87
+ page_size?: number | null | undefined;
88
+ };
89
+
90
+ /** @internal */
91
+ export const AppsApiRestV0ProjectListProjectsRequest$outboundSchema: z.ZodType<
92
+ AppsApiRestV0ProjectListProjectsRequest$Outbound,
93
+ z.ZodTypeDef,
94
+ AppsApiRestV0ProjectListProjectsRequest
95
+ > = z.object({
96
+ level: z.nullable(models.ProjectLevel$outboundSchema).optional(),
97
+ ordering: z.nullable(AppsApiRestV0ProjectListProjectsOrdering$outboundSchema)
98
+ .optional(),
99
+ page: z.number().int().default(1),
100
+ pageSize: z.nullable(z.number().int()).optional(),
101
+ }).transform((v) => {
102
+ return remap$(v, {
103
+ pageSize: "page_size",
104
+ });
105
+ });
106
+
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ export namespace AppsApiRestV0ProjectListProjectsRequest$ {
112
+ /** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$inboundSchema` instead. */
113
+ export const inboundSchema =
114
+ AppsApiRestV0ProjectListProjectsRequest$inboundSchema;
115
+ /** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$outboundSchema` instead. */
116
+ export const outboundSchema =
117
+ AppsApiRestV0ProjectListProjectsRequest$outboundSchema;
118
+ /** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$Outbound` instead. */
119
+ export type Outbound = AppsApiRestV0ProjectListProjectsRequest$Outbound;
120
+ }
121
+
122
+ export function appsApiRestV0ProjectListProjectsRequestToJSON(
123
+ appsApiRestV0ProjectListProjectsRequest:
124
+ AppsApiRestV0ProjectListProjectsRequest,
125
+ ): string {
126
+ return JSON.stringify(
127
+ AppsApiRestV0ProjectListProjectsRequest$outboundSchema.parse(
128
+ appsApiRestV0ProjectListProjectsRequest,
129
+ ),
130
+ );
131
+ }
132
+
133
+ export function appsApiRestV0ProjectListProjectsRequestFromJSON(
134
+ jsonString: string,
135
+ ): SafeParseResult<
136
+ AppsApiRestV0ProjectListProjectsRequest,
137
+ SDKValidationError
138
+ > {
139
+ return safeParse(
140
+ jsonString,
141
+ (x) =>
142
+ AppsApiRestV0ProjectListProjectsRequest$inboundSchema.parse(
143
+ JSON.parse(x),
144
+ ),
145
+ `Failed to parse 'AppsApiRestV0ProjectListProjectsRequest' from JSON`,
146
+ );
147
+ }
@@ -2,14 +2,17 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- export * from "./getchapter.js";
6
- export * from "./getmember.js";
7
- export * from "./listchapters.js";
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";
8
14
  export * from "./listcommittees.js";
9
- export * from "./listevents.js";
10
15
  export * from "./listissues.js";
11
16
  export * from "./listmembers.js";
12
- export * from "./listorganizations.js";
13
- export * from "./listprojects.js";
14
17
  export * from "./listreleases.js";
15
18
  export * from "./listrepositories.js";
@@ -2,8 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { chaptersGetChapter } from "../funcs/chaptersGetChapter.js";
6
- import { chaptersListChapters } from "../funcs/chaptersListChapters.js";
5
+ import { chaptersAppsApiRestV0ChapterGetChapter } from "../funcs/chaptersAppsApiRestV0ChapterGetChapter.js";
6
+ import { chaptersAppsApiRestV0ChapterListChapters } from "../funcs/chaptersAppsApiRestV0ChapterListChapters.js";
7
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
8
  import * as models from "../models/index.js";
9
9
  import * as operations from "../models/operations/index.js";
@@ -16,11 +16,11 @@ export class Chapters extends ClientSDK {
16
16
  * @remarks
17
17
  * Retrieve a paginated list of OWASP chapters.
18
18
  */
19
- async listChapters(
20
- request?: operations.ListChaptersRequest | undefined,
19
+ async appsApiRestV0ChapterListChapters(
20
+ request?: operations.AppsApiRestV0ChapterListChaptersRequest | undefined,
21
21
  options?: RequestOptions,
22
22
  ): Promise<models.PagedChapterSchema> {
23
- return unwrapAsync(chaptersListChapters(
23
+ return unwrapAsync(chaptersAppsApiRestV0ChapterListChapters(
24
24
  this,
25
25
  request,
26
26
  options,
@@ -33,11 +33,11 @@ export class Chapters extends ClientSDK {
33
33
  * @remarks
34
34
  * Retrieve chapter details.
35
35
  */
36
- async getChapter(
37
- request: operations.GetChapterRequest,
36
+ async appsApiRestV0ChapterGetChapter(
37
+ request: operations.AppsApiRestV0ChapterGetChapterRequest,
38
38
  options?: RequestOptions,
39
39
  ): Promise<models.ChapterSchema> {
40
- return unwrapAsync(chaptersGetChapter(
40
+ return unwrapAsync(chaptersAppsApiRestV0ChapterGetChapter(
41
41
  this,
42
42
  request,
43
43
  options,
@@ -2,6 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { committeesAppsApiRestV0CommitteeGetChapter } from "../funcs/committeesAppsApiRestV0CommitteeGetChapter.js";
5
6
  import { committeesListCommittees } from "../funcs/committeesListCommittees.js";
6
7
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
8
  import * as models from "../models/index.js";
@@ -25,4 +26,21 @@ export class Committees extends ClientSDK {
25
26
  options,
26
27
  ));
27
28
  }
29
+
30
+ /**
31
+ * Get committee
32
+ *
33
+ * @remarks
34
+ * Retrieve committee details.
35
+ */
36
+ async appsApiRestV0CommitteeGetChapter(
37
+ request: operations.AppsApiRestV0CommitteeGetChapterRequest,
38
+ options?: RequestOptions,
39
+ ): Promise<models.CommitteeSchema> {
40
+ return unwrapAsync(committeesAppsApiRestV0CommitteeGetChapter(
41
+ this,
42
+ request,
43
+ options,
44
+ ));
45
+ }
28
46
  }
@@ -2,9 +2,10 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { communityGetMember } from "../funcs/communityGetMember.js";
5
+ import { communityAppsApiRestV0MemberGetMember } from "../funcs/communityAppsApiRestV0MemberGetMember.js";
6
+ import { communityAppsApiRestV0OrganizationGetOrganization } from "../funcs/communityAppsApiRestV0OrganizationGetOrganization.js";
7
+ import { communityAppsApiRestV0OrganizationListOrganization } from "../funcs/communityAppsApiRestV0OrganizationListOrganization.js";
6
8
  import { communityListMembers } from "../funcs/communityListMembers.js";
7
- import { communityListOrganizations } from "../funcs/communityListOrganizations.js";
8
9
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
10
  import * as models from "../models/index.js";
10
11
  import * as operations from "../models/operations/index.js";
@@ -29,16 +30,16 @@ export class Community extends ClientSDK {
29
30
  }
30
31
 
31
32
  /**
32
- * Get member by login
33
+ * Get member
33
34
  *
34
35
  * @remarks
35
- * Retrieve a member by login.
36
+ * Retrieve member details.
36
37
  */
37
- async getMember(
38
- request: operations.GetMemberRequest,
38
+ async appsApiRestV0MemberGetMember(
39
+ request: operations.AppsApiRestV0MemberGetMemberRequest,
39
40
  options?: RequestOptions,
40
41
  ): Promise<models.MemberSchema> {
41
- return unwrapAsync(communityGetMember(
42
+ return unwrapAsync(communityAppsApiRestV0MemberGetMember(
42
43
  this,
43
44
  request,
44
45
  options,
@@ -51,11 +52,30 @@ export class Community extends ClientSDK {
51
52
  * @remarks
52
53
  * Retrieve a paginated list of GitHub organizations.
53
54
  */
54
- async listOrganizations(
55
- request?: operations.ListOrganizationsRequest | undefined,
55
+ async appsApiRestV0OrganizationListOrganization(
56
+ request?:
57
+ | operations.AppsApiRestV0OrganizationListOrganizationRequest
58
+ | undefined,
56
59
  options?: RequestOptions,
57
60
  ): Promise<models.PagedOrganizationSchema> {
58
- return unwrapAsync(communityListOrganizations(
61
+ return unwrapAsync(communityAppsApiRestV0OrganizationListOrganization(
62
+ this,
63
+ request,
64
+ options,
65
+ ));
66
+ }
67
+
68
+ /**
69
+ * Get organization
70
+ *
71
+ * @remarks
72
+ * Retrieve project details.
73
+ */
74
+ async appsApiRestV0OrganizationGetOrganization(
75
+ request: operations.AppsApiRestV0OrganizationGetOrganizationRequest,
76
+ options?: RequestOptions,
77
+ ): Promise<models.OrganizationSchema> {
78
+ return unwrapAsync(communityAppsApiRestV0OrganizationGetOrganization(
59
79
  this,
60
80
  request,
61
81
  options,
package/src/sdk/events.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { eventsListEvents } from "../funcs/eventsListEvents.js";
5
+ import { eventsAppsApiRestV0EventListEvents } from "../funcs/eventsAppsApiRestV0EventListEvents.js";
6
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
7
  import * as models from "../models/index.js";
8
8
  import * as operations from "../models/operations/index.js";
@@ -15,11 +15,11 @@ export class Events extends ClientSDK {
15
15
  * @remarks
16
16
  * Retrieve a paginated list of OWASP events.
17
17
  */
18
- async listEvents(
19
- request?: operations.ListEventsRequest | undefined,
18
+ async appsApiRestV0EventListEvents(
19
+ request?: operations.AppsApiRestV0EventListEventsRequest | undefined,
20
20
  options?: RequestOptions,
21
21
  ): Promise<models.PagedEventSchema> {
22
- return unwrapAsync(eventsListEvents(
22
+ return unwrapAsync(eventsAppsApiRestV0EventListEvents(
23
23
  this,
24
24
  request,
25
25
  options,