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,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type AppsApiRestV0OrganizationGetOrganizationRequest = {
|
|
12
|
+
organizationId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema:
|
|
17
|
+
z.ZodType<
|
|
18
|
+
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
organization_id: z.string(),
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"organization_id": "organizationId",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type AppsApiRestV0OrganizationGetOrganizationRequest$Outbound = {
|
|
31
|
+
organization_id: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema:
|
|
36
|
+
z.ZodType<
|
|
37
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
AppsApiRestV0OrganizationGetOrganizationRequest
|
|
40
|
+
> = z.object({
|
|
41
|
+
organizationId: z.string(),
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return remap$(v, {
|
|
44
|
+
organizationId: "organization_id",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
+
*/
|
|
52
|
+
export namespace AppsApiRestV0OrganizationGetOrganizationRequest$ {
|
|
53
|
+
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema` instead. */
|
|
54
|
+
export const inboundSchema =
|
|
55
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema;
|
|
56
|
+
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema =
|
|
58
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema;
|
|
59
|
+
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$Outbound` instead. */
|
|
60
|
+
export type Outbound =
|
|
61
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$Outbound;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function appsApiRestV0OrganizationGetOrganizationRequestToJSON(
|
|
65
|
+
appsApiRestV0OrganizationGetOrganizationRequest:
|
|
66
|
+
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema.parse(
|
|
70
|
+
appsApiRestV0OrganizationGetOrganizationRequest,
|
|
71
|
+
),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function appsApiRestV0OrganizationGetOrganizationRequestFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<
|
|
78
|
+
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
79
|
+
SDKValidationError
|
|
80
|
+
> {
|
|
81
|
+
return safeParse(
|
|
82
|
+
jsonString,
|
|
83
|
+
(x) =>
|
|
84
|
+
AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema.parse(
|
|
85
|
+
JSON.parse(x),
|
|
86
|
+
),
|
|
87
|
+
`Failed to parse 'AppsApiRestV0OrganizationGetOrganizationRequest' from JSON`,
|
|
88
|
+
);
|
|
89
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Ordering field
|
|
14
|
+
*/
|
|
15
|
+
export const AppsApiRestV0OrganizationListOrganizationOrdering = {
|
|
16
|
+
CreatedAt: "created_at",
|
|
17
|
+
MinusCreatedAt: "-created_at",
|
|
18
|
+
UpdatedAt: "updated_at",
|
|
19
|
+
MinusUpdatedAt: "-updated_at",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Ordering field
|
|
23
|
+
*/
|
|
24
|
+
export type AppsApiRestV0OrganizationListOrganizationOrdering = ClosedEnum<
|
|
25
|
+
typeof AppsApiRestV0OrganizationListOrganizationOrdering
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type AppsApiRestV0OrganizationListOrganizationRequest = {
|
|
29
|
+
/**
|
|
30
|
+
* Location of the organization
|
|
31
|
+
*/
|
|
32
|
+
location?: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Ordering field
|
|
35
|
+
*/
|
|
36
|
+
ordering?:
|
|
37
|
+
| AppsApiRestV0OrganizationListOrganizationOrdering
|
|
38
|
+
| null
|
|
39
|
+
| undefined;
|
|
40
|
+
page?: number | undefined;
|
|
41
|
+
pageSize?: number | null | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema:
|
|
46
|
+
z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> = z
|
|
47
|
+
.nativeEnum(AppsApiRestV0OrganizationListOrganizationOrdering);
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema:
|
|
51
|
+
z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> =
|
|
52
|
+
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export namespace AppsApiRestV0OrganizationListOrganizationOrdering$ {
|
|
59
|
+
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema` instead. */
|
|
60
|
+
export const inboundSchema =
|
|
61
|
+
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
|
|
62
|
+
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema` instead. */
|
|
63
|
+
export const outboundSchema =
|
|
64
|
+
AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema:
|
|
69
|
+
z.ZodType<
|
|
70
|
+
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
unknown
|
|
73
|
+
> = z.object({
|
|
74
|
+
location: z.nullable(z.string()).optional(),
|
|
75
|
+
ordering: z.nullable(
|
|
76
|
+
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema,
|
|
77
|
+
).optional(),
|
|
78
|
+
page: z.number().int().default(1),
|
|
79
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
80
|
+
}).transform((v) => {
|
|
81
|
+
return remap$(v, {
|
|
82
|
+
"page_size": "pageSize",
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type AppsApiRestV0OrganizationListOrganizationRequest$Outbound = {
|
|
88
|
+
location?: string | null | undefined;
|
|
89
|
+
ordering?: string | null | undefined;
|
|
90
|
+
page: number;
|
|
91
|
+
page_size?: number | null | undefined;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/** @internal */
|
|
95
|
+
export const AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema:
|
|
96
|
+
z.ZodType<
|
|
97
|
+
AppsApiRestV0OrganizationListOrganizationRequest$Outbound,
|
|
98
|
+
z.ZodTypeDef,
|
|
99
|
+
AppsApiRestV0OrganizationListOrganizationRequest
|
|
100
|
+
> = z.object({
|
|
101
|
+
location: z.nullable(z.string()).optional(),
|
|
102
|
+
ordering: z.nullable(
|
|
103
|
+
AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema,
|
|
104
|
+
).optional(),
|
|
105
|
+
page: z.number().int().default(1),
|
|
106
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
107
|
+
}).transform((v) => {
|
|
108
|
+
return remap$(v, {
|
|
109
|
+
pageSize: "page_size",
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
+
*/
|
|
117
|
+
export namespace AppsApiRestV0OrganizationListOrganizationRequest$ {
|
|
118
|
+
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema` instead. */
|
|
119
|
+
export const inboundSchema =
|
|
120
|
+
AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema;
|
|
121
|
+
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema` instead. */
|
|
122
|
+
export const outboundSchema =
|
|
123
|
+
AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema;
|
|
124
|
+
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$Outbound` instead. */
|
|
125
|
+
export type Outbound =
|
|
126
|
+
AppsApiRestV0OrganizationListOrganizationRequest$Outbound;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function appsApiRestV0OrganizationListOrganizationRequestToJSON(
|
|
130
|
+
appsApiRestV0OrganizationListOrganizationRequest:
|
|
131
|
+
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
132
|
+
): string {
|
|
133
|
+
return JSON.stringify(
|
|
134
|
+
AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema.parse(
|
|
135
|
+
appsApiRestV0OrganizationListOrganizationRequest,
|
|
136
|
+
),
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function appsApiRestV0OrganizationListOrganizationRequestFromJSON(
|
|
141
|
+
jsonString: string,
|
|
142
|
+
): SafeParseResult<
|
|
143
|
+
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
144
|
+
SDKValidationError
|
|
145
|
+
> {
|
|
146
|
+
return safeParse(
|
|
147
|
+
jsonString,
|
|
148
|
+
(x) =>
|
|
149
|
+
AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema.parse(
|
|
150
|
+
JSON.parse(x),
|
|
151
|
+
),
|
|
152
|
+
`Failed to parse 'AppsApiRestV0OrganizationListOrganizationRequest' from JSON`,
|
|
153
|
+
);
|
|
154
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type AppsApiRestV0ProjectGetProjectRequest = {
|
|
12
|
+
projectId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const AppsApiRestV0ProjectGetProjectRequest$inboundSchema: z.ZodType<
|
|
17
|
+
AppsApiRestV0ProjectGetProjectRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
project_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"project_id": "projectId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type AppsApiRestV0ProjectGetProjectRequest$Outbound = {
|
|
30
|
+
project_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const AppsApiRestV0ProjectGetProjectRequest$outboundSchema: z.ZodType<
|
|
35
|
+
AppsApiRestV0ProjectGetProjectRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
AppsApiRestV0ProjectGetProjectRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
projectId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
projectId: "project_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace AppsApiRestV0ProjectGetProjectRequest$ {
|
|
51
|
+
/** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema =
|
|
53
|
+
AppsApiRestV0ProjectGetProjectRequest$inboundSchema;
|
|
54
|
+
/** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema =
|
|
56
|
+
AppsApiRestV0ProjectGetProjectRequest$outboundSchema;
|
|
57
|
+
/** @deprecated use `AppsApiRestV0ProjectGetProjectRequest$Outbound` instead. */
|
|
58
|
+
export type Outbound = AppsApiRestV0ProjectGetProjectRequest$Outbound;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function appsApiRestV0ProjectGetProjectRequestToJSON(
|
|
62
|
+
appsApiRestV0ProjectGetProjectRequest: AppsApiRestV0ProjectGetProjectRequest,
|
|
63
|
+
): string {
|
|
64
|
+
return JSON.stringify(
|
|
65
|
+
AppsApiRestV0ProjectGetProjectRequest$outboundSchema.parse(
|
|
66
|
+
appsApiRestV0ProjectGetProjectRequest,
|
|
67
|
+
),
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function appsApiRestV0ProjectGetProjectRequestFromJSON(
|
|
72
|
+
jsonString: string,
|
|
73
|
+
): SafeParseResult<AppsApiRestV0ProjectGetProjectRequest, SDKValidationError> {
|
|
74
|
+
return safeParse(
|
|
75
|
+
jsonString,
|
|
76
|
+
(x) =>
|
|
77
|
+
AppsApiRestV0ProjectGetProjectRequest$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'AppsApiRestV0ProjectGetProjectRequest' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import * as models from "../index.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Ordering field
|
|
15
|
+
*/
|
|
16
|
+
export const AppsApiRestV0ProjectListProjectsOrdering = {
|
|
17
|
+
CreatedAt: "created_at",
|
|
18
|
+
MinusCreatedAt: "-created_at",
|
|
19
|
+
UpdatedAt: "updated_at",
|
|
20
|
+
MinusUpdatedAt: "-updated_at",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Ordering field
|
|
24
|
+
*/
|
|
25
|
+
export type AppsApiRestV0ProjectListProjectsOrdering = ClosedEnum<
|
|
26
|
+
typeof AppsApiRestV0ProjectListProjectsOrdering
|
|
27
|
+
>;
|
|
28
|
+
|
|
29
|
+
export type AppsApiRestV0ProjectListProjectsRequest = {
|
|
30
|
+
/**
|
|
31
|
+
* Level of the project
|
|
32
|
+
*/
|
|
33
|
+
level?: models.ProjectLevel | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Ordering field
|
|
36
|
+
*/
|
|
37
|
+
ordering?: AppsApiRestV0ProjectListProjectsOrdering | null | undefined;
|
|
38
|
+
page?: number | undefined;
|
|
39
|
+
pageSize?: number | null | undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const AppsApiRestV0ProjectListProjectsOrdering$inboundSchema:
|
|
44
|
+
z.ZodNativeEnum<typeof AppsApiRestV0ProjectListProjectsOrdering> = z
|
|
45
|
+
.nativeEnum(AppsApiRestV0ProjectListProjectsOrdering);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const AppsApiRestV0ProjectListProjectsOrdering$outboundSchema:
|
|
49
|
+
z.ZodNativeEnum<typeof AppsApiRestV0ProjectListProjectsOrdering> =
|
|
50
|
+
AppsApiRestV0ProjectListProjectsOrdering$inboundSchema;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export namespace AppsApiRestV0ProjectListProjectsOrdering$ {
|
|
57
|
+
/** @deprecated use `AppsApiRestV0ProjectListProjectsOrdering$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema =
|
|
59
|
+
AppsApiRestV0ProjectListProjectsOrdering$inboundSchema;
|
|
60
|
+
/** @deprecated use `AppsApiRestV0ProjectListProjectsOrdering$outboundSchema` instead. */
|
|
61
|
+
export const outboundSchema =
|
|
62
|
+
AppsApiRestV0ProjectListProjectsOrdering$outboundSchema;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const AppsApiRestV0ProjectListProjectsRequest$inboundSchema: z.ZodType<
|
|
67
|
+
AppsApiRestV0ProjectListProjectsRequest,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
unknown
|
|
70
|
+
> = z.object({
|
|
71
|
+
level: z.nullable(models.ProjectLevel$inboundSchema).optional(),
|
|
72
|
+
ordering: z.nullable(AppsApiRestV0ProjectListProjectsOrdering$inboundSchema)
|
|
73
|
+
.optional(),
|
|
74
|
+
page: z.number().int().default(1),
|
|
75
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
76
|
+
}).transform((v) => {
|
|
77
|
+
return remap$(v, {
|
|
78
|
+
"page_size": "pageSize",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export type AppsApiRestV0ProjectListProjectsRequest$Outbound = {
|
|
84
|
+
level?: string | null | undefined;
|
|
85
|
+
ordering?: string | null | undefined;
|
|
86
|
+
page: number;
|
|
87
|
+
page_size?: number | null | undefined;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const AppsApiRestV0ProjectListProjectsRequest$outboundSchema: z.ZodType<
|
|
92
|
+
AppsApiRestV0ProjectListProjectsRequest$Outbound,
|
|
93
|
+
z.ZodTypeDef,
|
|
94
|
+
AppsApiRestV0ProjectListProjectsRequest
|
|
95
|
+
> = z.object({
|
|
96
|
+
level: z.nullable(models.ProjectLevel$outboundSchema).optional(),
|
|
97
|
+
ordering: z.nullable(AppsApiRestV0ProjectListProjectsOrdering$outboundSchema)
|
|
98
|
+
.optional(),
|
|
99
|
+
page: z.number().int().default(1),
|
|
100
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
pageSize: "page_size",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace AppsApiRestV0ProjectListProjectsRequest$ {
|
|
112
|
+
/** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema =
|
|
114
|
+
AppsApiRestV0ProjectListProjectsRequest$inboundSchema;
|
|
115
|
+
/** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema =
|
|
117
|
+
AppsApiRestV0ProjectListProjectsRequest$outboundSchema;
|
|
118
|
+
/** @deprecated use `AppsApiRestV0ProjectListProjectsRequest$Outbound` instead. */
|
|
119
|
+
export type Outbound = AppsApiRestV0ProjectListProjectsRequest$Outbound;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function appsApiRestV0ProjectListProjectsRequestToJSON(
|
|
123
|
+
appsApiRestV0ProjectListProjectsRequest:
|
|
124
|
+
AppsApiRestV0ProjectListProjectsRequest,
|
|
125
|
+
): string {
|
|
126
|
+
return JSON.stringify(
|
|
127
|
+
AppsApiRestV0ProjectListProjectsRequest$outboundSchema.parse(
|
|
128
|
+
appsApiRestV0ProjectListProjectsRequest,
|
|
129
|
+
),
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function appsApiRestV0ProjectListProjectsRequestFromJSON(
|
|
134
|
+
jsonString: string,
|
|
135
|
+
): SafeParseResult<
|
|
136
|
+
AppsApiRestV0ProjectListProjectsRequest,
|
|
137
|
+
SDKValidationError
|
|
138
|
+
> {
|
|
139
|
+
return safeParse(
|
|
140
|
+
jsonString,
|
|
141
|
+
(x) =>
|
|
142
|
+
AppsApiRestV0ProjectListProjectsRequest$inboundSchema.parse(
|
|
143
|
+
JSON.parse(x),
|
|
144
|
+
),
|
|
145
|
+
`Failed to parse 'AppsApiRestV0ProjectListProjectsRequest' from JSON`,
|
|
146
|
+
);
|
|
147
|
+
}
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
5
|
+
export * from "./appsapirestv0chaptergetchapter.js";
|
|
6
|
+
export * from "./appsapirestv0chapterlistchapters.js";
|
|
7
|
+
export * from "./appsapirestv0committeegetchapter.js";
|
|
8
|
+
export * from "./appsapirestv0eventlistevents.js";
|
|
9
|
+
export * from "./appsapirestv0membergetmember.js";
|
|
10
|
+
export * from "./appsapirestv0organizationgetorganization.js";
|
|
11
|
+
export * from "./appsapirestv0organizationlistorganization.js";
|
|
12
|
+
export * from "./appsapirestv0projectgetproject.js";
|
|
13
|
+
export * from "./appsapirestv0projectlistprojects.js";
|
|
8
14
|
export * from "./listcommittees.js";
|
|
9
|
-
export * from "./listevents.js";
|
|
10
15
|
export * from "./listissues.js";
|
|
11
16
|
export * from "./listmembers.js";
|
|
12
|
-
export * from "./listorganizations.js";
|
|
13
|
-
export * from "./listprojects.js";
|
|
14
17
|
export * from "./listreleases.js";
|
|
15
18
|
export * from "./listrepositories.js";
|
package/src/sdk/chapters.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { chaptersAppsApiRestV0ChapterGetChapter } from "../funcs/chaptersAppsApiRestV0ChapterGetChapter.js";
|
|
6
|
+
import { chaptersAppsApiRestV0ChapterListChapters } from "../funcs/chaptersAppsApiRestV0ChapterListChapters.js";
|
|
7
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
8
|
import * as models from "../models/index.js";
|
|
9
9
|
import * as operations from "../models/operations/index.js";
|
|
@@ -16,11 +16,11 @@ export class Chapters extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Retrieve a paginated list of OWASP chapters.
|
|
18
18
|
*/
|
|
19
|
-
async
|
|
20
|
-
request?: operations.
|
|
19
|
+
async appsApiRestV0ChapterListChapters(
|
|
20
|
+
request?: operations.AppsApiRestV0ChapterListChaptersRequest | undefined,
|
|
21
21
|
options?: RequestOptions,
|
|
22
22
|
): Promise<models.PagedChapterSchema> {
|
|
23
|
-
return unwrapAsync(
|
|
23
|
+
return unwrapAsync(chaptersAppsApiRestV0ChapterListChapters(
|
|
24
24
|
this,
|
|
25
25
|
request,
|
|
26
26
|
options,
|
|
@@ -33,11 +33,11 @@ export class Chapters extends ClientSDK {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Retrieve chapter details.
|
|
35
35
|
*/
|
|
36
|
-
async
|
|
37
|
-
request: operations.
|
|
36
|
+
async appsApiRestV0ChapterGetChapter(
|
|
37
|
+
request: operations.AppsApiRestV0ChapterGetChapterRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): Promise<models.ChapterSchema> {
|
|
40
|
-
return unwrapAsync(
|
|
40
|
+
return unwrapAsync(chaptersAppsApiRestV0ChapterGetChapter(
|
|
41
41
|
this,
|
|
42
42
|
request,
|
|
43
43
|
options,
|
package/src/sdk/committees.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { committeesAppsApiRestV0CommitteeGetChapter } from "../funcs/committeesAppsApiRestV0CommitteeGetChapter.js";
|
|
5
6
|
import { committeesListCommittees } from "../funcs/committeesListCommittees.js";
|
|
6
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
8
|
import * as models from "../models/index.js";
|
|
@@ -25,4 +26,21 @@ export class Committees extends ClientSDK {
|
|
|
25
26
|
options,
|
|
26
27
|
));
|
|
27
28
|
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Get committee
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Retrieve committee details.
|
|
35
|
+
*/
|
|
36
|
+
async appsApiRestV0CommitteeGetChapter(
|
|
37
|
+
request: operations.AppsApiRestV0CommitteeGetChapterRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<models.CommitteeSchema> {
|
|
40
|
+
return unwrapAsync(committeesAppsApiRestV0CommitteeGetChapter(
|
|
41
|
+
this,
|
|
42
|
+
request,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
28
46
|
}
|
package/src/sdk/community.ts
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { communityAppsApiRestV0MemberGetMember } from "../funcs/communityAppsApiRestV0MemberGetMember.js";
|
|
6
|
+
import { communityAppsApiRestV0OrganizationGetOrganization } from "../funcs/communityAppsApiRestV0OrganizationGetOrganization.js";
|
|
7
|
+
import { communityAppsApiRestV0OrganizationListOrganization } from "../funcs/communityAppsApiRestV0OrganizationListOrganization.js";
|
|
6
8
|
import { communityListMembers } from "../funcs/communityListMembers.js";
|
|
7
|
-
import { communityListOrganizations } from "../funcs/communityListOrganizations.js";
|
|
8
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
10
|
import * as models from "../models/index.js";
|
|
10
11
|
import * as operations from "../models/operations/index.js";
|
|
@@ -29,16 +30,16 @@ export class Community extends ClientSDK {
|
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
|
-
* Get member
|
|
33
|
+
* Get member
|
|
33
34
|
*
|
|
34
35
|
* @remarks
|
|
35
|
-
* Retrieve
|
|
36
|
+
* Retrieve member details.
|
|
36
37
|
*/
|
|
37
|
-
async
|
|
38
|
-
request: operations.
|
|
38
|
+
async appsApiRestV0MemberGetMember(
|
|
39
|
+
request: operations.AppsApiRestV0MemberGetMemberRequest,
|
|
39
40
|
options?: RequestOptions,
|
|
40
41
|
): Promise<models.MemberSchema> {
|
|
41
|
-
return unwrapAsync(
|
|
42
|
+
return unwrapAsync(communityAppsApiRestV0MemberGetMember(
|
|
42
43
|
this,
|
|
43
44
|
request,
|
|
44
45
|
options,
|
|
@@ -51,11 +52,30 @@ export class Community extends ClientSDK {
|
|
|
51
52
|
* @remarks
|
|
52
53
|
* Retrieve a paginated list of GitHub organizations.
|
|
53
54
|
*/
|
|
54
|
-
async
|
|
55
|
-
request?:
|
|
55
|
+
async appsApiRestV0OrganizationListOrganization(
|
|
56
|
+
request?:
|
|
57
|
+
| operations.AppsApiRestV0OrganizationListOrganizationRequest
|
|
58
|
+
| undefined,
|
|
56
59
|
options?: RequestOptions,
|
|
57
60
|
): Promise<models.PagedOrganizationSchema> {
|
|
58
|
-
return unwrapAsync(
|
|
61
|
+
return unwrapAsync(communityAppsApiRestV0OrganizationListOrganization(
|
|
62
|
+
this,
|
|
63
|
+
request,
|
|
64
|
+
options,
|
|
65
|
+
));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Get organization
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* Retrieve project details.
|
|
73
|
+
*/
|
|
74
|
+
async appsApiRestV0OrganizationGetOrganization(
|
|
75
|
+
request: operations.AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
76
|
+
options?: RequestOptions,
|
|
77
|
+
): Promise<models.OrganizationSchema> {
|
|
78
|
+
return unwrapAsync(communityAppsApiRestV0OrganizationGetOrganization(
|
|
59
79
|
this,
|
|
60
80
|
request,
|
|
61
81
|
options,
|
package/src/sdk/events.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { eventsAppsApiRestV0EventListEvents } from "../funcs/eventsAppsApiRestV0EventListEvents.js";
|
|
6
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
7
|
import * as models from "../models/index.js";
|
|
8
8
|
import * as operations from "../models/operations/index.js";
|
|
@@ -15,11 +15,11 @@ export class Events extends ClientSDK {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Retrieve a paginated list of OWASP events.
|
|
17
17
|
*/
|
|
18
|
-
async
|
|
19
|
-
request?: operations.
|
|
18
|
+
async appsApiRestV0EventListEvents(
|
|
19
|
+
request?: operations.AppsApiRestV0EventListEventsRequest | undefined,
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): Promise<models.PagedEventSchema> {
|
|
22
|
-
return unwrapAsync(
|
|
22
|
+
return unwrapAsync(eventsAppsApiRestV0EventListEvents(
|
|
23
23
|
this,
|
|
24
24
|
request,
|
|
25
25
|
options,
|