owasp-nest 0.2.1 → 0.2.3
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 +63 -40
- 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/funcs/sponsorsGetSponsor.d.ts +19 -0
- package/dist/commonjs/funcs/sponsorsGetSponsor.d.ts.map +1 -0
- package/dist/commonjs/funcs/sponsorsGetSponsor.js +124 -0
- package/dist/commonjs/funcs/sponsorsGetSponsor.js.map +1 -0
- package/dist/commonjs/funcs/sponsorsListSponsors.d.ts +18 -0
- package/dist/commonjs/funcs/sponsorsListSponsors.d.ts.map +1 -0
- package/dist/commonjs/funcs/sponsorsListSponsors.js +123 -0
- package/dist/commonjs/funcs/sponsorsListSponsors.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +5 -5
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +4 -4
- 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/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/sponsorerrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/sponsorerrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/errors/sponsorerrorresponse.js +85 -0
- package/dist/commonjs/models/errors/sponsorerrorresponse.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/membertype.d.ts +31 -0
- package/dist/commonjs/models/membertype.d.ts.map +1 -0
- package/dist/commonjs/models/membertype.js +62 -0
- package/dist/commonjs/models/membertype.js.map +1 -0
- 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/getsponsor.d.ts +29 -0
- package/dist/commonjs/models/operations/getsponsor.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getsponsor.js +78 -0
- package/dist/commonjs/models/operations/getsponsor.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +11 -9
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +11 -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/operations/listsponsors.d.ts +84 -0
- package/dist/commonjs/models/operations/listsponsors.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listsponsors.js +117 -0
- package/dist/commonjs/models/operations/listsponsors.js.map +1 -0
- package/dist/commonjs/models/pagedsponsorschema.d.ts +32 -0
- package/dist/commonjs/models/pagedsponsorschema.d.ts.map +1 -0
- package/dist/commonjs/models/pagedsponsorschema.js +72 -0
- package/dist/commonjs/models/pagedsponsorschema.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/models/sponsorschema.d.ts +48 -0
- package/dist/commonjs/models/sponsorschema.d.ts.map +1 -0
- package/dist/commonjs/models/sponsorschema.js +102 -0
- package/dist/commonjs/models/sponsorschema.js.map +1 -0
- 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/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/sponsors.d.ts +20 -0
- package/dist/commonjs/sdk/sponsors.d.ts.map +1 -0
- package/dist/commonjs/sdk/sponsors.js +32 -0
- package/dist/commonjs/sdk/sponsors.js.map +1 -0
- 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/funcs/sponsorsGetSponsor.d.ts +19 -0
- package/dist/esm/funcs/sponsorsGetSponsor.d.ts.map +1 -0
- package/dist/esm/funcs/sponsorsGetSponsor.js +88 -0
- package/dist/esm/funcs/sponsorsGetSponsor.js.map +1 -0
- package/dist/esm/funcs/sponsorsListSponsors.d.ts +18 -0
- package/dist/esm/funcs/sponsorsListSponsors.d.ts.map +1 -0
- package/dist/esm/funcs/sponsorsListSponsors.js +87 -0
- package/dist/esm/funcs/sponsorsListSponsors.js.map +1 -0
- package/dist/esm/lib/config.d.ts +5 -5
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +4 -4
- 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/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/sponsorerrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/sponsorerrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/sponsorerrorresponse.js +48 -0
- package/dist/esm/models/errors/sponsorerrorresponse.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/membertype.d.ts +31 -0
- package/dist/esm/models/membertype.d.ts.map +1 -0
- package/dist/esm/models/membertype.js +26 -0
- package/dist/esm/models/membertype.js.map +1 -0
- 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/getsponsor.d.ts +29 -0
- package/dist/esm/models/operations/getsponsor.d.ts.map +1 -0
- package/dist/esm/models/operations/getsponsor.js +40 -0
- package/dist/esm/models/operations/getsponsor.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +11 -9
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +11 -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/operations/listsponsors.d.ts +84 -0
- package/dist/esm/models/operations/listsponsors.d.ts.map +1 -0
- package/dist/esm/models/operations/listsponsors.js +79 -0
- package/dist/esm/models/operations/listsponsors.js.map +1 -0
- package/dist/esm/models/pagedsponsorschema.d.ts +32 -0
- package/dist/esm/models/pagedsponsorschema.d.ts.map +1 -0
- package/dist/esm/models/pagedsponsorschema.js +34 -0
- package/dist/esm/models/pagedsponsorschema.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/models/sponsorschema.d.ts +48 -0
- package/dist/esm/models/sponsorschema.d.ts.map +1 -0
- package/dist/esm/models/sponsorschema.js +64 -0
- package/dist/esm/models/sponsorschema.js.map +1 -0
- 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/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/sponsors.d.ts +20 -0
- package/dist/esm/sdk/sponsors.d.ts.map +1 -0
- package/dist/esm/sdk/sponsors.js +28 -0
- package/dist/esm/sdk/sponsors.js.map +1 -0
- 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/docs/sdks/sponsors/README.md +156 -0
- 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/funcs/sponsorsGetSponsor.ts +176 -0
- package/src/funcs/sponsorsListSponsors.ts +171 -0
- package/src/lib/config.ts +5 -5
- package/src/lib/env.ts +2 -2
- package/src/lib/security.ts +1 -1
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/sponsorerrorresponse.ts +80 -0
- package/src/models/index.ts +3 -0
- package/src/models/membertype.ts +32 -0
- 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/getsponsor.ts +75 -0
- package/src/models/operations/index.ts +11 -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/operations/listsponsors.ts +148 -0
- package/src/models/pagedsponsorschema.ts +76 -0
- package/src/models/security.ts +6 -6
- package/src/models/sponsorschema.ts +114 -0
- 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/src/sdk/sdk.ts +6 -0
- package/src/sdk/sponsors.ts +46 -0
- 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
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Ordering field
|
|
14
|
-
*/
|
|
15
|
-
export const AppsApiRestV0ChapterListChaptersOrdering = {
|
|
16
|
-
CreatedAt: "created_at",
|
|
17
|
-
MinusCreatedAt: "-created_at",
|
|
18
|
-
UpdatedAt: "updated_at",
|
|
19
|
-
MinusUpdatedAt: "-updated_at",
|
|
20
|
-
} as const;
|
|
21
|
-
/**
|
|
22
|
-
* Ordering field
|
|
23
|
-
*/
|
|
24
|
-
export type AppsApiRestV0ChapterListChaptersOrdering = ClosedEnum<
|
|
25
|
-
typeof AppsApiRestV0ChapterListChaptersOrdering
|
|
26
|
-
>;
|
|
27
|
-
|
|
28
|
-
export type AppsApiRestV0ChapterListChaptersRequest = {
|
|
29
|
-
/**
|
|
30
|
-
* Country of the chapter
|
|
31
|
-
*/
|
|
32
|
-
country?: string | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Region of the chapter
|
|
35
|
-
*/
|
|
36
|
-
region?: string | null | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Ordering field
|
|
39
|
-
*/
|
|
40
|
-
ordering?: AppsApiRestV0ChapterListChaptersOrdering | null | undefined;
|
|
41
|
-
page?: number | undefined;
|
|
42
|
-
pageSize?: number | null | undefined;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const AppsApiRestV0ChapterListChaptersOrdering$inboundSchema:
|
|
47
|
-
z.ZodNativeEnum<typeof AppsApiRestV0ChapterListChaptersOrdering> = z
|
|
48
|
-
.nativeEnum(AppsApiRestV0ChapterListChaptersOrdering);
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const AppsApiRestV0ChapterListChaptersOrdering$outboundSchema:
|
|
52
|
-
z.ZodNativeEnum<typeof AppsApiRestV0ChapterListChaptersOrdering> =
|
|
53
|
-
AppsApiRestV0ChapterListChaptersOrdering$inboundSchema;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export namespace AppsApiRestV0ChapterListChaptersOrdering$ {
|
|
60
|
-
/** @deprecated use `AppsApiRestV0ChapterListChaptersOrdering$inboundSchema` instead. */
|
|
61
|
-
export const inboundSchema =
|
|
62
|
-
AppsApiRestV0ChapterListChaptersOrdering$inboundSchema;
|
|
63
|
-
/** @deprecated use `AppsApiRestV0ChapterListChaptersOrdering$outboundSchema` instead. */
|
|
64
|
-
export const outboundSchema =
|
|
65
|
-
AppsApiRestV0ChapterListChaptersOrdering$outboundSchema;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/** @internal */
|
|
69
|
-
export const AppsApiRestV0ChapterListChaptersRequest$inboundSchema: z.ZodType<
|
|
70
|
-
AppsApiRestV0ChapterListChaptersRequest,
|
|
71
|
-
z.ZodTypeDef,
|
|
72
|
-
unknown
|
|
73
|
-
> = z.object({
|
|
74
|
-
country: z.nullable(z.string()).optional(),
|
|
75
|
-
region: z.nullable(z.string()).optional(),
|
|
76
|
-
ordering: z.nullable(AppsApiRestV0ChapterListChaptersOrdering$inboundSchema)
|
|
77
|
-
.optional(),
|
|
78
|
-
page: z.number().int().default(1),
|
|
79
|
-
page_size: z.nullable(z.number().int()).optional(),
|
|
80
|
-
}).transform((v) => {
|
|
81
|
-
return remap$(v, {
|
|
82
|
-
"page_size": "pageSize",
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type AppsApiRestV0ChapterListChaptersRequest$Outbound = {
|
|
88
|
-
country?: string | null | undefined;
|
|
89
|
-
region?: string | null | undefined;
|
|
90
|
-
ordering?: string | null | undefined;
|
|
91
|
-
page: number;
|
|
92
|
-
page_size?: number | null | undefined;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/** @internal */
|
|
96
|
-
export const AppsApiRestV0ChapterListChaptersRequest$outboundSchema: z.ZodType<
|
|
97
|
-
AppsApiRestV0ChapterListChaptersRequest$Outbound,
|
|
98
|
-
z.ZodTypeDef,
|
|
99
|
-
AppsApiRestV0ChapterListChaptersRequest
|
|
100
|
-
> = z.object({
|
|
101
|
-
country: z.nullable(z.string()).optional(),
|
|
102
|
-
region: z.nullable(z.string()).optional(),
|
|
103
|
-
ordering: z.nullable(AppsApiRestV0ChapterListChaptersOrdering$outboundSchema)
|
|
104
|
-
.optional(),
|
|
105
|
-
page: z.number().int().default(1),
|
|
106
|
-
pageSize: z.nullable(z.number().int()).optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
pageSize: "page_size",
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
-
*/
|
|
117
|
-
export namespace AppsApiRestV0ChapterListChaptersRequest$ {
|
|
118
|
-
/** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$inboundSchema` instead. */
|
|
119
|
-
export const inboundSchema =
|
|
120
|
-
AppsApiRestV0ChapterListChaptersRequest$inboundSchema;
|
|
121
|
-
/** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$outboundSchema` instead. */
|
|
122
|
-
export const outboundSchema =
|
|
123
|
-
AppsApiRestV0ChapterListChaptersRequest$outboundSchema;
|
|
124
|
-
/** @deprecated use `AppsApiRestV0ChapterListChaptersRequest$Outbound` instead. */
|
|
125
|
-
export type Outbound = AppsApiRestV0ChapterListChaptersRequest$Outbound;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export function appsApiRestV0ChapterListChaptersRequestToJSON(
|
|
129
|
-
appsApiRestV0ChapterListChaptersRequest:
|
|
130
|
-
AppsApiRestV0ChapterListChaptersRequest,
|
|
131
|
-
): string {
|
|
132
|
-
return JSON.stringify(
|
|
133
|
-
AppsApiRestV0ChapterListChaptersRequest$outboundSchema.parse(
|
|
134
|
-
appsApiRestV0ChapterListChaptersRequest,
|
|
135
|
-
),
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export function appsApiRestV0ChapterListChaptersRequestFromJSON(
|
|
140
|
-
jsonString: string,
|
|
141
|
-
): SafeParseResult<
|
|
142
|
-
AppsApiRestV0ChapterListChaptersRequest,
|
|
143
|
-
SDKValidationError
|
|
144
|
-
> {
|
|
145
|
-
return safeParse(
|
|
146
|
-
jsonString,
|
|
147
|
-
(x) =>
|
|
148
|
-
AppsApiRestV0ChapterListChaptersRequest$inboundSchema.parse(
|
|
149
|
-
JSON.parse(x),
|
|
150
|
-
),
|
|
151
|
-
`Failed to parse 'AppsApiRestV0ChapterListChaptersRequest' from JSON`,
|
|
152
|
-
);
|
|
153
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type AppsApiRestV0CommitteeGetChapterRequest = {
|
|
12
|
-
committeeId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const AppsApiRestV0CommitteeGetChapterRequest$inboundSchema: z.ZodType<
|
|
17
|
-
AppsApiRestV0CommitteeGetChapterRequest,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
committee_id: z.string(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
"committee_id": "committeeId",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type AppsApiRestV0CommitteeGetChapterRequest$Outbound = {
|
|
30
|
-
committee_id: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const AppsApiRestV0CommitteeGetChapterRequest$outboundSchema: z.ZodType<
|
|
35
|
-
AppsApiRestV0CommitteeGetChapterRequest$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
AppsApiRestV0CommitteeGetChapterRequest
|
|
38
|
-
> = z.object({
|
|
39
|
-
committeeId: z.string(),
|
|
40
|
-
}).transform((v) => {
|
|
41
|
-
return remap$(v, {
|
|
42
|
-
committeeId: "committee_id",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace AppsApiRestV0CommitteeGetChapterRequest$ {
|
|
51
|
-
/** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema =
|
|
53
|
-
AppsApiRestV0CommitteeGetChapterRequest$inboundSchema;
|
|
54
|
-
/** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema =
|
|
56
|
-
AppsApiRestV0CommitteeGetChapterRequest$outboundSchema;
|
|
57
|
-
/** @deprecated use `AppsApiRestV0CommitteeGetChapterRequest$Outbound` instead. */
|
|
58
|
-
export type Outbound = AppsApiRestV0CommitteeGetChapterRequest$Outbound;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function appsApiRestV0CommitteeGetChapterRequestToJSON(
|
|
62
|
-
appsApiRestV0CommitteeGetChapterRequest:
|
|
63
|
-
AppsApiRestV0CommitteeGetChapterRequest,
|
|
64
|
-
): string {
|
|
65
|
-
return JSON.stringify(
|
|
66
|
-
AppsApiRestV0CommitteeGetChapterRequest$outboundSchema.parse(
|
|
67
|
-
appsApiRestV0CommitteeGetChapterRequest,
|
|
68
|
-
),
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function appsApiRestV0CommitteeGetChapterRequestFromJSON(
|
|
73
|
-
jsonString: string,
|
|
74
|
-
): SafeParseResult<
|
|
75
|
-
AppsApiRestV0CommitteeGetChapterRequest,
|
|
76
|
-
SDKValidationError
|
|
77
|
-
> {
|
|
78
|
-
return safeParse(
|
|
79
|
-
jsonString,
|
|
80
|
-
(x) =>
|
|
81
|
-
AppsApiRestV0CommitteeGetChapterRequest$inboundSchema.parse(
|
|
82
|
-
JSON.parse(x),
|
|
83
|
-
),
|
|
84
|
-
`Failed to parse 'AppsApiRestV0CommitteeGetChapterRequest' from JSON`,
|
|
85
|
-
);
|
|
86
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Ordering field
|
|
14
|
-
*/
|
|
15
|
-
export const AppsApiRestV0EventListEventsOrdering = {
|
|
16
|
-
StartDate: "start_date",
|
|
17
|
-
MinusStartDate: "-start_date",
|
|
18
|
-
EndDate: "end_date",
|
|
19
|
-
MinusEndDate: "-end_date",
|
|
20
|
-
} as const;
|
|
21
|
-
/**
|
|
22
|
-
* Ordering field
|
|
23
|
-
*/
|
|
24
|
-
export type AppsApiRestV0EventListEventsOrdering = ClosedEnum<
|
|
25
|
-
typeof AppsApiRestV0EventListEventsOrdering
|
|
26
|
-
>;
|
|
27
|
-
|
|
28
|
-
export type AppsApiRestV0EventListEventsRequest = {
|
|
29
|
-
/**
|
|
30
|
-
* Ordering field
|
|
31
|
-
*/
|
|
32
|
-
ordering?: AppsApiRestV0EventListEventsOrdering | null | undefined;
|
|
33
|
-
page?: number | undefined;
|
|
34
|
-
pageSize?: number | null | undefined;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/** @internal */
|
|
38
|
-
export const AppsApiRestV0EventListEventsOrdering$inboundSchema:
|
|
39
|
-
z.ZodNativeEnum<typeof AppsApiRestV0EventListEventsOrdering> = z.nativeEnum(
|
|
40
|
-
AppsApiRestV0EventListEventsOrdering,
|
|
41
|
-
);
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const AppsApiRestV0EventListEventsOrdering$outboundSchema:
|
|
45
|
-
z.ZodNativeEnum<typeof AppsApiRestV0EventListEventsOrdering> =
|
|
46
|
-
AppsApiRestV0EventListEventsOrdering$inboundSchema;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export namespace AppsApiRestV0EventListEventsOrdering$ {
|
|
53
|
-
/** @deprecated use `AppsApiRestV0EventListEventsOrdering$inboundSchema` instead. */
|
|
54
|
-
export const inboundSchema =
|
|
55
|
-
AppsApiRestV0EventListEventsOrdering$inboundSchema;
|
|
56
|
-
/** @deprecated use `AppsApiRestV0EventListEventsOrdering$outboundSchema` instead. */
|
|
57
|
-
export const outboundSchema =
|
|
58
|
-
AppsApiRestV0EventListEventsOrdering$outboundSchema;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/** @internal */
|
|
62
|
-
export const AppsApiRestV0EventListEventsRequest$inboundSchema: z.ZodType<
|
|
63
|
-
AppsApiRestV0EventListEventsRequest,
|
|
64
|
-
z.ZodTypeDef,
|
|
65
|
-
unknown
|
|
66
|
-
> = z.object({
|
|
67
|
-
ordering: z.nullable(AppsApiRestV0EventListEventsOrdering$inboundSchema)
|
|
68
|
-
.optional(),
|
|
69
|
-
page: z.number().int().default(1),
|
|
70
|
-
page_size: z.nullable(z.number().int()).optional(),
|
|
71
|
-
}).transform((v) => {
|
|
72
|
-
return remap$(v, {
|
|
73
|
-
"page_size": "pageSize",
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export type AppsApiRestV0EventListEventsRequest$Outbound = {
|
|
79
|
-
ordering?: string | null | undefined;
|
|
80
|
-
page: number;
|
|
81
|
-
page_size?: number | null | undefined;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
/** @internal */
|
|
85
|
-
export const AppsApiRestV0EventListEventsRequest$outboundSchema: z.ZodType<
|
|
86
|
-
AppsApiRestV0EventListEventsRequest$Outbound,
|
|
87
|
-
z.ZodTypeDef,
|
|
88
|
-
AppsApiRestV0EventListEventsRequest
|
|
89
|
-
> = z.object({
|
|
90
|
-
ordering: z.nullable(AppsApiRestV0EventListEventsOrdering$outboundSchema)
|
|
91
|
-
.optional(),
|
|
92
|
-
page: z.number().int().default(1),
|
|
93
|
-
pageSize: z.nullable(z.number().int()).optional(),
|
|
94
|
-
}).transform((v) => {
|
|
95
|
-
return remap$(v, {
|
|
96
|
-
pageSize: "page_size",
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
102
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
103
|
-
*/
|
|
104
|
-
export namespace AppsApiRestV0EventListEventsRequest$ {
|
|
105
|
-
/** @deprecated use `AppsApiRestV0EventListEventsRequest$inboundSchema` instead. */
|
|
106
|
-
export const inboundSchema =
|
|
107
|
-
AppsApiRestV0EventListEventsRequest$inboundSchema;
|
|
108
|
-
/** @deprecated use `AppsApiRestV0EventListEventsRequest$outboundSchema` instead. */
|
|
109
|
-
export const outboundSchema =
|
|
110
|
-
AppsApiRestV0EventListEventsRequest$outboundSchema;
|
|
111
|
-
/** @deprecated use `AppsApiRestV0EventListEventsRequest$Outbound` instead. */
|
|
112
|
-
export type Outbound = AppsApiRestV0EventListEventsRequest$Outbound;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export function appsApiRestV0EventListEventsRequestToJSON(
|
|
116
|
-
appsApiRestV0EventListEventsRequest: AppsApiRestV0EventListEventsRequest,
|
|
117
|
-
): string {
|
|
118
|
-
return JSON.stringify(
|
|
119
|
-
AppsApiRestV0EventListEventsRequest$outboundSchema.parse(
|
|
120
|
-
appsApiRestV0EventListEventsRequest,
|
|
121
|
-
),
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export function appsApiRestV0EventListEventsRequestFromJSON(
|
|
126
|
-
jsonString: string,
|
|
127
|
-
): SafeParseResult<AppsApiRestV0EventListEventsRequest, SDKValidationError> {
|
|
128
|
-
return safeParse(
|
|
129
|
-
jsonString,
|
|
130
|
-
(x) =>
|
|
131
|
-
AppsApiRestV0EventListEventsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
132
|
-
`Failed to parse 'AppsApiRestV0EventListEventsRequest' from JSON`,
|
|
133
|
-
);
|
|
134
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type AppsApiRestV0MemberGetMemberRequest = {
|
|
12
|
-
memberId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const AppsApiRestV0MemberGetMemberRequest$inboundSchema: z.ZodType<
|
|
17
|
-
AppsApiRestV0MemberGetMemberRequest,
|
|
18
|
-
z.ZodTypeDef,
|
|
19
|
-
unknown
|
|
20
|
-
> = z.object({
|
|
21
|
-
member_id: z.string(),
|
|
22
|
-
}).transform((v) => {
|
|
23
|
-
return remap$(v, {
|
|
24
|
-
"member_id": "memberId",
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export type AppsApiRestV0MemberGetMemberRequest$Outbound = {
|
|
30
|
-
member_id: string;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const AppsApiRestV0MemberGetMemberRequest$outboundSchema: z.ZodType<
|
|
35
|
-
AppsApiRestV0MemberGetMemberRequest$Outbound,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
AppsApiRestV0MemberGetMemberRequest
|
|
38
|
-
> = z.object({
|
|
39
|
-
memberId: z.string(),
|
|
40
|
-
}).transform((v) => {
|
|
41
|
-
return remap$(v, {
|
|
42
|
-
memberId: "member_id",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
49
|
-
*/
|
|
50
|
-
export namespace AppsApiRestV0MemberGetMemberRequest$ {
|
|
51
|
-
/** @deprecated use `AppsApiRestV0MemberGetMemberRequest$inboundSchema` instead. */
|
|
52
|
-
export const inboundSchema =
|
|
53
|
-
AppsApiRestV0MemberGetMemberRequest$inboundSchema;
|
|
54
|
-
/** @deprecated use `AppsApiRestV0MemberGetMemberRequest$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema =
|
|
56
|
-
AppsApiRestV0MemberGetMemberRequest$outboundSchema;
|
|
57
|
-
/** @deprecated use `AppsApiRestV0MemberGetMemberRequest$Outbound` instead. */
|
|
58
|
-
export type Outbound = AppsApiRestV0MemberGetMemberRequest$Outbound;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function appsApiRestV0MemberGetMemberRequestToJSON(
|
|
62
|
-
appsApiRestV0MemberGetMemberRequest: AppsApiRestV0MemberGetMemberRequest,
|
|
63
|
-
): string {
|
|
64
|
-
return JSON.stringify(
|
|
65
|
-
AppsApiRestV0MemberGetMemberRequest$outboundSchema.parse(
|
|
66
|
-
appsApiRestV0MemberGetMemberRequest,
|
|
67
|
-
),
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function appsApiRestV0MemberGetMemberRequestFromJSON(
|
|
72
|
-
jsonString: string,
|
|
73
|
-
): SafeParseResult<AppsApiRestV0MemberGetMemberRequest, SDKValidationError> {
|
|
74
|
-
return safeParse(
|
|
75
|
-
jsonString,
|
|
76
|
-
(x) =>
|
|
77
|
-
AppsApiRestV0MemberGetMemberRequest$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
-
`Failed to parse 'AppsApiRestV0MemberGetMemberRequest' from JSON`,
|
|
79
|
-
);
|
|
80
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
export type AppsApiRestV0OrganizationGetOrganizationRequest = {
|
|
12
|
-
organizationId: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema:
|
|
17
|
-
z.ZodType<
|
|
18
|
-
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
unknown
|
|
21
|
-
> = z.object({
|
|
22
|
-
organization_id: z.string(),
|
|
23
|
-
}).transform((v) => {
|
|
24
|
-
return remap$(v, {
|
|
25
|
-
"organization_id": "organizationId",
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export type AppsApiRestV0OrganizationGetOrganizationRequest$Outbound = {
|
|
31
|
-
organization_id: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/** @internal */
|
|
35
|
-
export const AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema:
|
|
36
|
-
z.ZodType<
|
|
37
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$Outbound,
|
|
38
|
-
z.ZodTypeDef,
|
|
39
|
-
AppsApiRestV0OrganizationGetOrganizationRequest
|
|
40
|
-
> = z.object({
|
|
41
|
-
organizationId: z.string(),
|
|
42
|
-
}).transform((v) => {
|
|
43
|
-
return remap$(v, {
|
|
44
|
-
organizationId: "organization_id",
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export namespace AppsApiRestV0OrganizationGetOrganizationRequest$ {
|
|
53
|
-
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema` instead. */
|
|
54
|
-
export const inboundSchema =
|
|
55
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema;
|
|
56
|
-
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema` instead. */
|
|
57
|
-
export const outboundSchema =
|
|
58
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema;
|
|
59
|
-
/** @deprecated use `AppsApiRestV0OrganizationGetOrganizationRequest$Outbound` instead. */
|
|
60
|
-
export type Outbound =
|
|
61
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$Outbound;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function appsApiRestV0OrganizationGetOrganizationRequestToJSON(
|
|
65
|
-
appsApiRestV0OrganizationGetOrganizationRequest:
|
|
66
|
-
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
67
|
-
): string {
|
|
68
|
-
return JSON.stringify(
|
|
69
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$outboundSchema.parse(
|
|
70
|
-
appsApiRestV0OrganizationGetOrganizationRequest,
|
|
71
|
-
),
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function appsApiRestV0OrganizationGetOrganizationRequestFromJSON(
|
|
76
|
-
jsonString: string,
|
|
77
|
-
): SafeParseResult<
|
|
78
|
-
AppsApiRestV0OrganizationGetOrganizationRequest,
|
|
79
|
-
SDKValidationError
|
|
80
|
-
> {
|
|
81
|
-
return safeParse(
|
|
82
|
-
jsonString,
|
|
83
|
-
(x) =>
|
|
84
|
-
AppsApiRestV0OrganizationGetOrganizationRequest$inboundSchema.parse(
|
|
85
|
-
JSON.parse(x),
|
|
86
|
-
),
|
|
87
|
-
`Failed to parse 'AppsApiRestV0OrganizationGetOrganizationRequest' from JSON`,
|
|
88
|
-
);
|
|
89
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Ordering field
|
|
14
|
-
*/
|
|
15
|
-
export const AppsApiRestV0OrganizationListOrganizationOrdering = {
|
|
16
|
-
CreatedAt: "created_at",
|
|
17
|
-
MinusCreatedAt: "-created_at",
|
|
18
|
-
UpdatedAt: "updated_at",
|
|
19
|
-
MinusUpdatedAt: "-updated_at",
|
|
20
|
-
} as const;
|
|
21
|
-
/**
|
|
22
|
-
* Ordering field
|
|
23
|
-
*/
|
|
24
|
-
export type AppsApiRestV0OrganizationListOrganizationOrdering = ClosedEnum<
|
|
25
|
-
typeof AppsApiRestV0OrganizationListOrganizationOrdering
|
|
26
|
-
>;
|
|
27
|
-
|
|
28
|
-
export type AppsApiRestV0OrganizationListOrganizationRequest = {
|
|
29
|
-
/**
|
|
30
|
-
* Location of the organization
|
|
31
|
-
*/
|
|
32
|
-
location?: string | null | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Ordering field
|
|
35
|
-
*/
|
|
36
|
-
ordering?:
|
|
37
|
-
| AppsApiRestV0OrganizationListOrganizationOrdering
|
|
38
|
-
| null
|
|
39
|
-
| undefined;
|
|
40
|
-
page?: number | undefined;
|
|
41
|
-
pageSize?: number | null | undefined;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema:
|
|
46
|
-
z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> = z
|
|
47
|
-
.nativeEnum(AppsApiRestV0OrganizationListOrganizationOrdering);
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema:
|
|
51
|
-
z.ZodNativeEnum<typeof AppsApiRestV0OrganizationListOrganizationOrdering> =
|
|
52
|
-
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
-
*/
|
|
58
|
-
export namespace AppsApiRestV0OrganizationListOrganizationOrdering$ {
|
|
59
|
-
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema` instead. */
|
|
60
|
-
export const inboundSchema =
|
|
61
|
-
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema;
|
|
62
|
-
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema` instead. */
|
|
63
|
-
export const outboundSchema =
|
|
64
|
-
AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/** @internal */
|
|
68
|
-
export const AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema:
|
|
69
|
-
z.ZodType<
|
|
70
|
-
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
71
|
-
z.ZodTypeDef,
|
|
72
|
-
unknown
|
|
73
|
-
> = z.object({
|
|
74
|
-
location: z.nullable(z.string()).optional(),
|
|
75
|
-
ordering: z.nullable(
|
|
76
|
-
AppsApiRestV0OrganizationListOrganizationOrdering$inboundSchema,
|
|
77
|
-
).optional(),
|
|
78
|
-
page: z.number().int().default(1),
|
|
79
|
-
page_size: z.nullable(z.number().int()).optional(),
|
|
80
|
-
}).transform((v) => {
|
|
81
|
-
return remap$(v, {
|
|
82
|
-
"page_size": "pageSize",
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export type AppsApiRestV0OrganizationListOrganizationRequest$Outbound = {
|
|
88
|
-
location?: string | null | undefined;
|
|
89
|
-
ordering?: string | null | undefined;
|
|
90
|
-
page: number;
|
|
91
|
-
page_size?: number | null | undefined;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
/** @internal */
|
|
95
|
-
export const AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema:
|
|
96
|
-
z.ZodType<
|
|
97
|
-
AppsApiRestV0OrganizationListOrganizationRequest$Outbound,
|
|
98
|
-
z.ZodTypeDef,
|
|
99
|
-
AppsApiRestV0OrganizationListOrganizationRequest
|
|
100
|
-
> = z.object({
|
|
101
|
-
location: z.nullable(z.string()).optional(),
|
|
102
|
-
ordering: z.nullable(
|
|
103
|
-
AppsApiRestV0OrganizationListOrganizationOrdering$outboundSchema,
|
|
104
|
-
).optional(),
|
|
105
|
-
page: z.number().int().default(1),
|
|
106
|
-
pageSize: z.nullable(z.number().int()).optional(),
|
|
107
|
-
}).transform((v) => {
|
|
108
|
-
return remap$(v, {
|
|
109
|
-
pageSize: "page_size",
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
-
*/
|
|
117
|
-
export namespace AppsApiRestV0OrganizationListOrganizationRequest$ {
|
|
118
|
-
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema` instead. */
|
|
119
|
-
export const inboundSchema =
|
|
120
|
-
AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema;
|
|
121
|
-
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema` instead. */
|
|
122
|
-
export const outboundSchema =
|
|
123
|
-
AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema;
|
|
124
|
-
/** @deprecated use `AppsApiRestV0OrganizationListOrganizationRequest$Outbound` instead. */
|
|
125
|
-
export type Outbound =
|
|
126
|
-
AppsApiRestV0OrganizationListOrganizationRequest$Outbound;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function appsApiRestV0OrganizationListOrganizationRequestToJSON(
|
|
130
|
-
appsApiRestV0OrganizationListOrganizationRequest:
|
|
131
|
-
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
132
|
-
): string {
|
|
133
|
-
return JSON.stringify(
|
|
134
|
-
AppsApiRestV0OrganizationListOrganizationRequest$outboundSchema.parse(
|
|
135
|
-
appsApiRestV0OrganizationListOrganizationRequest,
|
|
136
|
-
),
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export function appsApiRestV0OrganizationListOrganizationRequestFromJSON(
|
|
141
|
-
jsonString: string,
|
|
142
|
-
): SafeParseResult<
|
|
143
|
-
AppsApiRestV0OrganizationListOrganizationRequest,
|
|
144
|
-
SDKValidationError
|
|
145
|
-
> {
|
|
146
|
-
return safeParse(
|
|
147
|
-
jsonString,
|
|
148
|
-
(x) =>
|
|
149
|
-
AppsApiRestV0OrganizationListOrganizationRequest$inboundSchema.parse(
|
|
150
|
-
JSON.parse(x),
|
|
151
|
-
),
|
|
152
|
-
`Failed to parse 'AppsApiRestV0OrganizationListOrganizationRequest' from JSON`,
|
|
153
|
-
);
|
|
154
|
-
}
|