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,80 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { NestError } from "./nesterror.js";
7
+
8
+ /**
9
+ * Project error response schema.
10
+ */
11
+ export type ProjectErrorResponseData = {
12
+ message: string;
13
+ };
14
+
15
+ /**
16
+ * Project error response schema.
17
+ */
18
+ export class ProjectErrorResponse extends NestError {
19
+ /** The original data that was passed to this error instance. */
20
+ data$: ProjectErrorResponseData;
21
+
22
+ constructor(
23
+ err: ProjectErrorResponseData,
24
+ httpMeta: { response: Response; request: Request; body: string },
25
+ ) {
26
+ const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
27
+ super(message, httpMeta);
28
+ this.data$ = err;
29
+
30
+ this.name = "ProjectErrorResponse";
31
+ }
32
+ }
33
+
34
+ /** @internal */
35
+ export const ProjectErrorResponse$inboundSchema: z.ZodType<
36
+ ProjectErrorResponse,
37
+ z.ZodTypeDef,
38
+ unknown
39
+ > = z.object({
40
+ message: z.string(),
41
+ request$: z.instanceof(Request),
42
+ response$: z.instanceof(Response),
43
+ body$: z.string(),
44
+ })
45
+ .transform((v) => {
46
+ return new ProjectErrorResponse(v, {
47
+ request: v.request$,
48
+ response: v.response$,
49
+ body: v.body$,
50
+ });
51
+ });
52
+
53
+ /** @internal */
54
+ export type ProjectErrorResponse$Outbound = {
55
+ message: string;
56
+ };
57
+
58
+ /** @internal */
59
+ export const ProjectErrorResponse$outboundSchema: z.ZodType<
60
+ ProjectErrorResponse$Outbound,
61
+ z.ZodTypeDef,
62
+ ProjectErrorResponse
63
+ > = z.instanceof(ProjectErrorResponse)
64
+ .transform(v => v.data$)
65
+ .pipe(z.object({
66
+ message: z.string(),
67
+ }));
68
+
69
+ /**
70
+ * @internal
71
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
72
+ */
73
+ export namespace ProjectErrorResponse$ {
74
+ /** @deprecated use `ProjectErrorResponse$inboundSchema` instead. */
75
+ export const inboundSchema = ProjectErrorResponse$inboundSchema;
76
+ /** @deprecated use `ProjectErrorResponse$outboundSchema` instead. */
77
+ export const outboundSchema = ProjectErrorResponse$outboundSchema;
78
+ /** @deprecated use `ProjectErrorResponse$Outbound` instead. */
79
+ export type Outbound = ProjectErrorResponse$Outbound;
80
+ }
@@ -16,7 +16,6 @@ export type MemberSchema = {
16
16
  bio: string;
17
17
  company: string;
18
18
  createdAt: Date;
19
- email: string;
20
19
  followersCount: number;
21
20
  followingCount: number;
22
21
  location: string;
@@ -39,7 +38,6 @@ export const MemberSchema$inboundSchema: z.ZodType<
39
38
  bio: z.string(),
40
39
  company: z.string(),
41
40
  created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
42
- email: z.string(),
43
41
  followers_count: z.number().int(),
44
42
  following_count: z.number().int(),
45
43
  location: z.string(),
@@ -68,7 +66,6 @@ export type MemberSchema$Outbound = {
68
66
  bio: string;
69
67
  company: string;
70
68
  created_at: string;
71
- email: string;
72
69
  followers_count: number;
73
70
  following_count: number;
74
71
  location: string;
@@ -91,7 +88,6 @@ export const MemberSchema$outboundSchema: z.ZodType<
91
88
  bio: z.string(),
92
89
  company: z.string(),
93
90
  createdAt: z.date().transform(v => v.toISOString()),
94
- email: z.string(),
95
91
  followersCount: z.number().int(),
96
92
  followingCount: z.number().int(),
97
93
  location: z.string(),
@@ -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 AppsApiRestV0ChapterGetChapterRequest = {
12
+ chapterId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const AppsApiRestV0ChapterGetChapterRequest$inboundSchema: z.ZodType<
17
+ AppsApiRestV0ChapterGetChapterRequest,
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 AppsApiRestV0ChapterGetChapterRequest$Outbound = {
30
+ chapter_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const AppsApiRestV0ChapterGetChapterRequest$outboundSchema: z.ZodType<
35
+ AppsApiRestV0ChapterGetChapterRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ AppsApiRestV0ChapterGetChapterRequest
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 AppsApiRestV0ChapterGetChapterRequest$ {
51
+ /** @deprecated use `AppsApiRestV0ChapterGetChapterRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ AppsApiRestV0ChapterGetChapterRequest$inboundSchema;
54
+ /** @deprecated use `AppsApiRestV0ChapterGetChapterRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ AppsApiRestV0ChapterGetChapterRequest$outboundSchema;
57
+ /** @deprecated use `AppsApiRestV0ChapterGetChapterRequest$Outbound` instead. */
58
+ export type Outbound = AppsApiRestV0ChapterGetChapterRequest$Outbound;
59
+ }
60
+
61
+ export function appsApiRestV0ChapterGetChapterRequestToJSON(
62
+ appsApiRestV0ChapterGetChapterRequest: AppsApiRestV0ChapterGetChapterRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ AppsApiRestV0ChapterGetChapterRequest$outboundSchema.parse(
66
+ appsApiRestV0ChapterGetChapterRequest,
67
+ ),
68
+ );
69
+ }
70
+
71
+ export function appsApiRestV0ChapterGetChapterRequestFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<AppsApiRestV0ChapterGetChapterRequest, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) =>
77
+ AppsApiRestV0ChapterGetChapterRequest$inboundSchema.parse(JSON.parse(x)),
78
+ `Failed to parse 'AppsApiRestV0ChapterGetChapterRequest' from JSON`,
79
+ );
80
+ }
@@ -0,0 +1,153 @@
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 AppsApiRestV0ChapterListChaptersOrdering = {
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 AppsApiRestV0ChapterListChaptersOrdering = ClosedEnum<
25
+ typeof AppsApiRestV0ChapterListChaptersOrdering
26
+ >;
27
+
28
+ export type AppsApiRestV0ChapterListChaptersRequest = {
29
+ /**
30
+ * Country of the chapter
31
+ */
32
+ country?: string | null | undefined;
33
+ /**
34
+ * Region of the chapter
35
+ */
36
+ region?: string | null | undefined;
37
+ /**
38
+ * Ordering field
39
+ */
40
+ ordering?: AppsApiRestV0ChapterListChaptersOrdering | null | undefined;
41
+ page?: number | undefined;
42
+ pageSize?: number | null | undefined;
43
+ };
44
+
45
+ /** @internal */
46
+ export const AppsApiRestV0ChapterListChaptersOrdering$inboundSchema:
47
+ z.ZodNativeEnum<typeof AppsApiRestV0ChapterListChaptersOrdering> = z
48
+ .nativeEnum(AppsApiRestV0ChapterListChaptersOrdering);
49
+
50
+ /** @internal */
51
+ export const AppsApiRestV0ChapterListChaptersOrdering$outboundSchema:
52
+ z.ZodNativeEnum<typeof AppsApiRestV0ChapterListChaptersOrdering> =
53
+ AppsApiRestV0ChapterListChaptersOrdering$inboundSchema;
54
+
55
+ /**
56
+ * @internal
57
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
+ */
59
+ export namespace AppsApiRestV0ChapterListChaptersOrdering$ {
60
+ /** @deprecated use `AppsApiRestV0ChapterListChaptersOrdering$inboundSchema` instead. */
61
+ export const inboundSchema =
62
+ AppsApiRestV0ChapterListChaptersOrdering$inboundSchema;
63
+ /** @deprecated use `AppsApiRestV0ChapterListChaptersOrdering$outboundSchema` instead. */
64
+ export const outboundSchema =
65
+ AppsApiRestV0ChapterListChaptersOrdering$outboundSchema;
66
+ }
67
+
68
+ /** @internal */
69
+ export const AppsApiRestV0ChapterListChaptersRequest$inboundSchema: z.ZodType<
70
+ AppsApiRestV0ChapterListChaptersRequest,
71
+ z.ZodTypeDef,
72
+ unknown
73
+ > = z.object({
74
+ country: z.nullable(z.string()).optional(),
75
+ region: z.nullable(z.string()).optional(),
76
+ ordering: z.nullable(AppsApiRestV0ChapterListChaptersOrdering$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 AppsApiRestV0ChapterListChaptersRequest$Outbound = {
88
+ country?: string | null | undefined;
89
+ region?: string | null | undefined;
90
+ ordering?: string | null | undefined;
91
+ page: number;
92
+ page_size?: number | null | undefined;
93
+ };
94
+
95
+ /** @internal */
96
+ export const AppsApiRestV0ChapterListChaptersRequest$outboundSchema: z.ZodType<
97
+ AppsApiRestV0ChapterListChaptersRequest$Outbound,
98
+ z.ZodTypeDef,
99
+ AppsApiRestV0ChapterListChaptersRequest
100
+ > = z.object({
101
+ country: z.nullable(z.string()).optional(),
102
+ region: z.nullable(z.string()).optional(),
103
+ ordering: z.nullable(AppsApiRestV0ChapterListChaptersOrdering$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 AppsApiRestV0ChapterListChaptersRequest$ {
118
+ /** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$inboundSchema` instead. */
119
+ export const inboundSchema =
120
+ AppsApiRestV0ChapterListChaptersRequest$inboundSchema;
121
+ /** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$outboundSchema` instead. */
122
+ export const outboundSchema =
123
+ AppsApiRestV0ChapterListChaptersRequest$outboundSchema;
124
+ /** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$Outbound` instead. */
125
+ export type Outbound = AppsApiRestV0ChapterListChaptersRequest$Outbound;
126
+ }
127
+
128
+ export function appsApiRestV0ChapterListChaptersRequestToJSON(
129
+ appsApiRestV0ChapterListChaptersRequest:
130
+ AppsApiRestV0ChapterListChaptersRequest,
131
+ ): string {
132
+ return JSON.stringify(
133
+ AppsApiRestV0ChapterListChaptersRequest$outboundSchema.parse(
134
+ appsApiRestV0ChapterListChaptersRequest,
135
+ ),
136
+ );
137
+ }
138
+
139
+ export function appsApiRestV0ChapterListChaptersRequestFromJSON(
140
+ jsonString: string,
141
+ ): SafeParseResult<
142
+ AppsApiRestV0ChapterListChaptersRequest,
143
+ SDKValidationError
144
+ > {
145
+ return safeParse(
146
+ jsonString,
147
+ (x) =>
148
+ AppsApiRestV0ChapterListChaptersRequest$inboundSchema.parse(
149
+ JSON.parse(x),
150
+ ),
151
+ `Failed to parse 'AppsApiRestV0ChapterListChaptersRequest' from JSON`,
152
+ );
153
+ }
@@ -0,0 +1,86 @@
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 AppsApiRestV0CommitteeGetChapterRequest = {
12
+ committeeId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const AppsApiRestV0CommitteeGetChapterRequest$inboundSchema: z.ZodType<
17
+ AppsApiRestV0CommitteeGetChapterRequest,
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 AppsApiRestV0CommitteeGetChapterRequest$Outbound = {
30
+ committee_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const AppsApiRestV0CommitteeGetChapterRequest$outboundSchema: z.ZodType<
35
+ AppsApiRestV0CommitteeGetChapterRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ AppsApiRestV0CommitteeGetChapterRequest
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 AppsApiRestV0CommitteeGetChapterRequest$ {
51
+ /** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ AppsApiRestV0CommitteeGetChapterRequest$inboundSchema;
54
+ /** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ AppsApiRestV0CommitteeGetChapterRequest$outboundSchema;
57
+ /** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$Outbound` instead. */
58
+ export type Outbound = AppsApiRestV0CommitteeGetChapterRequest$Outbound;
59
+ }
60
+
61
+ export function appsApiRestV0CommitteeGetChapterRequestToJSON(
62
+ appsApiRestV0CommitteeGetChapterRequest:
63
+ AppsApiRestV0CommitteeGetChapterRequest,
64
+ ): string {
65
+ return JSON.stringify(
66
+ AppsApiRestV0CommitteeGetChapterRequest$outboundSchema.parse(
67
+ appsApiRestV0CommitteeGetChapterRequest,
68
+ ),
69
+ );
70
+ }
71
+
72
+ export function appsApiRestV0CommitteeGetChapterRequestFromJSON(
73
+ jsonString: string,
74
+ ): SafeParseResult<
75
+ AppsApiRestV0CommitteeGetChapterRequest,
76
+ SDKValidationError
77
+ > {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) =>
81
+ AppsApiRestV0CommitteeGetChapterRequest$inboundSchema.parse(
82
+ JSON.parse(x),
83
+ ),
84
+ `Failed to parse 'AppsApiRestV0CommitteeGetChapterRequest' from JSON`,
85
+ );
86
+ }
@@ -0,0 +1,134 @@
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 AppsApiRestV0EventListEventsOrdering = {
16
+ StartDate: "start_date",
17
+ MinusStartDate: "-start_date",
18
+ EndDate: "end_date",
19
+ MinusEndDate: "-end_date",
20
+ } as const;
21
+ /**
22
+ * Ordering field
23
+ */
24
+ export type AppsApiRestV0EventListEventsOrdering = ClosedEnum<
25
+ typeof AppsApiRestV0EventListEventsOrdering
26
+ >;
27
+
28
+ export type AppsApiRestV0EventListEventsRequest = {
29
+ /**
30
+ * Ordering field
31
+ */
32
+ ordering?: AppsApiRestV0EventListEventsOrdering | null | undefined;
33
+ page?: number | undefined;
34
+ pageSize?: number | null | undefined;
35
+ };
36
+
37
+ /** @internal */
38
+ export const AppsApiRestV0EventListEventsOrdering$inboundSchema:
39
+ z.ZodNativeEnum<typeof AppsApiRestV0EventListEventsOrdering> = z.nativeEnum(
40
+ AppsApiRestV0EventListEventsOrdering,
41
+ );
42
+
43
+ /** @internal */
44
+ export const AppsApiRestV0EventListEventsOrdering$outboundSchema:
45
+ z.ZodNativeEnum<typeof AppsApiRestV0EventListEventsOrdering> =
46
+ AppsApiRestV0EventListEventsOrdering$inboundSchema;
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 AppsApiRestV0EventListEventsOrdering$ {
53
+ /** @deprecated use `AppsApiRestV0EventListEventsOrdering$inboundSchema` instead. */
54
+ export const inboundSchema =
55
+ AppsApiRestV0EventListEventsOrdering$inboundSchema;
56
+ /** @deprecated use `AppsApiRestV0EventListEventsOrdering$outboundSchema` instead. */
57
+ export const outboundSchema =
58
+ AppsApiRestV0EventListEventsOrdering$outboundSchema;
59
+ }
60
+
61
+ /** @internal */
62
+ export const AppsApiRestV0EventListEventsRequest$inboundSchema: z.ZodType<
63
+ AppsApiRestV0EventListEventsRequest,
64
+ z.ZodTypeDef,
65
+ unknown
66
+ > = z.object({
67
+ ordering: z.nullable(AppsApiRestV0EventListEventsOrdering$inboundSchema)
68
+ .optional(),
69
+ page: z.number().int().default(1),
70
+ page_size: z.nullable(z.number().int()).optional(),
71
+ }).transform((v) => {
72
+ return remap$(v, {
73
+ "page_size": "pageSize",
74
+ });
75
+ });
76
+
77
+ /** @internal */
78
+ export type AppsApiRestV0EventListEventsRequest$Outbound = {
79
+ ordering?: string | null | undefined;
80
+ page: number;
81
+ page_size?: number | null | undefined;
82
+ };
83
+
84
+ /** @internal */
85
+ export const AppsApiRestV0EventListEventsRequest$outboundSchema: z.ZodType<
86
+ AppsApiRestV0EventListEventsRequest$Outbound,
87
+ z.ZodTypeDef,
88
+ AppsApiRestV0EventListEventsRequest
89
+ > = z.object({
90
+ ordering: z.nullable(AppsApiRestV0EventListEventsOrdering$outboundSchema)
91
+ .optional(),
92
+ page: z.number().int().default(1),
93
+ pageSize: z.nullable(z.number().int()).optional(),
94
+ }).transform((v) => {
95
+ return remap$(v, {
96
+ pageSize: "page_size",
97
+ });
98
+ });
99
+
100
+ /**
101
+ * @internal
102
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
103
+ */
104
+ export namespace AppsApiRestV0EventListEventsRequest$ {
105
+ /** @deprecated use `AppsApiRestV0EventListEventsRequest$inboundSchema` instead. */
106
+ export const inboundSchema =
107
+ AppsApiRestV0EventListEventsRequest$inboundSchema;
108
+ /** @deprecated use `AppsApiRestV0EventListEventsRequest$outboundSchema` instead. */
109
+ export const outboundSchema =
110
+ AppsApiRestV0EventListEventsRequest$outboundSchema;
111
+ /** @deprecated use `AppsApiRestV0EventListEventsRequest$Outbound` instead. */
112
+ export type Outbound = AppsApiRestV0EventListEventsRequest$Outbound;
113
+ }
114
+
115
+ export function appsApiRestV0EventListEventsRequestToJSON(
116
+ appsApiRestV0EventListEventsRequest: AppsApiRestV0EventListEventsRequest,
117
+ ): string {
118
+ return JSON.stringify(
119
+ AppsApiRestV0EventListEventsRequest$outboundSchema.parse(
120
+ appsApiRestV0EventListEventsRequest,
121
+ ),
122
+ );
123
+ }
124
+
125
+ export function appsApiRestV0EventListEventsRequestFromJSON(
126
+ jsonString: string,
127
+ ): SafeParseResult<AppsApiRestV0EventListEventsRequest, SDKValidationError> {
128
+ return safeParse(
129
+ jsonString,
130
+ (x) =>
131
+ AppsApiRestV0EventListEventsRequest$inboundSchema.parse(JSON.parse(x)),
132
+ `Failed to parse 'AppsApiRestV0EventListEventsRequest' from JSON`,
133
+ );
134
+ }
@@ -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 AppsApiRestV0MemberGetMemberRequest = {
12
+ memberId: string;
13
+ };
14
+
15
+ /** @internal */
16
+ export const AppsApiRestV0MemberGetMemberRequest$inboundSchema: z.ZodType<
17
+ AppsApiRestV0MemberGetMemberRequest,
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 AppsApiRestV0MemberGetMemberRequest$Outbound = {
30
+ member_id: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const AppsApiRestV0MemberGetMemberRequest$outboundSchema: z.ZodType<
35
+ AppsApiRestV0MemberGetMemberRequest$Outbound,
36
+ z.ZodTypeDef,
37
+ AppsApiRestV0MemberGetMemberRequest
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 AppsApiRestV0MemberGetMemberRequest$ {
51
+ /** @deprecated use `AppsApiRestV0MemberGetMemberRequest$inboundSchema` instead. */
52
+ export const inboundSchema =
53
+ AppsApiRestV0MemberGetMemberRequest$inboundSchema;
54
+ /** @deprecated use `AppsApiRestV0MemberGetMemberRequest$outboundSchema` instead. */
55
+ export const outboundSchema =
56
+ AppsApiRestV0MemberGetMemberRequest$outboundSchema;
57
+ /** @deprecated use `AppsApiRestV0MemberGetMemberRequest$Outbound` instead. */
58
+ export type Outbound = AppsApiRestV0MemberGetMemberRequest$Outbound;
59
+ }
60
+
61
+ export function appsApiRestV0MemberGetMemberRequestToJSON(
62
+ appsApiRestV0MemberGetMemberRequest: AppsApiRestV0MemberGetMemberRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ AppsApiRestV0MemberGetMemberRequest$outboundSchema.parse(
66
+ appsApiRestV0MemberGetMemberRequest,
67
+ ),
68
+ );
69
+ }
70
+
71
+ export function appsApiRestV0MemberGetMemberRequestFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<AppsApiRestV0MemberGetMemberRequest, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) =>
77
+ AppsApiRestV0MemberGetMemberRequest$inboundSchema.parse(JSON.parse(x)),
78
+ `Failed to parse 'AppsApiRestV0MemberGetMemberRequest' from JSON`,
79
+ );
80
+ }