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
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
-
* [
|
|
9
|
-
* [
|
|
8
|
+
* [listProjects](#listprojects) - List projects
|
|
9
|
+
* [getProject](#getproject) - Get project
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## listProjects
|
|
12
12
|
|
|
13
13
|
Retrieve a paginated list of OWASP projects.
|
|
14
14
|
|
|
15
15
|
### Example Usage
|
|
16
16
|
|
|
17
|
-
<!-- UsageSnippet language="typescript" operationID="
|
|
17
|
+
<!-- UsageSnippet language="typescript" operationID="list_projects" method="get" path="/api/v0/projects/" -->
|
|
18
18
|
```typescript
|
|
19
19
|
import { Nest } from "owasp-nest";
|
|
20
20
|
|
|
21
21
|
const nest = new Nest({
|
|
22
|
-
|
|
22
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
async function run() {
|
|
26
|
-
const result = await nest.projects.
|
|
26
|
+
const result = await nest.projects.listProjects({
|
|
27
27
|
ordering: "-created_at",
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -39,23 +39,23 @@ The standalone function version of this method:
|
|
|
39
39
|
|
|
40
40
|
```typescript
|
|
41
41
|
import { NestCore } from "owasp-nest/core.js";
|
|
42
|
-
import {
|
|
42
|
+
import { projectsListProjects } from "owasp-nest/funcs/projectsListProjects.js";
|
|
43
43
|
|
|
44
44
|
// Use `NestCore` for best tree-shaking performance.
|
|
45
45
|
// You can create one instance of it to use across an application.
|
|
46
46
|
const nest = new NestCore({
|
|
47
|
-
|
|
47
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
48
48
|
});
|
|
49
49
|
|
|
50
50
|
async function run() {
|
|
51
|
-
const res = await
|
|
51
|
+
const res = await projectsListProjects(nest, {
|
|
52
52
|
ordering: "-created_at",
|
|
53
53
|
});
|
|
54
54
|
if (res.ok) {
|
|
55
55
|
const { value: result } = res;
|
|
56
56
|
console.log(result);
|
|
57
57
|
} else {
|
|
58
|
-
console.log("
|
|
58
|
+
console.log("projectsListProjects failed:", res.error);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -66,7 +66,7 @@ run();
|
|
|
66
66
|
|
|
67
67
|
| Parameter | Type | Required | Description |
|
|
68
68
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
69
|
-
| `request` | [operations.
|
|
69
|
+
| `request` | [operations.ListProjectsRequest](../../models/operations/listprojectsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
70
70
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
71
71
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
72
72
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -81,22 +81,22 @@ run();
|
|
|
81
81
|
| ------------------- | ------------------- | ------------------- |
|
|
82
82
|
| errors.NestApiError | 4XX, 5XX | \*/\* |
|
|
83
83
|
|
|
84
|
-
##
|
|
84
|
+
## getProject
|
|
85
85
|
|
|
86
86
|
Retrieve project details.
|
|
87
87
|
|
|
88
88
|
### Example Usage
|
|
89
89
|
|
|
90
|
-
<!-- UsageSnippet language="typescript" operationID="
|
|
90
|
+
<!-- UsageSnippet language="typescript" operationID="get_project" method="get" path="/api/v0/projects/{project_id}" -->
|
|
91
91
|
```typescript
|
|
92
92
|
import { Nest } from "owasp-nest";
|
|
93
93
|
|
|
94
94
|
const nest = new Nest({
|
|
95
|
-
|
|
95
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
96
96
|
});
|
|
97
97
|
|
|
98
98
|
async function run() {
|
|
99
|
-
const result = await nest.projects.
|
|
99
|
+
const result = await nest.projects.getProject({
|
|
100
100
|
projectId: "Nest",
|
|
101
101
|
});
|
|
102
102
|
|
|
@@ -112,23 +112,23 @@ The standalone function version of this method:
|
|
|
112
112
|
|
|
113
113
|
```typescript
|
|
114
114
|
import { NestCore } from "owasp-nest/core.js";
|
|
115
|
-
import {
|
|
115
|
+
import { projectsGetProject } from "owasp-nest/funcs/projectsGetProject.js";
|
|
116
116
|
|
|
117
117
|
// Use `NestCore` for best tree-shaking performance.
|
|
118
118
|
// You can create one instance of it to use across an application.
|
|
119
119
|
const nest = new NestCore({
|
|
120
|
-
|
|
120
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
121
121
|
});
|
|
122
122
|
|
|
123
123
|
async function run() {
|
|
124
|
-
const res = await
|
|
124
|
+
const res = await projectsGetProject(nest, {
|
|
125
125
|
projectId: "Nest",
|
|
126
126
|
});
|
|
127
127
|
if (res.ok) {
|
|
128
128
|
const { value: result } = res;
|
|
129
129
|
console.log(result);
|
|
130
130
|
} else {
|
|
131
|
-
console.log("
|
|
131
|
+
console.log("projectsGetProject failed:", res.error);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -139,7 +139,7 @@ run();
|
|
|
139
139
|
|
|
140
140
|
| Parameter | Type | Required | Description |
|
|
141
141
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
142
|
-
| `request` | [operations.
|
|
142
|
+
| `request` | [operations.GetProjectRequest](../../models/operations/getprojectrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
143
143
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
144
144
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
145
145
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -18,7 +18,7 @@ Retrieve a paginated list of GitHub releases.
|
|
|
18
18
|
import { Nest } from "owasp-nest";
|
|
19
19
|
|
|
20
20
|
const nest = new Nest({
|
|
21
|
-
|
|
21
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
async function run() {
|
|
@@ -43,7 +43,7 @@ import { releasesListReleases } from "owasp-nest/funcs/releasesListReleases.js";
|
|
|
43
43
|
// Use `NestCore` for best tree-shaking performance.
|
|
44
44
|
// You can create one instance of it to use across an application.
|
|
45
45
|
const nest = new NestCore({
|
|
46
|
-
|
|
46
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
async function run() {
|
|
@@ -18,7 +18,7 @@ Retrieve a paginated list of GitHub repositories.
|
|
|
18
18
|
import { Nest } from "owasp-nest";
|
|
19
19
|
|
|
20
20
|
const nest = new Nest({
|
|
21
|
-
|
|
21
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
async function run() {
|
|
@@ -41,7 +41,7 @@ import { repositoriesListRepositories } from "owasp-nest/funcs/repositoriesListR
|
|
|
41
41
|
// Use `NestCore` for best tree-shaking performance.
|
|
42
42
|
// You can create one instance of it to use across an application.
|
|
43
43
|
const nest = new NestCore({
|
|
44
|
-
|
|
44
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
async function run() {
|
|
@@ -8,17 +8,20 @@ dotenv.config();
|
|
|
8
8
|
* Example usage of the owasp-nest SDK
|
|
9
9
|
*
|
|
10
10
|
* To run this example from the examples directory:
|
|
11
|
-
* npm run build && npx tsx
|
|
11
|
+
* npm run build && npx tsx chaptersListChapters.example.ts
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import { Nest } from "owasp-nest";
|
|
15
15
|
|
|
16
16
|
const nest = new Nest({
|
|
17
|
-
|
|
17
|
+
apiKey: process.env["NEST_API_KEY"] ?? "",
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
async function main() {
|
|
21
|
-
const result = await nest.chapters.
|
|
21
|
+
const result = await nest.chapters.listChapters({
|
|
22
|
+
country: "India",
|
|
23
|
+
region: "Asia",
|
|
24
|
+
});
|
|
22
25
|
|
|
23
26
|
console.log(result);
|
|
24
27
|
}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -32,9 +32,9 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve chapter details.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function chaptersGetChapter(
|
|
36
36
|
client: NestCore,
|
|
37
|
-
request: operations.
|
|
37
|
+
request: operations.GetChapterRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -59,7 +59,7 @@ export function chaptersAppsApiRestV0ChapterGetChapter(
|
|
|
59
59
|
|
|
60
60
|
async function $do(
|
|
61
61
|
client: NestCore,
|
|
62
|
-
request: operations.
|
|
62
|
+
request: operations.GetChapterRequest,
|
|
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.AppsApiRestV0ChapterGetChapterRequest$outboundSchema.parse(
|
|
85
|
-
value,
|
|
86
|
-
),
|
|
83
|
+
(value) => operations.GetChapterRequest$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_chapter",
|
|
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 chapters.
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function chaptersListChapters(
|
|
35
35
|
client: NestCore,
|
|
36
|
-
request?: operations.
|
|
36
|
+
request?: operations.ListChaptersRequest | undefined,
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
@@ -57,7 +57,7 @@ export function chaptersAppsApiRestV0ChapterListChapters(
|
|
|
57
57
|
|
|
58
58
|
async function $do(
|
|
59
59
|
client: NestCore,
|
|
60
|
-
request?: operations.
|
|
60
|
+
request?: operations.ListChaptersRequest | 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.ListChaptersRequest$outboundSchema.optional().parse(value),
|
|
83
82
|
"Input validation failed",
|
|
84
83
|
);
|
|
85
84
|
if (!parsed.ok) {
|
|
@@ -102,19 +101,19 @@ async function $do(
|
|
|
102
101
|
Accept: "application/json",
|
|
103
102
|
}));
|
|
104
103
|
|
|
105
|
-
const secConfig = await extractSecurity(client._options.
|
|
106
|
-
const securityInput = secConfig == null ? {} : {
|
|
104
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
105
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
107
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
107
|
|
|
109
108
|
const context = {
|
|
110
109
|
options: client._options,
|
|
111
110
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
112
|
-
operationID: "
|
|
111
|
+
operationID: "list_chapters",
|
|
113
112
|
oAuth2Scopes: [],
|
|
114
113
|
|
|
115
114
|
resolvedSecurity: requestSecurity,
|
|
116
115
|
|
|
117
|
-
securitySource: client._options.
|
|
116
|
+
securitySource: client._options.apiKey,
|
|
118
117
|
retryConfig: options?.retries
|
|
119
118
|
|| client._options.retryConfig
|
|
120
119
|
|| { strategy: "none" },
|
package/src/funcs/{committeesAppsApiRestV0CommitteeGetChapter.ts → committeesGetCommittee.ts}
RENAMED
|
@@ -32,9 +32,9 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve committee details.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function committeesGetCommittee(
|
|
36
36
|
client: NestCore,
|
|
37
|
-
request: operations.
|
|
37
|
+
request: operations.GetCommitteeRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -59,7 +59,7 @@ export function committeesAppsApiRestV0CommitteeGetChapter(
|
|
|
59
59
|
|
|
60
60
|
async function $do(
|
|
61
61
|
client: NestCore,
|
|
62
|
-
request: operations.
|
|
62
|
+
request: operations.GetCommitteeRequest,
|
|
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.AppsApiRestV0CommitteeGetChapterRequest$outboundSchema.parse(
|
|
85
|
-
value,
|
|
86
|
-
),
|
|
83
|
+
(value) => operations.GetCommitteeRequest$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_committee",
|
|
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" },
|
|
@@ -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" },
|
|
@@ -32,9 +32,9 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieve member details.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function communityGetMember(
|
|
36
36
|
client: NestCore,
|
|
37
|
-
request: operations.
|
|
37
|
+
request: operations.GetMemberRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -59,7 +59,7 @@ export function communityAppsApiRestV0MemberGetMember(
|
|
|
59
59
|
|
|
60
60
|
async function $do(
|
|
61
61
|
client: NestCore,
|
|
62
|
-
request: operations.
|
|
62
|
+
request: operations.GetMemberRequest,
|
|
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.AppsApiRestV0MemberGetMemberRequest$outboundSchema.parse(
|
|
85
|
-
value,
|
|
86
|
-
),
|
|
83
|
+
(value) => operations.GetMemberRequest$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_member",
|
|
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" },
|
|
@@ -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 communityGetOrganization(
|
|
36
36
|
client: NestCore,
|
|
37
|
-
request: operations.
|
|
37
|
+
request: operations.GetOrganizationRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -59,7 +59,7 @@ export function communityAppsApiRestV0OrganizationGetOrganization(
|
|
|
59
59
|
|
|
60
60
|
async function $do(
|
|
61
61
|
client: NestCore,
|
|
62
|
-
request: operations.
|
|
62
|
+
request: operations.GetOrganizationRequest,
|
|
63
63
|
options?: RequestOptions,
|
|
64
64
|
): Promise<
|
|
65
65
|
[
|
|
@@ -80,9 +80,7 @@ async function $do(
|
|
|
80
80
|
> {
|
|
81
81
|
const parsed = safeParse(
|
|
82
82
|
request,
|
|
83
|
-
(value) =>
|
|
84
|
-
operations.AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema
|
|
85
|
-
.parse(value),
|
|
83
|
+
(value) => operations.GetOrganizationRequest$outboundSchema.parse(value),
|
|
86
84
|
"Input validation failed",
|
|
87
85
|
);
|
|
88
86
|
if (!parsed.ok) {
|
|
@@ -106,19 +104,19 @@ async function $do(
|
|
|
106
104
|
Accept: "application/json",
|
|
107
105
|
}));
|
|
108
106
|
|
|
109
|
-
const secConfig = await extractSecurity(client._options.
|
|
110
|
-
const securityInput = secConfig == null ? {} : {
|
|
107
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
108
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
111
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
112
110
|
|
|
113
111
|
const context = {
|
|
114
112
|
options: client._options,
|
|
115
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
116
|
-
operationID: "
|
|
114
|
+
operationID: "get_organization",
|
|
117
115
|
oAuth2Scopes: [],
|
|
118
116
|
|
|
119
117
|
resolvedSecurity: requestSecurity,
|
|
120
118
|
|
|
121
|
-
securitySource: client._options.
|
|
119
|
+
securitySource: client._options.apiKey,
|
|
122
120
|
retryConfig: options?.retries
|
|
123
121
|
|| client._options.retryConfig
|
|
124
122
|
|| { strategy: "none" },
|
|
@@ -101,8 +101,8 @@ async function $do(
|
|
|
101
101
|
Accept: "application/json",
|
|
102
102
|
}));
|
|
103
103
|
|
|
104
|
-
const secConfig = await extractSecurity(client._options.
|
|
105
|
-
const securityInput = secConfig == null ? {} : {
|
|
104
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
105
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
106
106
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
107
107
|
|
|
108
108
|
const context = {
|
|
@@ -113,7 +113,7 @@ async function $do(
|
|
|
113
113
|
|
|
114
114
|
resolvedSecurity: requestSecurity,
|
|
115
115
|
|
|
116
|
-
securitySource: client._options.
|
|
116
|
+
securitySource: client._options.apiKey,
|
|
117
117
|
retryConfig: options?.retries
|
|
118
118
|
|| client._options.retryConfig
|
|
119
119
|
|| { strategy: "none" },
|
|
@@ -31,11 +31,9 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Retrieve a paginated list of GitHub organizations.
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function communityListOrganizations(
|
|
35
35
|
client: NestCore,
|
|
36
|
-
request?:
|
|
37
|
-
| operations.AppsApiRestV0OrganizationListOrganizationRequest
|
|
38
|
-
| undefined,
|
|
36
|
+
request?: operations.ListOrganizationsRequest | undefined,
|
|
39
37
|
options?: RequestOptions,
|
|
40
38
|
): APIPromise<
|
|
41
39
|
Result<
|
|
@@ -59,9 +57,7 @@ export function communityAppsApiRestV0OrganizationListOrganization(
|
|
|
59
57
|
|
|
60
58
|
async function $do(
|
|
61
59
|
client: NestCore,
|
|
62
|
-
request?:
|
|
63
|
-
| operations.AppsApiRestV0OrganizationListOrganizationRequest
|
|
64
|
-
| undefined,
|
|
60
|
+
request?: operations.ListOrganizationsRequest | undefined,
|
|
65
61
|
options?: RequestOptions,
|
|
66
62
|
): Promise<
|
|
67
63
|
[
|
|
@@ -82,8 +78,9 @@ async function $do(
|
|
|
82
78
|
const parsed = safeParse(
|
|
83
79
|
request,
|
|
84
80
|
(value) =>
|
|
85
|
-
operations.
|
|
86
|
-
|
|
81
|
+
operations.ListOrganizationsRequest$outboundSchema.optional().parse(
|
|
82
|
+
value,
|
|
83
|
+
),
|
|
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: "list_organizations",
|
|
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" },
|