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.
- package/FUNCTIONS.md +3 -6
- package/README.md +31 -37
- package/dist/commonjs/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +7 -7
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
- package/dist/{esm/funcs/chaptersListChapters.d.ts → commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +2 -2
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +6 -5
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +124 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
- package/dist/commonjs/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +9 -9
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +125 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
- package/dist/commonjs/funcs/{projectsListProjects.d.ts → communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +6 -5
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
- package/dist/{esm/funcs/eventsListEvents.d.ts → commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +6 -5
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js +124 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
- package/dist/{esm/funcs/projectsListProjects.d.ts → commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts} +2 -2
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
- package/dist/commonjs/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +6 -5
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/models/errors/committeeerrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/committeeerrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/getchapter.js → errors/committeeerrorresponse.js} +39 -23
- package/dist/commonjs/models/errors/committeeerrorresponse.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +3 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +3 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/organizationerrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.js +85 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.js.map +1 -0
- package/dist/commonjs/models/errors/projecterrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/projecterrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/getmember.js → errors/projecterrorresponse.js} +39 -23
- package/dist/commonjs/models/errors/projecterrorresponse.js.map +1 -0
- package/dist/commonjs/models/memberschema.d.ts +0 -2
- package/dist/commonjs/models/memberschema.d.ts.map +1 -1
- package/dist/commonjs/models/memberschema.js +0 -2
- package/dist/commonjs/models/memberschema.js.map +1 -1
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js +113 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js +108 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js +109 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js +112 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -6
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -6
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/chapters.d.ts +2 -2
- package/dist/commonjs/sdk/chapters.d.ts.map +1 -1
- package/dist/commonjs/sdk/chapters.js +6 -6
- package/dist/commonjs/sdk/chapters.js.map +1 -1
- package/dist/commonjs/sdk/committees.d.ts +7 -0
- package/dist/commonjs/sdk/committees.d.ts.map +1 -1
- package/dist/commonjs/sdk/committees.js +10 -0
- package/dist/commonjs/sdk/committees.js.map +1 -1
- package/dist/commonjs/sdk/community.d.ts +11 -4
- package/dist/commonjs/sdk/community.d.ts.map +1 -1
- package/dist/commonjs/sdk/community.js +18 -8
- package/dist/commonjs/sdk/community.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +1 -1
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +3 -3
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/projects.d.ts +8 -1
- package/dist/commonjs/sdk/projects.d.ts.map +1 -1
- package/dist/commonjs/sdk/projects.js +13 -3
- package/dist/commonjs/sdk/projects.js.map +1 -1
- package/dist/esm/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +6 -6
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
- package/dist/{commonjs/funcs/communityListOrganizations.d.ts → esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +4 -4
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +5 -4
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +88 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
- package/dist/esm/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
- package/dist/esm/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +8 -8
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +89 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
- package/dist/{commonjs/funcs/chaptersListChapters.d.ts → esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +5 -4
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
- package/dist/{commonjs/funcs/eventsListEvents.d.ts → esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +5 -4
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js +88 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts +18 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
- package/dist/esm/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +5 -4
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/models/errors/committeeerrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/committeeerrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/committeeerrorresponse.js +48 -0
- package/dist/esm/models/errors/committeeerrorresponse.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +3 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +3 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/organizationerrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/organizationerrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/organizationerrorresponse.js +48 -0
- package/dist/esm/models/errors/organizationerrorresponse.js.map +1 -0
- package/dist/esm/models/errors/projecterrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/projecterrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/projecterrorresponse.js +48 -0
- package/dist/esm/models/errors/projecterrorresponse.js.map +1 -0
- package/dist/esm/models/memberschema.d.ts +0 -2
- package/dist/esm/models/memberschema.d.ts.map +1 -1
- package/dist/esm/models/memberschema.js +0 -2
- package/dist/esm/models/memberschema.js.map +1 -1
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js +40 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js +75 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js +40 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js +70 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.js +40 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js +40 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js +71 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js +40 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js +74 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -6
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -6
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/chapters.d.ts +2 -2
- package/dist/esm/sdk/chapters.d.ts.map +1 -1
- package/dist/esm/sdk/chapters.js +6 -6
- package/dist/esm/sdk/chapters.js.map +1 -1
- package/dist/esm/sdk/committees.d.ts +7 -0
- package/dist/esm/sdk/committees.d.ts.map +1 -1
- package/dist/esm/sdk/committees.js +10 -0
- package/dist/esm/sdk/committees.js.map +1 -1
- package/dist/esm/sdk/community.d.ts +11 -4
- package/dist/esm/sdk/community.d.ts.map +1 -1
- package/dist/esm/sdk/community.js +18 -8
- package/dist/esm/sdk/community.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +1 -1
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +3 -3
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/projects.d.ts +8 -1
- package/dist/esm/sdk/projects.d.ts.map +1 -1
- package/dist/esm/sdk/projects.js +13 -3
- package/dist/esm/sdk/projects.js.map +1 -1
- package/docs/sdks/chapters/README.md +18 -24
- package/docs/sdks/committees/README.md +76 -1
- package/docs/sdks/community/README.md +95 -20
- package/docs/sdks/events/README.md +8 -8
- package/docs/sdks/projects/README.md +88 -9
- package/examples/{chaptersListChapters.example.ts → chaptersAppsApiRestV0ChapterListChapters.example.ts} +2 -5
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{chaptersGetChapter.ts → chaptersAppsApiRestV0ChapterGetChapter.ts} +10 -7
- package/src/funcs/{chaptersListChapters.ts → chaptersAppsApiRestV0ChapterListChapters.ts} +6 -5
- package/src/funcs/committeesAppsApiRestV0CommitteeGetChapter.ts +179 -0
- package/src/funcs/{communityGetMember.ts → communityAppsApiRestV0MemberGetMember.ts} +12 -9
- package/src/funcs/communityAppsApiRestV0OrganizationGetOrganization.ts +180 -0
- package/src/funcs/{communityListOrganizations.ts → communityAppsApiRestV0OrganizationListOrganization.ts} +10 -7
- package/src/funcs/{eventsListEvents.ts → eventsAppsApiRestV0EventListEvents.ts} +6 -5
- package/src/funcs/projectsAppsApiRestV0ProjectGetProject.ts +179 -0
- package/src/funcs/{projectsListProjects.ts → projectsAppsApiRestV0ProjectListProjects.ts} +6 -5
- package/src/lib/config.ts +4 -4
- package/src/models/errors/committeeerrorresponse.ts +80 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/organizationerrorresponse.ts +80 -0
- package/src/models/errors/projecterrorresponse.ts +80 -0
- package/src/models/memberschema.ts +0 -4
- package/src/models/operations/appsapirestv0chaptergetchapter.ts +80 -0
- package/src/models/operations/appsapirestv0chapterlistchapters.ts +153 -0
- package/src/models/operations/appsapirestv0committeegetchapter.ts +86 -0
- package/src/models/operations/appsapirestv0eventlistevents.ts +134 -0
- package/src/models/operations/appsapirestv0membergetmember.ts +80 -0
- package/src/models/operations/appsapirestv0organizationgetorganization.ts +89 -0
- package/src/models/operations/appsapirestv0organizationlistorganization.ts +154 -0
- package/src/models/operations/appsapirestv0projectgetproject.ts +80 -0
- package/src/models/operations/appsapirestv0projectlistprojects.ts +147 -0
- package/src/models/operations/index.ts +9 -6
- package/src/sdk/chapters.ts +8 -8
- package/src/sdk/committees.ts +18 -0
- package/src/sdk/community.ts +30 -10
- package/src/sdk/events.ts +4 -4
- package/src/sdk/projects.ts +22 -4
- package/dist/commonjs/funcs/chaptersGetChapter.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersGetChapter.js.map +0 -1
- package/dist/commonjs/funcs/chaptersListChapters.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersListChapters.js.map +0 -1
- package/dist/commonjs/funcs/communityGetMember.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityGetMember.js.map +0 -1
- package/dist/commonjs/funcs/communityListOrganizations.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityListOrganizations.js.map +0 -1
- package/dist/commonjs/funcs/eventsListEvents.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsListEvents.js.map +0 -1
- package/dist/commonjs/funcs/projectsListProjects.d.ts.map +0 -1
- package/dist/commonjs/funcs/projectsListProjects.js.map +0 -1
- package/dist/commonjs/models/operations/getchapter.d.ts +0 -29
- package/dist/commonjs/models/operations/getchapter.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getchapter.js.map +0 -1
- package/dist/commonjs/models/operations/getmember.d.ts +0 -29
- package/dist/commonjs/models/operations/getmember.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmember.js.map +0 -1
- package/dist/commonjs/models/operations/listchapters.d.ts +0 -84
- package/dist/commonjs/models/operations/listchapters.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listchapters.js +0 -110
- package/dist/commonjs/models/operations/listchapters.js.map +0 -1
- package/dist/commonjs/models/operations/listevents.d.ts +0 -74
- package/dist/commonjs/models/operations/listevents.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listevents.js +0 -106
- package/dist/commonjs/models/operations/listevents.js.map +0 -1
- package/dist/commonjs/models/operations/listorganizations.d.ts +0 -79
- package/dist/commonjs/models/operations/listorganizations.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listorganizations.js +0 -108
- package/dist/commonjs/models/operations/listorganizations.js.map +0 -1
- package/dist/commonjs/models/operations/listprojects.d.ts +0 -80
- package/dist/commonjs/models/operations/listprojects.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listprojects.js +0 -109
- package/dist/commonjs/models/operations/listprojects.js.map +0 -1
- package/dist/esm/funcs/chaptersGetChapter.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersGetChapter.js.map +0 -1
- package/dist/esm/funcs/chaptersListChapters.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersListChapters.js.map +0 -1
- package/dist/esm/funcs/communityGetMember.d.ts.map +0 -1
- package/dist/esm/funcs/communityGetMember.js.map +0 -1
- package/dist/esm/funcs/communityListOrganizations.d.ts +0 -18
- package/dist/esm/funcs/communityListOrganizations.d.ts.map +0 -1
- package/dist/esm/funcs/communityListOrganizations.js.map +0 -1
- package/dist/esm/funcs/eventsListEvents.d.ts.map +0 -1
- package/dist/esm/funcs/eventsListEvents.js.map +0 -1
- package/dist/esm/funcs/projectsListProjects.d.ts.map +0 -1
- package/dist/esm/funcs/projectsListProjects.js.map +0 -1
- package/dist/esm/models/operations/getchapter.d.ts +0 -29
- package/dist/esm/models/operations/getchapter.d.ts.map +0 -1
- package/dist/esm/models/operations/getchapter.js +0 -31
- package/dist/esm/models/operations/getchapter.js.map +0 -1
- package/dist/esm/models/operations/getmember.d.ts +0 -29
- package/dist/esm/models/operations/getmember.d.ts.map +0 -1
- package/dist/esm/models/operations/getmember.js +0 -31
- package/dist/esm/models/operations/getmember.js.map +0 -1
- package/dist/esm/models/operations/listchapters.d.ts +0 -84
- package/dist/esm/models/operations/listchapters.d.ts.map +0 -1
- package/dist/esm/models/operations/listchapters.js +0 -72
- package/dist/esm/models/operations/listchapters.js.map +0 -1
- package/dist/esm/models/operations/listevents.d.ts +0 -74
- package/dist/esm/models/operations/listevents.d.ts.map +0 -1
- package/dist/esm/models/operations/listevents.js +0 -68
- package/dist/esm/models/operations/listevents.js.map +0 -1
- package/dist/esm/models/operations/listorganizations.d.ts +0 -79
- package/dist/esm/models/operations/listorganizations.d.ts.map +0 -1
- package/dist/esm/models/operations/listorganizations.js +0 -70
- package/dist/esm/models/operations/listorganizations.js.map +0 -1
- package/dist/esm/models/operations/listprojects.d.ts +0 -80
- package/dist/esm/models/operations/listprojects.d.ts.map +0 -1
- package/dist/esm/models/operations/listprojects.js +0 -71
- package/dist/esm/models/operations/listprojects.js.map +0 -1
- package/src/models/operations/getchapter.ts +0 -66
- package/src/models/operations/getmember.ts +0 -66
- package/src/models/operations/listchapters.ts +0 -136
- package/src/models/operations/listevents.ts +0 -122
- package/src/models/operations/listorganizations.ts +0 -131
- 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
|
+
}
|