owasp-nest 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -6
- package/README.md +31 -37
- package/dist/commonjs/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +7 -7
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
- package/dist/{esm/funcs/chaptersListChapters.d.ts → commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +2 -2
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
- package/dist/commonjs/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +6 -5
- package/dist/commonjs/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +124 -0
- package/dist/commonjs/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
- package/dist/commonjs/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +9 -9
- package/dist/commonjs/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +125 -0
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
- package/dist/commonjs/funcs/{projectsListProjects.d.ts → communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +6 -5
- package/dist/commonjs/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
- package/dist/{esm/funcs/eventsListEvents.d.ts → commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +6 -5
- package/dist/commonjs/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js +124 -0
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
- package/dist/{esm/funcs/projectsListProjects.d.ts → commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts} +2 -2
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
- package/dist/commonjs/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +6 -5
- package/dist/commonjs/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/models/errors/committeeerrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/committeeerrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/getchapter.js → errors/committeeerrorresponse.js} +39 -23
- package/dist/commonjs/models/errors/committeeerrorresponse.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +3 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +3 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/organizationerrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.js +85 -0
- package/dist/commonjs/models/errors/organizationerrorresponse.js.map +1 -0
- package/dist/commonjs/models/errors/projecterrorresponse.d.ts +41 -0
- package/dist/commonjs/models/errors/projecterrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/getmember.js → errors/projecterrorresponse.js} +39 -23
- package/dist/commonjs/models/errors/projecterrorresponse.js.map +1 -0
- package/dist/commonjs/models/memberschema.d.ts +0 -2
- package/dist/commonjs/models/memberschema.d.ts.map +1 -1
- package/dist/commonjs/models/memberschema.js +0 -2
- package/dist/commonjs/models/memberschema.js.map +1 -1
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js +113 -0
- package/dist/commonjs/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js +108 -0
- package/dist/commonjs/models/operations/appsapirestv0eventlistevents.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0membergetmember.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js +109 -0
- package/dist/commonjs/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js +78 -0
- package/dist/commonjs/models/operations/appsapirestv0projectgetproject.js.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js +112 -0
- package/dist/commonjs/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -6
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -6
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/chapters.d.ts +2 -2
- package/dist/commonjs/sdk/chapters.d.ts.map +1 -1
- package/dist/commonjs/sdk/chapters.js +6 -6
- package/dist/commonjs/sdk/chapters.js.map +1 -1
- package/dist/commonjs/sdk/committees.d.ts +7 -0
- package/dist/commonjs/sdk/committees.d.ts.map +1 -1
- package/dist/commonjs/sdk/committees.js +10 -0
- package/dist/commonjs/sdk/committees.js.map +1 -1
- package/dist/commonjs/sdk/community.d.ts +11 -4
- package/dist/commonjs/sdk/community.d.ts.map +1 -1
- package/dist/commonjs/sdk/community.js +18 -8
- package/dist/commonjs/sdk/community.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +1 -1
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +3 -3
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/projects.d.ts +8 -1
- package/dist/commonjs/sdk/projects.d.ts.map +1 -1
- package/dist/commonjs/sdk/projects.js +13 -3
- package/dist/commonjs/sdk/projects.js.map +1 -1
- package/dist/esm/funcs/{chaptersGetChapter.d.ts → chaptersAppsApiRestV0ChapterGetChapter.d.ts} +2 -2
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersGetChapter.js → chaptersAppsApiRestV0ChapterGetChapter.js} +6 -6
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterGetChapter.js.map +1 -0
- package/dist/{commonjs/funcs/communityListOrganizations.d.ts → esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts} +4 -4
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.d.ts.map +1 -0
- package/dist/esm/funcs/{chaptersListChapters.js → chaptersAppsApiRestV0ChapterListChapters.js} +5 -4
- package/dist/esm/funcs/chaptersAppsApiRestV0ChapterListChapters.js.map +1 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts +19 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.d.ts.map +1 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js +88 -0
- package/dist/esm/funcs/committeesAppsApiRestV0CommitteeGetChapter.js.map +1 -0
- package/dist/esm/funcs/{communityGetMember.d.ts → communityAppsApiRestV0MemberGetMember.d.ts} +4 -4
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.d.ts.map +1 -0
- package/dist/esm/funcs/{communityGetMember.js → communityAppsApiRestV0MemberGetMember.js} +8 -8
- package/dist/esm/funcs/communityAppsApiRestV0MemberGetMember.js.map +1 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts +19 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js +89 -0
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationGetOrganization.js.map +1 -0
- package/dist/{commonjs/funcs/chaptersListChapters.d.ts → esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts} +4 -4
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/{communityListOrganizations.js → communityAppsApiRestV0OrganizationListOrganization.js} +5 -4
- package/dist/esm/funcs/communityAppsApiRestV0OrganizationListOrganization.js.map +1 -0
- package/dist/{commonjs/funcs/eventsListEvents.d.ts → esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts} +2 -2
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsListEvents.js → eventsAppsApiRestV0EventListEvents.js} +5 -4
- package/dist/esm/funcs/eventsAppsApiRestV0EventListEvents.js.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts +19 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.d.ts.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js +88 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectGetProject.js.map +1 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts +18 -0
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.d.ts.map +1 -0
- package/dist/esm/funcs/{projectsListProjects.js → projectsAppsApiRestV0ProjectListProjects.js} +5 -4
- package/dist/esm/funcs/projectsAppsApiRestV0ProjectListProjects.js.map +1 -0
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/models/errors/committeeerrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/committeeerrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/committeeerrorresponse.js +48 -0
- package/dist/esm/models/errors/committeeerrorresponse.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +3 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +3 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/organizationerrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/organizationerrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/organizationerrorresponse.js +48 -0
- package/dist/esm/models/errors/organizationerrorresponse.js.map +1 -0
- package/dist/esm/models/errors/projecterrorresponse.d.ts +41 -0
- package/dist/esm/models/errors/projecterrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/projecterrorresponse.js +48 -0
- package/dist/esm/models/errors/projecterrorresponse.js.map +1 -0
- package/dist/esm/models/memberschema.d.ts +0 -2
- package/dist/esm/models/memberschema.d.ts.map +1 -1
- package/dist/esm/models/memberschema.js +0 -2
- package/dist/esm/models/memberschema.js.map +1 -1
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js +40 -0
- package/dist/esm/models/operations/appsapirestv0chaptergetchapter.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts +84 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js +75 -0
- package/dist/esm/models/operations/appsapirestv0chapterlistchapters.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js +40 -0
- package/dist/esm/models/operations/appsapirestv0committeegetchapter.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts +74 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js +70 -0
- package/dist/esm/models/operations/appsapirestv0eventlistevents.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.js +40 -0
- package/dist/esm/models/operations/appsapirestv0membergetmember.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js +40 -0
- package/dist/esm/models/operations/appsapirestv0organizationgetorganization.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts +79 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js +71 -0
- package/dist/esm/models/operations/appsapirestv0organizationlistorganization.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts +29 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js +40 -0
- package/dist/esm/models/operations/appsapirestv0projectgetproject.js.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts +80 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.d.ts.map +1 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js +74 -0
- package/dist/esm/models/operations/appsapirestv0projectlistprojects.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -6
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -6
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/chapters.d.ts +2 -2
- package/dist/esm/sdk/chapters.d.ts.map +1 -1
- package/dist/esm/sdk/chapters.js +6 -6
- package/dist/esm/sdk/chapters.js.map +1 -1
- package/dist/esm/sdk/committees.d.ts +7 -0
- package/dist/esm/sdk/committees.d.ts.map +1 -1
- package/dist/esm/sdk/committees.js +10 -0
- package/dist/esm/sdk/committees.js.map +1 -1
- package/dist/esm/sdk/community.d.ts +11 -4
- package/dist/esm/sdk/community.d.ts.map +1 -1
- package/dist/esm/sdk/community.js +18 -8
- package/dist/esm/sdk/community.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +1 -1
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +3 -3
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/projects.d.ts +8 -1
- package/dist/esm/sdk/projects.d.ts.map +1 -1
- package/dist/esm/sdk/projects.js +13 -3
- package/dist/esm/sdk/projects.js.map +1 -1
- package/docs/sdks/chapters/README.md +18 -24
- package/docs/sdks/committees/README.md +76 -1
- package/docs/sdks/community/README.md +95 -20
- package/docs/sdks/events/README.md +8 -8
- package/docs/sdks/projects/README.md +88 -9
- package/examples/{chaptersListChapters.example.ts → chaptersAppsApiRestV0ChapterListChapters.example.ts} +2 -5
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{chaptersGetChapter.ts → chaptersAppsApiRestV0ChapterGetChapter.ts} +10 -7
- package/src/funcs/{chaptersListChapters.ts → chaptersAppsApiRestV0ChapterListChapters.ts} +6 -5
- package/src/funcs/committeesAppsApiRestV0CommitteeGetChapter.ts +179 -0
- package/src/funcs/{communityGetMember.ts → communityAppsApiRestV0MemberGetMember.ts} +12 -9
- package/src/funcs/communityAppsApiRestV0OrganizationGetOrganization.ts +180 -0
- package/src/funcs/{communityListOrganizations.ts → communityAppsApiRestV0OrganizationListOrganization.ts} +10 -7
- package/src/funcs/{eventsListEvents.ts → eventsAppsApiRestV0EventListEvents.ts} +6 -5
- package/src/funcs/projectsAppsApiRestV0ProjectGetProject.ts +179 -0
- package/src/funcs/{projectsListProjects.ts → projectsAppsApiRestV0ProjectListProjects.ts} +6 -5
- package/src/lib/config.ts +4 -4
- package/src/models/errors/committeeerrorresponse.ts +80 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/organizationerrorresponse.ts +80 -0
- package/src/models/errors/projecterrorresponse.ts +80 -0
- package/src/models/memberschema.ts +0 -4
- package/src/models/operations/appsapirestv0chaptergetchapter.ts +80 -0
- package/src/models/operations/appsapirestv0chapterlistchapters.ts +153 -0
- package/src/models/operations/appsapirestv0committeegetchapter.ts +86 -0
- package/src/models/operations/appsapirestv0eventlistevents.ts +134 -0
- package/src/models/operations/appsapirestv0membergetmember.ts +80 -0
- package/src/models/operations/appsapirestv0organizationgetorganization.ts +89 -0
- package/src/models/operations/appsapirestv0organizationlistorganization.ts +154 -0
- package/src/models/operations/appsapirestv0projectgetproject.ts +80 -0
- package/src/models/operations/appsapirestv0projectlistprojects.ts +147 -0
- package/src/models/operations/index.ts +9 -6
- package/src/sdk/chapters.ts +8 -8
- package/src/sdk/committees.ts +18 -0
- package/src/sdk/community.ts +30 -10
- package/src/sdk/events.ts +4 -4
- package/src/sdk/projects.ts +22 -4
- package/dist/commonjs/funcs/chaptersGetChapter.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersGetChapter.js.map +0 -1
- package/dist/commonjs/funcs/chaptersListChapters.d.ts.map +0 -1
- package/dist/commonjs/funcs/chaptersListChapters.js.map +0 -1
- package/dist/commonjs/funcs/communityGetMember.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityGetMember.js.map +0 -1
- package/dist/commonjs/funcs/communityListOrganizations.d.ts.map +0 -1
- package/dist/commonjs/funcs/communityListOrganizations.js.map +0 -1
- package/dist/commonjs/funcs/eventsListEvents.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsListEvents.js.map +0 -1
- package/dist/commonjs/funcs/projectsListProjects.d.ts.map +0 -1
- package/dist/commonjs/funcs/projectsListProjects.js.map +0 -1
- package/dist/commonjs/models/operations/getchapter.d.ts +0 -29
- package/dist/commonjs/models/operations/getchapter.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getchapter.js.map +0 -1
- package/dist/commonjs/models/operations/getmember.d.ts +0 -29
- package/dist/commonjs/models/operations/getmember.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getmember.js.map +0 -1
- package/dist/commonjs/models/operations/listchapters.d.ts +0 -84
- package/dist/commonjs/models/operations/listchapters.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listchapters.js +0 -110
- package/dist/commonjs/models/operations/listchapters.js.map +0 -1
- package/dist/commonjs/models/operations/listevents.d.ts +0 -74
- package/dist/commonjs/models/operations/listevents.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listevents.js +0 -106
- package/dist/commonjs/models/operations/listevents.js.map +0 -1
- package/dist/commonjs/models/operations/listorganizations.d.ts +0 -79
- package/dist/commonjs/models/operations/listorganizations.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listorganizations.js +0 -108
- package/dist/commonjs/models/operations/listorganizations.js.map +0 -1
- package/dist/commonjs/models/operations/listprojects.d.ts +0 -80
- package/dist/commonjs/models/operations/listprojects.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listprojects.js +0 -109
- package/dist/commonjs/models/operations/listprojects.js.map +0 -1
- package/dist/esm/funcs/chaptersGetChapter.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersGetChapter.js.map +0 -1
- package/dist/esm/funcs/chaptersListChapters.d.ts.map +0 -1
- package/dist/esm/funcs/chaptersListChapters.js.map +0 -1
- package/dist/esm/funcs/communityGetMember.d.ts.map +0 -1
- package/dist/esm/funcs/communityGetMember.js.map +0 -1
- package/dist/esm/funcs/communityListOrganizations.d.ts +0 -18
- package/dist/esm/funcs/communityListOrganizations.d.ts.map +0 -1
- package/dist/esm/funcs/communityListOrganizations.js.map +0 -1
- package/dist/esm/funcs/eventsListEvents.d.ts.map +0 -1
- package/dist/esm/funcs/eventsListEvents.js.map +0 -1
- package/dist/esm/funcs/projectsListProjects.d.ts.map +0 -1
- package/dist/esm/funcs/projectsListProjects.js.map +0 -1
- package/dist/esm/models/operations/getchapter.d.ts +0 -29
- package/dist/esm/models/operations/getchapter.d.ts.map +0 -1
- package/dist/esm/models/operations/getchapter.js +0 -31
- package/dist/esm/models/operations/getchapter.js.map +0 -1
- package/dist/esm/models/operations/getmember.d.ts +0 -29
- package/dist/esm/models/operations/getmember.d.ts.map +0 -1
- package/dist/esm/models/operations/getmember.js +0 -31
- package/dist/esm/models/operations/getmember.js.map +0 -1
- package/dist/esm/models/operations/listchapters.d.ts +0 -84
- package/dist/esm/models/operations/listchapters.d.ts.map +0 -1
- package/dist/esm/models/operations/listchapters.js +0 -72
- package/dist/esm/models/operations/listchapters.js.map +0 -1
- package/dist/esm/models/operations/listevents.d.ts +0 -74
- package/dist/esm/models/operations/listevents.d.ts.map +0 -1
- package/dist/esm/models/operations/listevents.js +0 -68
- package/dist/esm/models/operations/listevents.js.map +0 -1
- package/dist/esm/models/operations/listorganizations.d.ts +0 -79
- package/dist/esm/models/operations/listorganizations.d.ts.map +0 -1
- package/dist/esm/models/operations/listorganizations.js +0 -70
- package/dist/esm/models/operations/listorganizations.js.map +0 -1
- package/dist/esm/models/operations/listprojects.d.ts +0 -80
- package/dist/esm/models/operations/listprojects.d.ts.map +0 -1
- package/dist/esm/models/operations/listprojects.js +0 -71
- package/dist/esm/models/operations/listprojects.js.map +0 -1
- package/src/models/operations/getchapter.ts +0 -66
- package/src/models/operations/getmember.ts +0 -66
- package/src/models/operations/listchapters.ts +0 -136
- package/src/models/operations/listevents.ts +0 -122
- package/src/models/operations/listorganizations.ts +0 -131
- package/src/models/operations/listprojects.ts +0 -130
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod";
|
|
5
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import * as models from "../index.js";
|
|
8
|
-
/**
|
|
9
|
-
* Ordering field
|
|
10
|
-
*/
|
|
11
|
-
export const ListProjectsOrdering = {
|
|
12
|
-
CreatedAt: "created_at",
|
|
13
|
-
MinusCreatedAt: "-created_at",
|
|
14
|
-
UpdatedAt: "updated_at",
|
|
15
|
-
MinusUpdatedAt: "-updated_at",
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export const ListProjectsOrdering$inboundSchema = z.nativeEnum(ListProjectsOrdering);
|
|
19
|
-
/** @internal */
|
|
20
|
-
export const ListProjectsOrdering$outboundSchema = ListProjectsOrdering$inboundSchema;
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
-
*/
|
|
25
|
-
export var ListProjectsOrdering$;
|
|
26
|
-
(function (ListProjectsOrdering$) {
|
|
27
|
-
/** @deprecated use `ListProjectsOrdering$inboundSchema` instead. */
|
|
28
|
-
ListProjectsOrdering$.inboundSchema = ListProjectsOrdering$inboundSchema;
|
|
29
|
-
/** @deprecated use `ListProjectsOrdering$outboundSchema` instead. */
|
|
30
|
-
ListProjectsOrdering$.outboundSchema = ListProjectsOrdering$outboundSchema;
|
|
31
|
-
})(ListProjectsOrdering$ || (ListProjectsOrdering$ = {}));
|
|
32
|
-
/** @internal */
|
|
33
|
-
export const ListProjectsRequest$inboundSchema = z.object({
|
|
34
|
-
level: z.nullable(models.ProjectLevel$inboundSchema).optional(),
|
|
35
|
-
ordering: z.nullable(ListProjectsOrdering$inboundSchema).optional(),
|
|
36
|
-
page: z.number().int().default(1),
|
|
37
|
-
page_size: z.nullable(z.number().int()).optional(),
|
|
38
|
-
}).transform((v) => {
|
|
39
|
-
return remap$(v, {
|
|
40
|
-
"page_size": "pageSize",
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const ListProjectsRequest$outboundSchema = z.object({
|
|
45
|
-
level: z.nullable(models.ProjectLevel$outboundSchema).optional(),
|
|
46
|
-
ordering: z.nullable(ListProjectsOrdering$outboundSchema).optional(),
|
|
47
|
-
page: z.number().int().default(1),
|
|
48
|
-
pageSize: z.nullable(z.number().int()).optional(),
|
|
49
|
-
}).transform((v) => {
|
|
50
|
-
return remap$(v, {
|
|
51
|
-
pageSize: "page_size",
|
|
52
|
-
});
|
|
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 var ListProjectsRequest$;
|
|
59
|
-
(function (ListProjectsRequest$) {
|
|
60
|
-
/** @deprecated use `ListProjectsRequest$inboundSchema` instead. */
|
|
61
|
-
ListProjectsRequest$.inboundSchema = ListProjectsRequest$inboundSchema;
|
|
62
|
-
/** @deprecated use `ListProjectsRequest$outboundSchema` instead. */
|
|
63
|
-
ListProjectsRequest$.outboundSchema = ListProjectsRequest$outboundSchema;
|
|
64
|
-
})(ListProjectsRequest$ || (ListProjectsRequest$ = {}));
|
|
65
|
-
export function listProjectsRequestToJSON(listProjectsRequest) {
|
|
66
|
-
return JSON.stringify(ListProjectsRequest$outboundSchema.parse(listProjectsRequest));
|
|
67
|
-
}
|
|
68
|
-
export function listProjectsRequestFromJSON(jsonString) {
|
|
69
|
-
return safeParse(jsonString, (x) => ListProjectsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListProjectsRequest' from JSON`);
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=listprojects.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listprojects.js","sourceRoot":"","sources":["../../../../src/models/operations/listprojects.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type GetChapterRequest = {
|
|
11
|
-
key: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const GetChapterRequest$inboundSchema: z.ZodType<
|
|
16
|
-
GetChapterRequest,
|
|
17
|
-
z.ZodTypeDef,
|
|
18
|
-
unknown
|
|
19
|
-
> = z.object({
|
|
20
|
-
key: z.string(),
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type GetChapterRequest$Outbound = {
|
|
25
|
-
key: string;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const GetChapterRequest$outboundSchema: z.ZodType<
|
|
30
|
-
GetChapterRequest$Outbound,
|
|
31
|
-
z.ZodTypeDef,
|
|
32
|
-
GetChapterRequest
|
|
33
|
-
> = z.object({
|
|
34
|
-
key: z.string(),
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export namespace GetChapterRequest$ {
|
|
42
|
-
/** @deprecated use `GetChapterRequest$inboundSchema` instead. */
|
|
43
|
-
export const inboundSchema = GetChapterRequest$inboundSchema;
|
|
44
|
-
/** @deprecated use `GetChapterRequest$outboundSchema` instead. */
|
|
45
|
-
export const outboundSchema = GetChapterRequest$outboundSchema;
|
|
46
|
-
/** @deprecated use `GetChapterRequest$Outbound` instead. */
|
|
47
|
-
export type Outbound = GetChapterRequest$Outbound;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function getChapterRequestToJSON(
|
|
51
|
-
getChapterRequest: GetChapterRequest,
|
|
52
|
-
): string {
|
|
53
|
-
return JSON.stringify(
|
|
54
|
-
GetChapterRequest$outboundSchema.parse(getChapterRequest),
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function getChapterRequestFromJSON(
|
|
59
|
-
jsonString: string,
|
|
60
|
-
): SafeParseResult<GetChapterRequest, SDKValidationError> {
|
|
61
|
-
return safeParse(
|
|
62
|
-
jsonString,
|
|
63
|
-
(x) => GetChapterRequest$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
-
`Failed to parse 'GetChapterRequest' from JSON`,
|
|
65
|
-
);
|
|
66
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
export type GetMemberRequest = {
|
|
11
|
-
login: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/** @internal */
|
|
15
|
-
export const GetMemberRequest$inboundSchema: z.ZodType<
|
|
16
|
-
GetMemberRequest,
|
|
17
|
-
z.ZodTypeDef,
|
|
18
|
-
unknown
|
|
19
|
-
> = z.object({
|
|
20
|
-
login: z.string(),
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type GetMemberRequest$Outbound = {
|
|
25
|
-
login: string;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
export const GetMemberRequest$outboundSchema: z.ZodType<
|
|
30
|
-
GetMemberRequest$Outbound,
|
|
31
|
-
z.ZodTypeDef,
|
|
32
|
-
GetMemberRequest
|
|
33
|
-
> = z.object({
|
|
34
|
-
login: z.string(),
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export namespace GetMemberRequest$ {
|
|
42
|
-
/** @deprecated use `GetMemberRequest$inboundSchema` instead. */
|
|
43
|
-
export const inboundSchema = GetMemberRequest$inboundSchema;
|
|
44
|
-
/** @deprecated use `GetMemberRequest$outboundSchema` instead. */
|
|
45
|
-
export const outboundSchema = GetMemberRequest$outboundSchema;
|
|
46
|
-
/** @deprecated use `GetMemberRequest$Outbound` instead. */
|
|
47
|
-
export type Outbound = GetMemberRequest$Outbound;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function getMemberRequestToJSON(
|
|
51
|
-
getMemberRequest: GetMemberRequest,
|
|
52
|
-
): string {
|
|
53
|
-
return JSON.stringify(
|
|
54
|
-
GetMemberRequest$outboundSchema.parse(getMemberRequest),
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export function getMemberRequestFromJSON(
|
|
59
|
-
jsonString: string,
|
|
60
|
-
): SafeParseResult<GetMemberRequest, SDKValidationError> {
|
|
61
|
-
return safeParse(
|
|
62
|
-
jsonString,
|
|
63
|
-
(x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
-
`Failed to parse 'GetMemberRequest' from JSON`,
|
|
65
|
-
);
|
|
66
|
-
}
|
|
@@ -1,136 +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 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
|
-
}
|
|
@@ -1,122 +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 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
|
-
}
|
|
@@ -1,131 +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 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
|
-
}
|