owasp-nest 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +7 -4
- package/README.md +49 -34
- package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterGetChapter.d.ts → chaptersGetChapter.d.ts} +2 -2
- package/dist/commonjs/funcs/chaptersGetChapter.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterGetChapter.js → chaptersGetChapter.js} +8 -8
- package/dist/commonjs/funcs/chaptersGetChapter.js.map +1 -0
- package/dist/{esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts → commonjs/funcs/chaptersListChapters.d.ts} +4 -4
- package/dist/commonjs/funcs/chaptersListChapters.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersAppsApiRestV0ChapterListChapters.js → chaptersListChapters.js} +8 -9
- package/dist/commonjs/funcs/chaptersListChapters.js.map +1 -0
- package/dist/{esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts → commonjs/funcs/committeesGetCommittee.d.ts} +2 -2
- package/dist/commonjs/funcs/committeesGetCommittee.d.ts.map +1 -0
- package/dist/commonjs/funcs/{committeesAppsApiRestV0CommitteeGetChapter.js → committeesGetCommittee.js} +8 -8
- package/dist/commonjs/funcs/committeesGetCommittee.js.map +1 -0
- package/dist/commonjs/funcs/committeesListCommittees.js +3 -3
- package/dist/commonjs/funcs/committeesListCommittees.js.map +1 -1
- package/dist/{esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts → commonjs/funcs/communityGetMember.d.ts} +2 -2
- package/dist/commonjs/funcs/communityGetMember.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityAppsApiRestV0MemberGetMember.js → communityGetMember.js} +8 -8
- package/dist/commonjs/funcs/communityGetMember.js.map +1 -0
- package/dist/{esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts → commonjs/funcs/communityGetOrganization.d.ts} +2 -2
- package/dist/commonjs/funcs/communityGetOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationGetOrganization.js → communityGetOrganization.js} +8 -9
- package/dist/commonjs/funcs/communityGetOrganization.js.map +1 -0
- package/dist/commonjs/funcs/communityListMembers.js +3 -3
- package/dist/commonjs/funcs/communityListMembers.js.map +1 -1
- package/dist/commonjs/funcs/communityListOrganizations.d.ts +18 -0
- package/dist/commonjs/funcs/communityListOrganizations.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationListOrganization.js → communityListOrganizations.js} +8 -9
- package/dist/commonjs/funcs/communityListOrganizations.js.map +1 -0
- package/dist/{esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts → commonjs/funcs/eventsListEvents.d.ts} +2 -2
- package/dist/commonjs/funcs/eventsListEvents.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsAppsApiRestV0EventListEvents.js → eventsListEvents.js} +8 -9
- package/dist/commonjs/funcs/eventsListEvents.js.map +1 -0
- package/dist/commonjs/funcs/issuesListIssues.js +3 -3
- package/dist/commonjs/funcs/issuesListIssues.js.map +1 -1
- package/dist/{esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts → commonjs/funcs/projectsGetProject.d.ts} +2 -2
- package/dist/commonjs/funcs/projectsGetProject.d.ts.map +1 -0
- package/dist/commonjs/funcs/{projectsAppsApiRestV0ProjectGetProject.js → projectsGetProject.js} +8 -8
- package/dist/commonjs/funcs/projectsGetProject.js.map +1 -0
- package/dist/commonjs/funcs/{communityAppsApiRestV0OrganizationListOrganization.d.ts → projectsListProjects.d.ts} +4 -4
- package/dist/commonjs/funcs/projectsListProjects.d.ts.map +1 -0
- package/dist/commonjs/funcs/{projectsAppsApiRestV0ProjectListProjects.js → projectsListProjects.js} +8 -9
- package/dist/commonjs/funcs/projectsListProjects.js.map +1 -0
- package/dist/commonjs/funcs/releasesListReleases.js +3 -3
- package/dist/commonjs/funcs/releasesListReleases.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesListRepositories.js +3 -3
- package/dist/commonjs/funcs/repositoriesListRepositories.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/env.d.ts +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +1 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/lib/security.js +1 -1
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/operations/getchapter.d.ts +29 -0
- package/dist/commonjs/models/operations/getchapter.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{appsapirestv0chaptergetchapter.js → getchapter.js} +17 -17
- package/dist/commonjs/models/operations/getchapter.js.map +1 -0
- package/dist/commonjs/models/operations/getcommittee.d.ts +29 -0
- package/dist/commonjs/models/operations/getcommittee.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{appsapirestv0committeegetchapter.js → getcommittee.js} +17 -17
- package/dist/commonjs/models/operations/getcommittee.js.map +1 -0
- package/dist/commonjs/models/operations/getmember.d.ts +29 -0
- package/dist/commonjs/models/operations/getmember.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{appsapirestv0membergetmember.js → getmember.js} +17 -17
- package/dist/commonjs/models/operations/getmember.js.map +1 -0
- package/dist/commonjs/models/operations/getorganization.d.ts +29 -0
- package/dist/commonjs/models/operations/getorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{appsapirestv0organizationgetorganization.js → getorganization.js} +17 -17
- package/dist/commonjs/models/operations/getorganization.js.map +1 -0
- package/dist/commonjs/models/operations/getproject.d.ts +29 -0
- package/dist/commonjs/models/operations/getproject.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{appsapirestv0projectgetproject.js → getproject.js} +17 -17
- package/dist/commonjs/models/operations/getproject.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -9
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -9
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listchapters.d.ts +84 -0
- package/dist/commonjs/models/operations/listchapters.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listchapters.js +110 -0
- package/dist/commonjs/models/operations/listchapters.js.map +1 -0
- package/dist/commonjs/models/operations/listevents.d.ts +74 -0
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listevents.js +106 -0
- package/dist/commonjs/models/operations/listevents.js.map +1 -0
- package/dist/commonjs/models/operations/listorganizations.d.ts +79 -0
- package/dist/commonjs/models/operations/listorganizations.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listorganizations.js +108 -0
- package/dist/commonjs/models/operations/listorganizations.js.map +1 -0
- package/dist/commonjs/models/operations/listprojects.d.ts +80 -0
- package/dist/commonjs/models/operations/listprojects.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listprojects.js +109 -0
- package/dist/commonjs/models/operations/listprojects.js.map +1 -0
- package/dist/commonjs/models/security.d.ts +2 -2
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +4 -4
- package/dist/commonjs/models/security.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 +1 -1
- package/dist/commonjs/sdk/committees.d.ts.map +1 -1
- package/dist/commonjs/sdk/committees.js +3 -3
- package/dist/commonjs/sdk/committees.js.map +1 -1
- package/dist/commonjs/sdk/community.d.ts +3 -3
- package/dist/commonjs/sdk/community.d.ts.map +1 -1
- package/dist/commonjs/sdk/community.js +9 -9
- 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 +2 -2
- package/dist/commonjs/sdk/projects.d.ts.map +1 -1
- package/dist/commonjs/sdk/projects.js +6 -6
- package/dist/commonjs/sdk/projects.js.map +1 -1
- package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterGetChapter.d.ts → chaptersGetChapter.d.ts} +2 -2
- package/dist/esm/funcs/chaptersGetChapter.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterGetChapter.js → chaptersGetChapter.js} +7 -7
- package/dist/esm/funcs/chaptersGetChapter.js.map +1 -0
- package/dist/{commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts → esm/funcs/chaptersListChapters.d.ts} +2 -2
- package/dist/esm/funcs/chaptersListChapters.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersAppsApiRestV0ChapterListChapters.js → chaptersListChapters.js} +7 -8
- package/dist/esm/funcs/chaptersListChapters.js.map +1 -0
- package/dist/{commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts → esm/funcs/committeesGetCommittee.d.ts} +2 -2
- package/dist/esm/funcs/committeesGetCommittee.d.ts.map +1 -0
- package/dist/esm/funcs/{committeesAppsApiRestV0CommitteeGetChapter.js → committeesGetCommittee.js} +7 -7
- package/dist/esm/funcs/committeesGetCommittee.js.map +1 -0
- package/dist/esm/funcs/committeesListCommittees.js +3 -3
- package/dist/esm/funcs/committeesListCommittees.js.map +1 -1
- package/dist/{commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts → esm/funcs/communityGetMember.d.ts} +2 -2
- package/dist/esm/funcs/communityGetMember.d.ts.map +1 -0
- package/dist/esm/funcs/{communityAppsApiRestV0MemberGetMember.js → communityGetMember.js} +7 -7
- package/dist/esm/funcs/communityGetMember.js.map +1 -0
- package/dist/{commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts → esm/funcs/communityGetOrganization.d.ts} +2 -2
- package/dist/esm/funcs/communityGetOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/{communityAppsApiRestV0OrganizationGetOrganization.js → communityGetOrganization.js} +7 -8
- package/dist/esm/funcs/communityGetOrganization.js.map +1 -0
- package/dist/esm/funcs/communityListMembers.js +3 -3
- package/dist/esm/funcs/communityListMembers.js.map +1 -1
- package/dist/esm/funcs/communityListOrganizations.d.ts +18 -0
- package/dist/esm/funcs/communityListOrganizations.d.ts.map +1 -0
- package/dist/esm/funcs/{communityAppsApiRestV0OrganizationListOrganization.js → communityListOrganizations.js} +7 -8
- package/dist/esm/funcs/communityListOrganizations.js.map +1 -0
- package/dist/{commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts → esm/funcs/eventsListEvents.d.ts} +2 -2
- package/dist/esm/funcs/eventsListEvents.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsAppsApiRestV0EventListEvents.js → eventsListEvents.js} +7 -8
- package/dist/esm/funcs/eventsListEvents.js.map +1 -0
- package/dist/esm/funcs/issuesListIssues.js +3 -3
- package/dist/esm/funcs/issuesListIssues.js.map +1 -1
- package/dist/{commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts → esm/funcs/projectsGetProject.d.ts} +2 -2
- package/dist/esm/funcs/projectsGetProject.d.ts.map +1 -0
- package/dist/esm/funcs/{projectsAppsApiRestV0ProjectGetProject.js → projectsGetProject.js} +7 -7
- package/dist/esm/funcs/projectsGetProject.js.map +1 -0
- package/dist/esm/funcs/{projectsAppsApiRestV0ProjectListProjects.d.ts → projectsListProjects.d.ts} +2 -2
- package/dist/esm/funcs/projectsListProjects.d.ts.map +1 -0
- package/dist/esm/funcs/{projectsAppsApiRestV0ProjectListProjects.js → projectsListProjects.js} +7 -8
- package/dist/esm/funcs/projectsListProjects.js.map +1 -0
- package/dist/esm/funcs/releasesListReleases.js +3 -3
- package/dist/esm/funcs/releasesListReleases.js.map +1 -1
- package/dist/esm/funcs/repositoriesListRepositories.js +3 -3
- package/dist/esm/funcs/repositoriesListRepositories.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/env.d.ts +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +1 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/lib/security.js +1 -1
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/operations/getchapter.d.ts +29 -0
- package/dist/esm/models/operations/getchapter.d.ts.map +1 -0
- package/dist/esm/models/operations/getchapter.js +40 -0
- package/dist/esm/models/operations/getchapter.js.map +1 -0
- package/dist/esm/models/operations/getcommittee.d.ts +29 -0
- package/dist/esm/models/operations/getcommittee.d.ts.map +1 -0
- package/dist/esm/models/operations/getcommittee.js +40 -0
- package/dist/esm/models/operations/getcommittee.js.map +1 -0
- package/dist/esm/models/operations/getmember.d.ts +29 -0
- package/dist/esm/models/operations/getmember.d.ts.map +1 -0
- package/dist/esm/models/operations/getmember.js +40 -0
- package/dist/esm/models/operations/getmember.js.map +1 -0
- package/dist/esm/models/operations/getorganization.d.ts +29 -0
- package/dist/esm/models/operations/getorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/getorganization.js +40 -0
- package/dist/esm/models/operations/getorganization.js.map +1 -0
- package/dist/esm/models/operations/getproject.d.ts +29 -0
- package/dist/esm/models/operations/getproject.d.ts.map +1 -0
- package/dist/esm/models/operations/getproject.js +40 -0
- package/dist/esm/models/operations/getproject.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -9
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -9
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listchapters.d.ts +84 -0
- package/dist/esm/models/operations/listchapters.d.ts.map +1 -0
- package/dist/esm/models/operations/listchapters.js +72 -0
- package/dist/esm/models/operations/listchapters.js.map +1 -0
- package/dist/esm/models/operations/listevents.d.ts +74 -0
- package/dist/esm/models/operations/listevents.d.ts.map +1 -0
- package/dist/esm/models/operations/listevents.js +68 -0
- package/dist/esm/models/operations/listevents.js.map +1 -0
- package/dist/esm/models/operations/listorganizations.d.ts +79 -0
- package/dist/esm/models/operations/listorganizations.d.ts.map +1 -0
- package/dist/esm/models/operations/listorganizations.js +70 -0
- package/dist/esm/models/operations/listorganizations.js.map +1 -0
- package/dist/esm/models/operations/listprojects.d.ts +80 -0
- package/dist/esm/models/operations/listprojects.d.ts.map +1 -0
- package/dist/esm/models/operations/listprojects.js +71 -0
- package/dist/esm/models/operations/listprojects.js.map +1 -0
- package/dist/esm/models/security.d.ts +2 -2
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +4 -4
- package/dist/esm/models/security.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 +1 -1
- package/dist/esm/sdk/committees.d.ts.map +1 -1
- package/dist/esm/sdk/committees.js +3 -3
- package/dist/esm/sdk/committees.js.map +1 -1
- package/dist/esm/sdk/community.d.ts +3 -3
- package/dist/esm/sdk/community.d.ts.map +1 -1
- package/dist/esm/sdk/community.js +9 -9
- 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 +2 -2
- package/dist/esm/sdk/projects.d.ts.map +1 -1
- package/dist/esm/sdk/projects.js +6 -6
- package/dist/esm/sdk/projects.js.map +1 -1
- package/docs/sdks/chapters/README.md +26 -20
- package/docs/sdks/committees/README.md +12 -12
- package/docs/sdks/community/README.md +32 -32
- package/docs/sdks/events/README.md +10 -10
- package/docs/sdks/issues/README.md +2 -2
- package/docs/sdks/projects/README.md +20 -20
- package/docs/sdks/releases/README.md +2 -2
- package/docs/sdks/repositories/README.md +2 -2
- package/examples/{chaptersAppsApiRestV0ChapterListChapters.example.ts → chaptersListChapters.example.ts} +6 -3
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{chaptersAppsApiRestV0ChapterGetChapter.ts → chaptersGetChapter.ts} +8 -11
- package/src/funcs/{chaptersAppsApiRestV0ChapterListChapters.ts → chaptersListChapters.ts} +8 -9
- package/src/funcs/{committeesAppsApiRestV0CommitteeGetChapter.ts → committeesGetCommittee.ts} +8 -11
- package/src/funcs/committeesListCommittees.ts +3 -3
- package/src/funcs/{communityAppsApiRestV0MemberGetMember.ts → communityGetMember.ts} +8 -11
- package/src/funcs/{communityAppsApiRestV0OrganizationGetOrganization.ts → communityGetOrganization.ts} +8 -10
- package/src/funcs/communityListMembers.ts +3 -3
- package/src/funcs/{communityAppsApiRestV0OrganizationListOrganization.ts → communityListOrganizations.ts} +10 -13
- package/src/funcs/{eventsAppsApiRestV0EventListEvents.ts → eventsListEvents.ts} +8 -9
- package/src/funcs/issuesListIssues.ts +3 -3
- package/src/funcs/{projectsAppsApiRestV0ProjectGetProject.ts → projectsGetProject.ts} +8 -11
- package/src/funcs/{projectsAppsApiRestV0ProjectListProjects.ts → projectsListProjects.ts} +8 -9
- package/src/funcs/releasesListReleases.ts +3 -3
- package/src/funcs/repositoriesListRepositories.ts +3 -3
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +2 -2
- package/src/lib/security.ts +1 -1
- package/src/models/operations/getchapter.ts +75 -0
- package/src/models/operations/getcommittee.ts +75 -0
- package/src/models/operations/getmember.ts +75 -0
- package/src/models/operations/getorganization.ts +75 -0
- package/src/models/operations/getproject.ts +75 -0
- package/src/models/operations/index.ts +9 -9
- package/src/models/operations/listchapters.ts +136 -0
- package/src/models/operations/listevents.ts +122 -0
- package/src/models/operations/listorganizations.ts +131 -0
- package/src/models/operations/listprojects.ts +130 -0
- package/src/models/security.ts +6 -6
- package/src/sdk/chapters.ts +8 -8
- package/src/sdk/committees.ts +4 -4
- package/src/sdk/community.ts +12 -14
- package/src/sdk/events.ts +4 -4
- package/src/sdk/projects.ts +8 -8
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +0 -1
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +0 -1
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +0 -1
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.js.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +0 -1
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.js.map +0 -1
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +0 -1
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +0 -1
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts +0 -18
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +0 -1
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts +0 -29
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts +0 -84
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js +0 -113
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts +0 -29
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts +0 -74
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js +0 -108
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts +0 -29
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts +0 -29
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts +0 -79
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js +0 -109
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts +0 -29
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts +0 -80
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts.map +0 -1
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js +0 -112
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js.map +0 -1
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +0 -1
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts +0 -18
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +0 -1
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +0 -1
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.js.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +0 -1
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +0 -1
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +0 -1
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.js.map +0 -1
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +0 -1
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +0 -1
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +0 -1
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts +0 -29
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js +0 -40
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts +0 -84
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js +0 -75
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts +0 -29
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js +0 -40
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts +0 -74
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js +0 -70
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts +0 -29
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0membergetmember.js +0 -40
- package/dist/esm/models/operations/appsapirestv0membergetmember.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts +0 -29
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js +0 -40
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts +0 -79
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js +0 -71
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts +0 -29
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js +0 -40
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js.map +0 -1
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts +0 -80
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts.map +0 -1
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js +0 -74
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js.map +0 -1
- package/src/models/operations/appsapirestv0chaptergetchapter.ts +0 -80
- package/src/models/operations/appsapirestv0chapterlistchapters.ts +0 -153
- package/src/models/operations/appsapirestv0committeegetchapter.ts +0 -86
- package/src/models/operations/appsapirestv0eventlistevents.ts +0 -134
- package/src/models/operations/appsapirestv0membergetmember.ts +0 -80
- package/src/models/operations/appsapirestv0organizationgetorganization.ts +0 -89
- package/src/models/operations/appsapirestv0organizationlistorganization.ts +0 -154
- package/src/models/operations/appsapirestv0projectgetproject.ts +0 -80
- package/src/models/operations/appsapirestv0projectlistprojects.ts +0 -147
|
@@ -31,9 +31,9 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve a paginated list of OWASP events.
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function eventsListEvents(
|
|
35
35
|
client: NestCore,
|
|
36
|
-
request?: operations.
|
|
36
|
+
request?: operations.ListEventsRequest | undefined,
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
@@ -57,7 +57,7 @@ export function eventsAppsApiRestV0EventListEvents(
|
|
|
57
57
|
|
|
58
58
|
async function $do(
|
|
59
59
|
client: NestCore,
|
|
60
|
-
request?: operations.
|
|
60
|
+
request?: operations.ListEventsRequest | undefined,
|
|
61
61
|
options?: RequestOptions,
|
|
62
62
|
): Promise<
|
|
63
63
|
[
|
|
@@ -78,8 +78,7 @@ async function $do(
|
|
|
78
78
|
const parsed = safeParse(
|
|
79
79
|
request,
|
|
80
80
|
(value) =>
|
|
81
|
-
operations.
|
|
82
|
-
.parse(value),
|
|
81
|
+
operations.ListEventsRequest$outboundSchema.optional().parse(value),
|
|
83
82
|
"Input validation failed",
|
|
84
83
|
);
|
|
85
84
|
if (!parsed.ok) {
|
|
@@ -100,19 +99,19 @@ async function $do(
|
|
|
100
99
|
Accept: "application/json",
|
|
101
100
|
}));
|
|
102
101
|
|
|
103
|
-
const secConfig = await extractSecurity(client._options.
|
|
104
|
-
const securityInput = secConfig == null ? {} : {
|
|
102
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
103
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
105
104
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
105
|
|
|
107
106
|
const context = {
|
|
108
107
|
options: client._options,
|
|
109
108
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
110
|
-
operationID: "
|
|
109
|
+
operationID: "list_events",
|
|
111
110
|
oAuth2Scopes: [],
|
|
112
111
|
|
|
113
112
|
resolvedSecurity: requestSecurity,
|
|
114
113
|
|
|
115
|
-
securitySource: client._options.
|
|
114
|
+
securitySource: client._options.apiKey,
|
|
116
115
|
retryConfig: options?.retries
|
|
117
116
|
|| client._options.retryConfig
|
|
118
117
|
|| { strategy: "none" },
|
|
@@ -100,8 +100,8 @@ async function $do(
|
|
|
100
100
|
Accept: "application/json",
|
|
101
101
|
}));
|
|
102
102
|
|
|
103
|
-
const secConfig = await extractSecurity(client._options.
|
|
104
|
-
const securityInput = secConfig == null ? {} : {
|
|
103
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
104
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
@@ -112,7 +112,7 @@ async function $do(
|
|
|
112
112
|
|
|
113
113
|
resolvedSecurity: requestSecurity,
|
|
114
114
|
|
|
115
|
-
securitySource: client._options.
|
|
115
|
+
securitySource: client._options.apiKey,
|
|
116
116
|
retryConfig: options?.retries
|
|
117
117
|
|| client._options.retryConfig
|
|
118
118
|
|| { strategy: "none" },
|
|
@@ -32,9 +32,9 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve project details.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function projectsGetProject(
|
|
36
36
|
client: NestCore,
|
|
37
|
-
request: operations.
|
|
37
|
+
request: operations.GetProjectRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -59,7 +59,7 @@ export function projectsAppsApiRestV0ProjectGetProject(
|
|
|
59
59
|
|
|
60
60
|
async function $do(
|
|
61
61
|
client: NestCore,
|
|
62
|
-
request: operations.
|
|
62
|
+
request: operations.GetProjectRequest,
|
|
63
63
|
options?: RequestOptions,
|
|
64
64
|
): Promise<
|
|
65
65
|
[
|
|
@@ -80,10 +80,7 @@ async function $do(
|
|
|
80
80
|
> {
|
|
81
81
|
const parsed = safeParse(
|
|
82
82
|
request,
|
|
83
|
-
(value) =>
|
|
84
|
-
operations.AppsApiRestV0ProjectGetProjectRequest$outboundSchema.parse(
|
|
85
|
-
value,
|
|
86
|
-
),
|
|
83
|
+
(value) => operations.GetProjectRequest$outboundSchema.parse(value),
|
|
87
84
|
"Input validation failed",
|
|
88
85
|
);
|
|
89
86
|
if (!parsed.ok) {
|
|
@@ -105,19 +102,19 @@ async function $do(
|
|
|
105
102
|
Accept: "application/json",
|
|
106
103
|
}));
|
|
107
104
|
|
|
108
|
-
const secConfig = await extractSecurity(client._options.
|
|
109
|
-
const securityInput = secConfig == null ? {} : {
|
|
105
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
106
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
110
107
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
111
108
|
|
|
112
109
|
const context = {
|
|
113
110
|
options: client._options,
|
|
114
111
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
115
|
-
operationID: "
|
|
112
|
+
operationID: "get_project",
|
|
116
113
|
oAuth2Scopes: [],
|
|
117
114
|
|
|
118
115
|
resolvedSecurity: requestSecurity,
|
|
119
116
|
|
|
120
|
-
securitySource: client._options.
|
|
117
|
+
securitySource: client._options.apiKey,
|
|
121
118
|
retryConfig: options?.retries
|
|
122
119
|
|| client._options.retryConfig
|
|
123
120
|
|| { strategy: "none" },
|
|
@@ -31,9 +31,9 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve a paginated list of OWASP projects.
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function projectsListProjects(
|
|
35
35
|
client: NestCore,
|
|
36
|
-
request?: operations.
|
|
36
|
+
request?: operations.ListProjectsRequest | undefined,
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
@@ -57,7 +57,7 @@ export function projectsAppsApiRestV0ProjectListProjects(
|
|
|
57
57
|
|
|
58
58
|
async function $do(
|
|
59
59
|
client: NestCore,
|
|
60
|
-
request?: operations.
|
|
60
|
+
request?: operations.ListProjectsRequest | undefined,
|
|
61
61
|
options?: RequestOptions,
|
|
62
62
|
): Promise<
|
|
63
63
|
[
|
|
@@ -78,8 +78,7 @@ async function $do(
|
|
|
78
78
|
const parsed = safeParse(
|
|
79
79
|
request,
|
|
80
80
|
(value) =>
|
|
81
|
-
operations.
|
|
82
|
-
.optional().parse(value),
|
|
81
|
+
operations.ListProjectsRequest$outboundSchema.optional().parse(value),
|
|
83
82
|
"Input validation failed",
|
|
84
83
|
);
|
|
85
84
|
if (!parsed.ok) {
|
|
@@ -101,19 +100,19 @@ async function $do(
|
|
|
101
100
|
Accept: "application/json",
|
|
102
101
|
}));
|
|
103
102
|
|
|
104
|
-
const secConfig = await extractSecurity(client._options.
|
|
105
|
-
const securityInput = secConfig == null ? {} : {
|
|
103
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
104
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
106
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
106
|
|
|
108
107
|
const context = {
|
|
109
108
|
options: client._options,
|
|
110
109
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
111
|
-
operationID: "
|
|
110
|
+
operationID: "list_projects",
|
|
112
111
|
oAuth2Scopes: [],
|
|
113
112
|
|
|
114
113
|
resolvedSecurity: requestSecurity,
|
|
115
114
|
|
|
116
|
-
securitySource: client._options.
|
|
115
|
+
securitySource: client._options.apiKey,
|
|
117
116
|
retryConfig: options?.retries
|
|
118
117
|
|| client._options.retryConfig
|
|
119
118
|
|| { strategy: "none" },
|
|
@@ -100,8 +100,8 @@ async function $do(
|
|
|
100
100
|
Accept: "application/json",
|
|
101
101
|
}));
|
|
102
102
|
|
|
103
|
-
const secConfig = await extractSecurity(client._options.
|
|
104
|
-
const securityInput = secConfig == null ? {} : {
|
|
103
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
104
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
105
105
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
106
106
|
|
|
107
107
|
const context = {
|
|
@@ -112,7 +112,7 @@ async function $do(
|
|
|
112
112
|
|
|
113
113
|
resolvedSecurity: requestSecurity,
|
|
114
114
|
|
|
115
|
-
securitySource: client._options.
|
|
115
|
+
securitySource: client._options.apiKey,
|
|
116
116
|
retryConfig: options?.retries
|
|
117
117
|
|| client._options.retryConfig
|
|
118
118
|
|| { strategy: "none" },
|
|
@@ -99,8 +99,8 @@ async function $do(
|
|
|
99
99
|
Accept: "application/json",
|
|
100
100
|
}));
|
|
101
101
|
|
|
102
|
-
const secConfig = await extractSecurity(client._options.
|
|
103
|
-
const securityInput = secConfig == null ? {} : {
|
|
102
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
103
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
104
104
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
105
|
|
|
106
106
|
const context = {
|
|
@@ -111,7 +111,7 @@ async function $do(
|
|
|
111
111
|
|
|
112
112
|
resolvedSecurity: requestSecurity,
|
|
113
113
|
|
|
114
|
-
securitySource: client._options.
|
|
114
|
+
securitySource: client._options.apiKey,
|
|
115
115
|
retryConfig: options?.retries
|
|
116
116
|
|| client._options.retryConfig
|
|
117
117
|
|| { strategy: "none" },
|
package/src/lib/config.ts
CHANGED
|
@@ -18,7 +18,7 @@ export const ServerList = [
|
|
|
18
18
|
] as const;
|
|
19
19
|
|
|
20
20
|
export type SDKOptions = {
|
|
21
|
-
|
|
21
|
+
apiKey?: string | (() => Promise<string>) | undefined;
|
|
22
22
|
|
|
23
23
|
httpClient?: HTTPClient;
|
|
24
24
|
/**
|
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.2.1",
|
|
64
|
-
sdkVersion: "0.2.
|
|
64
|
+
sdkVersion: "0.2.2",
|
|
65
65
|
genVersion: "2.698.4",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.2.2 2.698.4 0.2.1 owasp-nest",
|
|
67
67
|
} as const;
|
package/src/lib/env.ts
CHANGED
|
@@ -7,13 +7,13 @@ import { dlv } from "./dlv.js";
|
|
|
7
7
|
import * as z from "zod";
|
|
8
8
|
|
|
9
9
|
export interface Env {
|
|
10
|
-
|
|
10
|
+
NEST_API_KEY?: string | undefined;
|
|
11
11
|
|
|
12
12
|
NEST_DEBUG?: boolean | undefined;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown> = z.object({
|
|
16
|
-
|
|
16
|
+
NEST_API_KEY: z.string().optional(),
|
|
17
17
|
|
|
18
18
|
NEST_DEBUG: z.coerce.boolean().optional(),
|
|
19
19
|
});
|
package/src/lib/security.ts
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetChapterRequest = {
|
|
12
|
+
chapterId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetChapterRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetChapterRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
chapter_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"chapter_id": "chapterId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetChapterRequest$Outbound = {
|
|
30
|
+
chapter_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetChapterRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetChapterRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetChapterRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
chapterId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
chapterId: "chapter_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetChapterRequest$ {
|
|
51
|
+
/** @deprecated use `GetChapterRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetChapterRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetChapterRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetChapterRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetChapterRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetChapterRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getChapterRequestToJSON(
|
|
60
|
+
getChapterRequest: GetChapterRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetChapterRequest$outboundSchema.parse(getChapterRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getChapterRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<GetChapterRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => GetChapterRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'GetChapterRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetCommitteeRequest = {
|
|
12
|
+
committeeId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetCommitteeRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetCommitteeRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
committee_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"committee_id": "committeeId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetCommitteeRequest$Outbound = {
|
|
30
|
+
committee_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetCommitteeRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetCommitteeRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetCommitteeRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
committeeId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
committeeId: "committee_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetCommitteeRequest$ {
|
|
51
|
+
/** @deprecated use `GetCommitteeRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetCommitteeRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetCommitteeRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetCommitteeRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetCommitteeRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetCommitteeRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getCommitteeRequestToJSON(
|
|
60
|
+
getCommitteeRequest: GetCommitteeRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetCommitteeRequest$outboundSchema.parse(getCommitteeRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getCommitteeRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<GetCommitteeRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => GetCommitteeRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'GetCommitteeRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetMemberRequest = {
|
|
12
|
+
memberId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetMemberRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetMemberRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
member_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"member_id": "memberId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetMemberRequest$Outbound = {
|
|
30
|
+
member_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetMemberRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetMemberRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetMemberRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
memberId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
memberId: "member_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetMemberRequest$ {
|
|
51
|
+
/** @deprecated use `GetMemberRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetMemberRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetMemberRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetMemberRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetMemberRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetMemberRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getMemberRequestToJSON(
|
|
60
|
+
getMemberRequest: GetMemberRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetMemberRequest$outboundSchema.parse(getMemberRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getMemberRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<GetMemberRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'GetMemberRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetOrganizationRequest = {
|
|
12
|
+
organizationId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetOrganizationRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetOrganizationRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
organization_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"organization_id": "organizationId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetOrganizationRequest$Outbound = {
|
|
30
|
+
organization_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetOrganizationRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetOrganizationRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetOrganizationRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
organizationId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
organizationId: "organization_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetOrganizationRequest$ {
|
|
51
|
+
/** @deprecated use `GetOrganizationRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetOrganizationRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetOrganizationRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetOrganizationRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetOrganizationRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetOrganizationRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getOrganizationRequestToJSON(
|
|
60
|
+
getOrganizationRequest: GetOrganizationRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetOrganizationRequest$outboundSchema.parse(getOrganizationRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getOrganizationRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<GetOrganizationRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => GetOrganizationRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'GetOrganizationRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetProjectRequest = {
|
|
12
|
+
projectId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const GetProjectRequest$inboundSchema: z.ZodType<
|
|
17
|
+
GetProjectRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
project_id: z.string(),
|
|
22
|
+
}).transform((v) => {
|
|
23
|
+
return remap$(v, {
|
|
24
|
+
"project_id": "projectId",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type GetProjectRequest$Outbound = {
|
|
30
|
+
project_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const GetProjectRequest$outboundSchema: z.ZodType<
|
|
35
|
+
GetProjectRequest$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
GetProjectRequest
|
|
38
|
+
> = z.object({
|
|
39
|
+
projectId: z.string(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
projectId: "project_id",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
+
*/
|
|
50
|
+
export namespace GetProjectRequest$ {
|
|
51
|
+
/** @deprecated use `GetProjectRequest$inboundSchema` instead. */
|
|
52
|
+
export const inboundSchema = GetProjectRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetProjectRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema = GetProjectRequest$outboundSchema;
|
|
55
|
+
/** @deprecated use `GetProjectRequest$Outbound` instead. */
|
|
56
|
+
export type Outbound = GetProjectRequest$Outbound;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function getProjectRequestToJSON(
|
|
60
|
+
getProjectRequest: GetProjectRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
GetProjectRequest$outboundSchema.parse(getProjectRequest),
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function getProjectRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<GetProjectRequest, SDKValidationError> {
|
|
70
|
+
return safeParse(
|
|
71
|
+
jsonString,
|
|
72
|
+
(x) => GetProjectRequest$inboundSchema.parse(JSON.parse(x)),
|
|
73
|
+
`Failed to parse 'GetProjectRequest' from JSON`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./appsapirestv0organizationlistorganization.js";
|
|
12
|
-
export * from "./appsapirestv0projectgetproject.js";
|
|
13
|
-
export * from "./appsapirestv0projectlistprojects.js";
|
|
5
|
+
export * from "./getchapter.js";
|
|
6
|
+
export * from "./getcommittee.js";
|
|
7
|
+
export * from "./getmember.js";
|
|
8
|
+
export * from "./getorganization.js";
|
|
9
|
+
export * from "./getproject.js";
|
|
10
|
+
export * from "./listchapters.js";
|
|
14
11
|
export * from "./listcommittees.js";
|
|
12
|
+
export * from "./listevents.js";
|
|
15
13
|
export * from "./listissues.js";
|
|
16
14
|
export * from "./listmembers.js";
|
|
15
|
+
export * from "./listorganizations.js";
|
|
16
|
+
export * from "./listprojects.js";
|
|
17
17
|
export * from "./listreleases.js";
|
|
18
18
|
export * from "./listrepositories.js";
|