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
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Ordering field
|
|
14
|
+
*/
|
|
15
|
+
export const ListChaptersOrdering = {
|
|
16
|
+
CreatedAt: "created_at",
|
|
17
|
+
MinusCreatedAt: "-created_at",
|
|
18
|
+
UpdatedAt: "updated_at",
|
|
19
|
+
MinusUpdatedAt: "-updated_at",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Ordering field
|
|
23
|
+
*/
|
|
24
|
+
export type ListChaptersOrdering = ClosedEnum<typeof ListChaptersOrdering>;
|
|
25
|
+
|
|
26
|
+
export type ListChaptersRequest = {
|
|
27
|
+
/**
|
|
28
|
+
* Country of the chapter
|
|
29
|
+
*/
|
|
30
|
+
country?: string | null | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Region of the chapter
|
|
33
|
+
*/
|
|
34
|
+
region?: string | null | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Ordering field
|
|
37
|
+
*/
|
|
38
|
+
ordering?: ListChaptersOrdering | null | undefined;
|
|
39
|
+
page?: number | undefined;
|
|
40
|
+
pageSize?: number | null | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
/** @internal */
|
|
44
|
+
export const ListChaptersOrdering$inboundSchema: z.ZodNativeEnum<
|
|
45
|
+
typeof ListChaptersOrdering
|
|
46
|
+
> = z.nativeEnum(ListChaptersOrdering);
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const ListChaptersOrdering$outboundSchema: z.ZodNativeEnum<
|
|
50
|
+
typeof ListChaptersOrdering
|
|
51
|
+
> = ListChaptersOrdering$inboundSchema;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @internal
|
|
55
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
+
*/
|
|
57
|
+
export namespace ListChaptersOrdering$ {
|
|
58
|
+
/** @deprecated use `ListChaptersOrdering$inboundSchema` instead. */
|
|
59
|
+
export const inboundSchema = ListChaptersOrdering$inboundSchema;
|
|
60
|
+
/** @deprecated use `ListChaptersOrdering$outboundSchema` instead. */
|
|
61
|
+
export const outboundSchema = ListChaptersOrdering$outboundSchema;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const ListChaptersRequest$inboundSchema: z.ZodType<
|
|
66
|
+
ListChaptersRequest,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
unknown
|
|
69
|
+
> = z.object({
|
|
70
|
+
country: z.nullable(z.string()).optional(),
|
|
71
|
+
region: z.nullable(z.string()).optional(),
|
|
72
|
+
ordering: z.nullable(ListChaptersOrdering$inboundSchema).optional(),
|
|
73
|
+
page: z.number().int().default(1),
|
|
74
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
75
|
+
}).transform((v) => {
|
|
76
|
+
return remap$(v, {
|
|
77
|
+
"page_size": "pageSize",
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type ListChaptersRequest$Outbound = {
|
|
83
|
+
country?: string | null | undefined;
|
|
84
|
+
region?: string | null | undefined;
|
|
85
|
+
ordering?: string | null | undefined;
|
|
86
|
+
page: number;
|
|
87
|
+
page_size?: number | null | undefined;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const ListChaptersRequest$outboundSchema: z.ZodType<
|
|
92
|
+
ListChaptersRequest$Outbound,
|
|
93
|
+
z.ZodTypeDef,
|
|
94
|
+
ListChaptersRequest
|
|
95
|
+
> = z.object({
|
|
96
|
+
country: z.nullable(z.string()).optional(),
|
|
97
|
+
region: z.nullable(z.string()).optional(),
|
|
98
|
+
ordering: z.nullable(ListChaptersOrdering$outboundSchema).optional(),
|
|
99
|
+
page: z.number().int().default(1),
|
|
100
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
pageSize: "page_size",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace ListChaptersRequest$ {
|
|
112
|
+
/** @deprecated use `ListChaptersRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema = ListChaptersRequest$inboundSchema;
|
|
114
|
+
/** @deprecated use `ListChaptersRequest$outboundSchema` instead. */
|
|
115
|
+
export const outboundSchema = ListChaptersRequest$outboundSchema;
|
|
116
|
+
/** @deprecated use `ListChaptersRequest$Outbound` instead. */
|
|
117
|
+
export type Outbound = ListChaptersRequest$Outbound;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function listChaptersRequestToJSON(
|
|
121
|
+
listChaptersRequest: ListChaptersRequest,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
ListChaptersRequest$outboundSchema.parse(listChaptersRequest),
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function listChaptersRequestFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<ListChaptersRequest, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => ListChaptersRequest$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'ListChaptersRequest' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Ordering field
|
|
14
|
+
*/
|
|
15
|
+
export const ListEventsOrdering = {
|
|
16
|
+
StartDate: "start_date",
|
|
17
|
+
MinusStartDate: "-start_date",
|
|
18
|
+
EndDate: "end_date",
|
|
19
|
+
MinusEndDate: "-end_date",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Ordering field
|
|
23
|
+
*/
|
|
24
|
+
export type ListEventsOrdering = ClosedEnum<typeof ListEventsOrdering>;
|
|
25
|
+
|
|
26
|
+
export type ListEventsRequest = {
|
|
27
|
+
/**
|
|
28
|
+
* Ordering field
|
|
29
|
+
*/
|
|
30
|
+
ordering?: ListEventsOrdering | null | undefined;
|
|
31
|
+
page?: number | undefined;
|
|
32
|
+
pageSize?: number | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ListEventsOrdering$inboundSchema: z.ZodNativeEnum<
|
|
37
|
+
typeof ListEventsOrdering
|
|
38
|
+
> = z.nativeEnum(ListEventsOrdering);
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const ListEventsOrdering$outboundSchema: z.ZodNativeEnum<
|
|
42
|
+
typeof ListEventsOrdering
|
|
43
|
+
> = ListEventsOrdering$inboundSchema;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export namespace ListEventsOrdering$ {
|
|
50
|
+
/** @deprecated use `ListEventsOrdering$inboundSchema` instead. */
|
|
51
|
+
export const inboundSchema = ListEventsOrdering$inboundSchema;
|
|
52
|
+
/** @deprecated use `ListEventsOrdering$outboundSchema` instead. */
|
|
53
|
+
export const outboundSchema = ListEventsOrdering$outboundSchema;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ListEventsRequest$inboundSchema: z.ZodType<
|
|
58
|
+
ListEventsRequest,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
ordering: z.nullable(ListEventsOrdering$inboundSchema).optional(),
|
|
63
|
+
page: z.number().int().default(1),
|
|
64
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
65
|
+
}).transform((v) => {
|
|
66
|
+
return remap$(v, {
|
|
67
|
+
"page_size": "pageSize",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export type ListEventsRequest$Outbound = {
|
|
73
|
+
ordering?: string | null | undefined;
|
|
74
|
+
page: number;
|
|
75
|
+
page_size?: number | null | undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
export const ListEventsRequest$outboundSchema: z.ZodType<
|
|
80
|
+
ListEventsRequest$Outbound,
|
|
81
|
+
z.ZodTypeDef,
|
|
82
|
+
ListEventsRequest
|
|
83
|
+
> = z.object({
|
|
84
|
+
ordering: z.nullable(ListEventsOrdering$outboundSchema).optional(),
|
|
85
|
+
page: z.number().int().default(1),
|
|
86
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return remap$(v, {
|
|
89
|
+
pageSize: "page_size",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
export namespace ListEventsRequest$ {
|
|
98
|
+
/** @deprecated use `ListEventsRequest$inboundSchema` instead. */
|
|
99
|
+
export const inboundSchema = ListEventsRequest$inboundSchema;
|
|
100
|
+
/** @deprecated use `ListEventsRequest$outboundSchema` instead. */
|
|
101
|
+
export const outboundSchema = ListEventsRequest$outboundSchema;
|
|
102
|
+
/** @deprecated use `ListEventsRequest$Outbound` instead. */
|
|
103
|
+
export type Outbound = ListEventsRequest$Outbound;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function listEventsRequestToJSON(
|
|
107
|
+
listEventsRequest: ListEventsRequest,
|
|
108
|
+
): string {
|
|
109
|
+
return JSON.stringify(
|
|
110
|
+
ListEventsRequest$outboundSchema.parse(listEventsRequest),
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function listEventsRequestFromJSON(
|
|
115
|
+
jsonString: string,
|
|
116
|
+
): SafeParseResult<ListEventsRequest, SDKValidationError> {
|
|
117
|
+
return safeParse(
|
|
118
|
+
jsonString,
|
|
119
|
+
(x) => ListEventsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'ListEventsRequest' from JSON`,
|
|
121
|
+
);
|
|
122
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Ordering field
|
|
14
|
+
*/
|
|
15
|
+
export const ListOrganizationsOrdering = {
|
|
16
|
+
CreatedAt: "created_at",
|
|
17
|
+
MinusCreatedAt: "-created_at",
|
|
18
|
+
UpdatedAt: "updated_at",
|
|
19
|
+
MinusUpdatedAt: "-updated_at",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Ordering field
|
|
23
|
+
*/
|
|
24
|
+
export type ListOrganizationsOrdering = ClosedEnum<
|
|
25
|
+
typeof ListOrganizationsOrdering
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type ListOrganizationsRequest = {
|
|
29
|
+
/**
|
|
30
|
+
* Location of the organization
|
|
31
|
+
*/
|
|
32
|
+
location?: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Ordering field
|
|
35
|
+
*/
|
|
36
|
+
ordering?: ListOrganizationsOrdering | null | undefined;
|
|
37
|
+
page?: number | undefined;
|
|
38
|
+
pageSize?: number | null | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ListOrganizationsOrdering$inboundSchema: z.ZodNativeEnum<
|
|
43
|
+
typeof ListOrganizationsOrdering
|
|
44
|
+
> = z.nativeEnum(ListOrganizationsOrdering);
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ListOrganizationsOrdering$outboundSchema: z.ZodNativeEnum<
|
|
48
|
+
typeof ListOrganizationsOrdering
|
|
49
|
+
> = ListOrganizationsOrdering$inboundSchema;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
export namespace ListOrganizationsOrdering$ {
|
|
56
|
+
/** @deprecated use `ListOrganizationsOrdering$inboundSchema` instead. */
|
|
57
|
+
export const inboundSchema = ListOrganizationsOrdering$inboundSchema;
|
|
58
|
+
/** @deprecated use `ListOrganizationsOrdering$outboundSchema` instead. */
|
|
59
|
+
export const outboundSchema = ListOrganizationsOrdering$outboundSchema;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const ListOrganizationsRequest$inboundSchema: z.ZodType<
|
|
64
|
+
ListOrganizationsRequest,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
unknown
|
|
67
|
+
> = z.object({
|
|
68
|
+
location: z.nullable(z.string()).optional(),
|
|
69
|
+
ordering: z.nullable(ListOrganizationsOrdering$inboundSchema).optional(),
|
|
70
|
+
page: z.number().int().default(1),
|
|
71
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
72
|
+
}).transform((v) => {
|
|
73
|
+
return remap$(v, {
|
|
74
|
+
"page_size": "pageSize",
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
export type ListOrganizationsRequest$Outbound = {
|
|
80
|
+
location?: string | null | undefined;
|
|
81
|
+
ordering?: string | null | undefined;
|
|
82
|
+
page: number;
|
|
83
|
+
page_size?: number | null | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const ListOrganizationsRequest$outboundSchema: z.ZodType<
|
|
88
|
+
ListOrganizationsRequest$Outbound,
|
|
89
|
+
z.ZodTypeDef,
|
|
90
|
+
ListOrganizationsRequest
|
|
91
|
+
> = z.object({
|
|
92
|
+
location: z.nullable(z.string()).optional(),
|
|
93
|
+
ordering: z.nullable(ListOrganizationsOrdering$outboundSchema).optional(),
|
|
94
|
+
page: z.number().int().default(1),
|
|
95
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
96
|
+
}).transform((v) => {
|
|
97
|
+
return remap$(v, {
|
|
98
|
+
pageSize: "page_size",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
+
*/
|
|
106
|
+
export namespace ListOrganizationsRequest$ {
|
|
107
|
+
/** @deprecated use `ListOrganizationsRequest$inboundSchema` instead. */
|
|
108
|
+
export const inboundSchema = ListOrganizationsRequest$inboundSchema;
|
|
109
|
+
/** @deprecated use `ListOrganizationsRequest$outboundSchema` instead. */
|
|
110
|
+
export const outboundSchema = ListOrganizationsRequest$outboundSchema;
|
|
111
|
+
/** @deprecated use `ListOrganizationsRequest$Outbound` instead. */
|
|
112
|
+
export type Outbound = ListOrganizationsRequest$Outbound;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function listOrganizationsRequestToJSON(
|
|
116
|
+
listOrganizationsRequest: ListOrganizationsRequest,
|
|
117
|
+
): string {
|
|
118
|
+
return JSON.stringify(
|
|
119
|
+
ListOrganizationsRequest$outboundSchema.parse(listOrganizationsRequest),
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function listOrganizationsRequestFromJSON(
|
|
124
|
+
jsonString: string,
|
|
125
|
+
): SafeParseResult<ListOrganizationsRequest, SDKValidationError> {
|
|
126
|
+
return safeParse(
|
|
127
|
+
jsonString,
|
|
128
|
+
(x) => ListOrganizationsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
129
|
+
`Failed to parse 'ListOrganizationsRequest' from JSON`,
|
|
130
|
+
);
|
|
131
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import * as models from "../index.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Ordering field
|
|
15
|
+
*/
|
|
16
|
+
export const ListProjectsOrdering = {
|
|
17
|
+
CreatedAt: "created_at",
|
|
18
|
+
MinusCreatedAt: "-created_at",
|
|
19
|
+
UpdatedAt: "updated_at",
|
|
20
|
+
MinusUpdatedAt: "-updated_at",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Ordering field
|
|
24
|
+
*/
|
|
25
|
+
export type ListProjectsOrdering = ClosedEnum<typeof ListProjectsOrdering>;
|
|
26
|
+
|
|
27
|
+
export type ListProjectsRequest = {
|
|
28
|
+
/**
|
|
29
|
+
* Level of the project
|
|
30
|
+
*/
|
|
31
|
+
level?: models.ProjectLevel | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Ordering field
|
|
34
|
+
*/
|
|
35
|
+
ordering?: ListProjectsOrdering | null | undefined;
|
|
36
|
+
page?: number | undefined;
|
|
37
|
+
pageSize?: number | null | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const ListProjectsOrdering$inboundSchema: z.ZodNativeEnum<
|
|
42
|
+
typeof ListProjectsOrdering
|
|
43
|
+
> = z.nativeEnum(ListProjectsOrdering);
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const ListProjectsOrdering$outboundSchema: z.ZodNativeEnum<
|
|
47
|
+
typeof ListProjectsOrdering
|
|
48
|
+
> = ListProjectsOrdering$inboundSchema;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
export namespace ListProjectsOrdering$ {
|
|
55
|
+
/** @deprecated use `ListProjectsOrdering$inboundSchema` instead. */
|
|
56
|
+
export const inboundSchema = ListProjectsOrdering$inboundSchema;
|
|
57
|
+
/** @deprecated use `ListProjectsOrdering$outboundSchema` instead. */
|
|
58
|
+
export const outboundSchema = ListProjectsOrdering$outboundSchema;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const ListProjectsRequest$inboundSchema: z.ZodType<
|
|
63
|
+
ListProjectsRequest,
|
|
64
|
+
z.ZodTypeDef,
|
|
65
|
+
unknown
|
|
66
|
+
> = z.object({
|
|
67
|
+
level: z.nullable(models.ProjectLevel$inboundSchema).optional(),
|
|
68
|
+
ordering: z.nullable(ListProjectsOrdering$inboundSchema).optional(),
|
|
69
|
+
page: z.number().int().default(1),
|
|
70
|
+
page_size: z.nullable(z.number().int()).optional(),
|
|
71
|
+
}).transform((v) => {
|
|
72
|
+
return remap$(v, {
|
|
73
|
+
"page_size": "pageSize",
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export type ListProjectsRequest$Outbound = {
|
|
79
|
+
level?: string | null | undefined;
|
|
80
|
+
ordering?: string | null | undefined;
|
|
81
|
+
page: number;
|
|
82
|
+
page_size?: number | null | undefined;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/** @internal */
|
|
86
|
+
export const ListProjectsRequest$outboundSchema: z.ZodType<
|
|
87
|
+
ListProjectsRequest$Outbound,
|
|
88
|
+
z.ZodTypeDef,
|
|
89
|
+
ListProjectsRequest
|
|
90
|
+
> = z.object({
|
|
91
|
+
level: z.nullable(models.ProjectLevel$outboundSchema).optional(),
|
|
92
|
+
ordering: z.nullable(ListProjectsOrdering$outboundSchema).optional(),
|
|
93
|
+
page: z.number().int().default(1),
|
|
94
|
+
pageSize: z.nullable(z.number().int()).optional(),
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return remap$(v, {
|
|
97
|
+
pageSize: "page_size",
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
+
*/
|
|
105
|
+
export namespace ListProjectsRequest$ {
|
|
106
|
+
/** @deprecated use `ListProjectsRequest$inboundSchema` instead. */
|
|
107
|
+
export const inboundSchema = ListProjectsRequest$inboundSchema;
|
|
108
|
+
/** @deprecated use `ListProjectsRequest$outboundSchema` instead. */
|
|
109
|
+
export const outboundSchema = ListProjectsRequest$outboundSchema;
|
|
110
|
+
/** @deprecated use `ListProjectsRequest$Outbound` instead. */
|
|
111
|
+
export type Outbound = ListProjectsRequest$Outbound;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function listProjectsRequestToJSON(
|
|
115
|
+
listProjectsRequest: ListProjectsRequest,
|
|
116
|
+
): string {
|
|
117
|
+
return JSON.stringify(
|
|
118
|
+
ListProjectsRequest$outboundSchema.parse(listProjectsRequest),
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function listProjectsRequestFromJSON(
|
|
123
|
+
jsonString: string,
|
|
124
|
+
): SafeParseResult<ListProjectsRequest, SDKValidationError> {
|
|
125
|
+
return safeParse(
|
|
126
|
+
jsonString,
|
|
127
|
+
(x) => ListProjectsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
+
`Failed to parse 'ListProjectsRequest' from JSON`,
|
|
129
|
+
);
|
|
130
|
+
}
|
package/src/models/security.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { Result as SafeParseResult } from "../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type Security = {
|
|
12
|
-
|
|
12
|
+
apiKey?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
/** @internal */
|
|
@@ -18,16 +18,16 @@ export const Security$inboundSchema: z.ZodType<
|
|
|
18
18
|
z.ZodTypeDef,
|
|
19
19
|
unknown
|
|
20
20
|
> = z.object({
|
|
21
|
-
|
|
21
|
+
ApiKey: z.string().optional(),
|
|
22
22
|
}).transform((v) => {
|
|
23
23
|
return remap$(v, {
|
|
24
|
-
"
|
|
24
|
+
"ApiKey": "apiKey",
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
/** @internal */
|
|
29
29
|
export type Security$Outbound = {
|
|
30
|
-
|
|
30
|
+
ApiKey?: string | undefined;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
/** @internal */
|
|
@@ -36,10 +36,10 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
36
36
|
z.ZodTypeDef,
|
|
37
37
|
Security
|
|
38
38
|
> = z.object({
|
|
39
|
-
|
|
39
|
+
apiKey: z.string().optional(),
|
|
40
40
|
}).transform((v) => {
|
|
41
41
|
return remap$(v, {
|
|
42
|
-
|
|
42
|
+
apiKey: "ApiKey",
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
|
package/src/sdk/chapters.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { chaptersGetChapter } from "../funcs/chaptersGetChapter.js";
|
|
6
|
+
import { chaptersListChapters } from "../funcs/chaptersListChapters.js";
|
|
7
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
8
|
import * as models from "../models/index.js";
|
|
9
9
|
import * as operations from "../models/operations/index.js";
|
|
@@ -16,11 +16,11 @@ export class Chapters extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Retrieve a paginated list of OWASP chapters.
|
|
18
18
|
*/
|
|
19
|
-
async
|
|
20
|
-
request?: operations.
|
|
19
|
+
async listChapters(
|
|
20
|
+
request?: operations.ListChaptersRequest | undefined,
|
|
21
21
|
options?: RequestOptions,
|
|
22
22
|
): Promise<models.PagedChapterSchema> {
|
|
23
|
-
return unwrapAsync(
|
|
23
|
+
return unwrapAsync(chaptersListChapters(
|
|
24
24
|
this,
|
|
25
25
|
request,
|
|
26
26
|
options,
|
|
@@ -33,11 +33,11 @@ export class Chapters extends ClientSDK {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Retrieve chapter details.
|
|
35
35
|
*/
|
|
36
|
-
async
|
|
37
|
-
request: operations.
|
|
36
|
+
async getChapter(
|
|
37
|
+
request: operations.GetChapterRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): Promise<models.ChapterSchema> {
|
|
40
|
-
return unwrapAsync(
|
|
40
|
+
return unwrapAsync(chaptersGetChapter(
|
|
41
41
|
this,
|
|
42
42
|
request,
|
|
43
43
|
options,
|
package/src/sdk/committees.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { committeesGetCommittee } from "../funcs/committeesGetCommittee.js";
|
|
6
6
|
import { committeesListCommittees } from "../funcs/committeesListCommittees.js";
|
|
7
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
8
8
|
import * as models from "../models/index.js";
|
|
@@ -33,11 +33,11 @@ export class Committees extends ClientSDK {
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Retrieve committee details.
|
|
35
35
|
*/
|
|
36
|
-
async
|
|
37
|
-
request: operations.
|
|
36
|
+
async getCommittee(
|
|
37
|
+
request: operations.GetCommitteeRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): Promise<models.CommitteeSchema> {
|
|
40
|
-
return unwrapAsync(
|
|
40
|
+
return unwrapAsync(committeesGetCommittee(
|
|
41
41
|
this,
|
|
42
42
|
request,
|
|
43
43
|
options,
|
package/src/sdk/community.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { communityAppsApiRestV0OrganizationListOrganization } from "../funcs/communityAppsApiRestV0OrganizationListOrganization.js";
|
|
5
|
+
import { communityGetMember } from "../funcs/communityGetMember.js";
|
|
6
|
+
import { communityGetOrganization } from "../funcs/communityGetOrganization.js";
|
|
8
7
|
import { communityListMembers } from "../funcs/communityListMembers.js";
|
|
8
|
+
import { communityListOrganizations } from "../funcs/communityListOrganizations.js";
|
|
9
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
10
|
import * as models from "../models/index.js";
|
|
11
11
|
import * as operations from "../models/operations/index.js";
|
|
@@ -35,11 +35,11 @@ export class Community extends ClientSDK {
|
|
|
35
35
|
* @remarks
|
|
36
36
|
* Retrieve member details.
|
|
37
37
|
*/
|
|
38
|
-
async
|
|
39
|
-
request: operations.
|
|
38
|
+
async getMember(
|
|
39
|
+
request: operations.GetMemberRequest,
|
|
40
40
|
options?: RequestOptions,
|
|
41
41
|
): Promise<models.MemberSchema> {
|
|
42
|
-
return unwrapAsync(
|
|
42
|
+
return unwrapAsync(communityGetMember(
|
|
43
43
|
this,
|
|
44
44
|
request,
|
|
45
45
|
options,
|
|
@@ -52,13 +52,11 @@ export class Community extends ClientSDK {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Retrieve a paginated list of GitHub organizations.
|
|
54
54
|
*/
|
|
55
|
-
async
|
|
56
|
-
request?:
|
|
57
|
-
| operations.AppsApiRestV0OrganizationListOrganizationRequest
|
|
58
|
-
| undefined,
|
|
55
|
+
async listOrganizations(
|
|
56
|
+
request?: operations.ListOrganizationsRequest | undefined,
|
|
59
57
|
options?: RequestOptions,
|
|
60
58
|
): Promise<models.PagedOrganizationSchema> {
|
|
61
|
-
return unwrapAsync(
|
|
59
|
+
return unwrapAsync(communityListOrganizations(
|
|
62
60
|
this,
|
|
63
61
|
request,
|
|
64
62
|
options,
|
|
@@ -71,11 +69,11 @@ export class Community extends ClientSDK {
|
|
|
71
69
|
* @remarks
|
|
72
70
|
* Retrieve project details.
|
|
73
71
|
*/
|
|
74
|
-
async
|
|
75
|
-
request: operations.
|
|
72
|
+
async getOrganization(
|
|
73
|
+
request: operations.GetOrganizationRequest,
|
|
76
74
|
options?: RequestOptions,
|
|
77
75
|
): Promise<models.OrganizationSchema> {
|
|
78
|
-
return unwrapAsync(
|
|
76
|
+
return unwrapAsync(communityGetOrganization(
|
|
79
77
|
this,
|
|
80
78
|
request,
|
|
81
79
|
options,
|