@taktoria/sdk 0.0.0-stage → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.d.ts +55 -0
- package/dist/cjs/BaseClient.js +77 -0
- package/dist/cjs/Client.d.ts +95 -0
- package/dist/cjs/Client.js +198 -0
- package/dist/cjs/api/index.d.ts +1 -0
- package/dist/cjs/api/index.js +17 -0
- package/dist/cjs/api/resources/appDomains/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/appDomains/client/Client.js +549 -0
- package/dist/cjs/api/resources/appDomains/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/appDomains/client/index.js +2 -0
- package/dist/cjs/api/resources/appDomains/exports.d.ts +2 -0
- package/dist/cjs/api/resources/appDomains/exports.js +21 -0
- package/dist/cjs/api/resources/appDomains/index.d.ts +2 -0
- package/dist/cjs/api/resources/appDomains/index.js +18 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomain.d.ts +17 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomain.js +3 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomainList.d.ts +4 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomainList.js +3 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomainState.d.ts +23 -0
- package/dist/cjs/api/resources/appDomains/types/AppDomainState.js +26 -0
- package/dist/cjs/api/resources/appDomains/types/DnsRecord.d.ts +15 -0
- package/dist/cjs/api/resources/appDomains/types/DnsRecord.js +3 -0
- package/dist/cjs/api/resources/appDomains/types/DnsRecordType.d.ts +6 -0
- package/dist/cjs/api/resources/appDomains/types/DnsRecordType.js +9 -0
- package/dist/cjs/api/resources/appDomains/types/SetAppDomainRequest.d.ts +7 -0
- package/dist/cjs/api/resources/appDomains/types/SetAppDomainRequest.js +3 -0
- package/dist/cjs/api/resources/appDomains/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/appDomains/types/index.js +22 -0
- package/dist/cjs/api/resources/artifacts/client/Client.d.ts +196 -0
- package/dist/cjs/api/resources/artifacts/client/Client.js +842 -0
- package/dist/cjs/api/resources/artifacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/artifacts/client/index.js +17 -0
- package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.ts +31 -0
- package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.js +3 -0
- package/dist/cjs/api/resources/artifacts/client/requests/ListDocsDestinationsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/artifacts/client/requests/ListDocsDestinationsRequest.js +3 -0
- package/dist/cjs/api/resources/artifacts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/artifacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/artifacts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/artifacts/exports.js +21 -0
- package/dist/cjs/api/resources/artifacts/index.d.ts +2 -0
- package/dist/cjs/api/resources/artifacts/index.js +18 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactExport.d.ts +16 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactExport.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactExporter.d.ts +4 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactExporter.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactList.d.ts +4 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactList.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactPage.d.ts +7 -0
- package/dist/cjs/api/resources/artifacts/types/ArtifactPage.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/DocsDestination.d.ts +7 -0
- package/dist/cjs/api/resources/artifacts/types/DocsDestination.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/DocsDestinationList.d.ts +4 -0
- package/dist/cjs/api/resources/artifacts/types/DocsDestinationList.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/DocsTool.d.ts +12 -0
- package/dist/cjs/api/resources/artifacts/types/DocsTool.js +15 -0
- package/dist/cjs/api/resources/artifacts/types/DocsToolList.d.ts +4 -0
- package/dist/cjs/api/resources/artifacts/types/DocsToolList.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/DocsToolStatus.d.ts +10 -0
- package/dist/cjs/api/resources/artifacts/types/DocsToolStatus.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ExportArtifactRequest.d.ts +14 -0
- package/dist/cjs/api/resources/artifacts/types/ExportArtifactRequest.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ExportArtifactResponse.d.ts +6 -0
- package/dist/cjs/api/resources/artifacts/types/ExportArtifactResponse.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/ExportOutcome.d.ts +13 -0
- package/dist/cjs/api/resources/artifacts/types/ExportOutcome.js +16 -0
- package/dist/cjs/api/resources/artifacts/types/LaunchArtifact.d.ts +19 -0
- package/dist/cjs/api/resources/artifacts/types/LaunchArtifact.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/LaunchArtifactWithLaunch.d.ts +7 -0
- package/dist/cjs/api/resources/artifacts/types/LaunchArtifactWithLaunch.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/UpsertArtifactRequest.d.ts +4 -0
- package/dist/cjs/api/resources/artifacts/types/UpsertArtifactRequest.js +3 -0
- package/dist/cjs/api/resources/artifacts/types/index.d.ts +15 -0
- package/dist/cjs/api/resources/artifacts/types/index.js +31 -0
- package/dist/cjs/api/resources/auditLogs/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/auditLogs/client/Client.js +249 -0
- package/dist/cjs/api/resources/auditLogs/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/auditLogs/client/index.js +17 -0
- package/dist/cjs/api/resources/auditLogs/client/requests/ListAuditLogsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/auditLogs/client/requests/ListAuditLogsRequest.js +3 -0
- package/dist/cjs/api/resources/auditLogs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/auditLogs/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/auditLogs/exports.d.ts +2 -0
- package/dist/cjs/api/resources/auditLogs/exports.js +21 -0
- package/dist/cjs/api/resources/auditLogs/index.d.ts +2 -0
- package/dist/cjs/api/resources/auditLogs/index.js +18 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditActor.d.ts +12 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditActor.js +3 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditContext.d.ts +5 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditContext.js +3 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditLogEvent.d.ts +23 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditLogEvent.js +3 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditLogPage.d.ts +7 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditLogPage.js +3 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditTarget.d.ts +6 -0
- package/dist/cjs/api/resources/auditLogs/types/AuditTarget.js +3 -0
- package/dist/cjs/api/resources/auditLogs/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/auditLogs/types/index.js +21 -0
- package/dist/cjs/api/resources/billing/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/billing/client/Client.js +398 -0
- package/dist/cjs/api/resources/billing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/client/index.js +2 -0
- package/dist/cjs/api/resources/billing/errors/CheckoutRequiredError.d.ts +7 -0
- package/dist/cjs/api/resources/billing/errors/CheckoutRequiredError.js +54 -0
- package/dist/cjs/api/resources/billing/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/errors/index.js +17 -0
- package/dist/cjs/api/resources/billing/exports.d.ts +2 -0
- package/dist/cjs/api/resources/billing/exports.js +21 -0
- package/dist/cjs/api/resources/billing/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/index.js +19 -0
- package/dist/cjs/api/resources/billing/types/PaymentIssue.d.ts +23 -0
- package/dist/cjs/api/resources/billing/types/PaymentIssue.js +26 -0
- package/dist/cjs/api/resources/billing/types/Subscription.d.ts +34 -0
- package/dist/cjs/api/resources/billing/types/Subscription.js +3 -0
- package/dist/cjs/api/resources/billing/types/SubscriptionApp.d.ts +54 -0
- package/dist/cjs/api/resources/billing/types/SubscriptionApp.js +3 -0
- package/dist/cjs/api/resources/billing/types/SubscriptionAppChoice.d.ts +13 -0
- package/dist/cjs/api/resources/billing/types/SubscriptionAppChoice.js +3 -0
- package/dist/cjs/api/resources/billing/types/UpdateSubscriptionRequest.d.ts +14 -0
- package/dist/cjs/api/resources/billing/types/UpdateSubscriptionRequest.js +3 -0
- package/dist/cjs/api/resources/billing/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/billing/types/index.js +21 -0
- package/dist/cjs/api/resources/commons/errors/BadRequestError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/ConflictError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/ConflictError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/ForbiddenError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/NotFoundError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/SubscriptionRequiredError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/SubscriptionRequiredError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/TooManyRequestsError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/UnauthorizedError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/UpstreamError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/UpstreamError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/ValidationError.d.ts +7 -0
- package/dist/cjs/api/resources/commons/errors/ValidationError.js +54 -0
- package/dist/cjs/api/resources/commons/errors/index.d.ts +9 -0
- package/dist/cjs/api/resources/commons/errors/index.js +25 -0
- package/dist/cjs/api/resources/commons/exports.d.ts +1 -0
- package/dist/cjs/api/resources/commons/exports.js +18 -0
- package/dist/cjs/api/resources/commons/index.d.ts +2 -0
- package/dist/cjs/api/resources/commons/index.js +18 -0
- package/dist/cjs/api/resources/commons/types/ArtifactType.d.ts +12 -0
- package/dist/cjs/api/resources/commons/types/ArtifactType.js +15 -0
- package/dist/cjs/api/resources/commons/types/ErrorBody.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/ErrorBody.js +3 -0
- package/dist/cjs/api/resources/commons/types/ErrorDetail.d.ts +6 -0
- package/dist/cjs/api/resources/commons/types/ErrorDetail.js +3 -0
- package/dist/cjs/api/resources/commons/types/LaunchHealth.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/LaunchHealth.js +10 -0
- package/dist/cjs/api/resources/commons/types/LaunchRef.d.ts +6 -0
- package/dist/cjs/api/resources/commons/types/LaunchRef.js +3 -0
- package/dist/cjs/api/resources/commons/types/LaunchStatus.d.ts +11 -0
- package/dist/cjs/api/resources/commons/types/LaunchStatus.js +14 -0
- package/dist/cjs/api/resources/commons/types/OrgTeamRef.d.ts +7 -0
- package/dist/cjs/api/resources/commons/types/OrgTeamRef.js +3 -0
- package/dist/cjs/api/resources/commons/types/Sentiment.d.ts +6 -0
- package/dist/cjs/api/resources/commons/types/Sentiment.js +9 -0
- package/dist/cjs/api/resources/commons/types/StepRequirement.d.ts +13 -0
- package/dist/cjs/api/resources/commons/types/StepRequirement.js +16 -0
- package/dist/cjs/api/resources/commons/types/StepStatus.d.ts +22 -0
- package/dist/cjs/api/resources/commons/types/StepStatus.js +25 -0
- package/dist/cjs/api/resources/commons/types/TeamRef.d.ts +8 -0
- package/dist/cjs/api/resources/commons/types/TeamRef.js +3 -0
- package/dist/cjs/api/resources/commons/types/TicketingStatusKind.d.ts +13 -0
- package/dist/cjs/api/resources/commons/types/TicketingStatusKind.js +16 -0
- package/dist/cjs/api/resources/commons/types/TicketingSystem.d.ts +13 -0
- package/dist/cjs/api/resources/commons/types/TicketingSystem.js +16 -0
- package/dist/cjs/api/resources/commons/types/User.d.ts +13 -0
- package/dist/cjs/api/resources/commons/types/User.js +3 -0
- package/dist/cjs/api/resources/commons/types/index.d.ts +14 -0
- package/dist/cjs/api/resources/commons/types/index.js +30 -0
- package/dist/cjs/api/resources/domains/client/Client.d.ts +133 -0
- package/dist/cjs/api/resources/domains/client/Client.js +620 -0
- package/dist/cjs/api/resources/domains/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/domains/client/index.js +2 -0
- package/dist/cjs/api/resources/domains/exports.d.ts +2 -0
- package/dist/cjs/api/resources/domains/exports.js +21 -0
- package/dist/cjs/api/resources/domains/index.d.ts +2 -0
- package/dist/cjs/api/resources/domains/index.js +18 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainRequest.d.ts +4 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainRequest.js +3 -0
- package/dist/cjs/api/resources/domains/types/Domain.d.ts +35 -0
- package/dist/cjs/api/resources/domains/types/Domain.js +3 -0
- package/dist/cjs/api/resources/domains/types/DomainList.d.ts +4 -0
- package/dist/cjs/api/resources/domains/types/DomainList.js +3 -0
- package/dist/cjs/api/resources/domains/types/DomainUpdate.d.ts +8 -0
- package/dist/cjs/api/resources/domains/types/DomainUpdate.js +3 -0
- package/dist/cjs/api/resources/domains/types/DomainVerification.d.ts +9 -0
- package/dist/cjs/api/resources/domains/types/DomainVerification.js +3 -0
- package/dist/cjs/api/resources/domains/types/UpdateDomainRequest.d.ts +15 -0
- package/dist/cjs/api/resources/domains/types/UpdateDomainRequest.js +3 -0
- package/dist/cjs/api/resources/domains/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/domains/types/index.js +22 -0
- package/dist/cjs/api/resources/dory/client/Client.d.ts +778 -0
- package/dist/cjs/api/resources/dory/client/Client.js +3429 -0
- package/dist/cjs/api/resources/dory/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/dory/client/index.js +17 -0
- package/dist/cjs/api/resources/dory/client/requests/ArchiveEventRequest.d.ts +14 -0
- package/dist/cjs/api/resources/dory/client/requests/ArchiveEventRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/DuplicateEventRequest.d.ts +8 -0
- package/dist/cjs/api/resources/dory/client/requests/DuplicateEventRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/EventsOverviewRequest.d.ts +10 -0
- package/dist/cjs/api/resources/dory/client/requests/EventsOverviewRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/GetEventJoinLinkRequest.d.ts +10 -0
- package/dist/cjs/api/resources/dory/client/requests/GetEventJoinLinkRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/ListEventsRequest.d.ts +26 -0
- package/dist/cjs/api/resources/dory/client/requests/ListEventsRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/ListParticipantsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/dory/client/requests/ListParticipantsRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/ListQuestionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/dory/client/requests/ListQuestionsRequest.js +3 -0
- package/dist/cjs/api/resources/dory/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/dory/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/dory/exports.d.ts +2 -0
- package/dist/cjs/api/resources/dory/exports.js +21 -0
- package/dist/cjs/api/resources/dory/index.d.ts +2 -0
- package/dist/cjs/api/resources/dory/index.js +18 -0
- package/dist/cjs/api/resources/dory/types/AddEventHostRequest.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/AddEventHostRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/AddEventHostTeamRequest.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/AddEventHostTeamRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/AdvanceQueueRequest.d.ts +10 -0
- package/dist/cjs/api/resources/dory/types/AdvanceQueueRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/AdvanceQueueResult.d.ts +5 -0
- package/dist/cjs/api/resources/dory/types/AdvanceQueueResult.js +3 -0
- package/dist/cjs/api/resources/dory/types/AnalyticsBucket.d.ts +8 -0
- package/dist/cjs/api/resources/dory/types/AnalyticsBucket.js +3 -0
- package/dist/cjs/api/resources/dory/types/AnalyticsSpan.d.ts +9 -0
- package/dist/cjs/api/resources/dory/types/AnalyticsSpan.js +3 -0
- package/dist/cjs/api/resources/dory/types/Asker.d.ts +11 -0
- package/dist/cjs/api/resources/dory/types/Asker.js +3 -0
- package/dist/cjs/api/resources/dory/types/CapacityUse.d.ts +18 -0
- package/dist/cjs/api/resources/dory/types/CapacityUse.js +3 -0
- package/dist/cjs/api/resources/dory/types/CreateEventRequest.d.ts +72 -0
- package/dist/cjs/api/resources/dory/types/CreateEventRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/CreatePollOption.d.ts +5 -0
- package/dist/cjs/api/resources/dory/types/CreatePollOption.js +3 -0
- package/dist/cjs/api/resources/dory/types/CreatePollRequest.d.ts +29 -0
- package/dist/cjs/api/resources/dory/types/CreatePollRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/CreateQuestionRequest.d.ts +10 -0
- package/dist/cjs/api/resources/dory/types/CreateQuestionRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/Event.d.ts +89 -0
- package/dist/cjs/api/resources/dory/types/Event.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventAnalytics.d.ts +33 -0
- package/dist/cjs/api/resources/dory/types/EventAnalytics.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventAudience.d.ts +25 -0
- package/dist/cjs/api/resources/dory/types/EventAudience.js +28 -0
- package/dist/cjs/api/resources/dory/types/EventCalendarInvite.d.ts +41 -0
- package/dist/cjs/api/resources/dory/types/EventCalendarInvite.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventHosts.d.ts +13 -0
- package/dist/cjs/api/resources/dory/types/EventHosts.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventJoinLink.d.ts +22 -0
- package/dist/cjs/api/resources/dory/types/EventJoinLink.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventPage.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/EventPage.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventPhase.d.ts +23 -0
- package/dist/cjs/api/resources/dory/types/EventPhase.js +26 -0
- package/dist/cjs/api/resources/dory/types/EventSettings.d.ts +20 -0
- package/dist/cjs/api/resources/dory/types/EventSettings.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventStats.d.ts +15 -0
- package/dist/cjs/api/resources/dory/types/EventStats.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventStatus.d.ts +16 -0
- package/dist/cjs/api/resources/dory/types/EventStatus.js +19 -0
- package/dist/cjs/api/resources/dory/types/EventTeam.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/EventTeam.js +3 -0
- package/dist/cjs/api/resources/dory/types/EventsOverview.d.ts +23 -0
- package/dist/cjs/api/resources/dory/types/EventsOverview.js +3 -0
- package/dist/cjs/api/resources/dory/types/Leaderboard.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/Leaderboard.js +3 -0
- package/dist/cjs/api/resources/dory/types/LeaderboardRow.d.ts +11 -0
- package/dist/cjs/api/resources/dory/types/LeaderboardRow.js +3 -0
- package/dist/cjs/api/resources/dory/types/OptionResult.d.ts +8 -0
- package/dist/cjs/api/resources/dory/types/OptionResult.js +3 -0
- package/dist/cjs/api/resources/dory/types/OverviewEvent.d.ts +16 -0
- package/dist/cjs/api/resources/dory/types/OverviewEvent.js +3 -0
- package/dist/cjs/api/resources/dory/types/Participant.d.ts +23 -0
- package/dist/cjs/api/resources/dory/types/Participant.js +3 -0
- package/dist/cjs/api/resources/dory/types/ParticipantPage.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/ParticipantPage.js +3 -0
- package/dist/cjs/api/resources/dory/types/Poll.d.ts +24 -0
- package/dist/cjs/api/resources/dory/types/Poll.js +3 -0
- package/dist/cjs/api/resources/dory/types/PollList.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/PollList.js +3 -0
- package/dist/cjs/api/resources/dory/types/PollOption.d.ts +7 -0
- package/dist/cjs/api/resources/dory/types/PollOption.js +3 -0
- package/dist/cjs/api/resources/dory/types/PollResults.d.ts +26 -0
- package/dist/cjs/api/resources/dory/types/PollResults.js +3 -0
- package/dist/cjs/api/resources/dory/types/PollStatus.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/PollStatus.js +9 -0
- package/dist/cjs/api/resources/dory/types/PollTotals.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/PollTotals.js +3 -0
- package/dist/cjs/api/resources/dory/types/PollType.d.ts +9 -0
- package/dist/cjs/api/resources/dory/types/PollType.js +12 -0
- package/dist/cjs/api/resources/dory/types/PresenterQueue.d.ts +18 -0
- package/dist/cjs/api/resources/dory/types/PresenterQueue.js +3 -0
- package/dist/cjs/api/resources/dory/types/Question.d.ts +25 -0
- package/dist/cjs/api/resources/dory/types/Question.js +3 -0
- package/dist/cjs/api/resources/dory/types/QuestionPage.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/QuestionPage.js +3 -0
- package/dist/cjs/api/resources/dory/types/QuestionSort.d.ts +7 -0
- package/dist/cjs/api/resources/dory/types/QuestionSort.js +10 -0
- package/dist/cjs/api/resources/dory/types/QuestionStatus.d.ts +15 -0
- package/dist/cjs/api/resources/dory/types/QuestionStatus.js +18 -0
- package/dist/cjs/api/resources/dory/types/QuestionTotals.d.ts +12 -0
- package/dist/cjs/api/resources/dory/types/QuestionTotals.js +3 -0
- package/dist/cjs/api/resources/dory/types/RatingBucket.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/RatingBucket.js +3 -0
- package/dist/cjs/api/resources/dory/types/SetEventHostsRequest.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/SetEventHostsRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/TextResult.d.ts +4 -0
- package/dist/cjs/api/resources/dory/types/TextResult.js +3 -0
- package/dist/cjs/api/resources/dory/types/TopQuestion.d.ts +6 -0
- package/dist/cjs/api/resources/dory/types/TopQuestion.js +3 -0
- package/dist/cjs/api/resources/dory/types/UpdateEventRequest.d.ts +67 -0
- package/dist/cjs/api/resources/dory/types/UpdateEventRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/UpdatePollRequest.d.ts +26 -0
- package/dist/cjs/api/resources/dory/types/UpdatePollRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/UpdateQuestionRequest.d.ts +26 -0
- package/dist/cjs/api/resources/dory/types/UpdateQuestionRequest.js +3 -0
- package/dist/cjs/api/resources/dory/types/index.d.ts +51 -0
- package/dist/cjs/api/resources/dory/types/index.js +67 -0
- package/dist/cjs/api/resources/golinks/client/Client.d.ts +248 -0
- package/dist/cjs/api/resources/golinks/client/Client.js +1071 -0
- package/dist/cjs/api/resources/golinks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/golinks/client/index.js +17 -0
- package/dist/cjs/api/resources/golinks/client/requests/ClickHistoryRequest.d.ts +8 -0
- package/dist/cjs/api/resources/golinks/client/requests/ClickHistoryRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/client/requests/GoLinkQrCodeRequest.d.ts +16 -0
- package/dist/cjs/api/resources/golinks/client/requests/GoLinkQrCodeRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/client/requests/ListGoLinksRequest.d.ts +24 -0
- package/dist/cjs/api/resources/golinks/client/requests/ListGoLinksRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/client/requests/TopLinksRequest.d.ts +13 -0
- package/dist/cjs/api/resources/golinks/client/requests/TopLinksRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/client/requests/WorkspaceClicksRequest.d.ts +10 -0
- package/dist/cjs/api/resources/golinks/client/requests/WorkspaceClicksRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/golinks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/golinks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/golinks/exports.js +21 -0
- package/dist/cjs/api/resources/golinks/index.d.ts +2 -0
- package/dist/cjs/api/resources/golinks/index.js +18 -0
- package/dist/cjs/api/resources/golinks/types/ClickDay.d.ts +5 -0
- package/dist/cjs/api/resources/golinks/types/ClickDay.js +3 -0
- package/dist/cjs/api/resources/golinks/types/ClickHistory.d.ts +12 -0
- package/dist/cjs/api/resources/golinks/types/ClickHistory.js +3 -0
- package/dist/cjs/api/resources/golinks/types/CreateGoLinkRequest.d.ts +25 -0
- package/dist/cjs/api/resources/golinks/types/CreateGoLinkRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/types/GoLink.d.ts +58 -0
- package/dist/cjs/api/resources/golinks/types/GoLink.js +3 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkAccess.d.ts +27 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkAccess.js +3 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkAudience.d.ts +19 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkAudience.js +22 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkPage.d.ts +6 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkPage.js +3 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkQrFormat.d.ts +5 -0
- package/dist/cjs/api/resources/golinks/types/GoLinkQrFormat.js +8 -0
- package/dist/cjs/api/resources/golinks/types/LinkAudienceOptions.d.ts +28 -0
- package/dist/cjs/api/resources/golinks/types/LinkAudienceOptions.js +3 -0
- package/dist/cjs/api/resources/golinks/types/TopLink.d.ts +15 -0
- package/dist/cjs/api/resources/golinks/types/TopLink.js +3 -0
- package/dist/cjs/api/resources/golinks/types/TopLinks.d.ts +13 -0
- package/dist/cjs/api/resources/golinks/types/TopLinks.js +3 -0
- package/dist/cjs/api/resources/golinks/types/UpdateGoLinkAccess.d.ts +22 -0
- package/dist/cjs/api/resources/golinks/types/UpdateGoLinkAccess.js +3 -0
- package/dist/cjs/api/resources/golinks/types/UpdateGoLinkRequest.d.ts +20 -0
- package/dist/cjs/api/resources/golinks/types/UpdateGoLinkRequest.js +3 -0
- package/dist/cjs/api/resources/golinks/types/WorkspaceClicks.d.ts +13 -0
- package/dist/cjs/api/resources/golinks/types/WorkspaceClicks.js +3 -0
- package/dist/cjs/api/resources/golinks/types/index.d.ts +14 -0
- package/dist/cjs/api/resources/golinks/types/index.js +30 -0
- package/dist/cjs/api/resources/holidays/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/holidays/client/Client.js +157 -0
- package/dist/cjs/api/resources/holidays/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/holidays/client/index.js +17 -0
- package/dist/cjs/api/resources/holidays/client/requests/ListHolidaysRequest.d.ts +13 -0
- package/dist/cjs/api/resources/holidays/client/requests/ListHolidaysRequest.js +3 -0
- package/dist/cjs/api/resources/holidays/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/holidays/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/holidays/exports.d.ts +2 -0
- package/dist/cjs/api/resources/holidays/exports.js +21 -0
- package/dist/cjs/api/resources/holidays/index.d.ts +2 -0
- package/dist/cjs/api/resources/holidays/index.js +18 -0
- package/dist/cjs/api/resources/holidays/types/Holiday.d.ts +11 -0
- package/dist/cjs/api/resources/holidays/types/Holiday.js +3 -0
- package/dist/cjs/api/resources/holidays/types/HolidayList.d.ts +6 -0
- package/dist/cjs/api/resources/holidays/types/HolidayList.js +3 -0
- package/dist/cjs/api/resources/holidays/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/holidays/types/index.js +18 -0
- package/dist/cjs/api/resources/index.d.ts +69 -0
- package/dist/cjs/api/resources/index.js +108 -0
- package/dist/cjs/api/resources/insights/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/insights/client/Client.js +324 -0
- package/dist/cjs/api/resources/insights/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/insights/client/index.js +17 -0
- package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.d.ts +25 -0
- package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.js +3 -0
- package/dist/cjs/api/resources/insights/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/insights/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/insights/exports.d.ts +2 -0
- package/dist/cjs/api/resources/insights/exports.js +21 -0
- package/dist/cjs/api/resources/insights/index.d.ts +2 -0
- package/dist/cjs/api/resources/insights/index.js +18 -0
- package/dist/cjs/api/resources/insights/types/CreateInsightRequest.d.ts +12 -0
- package/dist/cjs/api/resources/insights/types/CreateInsightRequest.js +3 -0
- package/dist/cjs/api/resources/insights/types/Insight.d.ts +14 -0
- package/dist/cjs/api/resources/insights/types/Insight.js +3 -0
- package/dist/cjs/api/resources/insights/types/InsightLaunch.d.ts +4 -0
- package/dist/cjs/api/resources/insights/types/InsightLaunch.js +3 -0
- package/dist/cjs/api/resources/insights/types/InsightList.d.ts +4 -0
- package/dist/cjs/api/resources/insights/types/InsightList.js +3 -0
- package/dist/cjs/api/resources/insights/types/InsightPage.d.ts +6 -0
- package/dist/cjs/api/resources/insights/types/InsightPage.js +3 -0
- package/dist/cjs/api/resources/insights/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/insights/types/index.js +21 -0
- package/dist/cjs/api/resources/launchAnalytics/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/launchAnalytics/client/Client.js +154 -0
- package/dist/cjs/api/resources/launchAnalytics/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/launchAnalytics/client/index.js +17 -0
- package/dist/cjs/api/resources/launchAnalytics/client/requests/GetLaunchAnalyticsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/launchAnalytics/client/requests/GetLaunchAnalyticsRequest.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/launchAnalytics/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/launchAnalytics/exports.d.ts +2 -0
- package/dist/cjs/api/resources/launchAnalytics/exports.js +21 -0
- package/dist/cjs/api/resources/launchAnalytics/index.d.ts +2 -0
- package/dist/cjs/api/resources/launchAnalytics/index.js +18 -0
- package/dist/cjs/api/resources/launchAnalytics/types/AnalyticsPeriod.d.ts +7 -0
- package/dist/cjs/api/resources/launchAnalytics/types/AnalyticsPeriod.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/HealthCounts.d.ts +9 -0
- package/dist/cjs/api/resources/launchAnalytics/types/HealthCounts.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/InFlight.d.ts +9 -0
- package/dist/cjs/api/resources/launchAnalytics/types/InFlight.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/LaunchAnalytics.d.ts +17 -0
- package/dist/cjs/api/resources/launchAnalytics/types/LaunchAnalytics.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/LaunchOnHoliday.d.ts +7 -0
- package/dist/cjs/api/resources/launchAnalytics/types/LaunchOnHoliday.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/MonthCount.d.ts +5 -0
- package/dist/cjs/api/resources/launchAnalytics/types/MonthCount.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/QuarterShipped.d.ts +6 -0
- package/dist/cjs/api/resources/launchAnalytics/types/QuarterShipped.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/SentimentCounts.d.ts +8 -0
- package/dist/cjs/api/resources/launchAnalytics/types/SentimentCounts.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/ShippedSummary.d.ts +17 -0
- package/dist/cjs/api/resources/launchAnalytics/types/ShippedSummary.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/StatusCount.d.ts +5 -0
- package/dist/cjs/api/resources/launchAnalytics/types/StatusCount.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/TeamReviews.d.ts +19 -0
- package/dist/cjs/api/resources/launchAnalytics/types/TeamReviews.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/Upcoming.d.ts +8 -0
- package/dist/cjs/api/resources/launchAnalytics/types/Upcoming.js +3 -0
- package/dist/cjs/api/resources/launchAnalytics/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/launchAnalytics/types/index.js +28 -0
- package/dist/cjs/api/resources/launchOverview/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/launchOverview/client/Client.js +147 -0
- package/dist/cjs/api/resources/launchOverview/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/launchOverview/client/index.js +2 -0
- package/dist/cjs/api/resources/launchOverview/exports.d.ts +2 -0
- package/dist/cjs/api/resources/launchOverview/exports.js +21 -0
- package/dist/cjs/api/resources/launchOverview/index.d.ts +2 -0
- package/dist/cjs/api/resources/launchOverview/index.js +18 -0
- package/dist/cjs/api/resources/launchOverview/types/LaunchOverview.d.ts +23 -0
- package/dist/cjs/api/resources/launchOverview/types/LaunchOverview.js +3 -0
- package/dist/cjs/api/resources/launchOverview/types/OverviewQuarter.d.ts +13 -0
- package/dist/cjs/api/resources/launchOverview/types/OverviewQuarter.js +3 -0
- package/dist/cjs/api/resources/launchOverview/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/launchOverview/types/index.js +18 -0
- package/dist/cjs/api/resources/launches/client/Client.d.ts +253 -0
- package/dist/cjs/api/resources/launches/client/Client.js +1101 -0
- package/dist/cjs/api/resources/launches/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/launches/client/index.js +17 -0
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchActivityRequest.d.ts +8 -0
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchActivityRequest.js +3 -0
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.d.ts +69 -0
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.js +3 -0
- package/dist/cjs/api/resources/launches/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/launches/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/launches/exports.d.ts +2 -0
- package/dist/cjs/api/resources/launches/exports.js +21 -0
- package/dist/cjs/api/resources/launches/index.d.ts +2 -0
- package/dist/cjs/api/resources/launches/index.js +18 -0
- package/dist/cjs/api/resources/launches/types/CreateLaunchRequest.d.ts +46 -0
- package/dist/cjs/api/resources/launches/types/CreateLaunchRequest.js +3 -0
- package/dist/cjs/api/resources/launches/types/Launch.d.ts +48 -0
- package/dist/cjs/api/resources/launches/types/Launch.js +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivity.d.ts +20 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivity.js +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityPage.d.ts +7 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityPage.js +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.d.ts +45 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.js +48 -0
- package/dist/cjs/api/resources/launches/types/LaunchPage.d.ts +6 -0
- package/dist/cjs/api/resources/launches/types/LaunchPage.js +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchTemplateRef.d.ts +7 -0
- package/dist/cjs/api/resources/launches/types/LaunchTemplateRef.js +3 -0
- package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.d.ts +15 -0
- package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.js +3 -0
- package/dist/cjs/api/resources/launches/types/PressToLaunchRequest.d.ts +6 -0
- package/dist/cjs/api/resources/launches/types/PressToLaunchRequest.js +3 -0
- package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.d.ts +10 -0
- package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.js +3 -0
- package/dist/cjs/api/resources/launches/types/TicketingProject.d.ts +50 -0
- package/dist/cjs/api/resources/launches/types/TicketingProject.js +3 -0
- package/dist/cjs/api/resources/launches/types/UpdateLaunchRequest.d.ts +48 -0
- package/dist/cjs/api/resources/launches/types/UpdateLaunchRequest.js +3 -0
- package/dist/cjs/api/resources/launches/types/index.d.ts +12 -0
- package/dist/cjs/api/resources/launches/types/index.js +28 -0
- package/dist/cjs/api/resources/links/client/Client.d.ts +70 -0
- package/dist/cjs/api/resources/links/client/Client.js +313 -0
- package/dist/cjs/api/resources/links/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/links/client/index.js +2 -0
- package/dist/cjs/api/resources/links/exports.d.ts +2 -0
- package/dist/cjs/api/resources/links/exports.js +21 -0
- package/dist/cjs/api/resources/links/index.d.ts +2 -0
- package/dist/cjs/api/resources/links/index.js +18 -0
- package/dist/cjs/api/resources/links/types/CreateLaunchLinkRequest.d.ts +8 -0
- package/dist/cjs/api/resources/links/types/CreateLaunchLinkRequest.js +3 -0
- package/dist/cjs/api/resources/links/types/LaunchLink.d.ts +18 -0
- package/dist/cjs/api/resources/links/types/LaunchLink.js +3 -0
- package/dist/cjs/api/resources/links/types/LaunchLinkList.d.ts +4 -0
- package/dist/cjs/api/resources/links/types/LaunchLinkList.js +3 -0
- package/dist/cjs/api/resources/links/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/links/types/index.js +19 -0
- package/dist/cjs/api/resources/mcpConnections/client/Client.d.ts +98 -0
- package/dist/cjs/api/resources/mcpConnections/client/Client.js +432 -0
- package/dist/cjs/api/resources/mcpConnections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/mcpConnections/client/index.js +17 -0
- package/dist/cjs/api/resources/mcpConnections/client/requests/ListMcpConnectionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/mcpConnections/client/requests/ListMcpConnectionsRequest.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/mcpConnections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/mcpConnections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/mcpConnections/exports.js +21 -0
- package/dist/cjs/api/resources/mcpConnections/index.d.ts +2 -0
- package/dist/cjs/api/resources/mcpConnections/index.js +18 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnection.d.ts +26 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnection.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionClient.d.ts +22 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionClient.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionPage.d.ts +7 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionPage.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionPerson.d.ts +7 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionPerson.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionSettings.d.ts +9 -0
- package/dist/cjs/api/resources/mcpConnections/types/McpConnectionSettings.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.d.ts +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.js +3 -0
- package/dist/cjs/api/resources/mcpConnections/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/mcpConnections/types/index.js +22 -0
- package/dist/cjs/api/resources/memegen/client/Client.d.ts +446 -0
- package/dist/cjs/api/resources/memegen/client/Client.js +1911 -0
- package/dist/cjs/api/resources/memegen/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/memegen/client/index.js +17 -0
- package/dist/cjs/api/resources/memegen/client/requests/ArchiveMemeTemplateRequest.d.ts +8 -0
- package/dist/cjs/api/resources/memegen/client/requests/ArchiveMemeTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/GetMemeImageRequest.d.ts +11 -0
- package/dist/cjs/api/resources/memegen/client/requests/GetMemeImageRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/ListMemeTemplatesRequest.d.ts +18 -0
- package/dist/cjs/api/resources/memegen/client/requests/ListMemeTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/ListMemesRequest.d.ts +26 -0
- package/dist/cjs/api/resources/memegen/client/requests/ListMemesRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/PreviewMemeRequest.d.ts +18 -0
- package/dist/cjs/api/resources/memegen/client/requests/PreviewMemeRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/SearchMemeFormatsRequest.d.ts +17 -0
- package/dist/cjs/api/resources/memegen/client/requests/SearchMemeFormatsRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/UploadMemeTemplateRequest.d.ts +17 -0
- package/dist/cjs/api/resources/memegen/client/requests/UploadMemeTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/memegen/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/memegen/exports.d.ts +2 -0
- package/dist/cjs/api/resources/memegen/exports.js +21 -0
- package/dist/cjs/api/resources/memegen/index.d.ts +2 -0
- package/dist/cjs/api/resources/memegen/index.js +18 -0
- package/dist/cjs/api/resources/memegen/types/CreateMemeRequest.d.ts +22 -0
- package/dist/cjs/api/resources/memegen/types/CreateMemeRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/CreateMemeTemplateRequest.d.ts +38 -0
- package/dist/cjs/api/resources/memegen/types/CreateMemeTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/ImportMemeFormatRequest.d.ts +20 -0
- package/dist/cjs/api/resources/memegen/types/ImportMemeFormatRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/Meme.d.ts +31 -0
- package/dist/cjs/api/resources/memegen/types/Meme.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeFormat.d.ts +22 -0
- package/dist/cjs/api/resources/memegen/types/MemeFormat.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeFormatList.d.ts +5 -0
- package/dist/cjs/api/resources/memegen/types/MemeFormatList.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeLayout.d.ts +8 -0
- package/dist/cjs/api/resources/memegen/types/MemeLayout.js +11 -0
- package/dist/cjs/api/resources/memegen/types/MemePage.d.ts +6 -0
- package/dist/cjs/api/resources/memegen/types/MemePage.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeSort.d.ts +5 -0
- package/dist/cjs/api/resources/memegen/types/MemeSort.js +8 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplate.d.ts +51 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplate.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplateFromUrlRequest.d.ts +16 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplateFromUrlRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplateList.d.ts +4 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplateList.js +3 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplatePage.d.ts +6 -0
- package/dist/cjs/api/resources/memegen/types/MemeTemplatePage.js +3 -0
- package/dist/cjs/api/resources/memegen/types/PopularWindow.d.ts +12 -0
- package/dist/cjs/api/resources/memegen/types/PopularWindow.js +15 -0
- package/dist/cjs/api/resources/memegen/types/ReorderMemeTemplatesRequest.d.ts +8 -0
- package/dist/cjs/api/resources/memegen/types/ReorderMemeTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/UpdateMemeTemplateRequest.d.ts +22 -0
- package/dist/cjs/api/resources/memegen/types/UpdateMemeTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/memegen/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/memegen/types/index.js +32 -0
- package/dist/cjs/api/resources/okr/client/Client.d.ts +631 -0
- package/dist/cjs/api/resources/okr/client/Client.js +2573 -0
- package/dist/cjs/api/resources/okr/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/okr/client/index.js +17 -0
- package/dist/cjs/api/resources/okr/client/requests/BrowseObjectivesRequest.d.ts +25 -0
- package/dist/cjs/api/resources/okr/client/requests/BrowseObjectivesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/GetScorecardRequest.d.ts +24 -0
- package/dist/cjs/api/resources/okr/client/requests/GetScorecardRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/GetTeamOkrsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/okr/client/requests/GetTeamOkrsRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListCheckInsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/okr/client/requests/ListCheckInsRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListGradeChangesRequest.d.ts +8 -0
- package/dist/cjs/api/resources/okr/client/requests/ListGradeChangesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListKeyResultsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/okr/client/requests/ListKeyResultsRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListMyObjectivesRequest.d.ts +28 -0
- package/dist/cjs/api/resources/okr/client/requests/ListMyObjectivesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListObjectivesRequest.d.ts +27 -0
- package/dist/cjs/api/resources/okr/client/requests/ListObjectivesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/ListTeamScoresRequest.d.ts +22 -0
- package/dist/cjs/api/resources/okr/client/requests/ListTeamScoresRequest.js +3 -0
- package/dist/cjs/api/resources/okr/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/okr/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/okr/exports.d.ts +2 -0
- package/dist/cjs/api/resources/okr/exports.js +21 -0
- package/dist/cjs/api/resources/okr/index.d.ts +2 -0
- package/dist/cjs/api/resources/okr/index.js +18 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreRequest.d.ts +4 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreResult.d.ts +9 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreResult.js +3 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreSkip.d.ts +5 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreSkip.js +3 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreSkipReason.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/BulkScoreSkipReason.js +15 -0
- package/dist/cjs/api/resources/okr/types/CheckIn.d.ts +20 -0
- package/dist/cjs/api/resources/okr/types/CheckIn.js +3 -0
- package/dist/cjs/api/resources/okr/types/CheckInMetric.d.ts +9 -0
- package/dist/cjs/api/resources/okr/types/CheckInMetric.js +3 -0
- package/dist/cjs/api/resources/okr/types/CheckInPage.d.ts +6 -0
- package/dist/cjs/api/resources/okr/types/CheckInPage.js +3 -0
- package/dist/cjs/api/resources/okr/types/CreateCheckInRequest.d.ts +22 -0
- package/dist/cjs/api/resources/okr/types/CreateCheckInRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/CreateKeyResultRequest.d.ts +25 -0
- package/dist/cjs/api/resources/okr/types/CreateKeyResultRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/CreateObjectiveRequest.d.ts +50 -0
- package/dist/cjs/api/resources/okr/types/CreateObjectiveRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/GradeChange.d.ts +16 -0
- package/dist/cjs/api/resources/okr/types/GradeChange.js +3 -0
- package/dist/cjs/api/resources/okr/types/GradeChangePage.d.ts +6 -0
- package/dist/cjs/api/resources/okr/types/GradeChangePage.js +3 -0
- package/dist/cjs/api/resources/okr/types/ImportObjectivesRequest.d.ts +25 -0
- package/dist/cjs/api/resources/okr/types/ImportObjectivesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/ImportObjectivesResult.d.ts +11 -0
- package/dist/cjs/api/resources/okr/types/ImportObjectivesResult.js +3 -0
- package/dist/cjs/api/resources/okr/types/ImportProblem.d.ts +10 -0
- package/dist/cjs/api/resources/okr/types/ImportProblem.js +3 -0
- package/dist/cjs/api/resources/okr/types/ImportProblemReason.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/ImportProblemReason.js +15 -0
- package/dist/cjs/api/resources/okr/types/KeyResult.d.ts +53 -0
- package/dist/cjs/api/resources/okr/types/KeyResult.js +3 -0
- package/dist/cjs/api/resources/okr/types/KeyResultDetail.d.ts +17 -0
- package/dist/cjs/api/resources/okr/types/KeyResultDetail.js +3 -0
- package/dist/cjs/api/resources/okr/types/KeyResultGrade.d.ts +20 -0
- package/dist/cjs/api/resources/okr/types/KeyResultGrade.js +3 -0
- package/dist/cjs/api/resources/okr/types/KeyResultGradeList.d.ts +4 -0
- package/dist/cjs/api/resources/okr/types/KeyResultGradeList.js +3 -0
- package/dist/cjs/api/resources/okr/types/KeyResultList.d.ts +4 -0
- package/dist/cjs/api/resources/okr/types/KeyResultList.js +3 -0
- package/dist/cjs/api/resources/okr/types/KeyResultMetric.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/KeyResultMetric.js +3 -0
- package/dist/cjs/api/resources/okr/types/MetricSourceKind.d.ts +10 -0
- package/dist/cjs/api/resources/okr/types/MetricSourceKind.js +13 -0
- package/dist/cjs/api/resources/okr/types/Objective.d.ts +47 -0
- package/dist/cjs/api/resources/okr/types/Objective.js +3 -0
- package/dist/cjs/api/resources/okr/types/ObjectiveDetail.d.ts +20 -0
- package/dist/cjs/api/resources/okr/types/ObjectiveDetail.js +3 -0
- package/dist/cjs/api/resources/okr/types/ObjectivePage.d.ts +6 -0
- package/dist/cjs/api/resources/okr/types/ObjectivePage.js +3 -0
- package/dist/cjs/api/resources/okr/types/ObjectiveViewPage.d.ts +17 -0
- package/dist/cjs/api/resources/okr/types/ObjectiveViewPage.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrCheckpoint.d.ts +13 -0
- package/dist/cjs/api/resources/okr/types/OkrCheckpoint.js +16 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriod.d.ts +5 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriod.js +8 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriodRef.d.ts +14 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriodRef.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriods.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/OkrPeriods.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrPriority.d.ts +14 -0
- package/dist/cjs/api/resources/okr/types/OkrPriority.js +17 -0
- package/dist/cjs/api/resources/okr/types/OkrRollup.d.ts +8 -0
- package/dist/cjs/api/resources/okr/types/OkrRollup.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrRollups.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/OkrRollups.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrTeamRef.d.ts +5 -0
- package/dist/cjs/api/resources/okr/types/OkrTeamRef.js +3 -0
- package/dist/cjs/api/resources/okr/types/OkrVisibility.d.ts +11 -0
- package/dist/cjs/api/resources/okr/types/OkrVisibility.js +14 -0
- package/dist/cjs/api/resources/okr/types/PutGradeRequest.d.ts +13 -0
- package/dist/cjs/api/resources/okr/types/PutGradeRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/ReorderKeyResultsRequest.d.ts +4 -0
- package/dist/cjs/api/resources/okr/types/ReorderKeyResultsRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/ReorderObjectivesRequest.d.ts +8 -0
- package/dist/cjs/api/resources/okr/types/ReorderObjectivesRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/ReorderObjectivesResult.d.ts +4 -0
- package/dist/cjs/api/resources/okr/types/ReorderObjectivesResult.js +3 -0
- package/dist/cjs/api/resources/okr/types/Scorecard.d.ts +28 -0
- package/dist/cjs/api/resources/okr/types/Scorecard.js +3 -0
- package/dist/cjs/api/resources/okr/types/ScorecardCell.d.ts +19 -0
- package/dist/cjs/api/resources/okr/types/ScorecardCell.js +3 -0
- package/dist/cjs/api/resources/okr/types/ScorecardCellSource.d.ts +9 -0
- package/dist/cjs/api/resources/okr/types/ScorecardCellSource.js +12 -0
- package/dist/cjs/api/resources/okr/types/ScorecardColumn.d.ts +10 -0
- package/dist/cjs/api/resources/okr/types/ScorecardColumn.js +3 -0
- package/dist/cjs/api/resources/okr/types/ScorecardKeyResultRow.d.ts +8 -0
- package/dist/cjs/api/resources/okr/types/ScorecardKeyResultRow.js +3 -0
- package/dist/cjs/api/resources/okr/types/ScorecardRow.d.ts +13 -0
- package/dist/cjs/api/resources/okr/types/ScorecardRow.js +3 -0
- package/dist/cjs/api/resources/okr/types/ScorecardTimeframe.d.ts +9 -0
- package/dist/cjs/api/resources/okr/types/ScorecardTimeframe.js +12 -0
- package/dist/cjs/api/resources/okr/types/TeamOkrs.d.ts +21 -0
- package/dist/cjs/api/resources/okr/types/TeamOkrs.js +3 -0
- package/dist/cjs/api/resources/okr/types/TeamOkrsTeam.d.ts +11 -0
- package/dist/cjs/api/resources/okr/types/TeamOkrsTeam.js +3 -0
- package/dist/cjs/api/resources/okr/types/TeamScore.d.ts +16 -0
- package/dist/cjs/api/resources/okr/types/TeamScore.js +3 -0
- package/dist/cjs/api/resources/okr/types/TeamScorePage.d.ts +11 -0
- package/dist/cjs/api/resources/okr/types/TeamScorePage.js +3 -0
- package/dist/cjs/api/resources/okr/types/UpdateKeyResultRequest.d.ts +28 -0
- package/dist/cjs/api/resources/okr/types/UpdateKeyResultRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/UpdateObjectiveRequest.d.ts +26 -0
- package/dist/cjs/api/resources/okr/types/UpdateObjectiveRequest.js +3 -0
- package/dist/cjs/api/resources/okr/types/index.d.ts +53 -0
- package/dist/cjs/api/resources/okr/types/index.js +69 -0
- package/dist/cjs/api/resources/organization/client/Client.d.ts +61 -0
- package/dist/cjs/api/resources/organization/client/Client.js +263 -0
- package/dist/cjs/api/resources/organization/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/organization/client/index.js +2 -0
- package/dist/cjs/api/resources/organization/exports.d.ts +2 -0
- package/dist/cjs/api/resources/organization/exports.js +21 -0
- package/dist/cjs/api/resources/organization/index.d.ts +2 -0
- package/dist/cjs/api/resources/organization/index.js +18 -0
- package/dist/cjs/api/resources/organization/types/Organization.d.ts +81 -0
- package/dist/cjs/api/resources/organization/types/Organization.js +3 -0
- package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.d.ts +52 -0
- package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.js +3 -0
- package/dist/cjs/api/resources/organization/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/organization/types/index.js +18 -0
- package/dist/cjs/api/resources/partnerDomains/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/partnerDomains/client/Client.js +333 -0
- package/dist/cjs/api/resources/partnerDomains/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/partnerDomains/client/index.js +2 -0
- package/dist/cjs/api/resources/partnerDomains/exports.d.ts +2 -0
- package/dist/cjs/api/resources/partnerDomains/exports.js +21 -0
- package/dist/cjs/api/resources/partnerDomains/index.d.ts +2 -0
- package/dist/cjs/api/resources/partnerDomains/index.js +18 -0
- package/dist/cjs/api/resources/partnerDomains/types/CreatePartnerDomainRequest.d.ts +7 -0
- package/dist/cjs/api/resources/partnerDomains/types/CreatePartnerDomainRequest.js +3 -0
- package/dist/cjs/api/resources/partnerDomains/types/PartnerDomain.d.ts +12 -0
- package/dist/cjs/api/resources/partnerDomains/types/PartnerDomain.js +3 -0
- package/dist/cjs/api/resources/partnerDomains/types/PartnerDomainList.d.ts +10 -0
- package/dist/cjs/api/resources/partnerDomains/types/PartnerDomainList.js +3 -0
- package/dist/cjs/api/resources/partnerDomains/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/partnerDomains/types/index.js +19 -0
- package/dist/cjs/api/resources/platform/client/Client.d.ts +251 -0
- package/dist/cjs/api/resources/platform/client/Client.js +1131 -0
- package/dist/cjs/api/resources/platform/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/platform/client/index.js +17 -0
- package/dist/cjs/api/resources/platform/client/requests/ListMembersRequest.d.ts +8 -0
- package/dist/cjs/api/resources/platform/client/requests/ListMembersRequest.js +3 -0
- package/dist/cjs/api/resources/platform/client/requests/ListSeatWaitingListRequest.d.ts +7 -0
- package/dist/cjs/api/resources/platform/client/requests/ListSeatWaitingListRequest.js +3 -0
- package/dist/cjs/api/resources/platform/client/requests/ListSeatsRequest.d.ts +7 -0
- package/dist/cjs/api/resources/platform/client/requests/ListSeatsRequest.js +3 -0
- package/dist/cjs/api/resources/platform/client/requests/RemoveFromSeatWaitingListRequest.d.ts +11 -0
- package/dist/cjs/api/resources/platform/client/requests/RemoveFromSeatWaitingListRequest.js +3 -0
- package/dist/cjs/api/resources/platform/client/requests/RevokeSeatRequest.d.ts +11 -0
- package/dist/cjs/api/resources/platform/client/requests/RevokeSeatRequest.js +3 -0
- package/dist/cjs/api/resources/platform/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/platform/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/platform/exports.d.ts +2 -0
- package/dist/cjs/api/resources/platform/exports.js +21 -0
- package/dist/cjs/api/resources/platform/index.d.ts +2 -0
- package/dist/cjs/api/resources/platform/index.js +18 -0
- package/dist/cjs/api/resources/platform/types/App.d.ts +46 -0
- package/dist/cjs/api/resources/platform/types/App.js +3 -0
- package/dist/cjs/api/resources/platform/types/AppBilling.d.ts +11 -0
- package/dist/cjs/api/resources/platform/types/AppBilling.js +14 -0
- package/dist/cjs/api/resources/platform/types/AppList.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/AppList.js +3 -0
- package/dist/cjs/api/resources/platform/types/AppRole.d.ts +16 -0
- package/dist/cjs/api/resources/platform/types/AppRole.js +19 -0
- package/dist/cjs/api/resources/platform/types/AppRoleChange.d.ts +10 -0
- package/dist/cjs/api/resources/platform/types/AppRoleChange.js +3 -0
- package/dist/cjs/api/resources/platform/types/AppRoles.d.ts +12 -0
- package/dist/cjs/api/resources/platform/types/AppRoles.js +3 -0
- package/dist/cjs/api/resources/platform/types/AppStatus.d.ts +5 -0
- package/dist/cjs/api/resources/platform/types/AppStatus.js +8 -0
- package/dist/cjs/api/resources/platform/types/AppSubscription.d.ts +23 -0
- package/dist/cjs/api/resources/platform/types/AppSubscription.js +3 -0
- package/dist/cjs/api/resources/platform/types/AuthenticatedVia.d.ts +9 -0
- package/dist/cjs/api/resources/platform/types/AuthenticatedVia.js +12 -0
- package/dist/cjs/api/resources/platform/types/BillingInterval.d.ts +8 -0
- package/dist/cjs/api/resources/platform/types/BillingInterval.js +11 -0
- package/dist/cjs/api/resources/platform/types/GrantSeatRequest.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/GrantSeatRequest.js +3 -0
- package/dist/cjs/api/resources/platform/types/Identity.d.ts +13 -0
- package/dist/cjs/api/resources/platform/types/Identity.js +3 -0
- package/dist/cjs/api/resources/platform/types/Member.d.ts +20 -0
- package/dist/cjs/api/resources/platform/types/Member.js +3 -0
- package/dist/cjs/api/resources/platform/types/MemberList.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/MemberList.js +3 -0
- package/dist/cjs/api/resources/platform/types/NotificationChannels.d.ts +15 -0
- package/dist/cjs/api/resources/platform/types/NotificationChannels.js +3 -0
- package/dist/cjs/api/resources/platform/types/NotificationPreferences.d.ts +49 -0
- package/dist/cjs/api/resources/platform/types/NotificationPreferences.js +3 -0
- package/dist/cjs/api/resources/platform/types/Seat.d.ts +18 -0
- package/dist/cjs/api/resources/platform/types/Seat.js +3 -0
- package/dist/cjs/api/resources/platform/types/SeatList.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/SeatList.js +3 -0
- package/dist/cjs/api/resources/platform/types/SeatWait.d.ts +7 -0
- package/dist/cjs/api/resources/platform/types/SeatWait.js +3 -0
- package/dist/cjs/api/resources/platform/types/SetAppRoleRequest.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/SetAppRoleRequest.js +3 -0
- package/dist/cjs/api/resources/platform/types/SubscriptionStatus.d.ts +11 -0
- package/dist/cjs/api/resources/platform/types/SubscriptionStatus.js +14 -0
- package/dist/cjs/api/resources/platform/types/UpdateAppRequest.d.ts +8 -0
- package/dist/cjs/api/resources/platform/types/UpdateAppRequest.js +3 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.d.ts +5 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.js +3 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +19 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.js +3 -0
- package/dist/cjs/api/resources/platform/types/WaitingForSeat.d.ts +17 -0
- package/dist/cjs/api/resources/platform/types/WaitingForSeat.js +3 -0
- package/dist/cjs/api/resources/platform/types/WaitingForSeatList.d.ts +4 -0
- package/dist/cjs/api/resources/platform/types/WaitingForSeatList.js +3 -0
- package/dist/cjs/api/resources/platform/types/index.d.ts +26 -0
- package/dist/cjs/api/resources/platform/types/index.js +42 -0
- package/dist/cjs/api/resources/posts/client/Client.d.ts +80 -0
- package/dist/cjs/api/resources/posts/client/Client.js +369 -0
- package/dist/cjs/api/resources/posts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/posts/client/index.js +17 -0
- package/dist/cjs/api/resources/posts/client/requests/ListLaunchPostsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/posts/client/requests/ListLaunchPostsRequest.js +3 -0
- package/dist/cjs/api/resources/posts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/posts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/posts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/posts/exports.js +21 -0
- package/dist/cjs/api/resources/posts/index.d.ts +2 -0
- package/dist/cjs/api/resources/posts/index.js +18 -0
- package/dist/cjs/api/resources/posts/types/CreateLaunchPostRequest.d.ts +9 -0
- package/dist/cjs/api/resources/posts/types/CreateLaunchPostRequest.js +3 -0
- package/dist/cjs/api/resources/posts/types/LaunchPost.d.ts +35 -0
- package/dist/cjs/api/resources/posts/types/LaunchPost.js +3 -0
- package/dist/cjs/api/resources/posts/types/LaunchPostKind.d.ts +9 -0
- package/dist/cjs/api/resources/posts/types/LaunchPostKind.js +12 -0
- package/dist/cjs/api/resources/posts/types/LaunchPostPage.d.ts +7 -0
- package/dist/cjs/api/resources/posts/types/LaunchPostPage.js +3 -0
- package/dist/cjs/api/resources/posts/types/UpdateLaunchPostRequest.d.ts +7 -0
- package/dist/cjs/api/resources/posts/types/UpdateLaunchPostRequest.js +3 -0
- package/dist/cjs/api/resources/posts/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/posts/types/index.js +21 -0
- package/dist/cjs/api/resources/process/client/Client.d.ts +373 -0
- package/dist/cjs/api/resources/process/client/Client.js +1727 -0
- package/dist/cjs/api/resources/process/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/process/client/index.js +17 -0
- package/dist/cjs/api/resources/process/client/requests/ListLaunchTemplatesRequest.d.ts +7 -0
- package/dist/cjs/api/resources/process/client/requests/ListLaunchTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/process/client/requests/ListOrgTeamsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/process/client/requests/ListOrgTeamsRequest.js +3 -0
- package/dist/cjs/api/resources/process/client/requests/ListStepTemplatesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/process/client/requests/ListStepTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/process/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/process/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/process/exports.d.ts +2 -0
- package/dist/cjs/api/resources/process/exports.js +21 -0
- package/dist/cjs/api/resources/process/index.d.ts +2 -0
- package/dist/cjs/api/resources/process/index.js +18 -0
- package/dist/cjs/api/resources/process/types/CreateFunctionalTeamRequest.d.ts +11 -0
- package/dist/cjs/api/resources/process/types/CreateFunctionalTeamRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/CreateLaunchTemplateRequest.d.ts +8 -0
- package/dist/cjs/api/resources/process/types/CreateLaunchTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/CreateOrgTeamRequest.d.ts +4 -0
- package/dist/cjs/api/resources/process/types/CreateOrgTeamRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/CreateStepTemplateRequest.d.ts +17 -0
- package/dist/cjs/api/resources/process/types/CreateStepTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeam.d.ts +37 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeam.js +3 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeamList.d.ts +4 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeamList.js +3 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeamMembers.d.ts +10 -0
- package/dist/cjs/api/resources/process/types/FunctionalTeamMembers.js +3 -0
- package/dist/cjs/api/resources/process/types/LaunchTemplate.d.ts +26 -0
- package/dist/cjs/api/resources/process/types/LaunchTemplate.js +3 -0
- package/dist/cjs/api/resources/process/types/LaunchTemplateList.d.ts +4 -0
- package/dist/cjs/api/resources/process/types/LaunchTemplateList.js +3 -0
- package/dist/cjs/api/resources/process/types/OrgTeam.d.ts +16 -0
- package/dist/cjs/api/resources/process/types/OrgTeam.js +3 -0
- package/dist/cjs/api/resources/process/types/OrgTeamList.d.ts +4 -0
- package/dist/cjs/api/resources/process/types/OrgTeamList.js +3 -0
- package/dist/cjs/api/resources/process/types/ReorderStepTemplatesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/process/types/ReorderStepTemplatesRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/SetFunctionalTeamMembersRequest.d.ts +6 -0
- package/dist/cjs/api/resources/process/types/SetFunctionalTeamMembersRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/StepTemplate.d.ts +29 -0
- package/dist/cjs/api/resources/process/types/StepTemplate.js +3 -0
- package/dist/cjs/api/resources/process/types/StepTemplateList.d.ts +4 -0
- package/dist/cjs/api/resources/process/types/StepTemplateList.js +3 -0
- package/dist/cjs/api/resources/process/types/UpdateFunctionalTeamRequest.d.ts +8 -0
- package/dist/cjs/api/resources/process/types/UpdateFunctionalTeamRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/UpdateLaunchTemplateRequest.d.ts +15 -0
- package/dist/cjs/api/resources/process/types/UpdateLaunchTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/UpdateStepTemplateRequest.d.ts +18 -0
- package/dist/cjs/api/resources/process/types/UpdateStepTemplateRequest.js +3 -0
- package/dist/cjs/api/resources/process/types/index.d.ts +18 -0
- package/dist/cjs/api/resources/process/types/index.js +34 -0
- package/dist/cjs/api/resources/search/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/search/client/Client.js +187 -0
- package/dist/cjs/api/resources/search/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/client/index.js +17 -0
- package/dist/cjs/api/resources/search/client/requests/SearchRequest.d.ts +18 -0
- package/dist/cjs/api/resources/search/client/requests/SearchRequest.js +3 -0
- package/dist/cjs/api/resources/search/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/search/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/search/exports.d.ts +2 -0
- package/dist/cjs/api/resources/search/exports.js +21 -0
- package/dist/cjs/api/resources/search/index.d.ts +2 -0
- package/dist/cjs/api/resources/search/index.js +18 -0
- package/dist/cjs/api/resources/search/types/SearchApp.d.ts +9 -0
- package/dist/cjs/api/resources/search/types/SearchApp.js +12 -0
- package/dist/cjs/api/resources/search/types/SearchEvent.d.ts +8 -0
- package/dist/cjs/api/resources/search/types/SearchEvent.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchEventParent.d.ts +4 -0
- package/dist/cjs/api/resources/search/types/SearchEventParent.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchGroup.d.ts +7 -0
- package/dist/cjs/api/resources/search/types/SearchGroup.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchGroupType.d.ts +22 -0
- package/dist/cjs/api/resources/search/types/SearchGroupType.js +25 -0
- package/dist/cjs/api/resources/search/types/SearchKeyResult.d.ts +7 -0
- package/dist/cjs/api/resources/search/types/SearchKeyResult.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchLaunch.d.ts +8 -0
- package/dist/cjs/api/resources/search/types/SearchLaunch.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchLink.d.ts +8 -0
- package/dist/cjs/api/resources/search/types/SearchLink.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchMeme.d.ts +7 -0
- package/dist/cjs/api/resources/search/types/SearchMeme.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchObjective.d.ts +10 -0
- package/dist/cjs/api/resources/search/types/SearchObjective.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchObjectiveParent.d.ts +4 -0
- package/dist/cjs/api/resources/search/types/SearchObjectiveParent.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchParent.d.ts +4 -0
- package/dist/cjs/api/resources/search/types/SearchParent.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchQuestion.d.ts +10 -0
- package/dist/cjs/api/resources/search/types/SearchQuestion.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchResponse.d.ts +11 -0
- package/dist/cjs/api/resources/search/types/SearchResponse.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchResult.d.ts +37 -0
- package/dist/cjs/api/resources/search/types/SearchResult.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchStep.d.ts +8 -0
- package/dist/cjs/api/resources/search/types/SearchStep.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchTeam.d.ts +5 -0
- package/dist/cjs/api/resources/search/types/SearchTeam.js +3 -0
- package/dist/cjs/api/resources/search/types/SearchTemplate.d.ts +6 -0
- package/dist/cjs/api/resources/search/types/SearchTemplate.js +3 -0
- package/dist/cjs/api/resources/search/types/index.d.ts +18 -0
- package/dist/cjs/api/resources/search/types/index.js +34 -0
- package/dist/cjs/api/resources/slackConnections/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/slackConnections/client/Client.js +243 -0
- package/dist/cjs/api/resources/slackConnections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/slackConnections/client/index.js +17 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.js +3 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/slackConnections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/slackConnections/exports.js +21 -0
- package/dist/cjs/api/resources/slackConnections/index.d.ts +2 -0
- package/dist/cjs/api/resources/slackConnections/index.js +18 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnection.d.ts +16 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnection.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.d.ts +15 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.d.ts +7 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.d.ts +7 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/slackConnections/types/index.js +20 -0
- package/dist/cjs/api/resources/steps/client/Client.d.ts +216 -0
- package/dist/cjs/api/resources/steps/client/Client.js +993 -0
- package/dist/cjs/api/resources/steps/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/steps/client/index.js +17 -0
- package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.d.ts +32 -0
- package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.js +3 -0
- package/dist/cjs/api/resources/steps/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/steps/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/steps/exports.d.ts +2 -0
- package/dist/cjs/api/resources/steps/exports.js +21 -0
- package/dist/cjs/api/resources/steps/index.d.ts +2 -0
- package/dist/cjs/api/resources/steps/index.js +18 -0
- package/dist/cjs/api/resources/steps/types/CreateStepRequest.d.ts +15 -0
- package/dist/cjs/api/resources/steps/types/CreateStepRequest.js +3 -0
- package/dist/cjs/api/resources/steps/types/DecideStepRequest.d.ts +11 -0
- package/dist/cjs/api/resources/steps/types/DecideStepRequest.js +3 -0
- package/dist/cjs/api/resources/steps/types/GeneratedSteps.d.ts +6 -0
- package/dist/cjs/api/resources/steps/types/GeneratedSteps.js +3 -0
- package/dist/cjs/api/resources/steps/types/LaunchStep.d.ts +34 -0
- package/dist/cjs/api/resources/steps/types/LaunchStep.js +3 -0
- package/dist/cjs/api/resources/steps/types/NudgeReason.d.ts +10 -0
- package/dist/cjs/api/resources/steps/types/NudgeReason.js +13 -0
- package/dist/cjs/api/resources/steps/types/NudgeResponse.d.ts +14 -0
- package/dist/cjs/api/resources/steps/types/NudgeResponse.js +3 -0
- package/dist/cjs/api/resources/steps/types/SetDecisionReasonRequest.d.ts +8 -0
- package/dist/cjs/api/resources/steps/types/SetDecisionReasonRequest.js +3 -0
- package/dist/cjs/api/resources/steps/types/StepList.d.ts +4 -0
- package/dist/cjs/api/resources/steps/types/StepList.js +3 -0
- package/dist/cjs/api/resources/steps/types/StepPage.d.ts +6 -0
- package/dist/cjs/api/resources/steps/types/StepPage.js +3 -0
- package/dist/cjs/api/resources/steps/types/UpdateStepRequest.d.ts +24 -0
- package/dist/cjs/api/resources/steps/types/UpdateStepRequest.js +3 -0
- package/dist/cjs/api/resources/steps/types/index.d.ts +10 -0
- package/dist/cjs/api/resources/steps/types/index.js +26 -0
- package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
- package/dist/cjs/auth/BearerAuthProvider.js +79 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
- package/dist/cjs/core/auth/AuthProvider.js +9 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +33 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +11 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +2 -0
- package/dist/cjs/core/exports.js +18 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
- package/dist/cjs/core/fetcher/Fetcher.js +274 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +58 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +17 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +85 -0
- package/dist/cjs/core/fetcher/index.d.ts +13 -0
- package/dist/cjs/core/fetcher/index.js +19 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/cjs/core/fetcher/makePassthroughRequest.js +173 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +11 -0
- package/dist/cjs/core/fetcher/makeRequest.js +94 -0
- package/dist/cjs/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/cjs/core/fetcher/redactUrl.js +88 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +91 -0
- package/dist/cjs/core/fetcher/signals.d.ts +6 -0
- package/dist/cjs/core/fetcher/signals.js +33 -0
- package/dist/cjs/core/file/exports.d.ts +1 -0
- package/dist/cjs/core/file/exports.js +2 -0
- package/dist/cjs/core/file/file.d.ts +10 -0
- package/dist/cjs/core/file/file.js +225 -0
- package/dist/cjs/core/file/index.d.ts +2 -0
- package/dist/cjs/core/file/index.js +18 -0
- package/dist/cjs/core/file/types.d.ts +66 -0
- package/dist/cjs/core/file/types.js +2 -0
- package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +15 -0
- package/dist/cjs/core/form-data-utils/FormDataWrapper.js +188 -0
- package/dist/cjs/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/cjs/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/cjs/core/form-data-utils/index.d.ts +2 -0
- package/dist/cjs/core/form-data-utils/index.js +20 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +9 -0
- package/dist/cjs/core/index.js +48 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +6 -0
- package/dist/cjs/core/runtime/runtime.d.ts +28 -0
- package/dist/cjs/core/runtime/runtime.js +176 -0
- package/dist/cjs/core/schemas/Schema.d.ts +88 -0
- package/dist/cjs/core/schemas/Schema.js +25 -0
- package/dist/cjs/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/bigint/bigint.js +53 -0
- package/dist/cjs/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/bigint/index.js +5 -0
- package/dist/cjs/core/schemas/builders/date/date.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/date/date.js +62 -0
- package/dist/cjs/core/schemas/builders/date/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/date/index.js +5 -0
- package/dist/cjs/core/schemas/builders/enum/enum.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/enum/enum.js +45 -0
- package/dist/cjs/core/schemas/builders/enum/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/enum/index.js +6 -0
- package/dist/cjs/core/schemas/builders/index.d.ts +14 -0
- package/dist/cjs/core/schemas/builders/index.js +30 -0
- package/dist/cjs/core/schemas/builders/lazy/index.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/lazy/index.js +7 -0
- package/dist/cjs/core/schemas/builders/lazy/lazy.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/lazy/lazy.js +24 -0
- package/dist/cjs/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/lazy/lazyObject.js +11 -0
- package/dist/cjs/core/schemas/builders/list/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/list/index.js +5 -0
- package/dist/cjs/core/schemas/builders/list/list.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/list/list.js +49 -0
- package/dist/cjs/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/booleanLiteral.js +28 -0
- package/dist/cjs/core/schemas/builders/literals/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/index.js +7 -0
- package/dist/cjs/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/literals/stringLiteral.js +28 -0
- package/dist/cjs/core/schemas/builders/object/index.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/object/index.js +11 -0
- package/dist/cjs/core/schemas/builders/object/object.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/object/object.js +354 -0
- package/dist/cjs/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/object/objectWithoutOptionalProperties.js +7 -0
- package/dist/cjs/core/schemas/builders/object/property.d.ts +8 -0
- package/dist/cjs/core/schemas/builders/object/property.js +15 -0
- package/dist/cjs/core/schemas/builders/object/types.d.ts +31 -0
- package/dist/cjs/core/schemas/builders/object/types.js +2 -0
- package/dist/cjs/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
- package/dist/cjs/core/schemas/builders/object-like/getObjectLikeUtils.js +60 -0
- package/dist/cjs/core/schemas/builders/object-like/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/object-like/index.js +6 -0
- package/dist/cjs/core/schemas/builders/object-like/types.d.ts +7 -0
- package/dist/cjs/core/schemas/builders/object-like/types.js +2 -0
- package/dist/cjs/core/schemas/builders/primitives/any.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/any.js +9 -0
- package/dist/cjs/core/schemas/builders/primitives/boolean.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/boolean.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/index.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/primitives/index.js +15 -0
- package/dist/cjs/core/schemas/builders/primitives/never.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/never.js +14 -0
- package/dist/cjs/core/schemas/builders/primitives/number.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/number.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/string.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/string.js +25 -0
- package/dist/cjs/core/schemas/builders/primitives/unknown.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/primitives/unknown.js +6 -0
- package/dist/cjs/core/schemas/builders/record/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/record/index.js +6 -0
- package/dist/cjs/core/schemas/builders/record/record.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/record/record.js +131 -0
- package/dist/cjs/core/schemas/builders/record/types.d.ts +6 -0
- package/dist/cjs/core/schemas/builders/record/types.js +2 -0
- package/dist/cjs/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/schema-utils/JsonError.js +13 -0
- package/dist/cjs/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/schema-utils/ParseError.js +13 -0
- package/dist/cjs/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +21 -0
- package/dist/cjs/core/schemas/builders/schema-utils/getSchemaUtils.js +145 -0
- package/dist/cjs/core/schemas/builders/schema-utils/index.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/schema-utils/index.js +11 -0
- package/dist/cjs/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/schema-utils/stringifyValidationErrors.js +9 -0
- package/dist/cjs/core/schemas/builders/set/index.d.ts +1 -0
- package/dist/cjs/core/schemas/builders/set/index.js +5 -0
- package/dist/cjs/core/schemas/builders/set/set.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/set/set.js +43 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/index.js +5 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/types.js +2 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
- package/dist/cjs/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +39 -0
- package/dist/cjs/core/schemas/builders/union/discriminant.d.ts +5 -0
- package/dist/cjs/core/schemas/builders/union/discriminant.js +9 -0
- package/dist/cjs/core/schemas/builders/union/index.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/union/index.js +7 -0
- package/dist/cjs/core/schemas/builders/union/types.d.ts +13 -0
- package/dist/cjs/core/schemas/builders/union/types.js +2 -0
- package/dist/cjs/core/schemas/builders/union/union.d.ts +4 -0
- package/dist/cjs/core/schemas/builders/union/union.js +126 -0
- package/dist/cjs/core/schemas/index.d.ts +2 -0
- package/dist/cjs/core/schemas/index.js +17 -0
- package/dist/cjs/core/schemas/utils/MaybePromise.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/MaybePromise.js +2 -0
- package/dist/cjs/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
- package/dist/cjs/core/schemas/utils/addQuestionMarksToNullableProperties.js +2 -0
- package/dist/cjs/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
- package/dist/cjs/core/schemas/utils/createIdentitySchemaCreator.js +15 -0
- package/dist/cjs/core/schemas/utils/entries.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/entries.js +6 -0
- package/dist/cjs/core/schemas/utils/filterObject.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/filterObject.js +13 -0
- package/dist/cjs/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/getErrorMessageForIncorrectType.js +27 -0
- package/dist/cjs/core/schemas/utils/isPlainObject.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/isPlainObject.js +15 -0
- package/dist/cjs/core/schemas/utils/keys.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/keys.js +6 -0
- package/dist/cjs/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
- package/dist/cjs/core/schemas/utils/maybeSkipValidation.js +27 -0
- package/dist/cjs/core/schemas/utils/partition.d.ts +1 -0
- package/dist/cjs/core/schemas/utils/partition.js +15 -0
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +4 -0
- package/dist/cjs/core/url/index.js +11 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +7 -0
- package/dist/cjs/core/url/qs.js +76 -0
- package/dist/cjs/environments.d.ts +5 -0
- package/dist/cjs/environments.js +8 -0
- package/dist/cjs/errors/TaktoriaError.d.ts +15 -0
- package/dist/cjs/errors/TaktoriaError.js +39 -0
- package/dist/cjs/errors/TaktoriaTimeoutError.d.ts +6 -0
- package/dist/cjs/errors/TaktoriaTimeoutError.js +52 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +7 -0
- package/dist/cjs/index.js +49 -0
- package/dist/cjs/serialization/index.d.ts +1 -0
- package/dist/cjs/serialization/index.js +17 -0
- package/dist/cjs/serialization/resources/appDomains/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/appDomains/index.js +17 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomain.d.ts +15 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomain.js +47 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomainList.d.ts +10 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomainList.js +42 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomainState.d.ts +7 -0
- package/dist/cjs/serialization/resources/appDomains/types/AppDomainState.js +39 -0
- package/dist/cjs/serialization/resources/appDomains/types/DnsRecord.d.ts +13 -0
- package/dist/cjs/serialization/resources/appDomains/types/DnsRecord.js +45 -0
- package/dist/cjs/serialization/resources/appDomains/types/DnsRecordType.d.ts +7 -0
- package/dist/cjs/serialization/resources/appDomains/types/DnsRecordType.js +39 -0
- package/dist/cjs/serialization/resources/appDomains/types/SetAppDomainRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/appDomains/types/SetAppDomainRequest.js +41 -0
- package/dist/cjs/serialization/resources/appDomains/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/appDomains/types/index.js +22 -0
- package/dist/cjs/serialization/resources/artifacts/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/artifacts/index.js +17 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactExport.d.ts +16 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactExport.js +48 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactExporter.d.ts +10 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactExporter.js +42 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactList.d.ts +10 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactList.js +42 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/artifacts/types/ArtifactPage.js +44 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsDestination.d.ts +11 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsDestination.js +43 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsDestinationList.d.ts +10 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsDestinationList.js +42 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsTool.d.ts +7 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsTool.js +39 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsToolList.d.ts +10 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsToolList.js +42 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsToolStatus.d.ts +14 -0
- package/dist/cjs/serialization/resources/artifacts/types/DocsToolStatus.js +46 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportArtifactRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportArtifactRequest.js +45 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportArtifactResponse.d.ts +14 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportArtifactResponse.js +46 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportOutcome.d.ts +7 -0
- package/dist/cjs/serialization/resources/artifacts/types/ExportOutcome.js +39 -0
- package/dist/cjs/serialization/resources/artifacts/types/LaunchArtifact.d.ts +18 -0
- package/dist/cjs/serialization/resources/artifacts/types/LaunchArtifact.js +50 -0
- package/dist/cjs/serialization/resources/artifacts/types/LaunchArtifactWithLaunch.d.ts +11 -0
- package/dist/cjs/serialization/resources/artifacts/types/LaunchArtifactWithLaunch.js +45 -0
- package/dist/cjs/serialization/resources/artifacts/types/UpsertArtifactRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/artifacts/types/UpsertArtifactRequest.js +42 -0
- package/dist/cjs/serialization/resources/artifacts/types/index.d.ts +15 -0
- package/dist/cjs/serialization/resources/artifacts/types/index.js +31 -0
- package/dist/cjs/serialization/resources/auditLogs/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/auditLogs/index.js +17 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditActor.d.ts +12 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditActor.js +44 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditContext.d.ts +10 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditContext.js +42 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditLogEvent.d.ts +19 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditLogEvent.js +51 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditLogPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditLogPage.js +44 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditTarget.d.ts +11 -0
- package/dist/cjs/serialization/resources/auditLogs/types/AuditTarget.js +43 -0
- package/dist/cjs/serialization/resources/auditLogs/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/auditLogs/types/index.js +21 -0
- package/dist/cjs/serialization/resources/billing/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/billing/index.js +17 -0
- package/dist/cjs/serialization/resources/billing/types/PaymentIssue.d.ts +7 -0
- package/dist/cjs/serialization/resources/billing/types/PaymentIssue.js +39 -0
- package/dist/cjs/serialization/resources/billing/types/Subscription.d.ts +19 -0
- package/dist/cjs/serialization/resources/billing/types/Subscription.js +51 -0
- package/dist/cjs/serialization/resources/billing/types/SubscriptionApp.d.ts +24 -0
- package/dist/cjs/serialization/resources/billing/types/SubscriptionApp.js +56 -0
- package/dist/cjs/serialization/resources/billing/types/SubscriptionAppChoice.d.ts +12 -0
- package/dist/cjs/serialization/resources/billing/types/SubscriptionAppChoice.js +44 -0
- package/dist/cjs/serialization/resources/billing/types/UpdateSubscriptionRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/billing/types/UpdateSubscriptionRequest.js +44 -0
- package/dist/cjs/serialization/resources/billing/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/billing/types/index.js +21 -0
- package/dist/cjs/serialization/resources/commons/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/commons/index.js +17 -0
- package/dist/cjs/serialization/resources/commons/types/ArtifactType.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/ArtifactType.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/ErrorBody.d.ts +10 -0
- package/dist/cjs/serialization/resources/commons/types/ErrorBody.js +42 -0
- package/dist/cjs/serialization/resources/commons/types/ErrorDetail.d.ts +11 -0
- package/dist/cjs/serialization/resources/commons/types/ErrorDetail.js +43 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchHealth.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchHealth.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchRef.d.ts +12 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchRef.js +44 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/LaunchStatus.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/OrgTeamRef.d.ts +10 -0
- package/dist/cjs/serialization/resources/commons/types/OrgTeamRef.js +42 -0
- package/dist/cjs/serialization/resources/commons/types/Sentiment.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/Sentiment.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/StepRequirement.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/StepRequirement.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/StepStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/StepStatus.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/TeamRef.d.ts +11 -0
- package/dist/cjs/serialization/resources/commons/types/TeamRef.js +43 -0
- package/dist/cjs/serialization/resources/commons/types/TicketingStatusKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/TicketingStatusKind.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/TicketingSystem.d.ts +7 -0
- package/dist/cjs/serialization/resources/commons/types/TicketingSystem.js +39 -0
- package/dist/cjs/serialization/resources/commons/types/User.d.ts +12 -0
- package/dist/cjs/serialization/resources/commons/types/User.js +44 -0
- package/dist/cjs/serialization/resources/commons/types/index.d.ts +14 -0
- package/dist/cjs/serialization/resources/commons/types/index.js +30 -0
- package/dist/cjs/serialization/resources/domains/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/domains/index.js +17 -0
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.js +41 -0
- package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +18 -0
- package/dist/cjs/serialization/resources/domains/types/Domain.js +50 -0
- package/dist/cjs/serialization/resources/domains/types/DomainList.d.ts +10 -0
- package/dist/cjs/serialization/resources/domains/types/DomainList.js +42 -0
- package/dist/cjs/serialization/resources/domains/types/DomainUpdate.d.ts +10 -0
- package/dist/cjs/serialization/resources/domains/types/DomainUpdate.js +44 -0
- package/dist/cjs/serialization/resources/domains/types/DomainVerification.d.ts +11 -0
- package/dist/cjs/serialization/resources/domains/types/DomainVerification.js +43 -0
- package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.js +43 -0
- package/dist/cjs/serialization/resources/domains/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/domains/types/index.js +22 -0
- package/dist/cjs/serialization/resources/dory/client/advanceQueue.d.ts +8 -0
- package/dist/cjs/serialization/resources/dory/client/advanceQueue.js +6 -0
- package/dist/cjs/serialization/resources/dory/client/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/dory/client/index.js +41 -0
- package/dist/cjs/serialization/resources/dory/client/requests/DuplicateEventRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/dory/client/requests/DuplicateEventRequest.js +41 -0
- package/dist/cjs/serialization/resources/dory/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/dory/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/dory/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/dory/index.js +18 -0
- package/dist/cjs/serialization/resources/dory/types/AddEventHostRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/dory/types/AddEventHostRequest.js +41 -0
- package/dist/cjs/serialization/resources/dory/types/AddEventHostTeamRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/dory/types/AddEventHostTeamRequest.js +41 -0
- package/dist/cjs/serialization/resources/dory/types/AdvanceQueueRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/AdvanceQueueRequest.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/AdvanceQueueResult.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/AdvanceQueueResult.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/AnalyticsBucket.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/AnalyticsBucket.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/AnalyticsSpan.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/AnalyticsSpan.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/Asker.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/Asker.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/CapacityUse.d.ts +14 -0
- package/dist/cjs/serialization/resources/dory/types/CapacityUse.js +46 -0
- package/dist/cjs/serialization/resources/dory/types/CreateEventRequest.d.ts +36 -0
- package/dist/cjs/serialization/resources/dory/types/CreateEventRequest.js +68 -0
- package/dist/cjs/serialization/resources/dory/types/CreatePollOption.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/CreatePollOption.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/CreatePollRequest.d.ts +20 -0
- package/dist/cjs/serialization/resources/dory/types/CreatePollRequest.js +52 -0
- package/dist/cjs/serialization/resources/dory/types/CreateQuestionRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/dory/types/CreateQuestionRequest.js +43 -0
- package/dist/cjs/serialization/resources/dory/types/Event.d.ts +40 -0
- package/dist/cjs/serialization/resources/dory/types/Event.js +72 -0
- package/dist/cjs/serialization/resources/dory/types/EventAnalytics.d.ts +28 -0
- package/dist/cjs/serialization/resources/dory/types/EventAnalytics.js +60 -0
- package/dist/cjs/serialization/resources/dory/types/EventAudience.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/EventAudience.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.d.ts +20 -0
- package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.js +52 -0
- package/dist/cjs/serialization/resources/dory/types/EventHosts.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/EventHosts.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/EventJoinLink.d.ts +13 -0
- package/dist/cjs/serialization/resources/dory/types/EventJoinLink.js +45 -0
- package/dist/cjs/serialization/resources/dory/types/EventPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/EventPage.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/EventPhase.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/EventPhase.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/EventSettings.d.ts +19 -0
- package/dist/cjs/serialization/resources/dory/types/EventSettings.js +51 -0
- package/dist/cjs/serialization/resources/dory/types/EventStats.d.ts +14 -0
- package/dist/cjs/serialization/resources/dory/types/EventStats.js +46 -0
- package/dist/cjs/serialization/resources/dory/types/EventStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/EventStatus.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/EventTeam.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/EventTeam.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/EventsOverview.d.ts +20 -0
- package/dist/cjs/serialization/resources/dory/types/EventsOverview.js +52 -0
- package/dist/cjs/serialization/resources/dory/types/Leaderboard.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/Leaderboard.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/LeaderboardRow.d.ts +14 -0
- package/dist/cjs/serialization/resources/dory/types/LeaderboardRow.js +46 -0
- package/dist/cjs/serialization/resources/dory/types/OptionResult.d.ts +13 -0
- package/dist/cjs/serialization/resources/dory/types/OptionResult.js +45 -0
- package/dist/cjs/serialization/resources/dory/types/OverviewEvent.d.ts +16 -0
- package/dist/cjs/serialization/resources/dory/types/OverviewEvent.js +48 -0
- package/dist/cjs/serialization/resources/dory/types/Participant.d.ts +19 -0
- package/dist/cjs/serialization/resources/dory/types/Participant.js +51 -0
- package/dist/cjs/serialization/resources/dory/types/ParticipantPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/ParticipantPage.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/Poll.d.ts +27 -0
- package/dist/cjs/serialization/resources/dory/types/Poll.js +59 -0
- package/dist/cjs/serialization/resources/dory/types/PollList.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/PollList.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/PollOption.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/PollOption.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/PollResults.d.ts +23 -0
- package/dist/cjs/serialization/resources/dory/types/PollResults.js +55 -0
- package/dist/cjs/serialization/resources/dory/types/PollStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/PollStatus.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/PollTotals.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/PollTotals.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/PollType.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/PollType.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/PresenterQueue.d.ts +13 -0
- package/dist/cjs/serialization/resources/dory/types/PresenterQueue.js +45 -0
- package/dist/cjs/serialization/resources/dory/types/Question.d.ts +23 -0
- package/dist/cjs/serialization/resources/dory/types/Question.js +55 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionPage.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionSort.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionSort.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionStatus.js +39 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionTotals.d.ts +15 -0
- package/dist/cjs/serialization/resources/dory/types/QuestionTotals.js +47 -0
- package/dist/cjs/serialization/resources/dory/types/RatingBucket.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/RatingBucket.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/SetEventHostsRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/SetEventHostsRequest.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/TextResult.d.ts +10 -0
- package/dist/cjs/serialization/resources/dory/types/TextResult.js +42 -0
- package/dist/cjs/serialization/resources/dory/types/TopQuestion.d.ts +12 -0
- package/dist/cjs/serialization/resources/dory/types/TopQuestion.js +44 -0
- package/dist/cjs/serialization/resources/dory/types/UpdateEventRequest.d.ts +36 -0
- package/dist/cjs/serialization/resources/dory/types/UpdateEventRequest.js +68 -0
- package/dist/cjs/serialization/resources/dory/types/UpdatePollRequest.d.ts +18 -0
- package/dist/cjs/serialization/resources/dory/types/UpdatePollRequest.js +50 -0
- package/dist/cjs/serialization/resources/dory/types/UpdateQuestionRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/dory/types/UpdateQuestionRequest.js +45 -0
- package/dist/cjs/serialization/resources/dory/types/index.d.ts +51 -0
- package/dist/cjs/serialization/resources/dory/types/index.js +67 -0
- package/dist/cjs/serialization/resources/golinks/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/golinks/index.js +17 -0
- package/dist/cjs/serialization/resources/golinks/types/ClickDay.d.ts +10 -0
- package/dist/cjs/serialization/resources/golinks/types/ClickDay.js +42 -0
- package/dist/cjs/serialization/resources/golinks/types/ClickHistory.d.ts +14 -0
- package/dist/cjs/serialization/resources/golinks/types/ClickHistory.js +46 -0
- package/dist/cjs/serialization/resources/golinks/types/CreateGoLinkRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/golinks/types/CreateGoLinkRequest.js +47 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLink.d.ts +26 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLink.js +58 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkAccess.d.ts +12 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkAccess.js +44 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkAudience.d.ts +7 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkAudience.js +39 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkPage.js +44 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkQrFormat.d.ts +7 -0
- package/dist/cjs/serialization/resources/golinks/types/GoLinkQrFormat.js +39 -0
- package/dist/cjs/serialization/resources/golinks/types/LinkAudienceOptions.d.ts +13 -0
- package/dist/cjs/serialization/resources/golinks/types/LinkAudienceOptions.js +45 -0
- package/dist/cjs/serialization/resources/golinks/types/TopLink.d.ts +15 -0
- package/dist/cjs/serialization/resources/golinks/types/TopLink.js +47 -0
- package/dist/cjs/serialization/resources/golinks/types/TopLinks.d.ts +11 -0
- package/dist/cjs/serialization/resources/golinks/types/TopLinks.js +43 -0
- package/dist/cjs/serialization/resources/golinks/types/UpdateGoLinkAccess.d.ts +12 -0
- package/dist/cjs/serialization/resources/golinks/types/UpdateGoLinkAccess.js +44 -0
- package/dist/cjs/serialization/resources/golinks/types/UpdateGoLinkRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/golinks/types/UpdateGoLinkRequest.js +48 -0
- package/dist/cjs/serialization/resources/golinks/types/WorkspaceClicks.d.ts +11 -0
- package/dist/cjs/serialization/resources/golinks/types/WorkspaceClicks.js +43 -0
- package/dist/cjs/serialization/resources/golinks/types/index.d.ts +14 -0
- package/dist/cjs/serialization/resources/golinks/types/index.js +30 -0
- package/dist/cjs/serialization/resources/holidays/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/holidays/index.js +17 -0
- package/dist/cjs/serialization/resources/holidays/types/Holiday.d.ts +11 -0
- package/dist/cjs/serialization/resources/holidays/types/Holiday.js +43 -0
- package/dist/cjs/serialization/resources/holidays/types/HolidayList.d.ts +11 -0
- package/dist/cjs/serialization/resources/holidays/types/HolidayList.js +43 -0
- package/dist/cjs/serialization/resources/holidays/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/holidays/types/index.js +18 -0
- package/dist/cjs/serialization/resources/index.d.ts +51 -0
- package/dist/cjs/serialization/resources/index.js +90 -0
- package/dist/cjs/serialization/resources/insights/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/insights/index.js +17 -0
- package/dist/cjs/serialization/resources/insights/types/CreateInsightRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/insights/types/CreateInsightRequest.js +45 -0
- package/dist/cjs/serialization/resources/insights/types/Insight.d.ts +18 -0
- package/dist/cjs/serialization/resources/insights/types/Insight.js +50 -0
- package/dist/cjs/serialization/resources/insights/types/InsightLaunch.d.ts +10 -0
- package/dist/cjs/serialization/resources/insights/types/InsightLaunch.js +42 -0
- package/dist/cjs/serialization/resources/insights/types/InsightList.d.ts +10 -0
- package/dist/cjs/serialization/resources/insights/types/InsightList.js +42 -0
- package/dist/cjs/serialization/resources/insights/types/InsightPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/insights/types/InsightPage.js +44 -0
- package/dist/cjs/serialization/resources/insights/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/insights/types/index.js +21 -0
- package/dist/cjs/serialization/resources/launchAnalytics/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/launchAnalytics/index.js +17 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/AnalyticsPeriod.d.ts +10 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/AnalyticsPeriod.js +42 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/HealthCounts.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/HealthCounts.js +44 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/InFlight.d.ts +13 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/InFlight.js +45 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/LaunchAnalytics.d.ts +22 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/LaunchAnalytics.js +54 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/LaunchOnHoliday.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/LaunchOnHoliday.js +44 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/MonthCount.d.ts +10 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/MonthCount.js +42 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/QuarterShipped.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/QuarterShipped.js +44 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/SentimentCounts.d.ts +11 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/SentimentCounts.js +43 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/ShippedSummary.d.ts +15 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/ShippedSummary.js +47 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/StatusCount.d.ts +11 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/StatusCount.js +43 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/TeamReviews.d.ts +18 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/TeamReviews.js +50 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/Upcoming.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/Upcoming.js +44 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/index.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchAnalytics/types/index.js +28 -0
- package/dist/cjs/serialization/resources/launchOverview/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/launchOverview/index.js +17 -0
- package/dist/cjs/serialization/resources/launchOverview/types/LaunchOverview.d.ts +16 -0
- package/dist/cjs/serialization/resources/launchOverview/types/LaunchOverview.js +48 -0
- package/dist/cjs/serialization/resources/launchOverview/types/OverviewQuarter.d.ts +12 -0
- package/dist/cjs/serialization/resources/launchOverview/types/OverviewQuarter.js +44 -0
- package/dist/cjs/serialization/resources/launchOverview/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/launchOverview/types/index.js +18 -0
- package/dist/cjs/serialization/resources/launches/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/launches/index.js +17 -0
- package/dist/cjs/serialization/resources/launches/types/CreateLaunchRequest.d.ts +23 -0
- package/dist/cjs/serialization/resources/launches/types/CreateLaunchRequest.js +55 -0
- package/dist/cjs/serialization/resources/launches/types/Launch.d.ts +38 -0
- package/dist/cjs/serialization/resources/launches/types/Launch.js +70 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivity.d.ts +17 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivity.js +49 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityPage.js +44 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.d.ts +7 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.js +53 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchPage.js +44 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchTemplateRef.d.ts +10 -0
- package/dist/cjs/serialization/resources/launches/types/LaunchTemplateRef.js +42 -0
- package/dist/cjs/serialization/resources/launches/types/LinkTicketingProjectRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/launches/types/LinkTicketingProjectRequest.js +41 -0
- package/dist/cjs/serialization/resources/launches/types/PressToLaunchRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/launches/types/PressToLaunchRequest.js +42 -0
- package/dist/cjs/serialization/resources/launches/types/SyncTicketingProjectResponse.d.ts +13 -0
- package/dist/cjs/serialization/resources/launches/types/SyncTicketingProjectResponse.js +45 -0
- package/dist/cjs/serialization/resources/launches/types/TicketingProject.d.ts +19 -0
- package/dist/cjs/serialization/resources/launches/types/TicketingProject.js +51 -0
- package/dist/cjs/serialization/resources/launches/types/UpdateLaunchRequest.d.ts +23 -0
- package/dist/cjs/serialization/resources/launches/types/UpdateLaunchRequest.js +55 -0
- package/dist/cjs/serialization/resources/launches/types/index.d.ts +12 -0
- package/dist/cjs/serialization/resources/launches/types/index.js +28 -0
- package/dist/cjs/serialization/resources/links/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/links/index.js +17 -0
- package/dist/cjs/serialization/resources/links/types/CreateLaunchLinkRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/links/types/CreateLaunchLinkRequest.js +43 -0
- package/dist/cjs/serialization/resources/links/types/LaunchLink.d.ts +17 -0
- package/dist/cjs/serialization/resources/links/types/LaunchLink.js +49 -0
- package/dist/cjs/serialization/resources/links/types/LaunchLinkList.d.ts +10 -0
- package/dist/cjs/serialization/resources/links/types/LaunchLinkList.js +42 -0
- package/dist/cjs/serialization/resources/links/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/links/types/index.js +19 -0
- package/dist/cjs/serialization/resources/mcpConnections/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/mcpConnections/index.js +17 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnection.d.ts +17 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnection.js +49 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionClient.d.ts +11 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionClient.js +43 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionPage.js +44 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionPerson.d.ts +10 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionPerson.js +42 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionSettings.d.ts +9 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/McpConnectionSettings.js +41 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.js +41 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/mcpConnections/types/index.js +22 -0
- package/dist/cjs/serialization/resources/memegen/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/memegen/index.js +17 -0
- package/dist/cjs/serialization/resources/memegen/types/CreateMemeRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/memegen/types/CreateMemeRequest.js +44 -0
- package/dist/cjs/serialization/resources/memegen/types/CreateMemeTemplateRequest.d.ts +18 -0
- package/dist/cjs/serialization/resources/memegen/types/CreateMemeTemplateRequest.js +50 -0
- package/dist/cjs/serialization/resources/memegen/types/ImportMemeFormatRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/memegen/types/ImportMemeFormatRequest.js +46 -0
- package/dist/cjs/serialization/resources/memegen/types/Meme.d.ts +22 -0
- package/dist/cjs/serialization/resources/memegen/types/Meme.js +54 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeFormat.d.ts +17 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeFormat.js +49 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeFormatList.d.ts +10 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeFormatList.js +42 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeLayout.d.ts +7 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeLayout.js +39 -0
- package/dist/cjs/serialization/resources/memegen/types/MemePage.d.ts +12 -0
- package/dist/cjs/serialization/resources/memegen/types/MemePage.js +44 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeSort.d.ts +7 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeSort.js +39 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplate.d.ts +25 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplate.js +57 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplateFromUrlRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplateFromUrlRequest.js +42 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplateList.d.ts +10 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplateList.js +42 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplatePage.d.ts +12 -0
- package/dist/cjs/serialization/resources/memegen/types/MemeTemplatePage.js +44 -0
- package/dist/cjs/serialization/resources/memegen/types/PopularWindow.d.ts +7 -0
- package/dist/cjs/serialization/resources/memegen/types/PopularWindow.js +39 -0
- package/dist/cjs/serialization/resources/memegen/types/ReorderMemeTemplatesRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/memegen/types/ReorderMemeTemplatesRequest.js +41 -0
- package/dist/cjs/serialization/resources/memegen/types/UpdateMemeTemplateRequest.d.ts +19 -0
- package/dist/cjs/serialization/resources/memegen/types/UpdateMemeTemplateRequest.js +51 -0
- package/dist/cjs/serialization/resources/memegen/types/index.d.ts +16 -0
- package/dist/cjs/serialization/resources/memegen/types/index.js +32 -0
- package/dist/cjs/serialization/resources/okr/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/okr/index.js +17 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreRequest.js +41 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreResult.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreResult.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreSkip.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreSkip.js +43 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreSkipReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/BulkScoreSkipReason.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/CheckIn.d.ts +18 -0
- package/dist/cjs/serialization/resources/okr/types/CheckIn.js +50 -0
- package/dist/cjs/serialization/resources/okr/types/CheckInMetric.d.ts +10 -0
- package/dist/cjs/serialization/resources/okr/types/CheckInMetric.js +42 -0
- package/dist/cjs/serialization/resources/okr/types/CheckInPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/CheckInPage.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/CreateCheckInRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/okr/types/CreateCheckInRequest.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/CreateKeyResultRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/CreateKeyResultRequest.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/CreateObjectiveRequest.d.ts +23 -0
- package/dist/cjs/serialization/resources/okr/types/CreateObjectiveRequest.js +55 -0
- package/dist/cjs/serialization/resources/okr/types/GradeChange.d.ts +18 -0
- package/dist/cjs/serialization/resources/okr/types/GradeChange.js +50 -0
- package/dist/cjs/serialization/resources/okr/types/GradeChangePage.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/GradeChangePage.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/ImportObjectivesRequest.d.ts +18 -0
- package/dist/cjs/serialization/resources/okr/types/ImportObjectivesRequest.js +50 -0
- package/dist/cjs/serialization/resources/okr/types/ImportObjectivesResult.d.ts +13 -0
- package/dist/cjs/serialization/resources/okr/types/ImportObjectivesResult.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/ImportProblem.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/ImportProblem.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/ImportProblemReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/ImportProblemReason.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.d.ts +24 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.js +56 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultDetail.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultDetail.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultGrade.d.ts +18 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultGrade.js +50 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultGradeList.d.ts +10 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultGradeList.js +42 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultList.d.ts +10 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultList.js +42 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/Objective.d.ts +33 -0
- package/dist/cjs/serialization/resources/okr/types/Objective.js +65 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectiveDetail.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectiveDetail.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectivePage.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectivePage.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectiveViewPage.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/ObjectiveViewPage.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/OkrCheckpoint.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/OkrCheckpoint.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriod.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriod.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriodRef.d.ts +13 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriodRef.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriods.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPeriods.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPriority.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/OkrPriority.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/OkrRollup.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/OkrRollup.js +43 -0
- package/dist/cjs/serialization/resources/okr/types/OkrRollups.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/OkrRollups.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/OkrTeamRef.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/OkrTeamRef.js +43 -0
- package/dist/cjs/serialization/resources/okr/types/OkrVisibility.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/OkrVisibility.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/PutGradeRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/okr/types/PutGradeRequest.js +43 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderKeyResultsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderKeyResultsRequest.js +41 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderObjectivesRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderObjectivesRequest.js +41 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderObjectivesResult.d.ts +9 -0
- package/dist/cjs/serialization/resources/okr/types/ReorderObjectivesResult.js +41 -0
- package/dist/cjs/serialization/resources/okr/types/Scorecard.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/Scorecard.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardCell.d.ts +13 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardCell.js +45 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardCellSource.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardCellSource.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardColumn.d.ts +15 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardColumn.js +47 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardKeyResultRow.d.ts +15 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardKeyResultRow.js +47 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardRow.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardRow.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardTimeframe.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/ScorecardTimeframe.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/TeamOkrs.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/TeamOkrs.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/TeamOkrsTeam.d.ts +16 -0
- package/dist/cjs/serialization/resources/okr/types/TeamOkrsTeam.js +48 -0
- package/dist/cjs/serialization/resources/okr/types/TeamScore.d.ts +14 -0
- package/dist/cjs/serialization/resources/okr/types/TeamScore.js +46 -0
- package/dist/cjs/serialization/resources/okr/types/TeamScorePage.d.ts +15 -0
- package/dist/cjs/serialization/resources/okr/types/TeamScorePage.js +47 -0
- package/dist/cjs/serialization/resources/okr/types/UpdateKeyResultRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/okr/types/UpdateKeyResultRequest.js +49 -0
- package/dist/cjs/serialization/resources/okr/types/UpdateObjectiveRequest.d.ts +22 -0
- package/dist/cjs/serialization/resources/okr/types/UpdateObjectiveRequest.js +54 -0
- package/dist/cjs/serialization/resources/okr/types/index.d.ts +53 -0
- package/dist/cjs/serialization/resources/okr/types/index.js +69 -0
- package/dist/cjs/serialization/resources/organization/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/organization/index.js +17 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.d.ts +22 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.js +54 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.js +49 -0
- package/dist/cjs/serialization/resources/organization/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/types/index.js +18 -0
- package/dist/cjs/serialization/resources/partnerDomains/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/partnerDomains/index.js +17 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/CreatePartnerDomainRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/CreatePartnerDomainRequest.js +41 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/PartnerDomain.d.ts +11 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/PartnerDomain.js +43 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/PartnerDomainList.d.ts +11 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/PartnerDomainList.js +43 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/partnerDomains/types/index.js +19 -0
- package/dist/cjs/serialization/resources/platform/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/index.js +17 -0
- package/dist/cjs/serialization/resources/platform/types/App.d.ts +24 -0
- package/dist/cjs/serialization/resources/platform/types/App.js +56 -0
- package/dist/cjs/serialization/resources/platform/types/AppBilling.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/AppBilling.js +39 -0
- package/dist/cjs/serialization/resources/platform/types/AppList.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/AppList.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/AppRole.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/AppRole.js +43 -0
- package/dist/cjs/serialization/resources/platform/types/AppRoleChange.d.ts +13 -0
- package/dist/cjs/serialization/resources/platform/types/AppRoleChange.js +45 -0
- package/dist/cjs/serialization/resources/platform/types/AppRoles.d.ts +14 -0
- package/dist/cjs/serialization/resources/platform/types/AppRoles.js +46 -0
- package/dist/cjs/serialization/resources/platform/types/AppStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/AppStatus.js +39 -0
- package/dist/cjs/serialization/resources/platform/types/AppSubscription.d.ts +18 -0
- package/dist/cjs/serialization/resources/platform/types/AppSubscription.js +50 -0
- package/dist/cjs/serialization/resources/platform/types/AuthenticatedVia.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/AuthenticatedVia.js +39 -0
- package/dist/cjs/serialization/resources/platform/types/BillingInterval.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/BillingInterval.js +39 -0
- package/dist/cjs/serialization/resources/platform/types/GrantSeatRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/GrantSeatRequest.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/Identity.d.ts +16 -0
- package/dist/cjs/serialization/resources/platform/types/Identity.js +48 -0
- package/dist/cjs/serialization/resources/platform/types/Member.d.ts +18 -0
- package/dist/cjs/serialization/resources/platform/types/Member.js +50 -0
- package/dist/cjs/serialization/resources/platform/types/MemberList.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/MemberList.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.d.ts +11 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.js +43 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationPreferences.d.ts +21 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationPreferences.js +53 -0
- package/dist/cjs/serialization/resources/platform/types/Seat.d.ts +13 -0
- package/dist/cjs/serialization/resources/platform/types/Seat.js +45 -0
- package/dist/cjs/serialization/resources/platform/types/SeatList.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/SeatList.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/SeatWait.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/SeatWait.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/SetAppRoleRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/SetAppRoleRequest.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/SubscriptionStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/platform/types/SubscriptionStatus.js +48 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateAppRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateAppRequest.js +41 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.d.ts +11 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.js +43 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +21 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.js +53 -0
- package/dist/cjs/serialization/resources/platform/types/WaitingForSeat.d.ts +13 -0
- package/dist/cjs/serialization/resources/platform/types/WaitingForSeat.js +45 -0
- package/dist/cjs/serialization/resources/platform/types/WaitingForSeatList.d.ts +10 -0
- package/dist/cjs/serialization/resources/platform/types/WaitingForSeatList.js +42 -0
- package/dist/cjs/serialization/resources/platform/types/index.d.ts +26 -0
- package/dist/cjs/serialization/resources/platform/types/index.js +42 -0
- package/dist/cjs/serialization/resources/posts/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/posts/index.js +17 -0
- package/dist/cjs/serialization/resources/posts/types/CreateLaunchPostRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/posts/types/CreateLaunchPostRequest.js +45 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPost.d.ts +24 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPost.js +56 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPostKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPostKind.js +39 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPostPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/posts/types/LaunchPostPage.js +44 -0
- package/dist/cjs/serialization/resources/posts/types/UpdateLaunchPostRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/posts/types/UpdateLaunchPostRequest.js +43 -0
- package/dist/cjs/serialization/resources/posts/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/posts/types/index.js +21 -0
- package/dist/cjs/serialization/resources/process/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/process/index.js +17 -0
- package/dist/cjs/serialization/resources/process/types/CreateFunctionalTeamRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/process/types/CreateFunctionalTeamRequest.js +45 -0
- package/dist/cjs/serialization/resources/process/types/CreateLaunchTemplateRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/process/types/CreateLaunchTemplateRequest.js +44 -0
- package/dist/cjs/serialization/resources/process/types/CreateOrgTeamRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/CreateOrgTeamRequest.js +42 -0
- package/dist/cjs/serialization/resources/process/types/CreateStepTemplateRequest.d.ts +17 -0
- package/dist/cjs/serialization/resources/process/types/CreateStepTemplateRequest.js +49 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeam.d.ts +17 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeam.js +49 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeamList.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeamList.js +42 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeamMembers.d.ts +12 -0
- package/dist/cjs/serialization/resources/process/types/FunctionalTeamMembers.js +44 -0
- package/dist/cjs/serialization/resources/process/types/LaunchTemplate.d.ts +19 -0
- package/dist/cjs/serialization/resources/process/types/LaunchTemplate.js +51 -0
- package/dist/cjs/serialization/resources/process/types/LaunchTemplateList.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/LaunchTemplateList.js +42 -0
- package/dist/cjs/serialization/resources/process/types/OrgTeam.d.ts +13 -0
- package/dist/cjs/serialization/resources/process/types/OrgTeam.js +45 -0
- package/dist/cjs/serialization/resources/process/types/OrgTeamList.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/OrgTeamList.js +42 -0
- package/dist/cjs/serialization/resources/process/types/ReorderStepTemplatesRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/process/types/ReorderStepTemplatesRequest.js +41 -0
- package/dist/cjs/serialization/resources/process/types/SetFunctionalTeamMembersRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/SetFunctionalTeamMembersRequest.js +42 -0
- package/dist/cjs/serialization/resources/process/types/StepTemplate.d.ts +24 -0
- package/dist/cjs/serialization/resources/process/types/StepTemplate.js +56 -0
- package/dist/cjs/serialization/resources/process/types/StepTemplateList.d.ts +10 -0
- package/dist/cjs/serialization/resources/process/types/StepTemplateList.js +42 -0
- package/dist/cjs/serialization/resources/process/types/UpdateFunctionalTeamRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/process/types/UpdateFunctionalTeamRequest.js +45 -0
- package/dist/cjs/serialization/resources/process/types/UpdateLaunchTemplateRequest.d.ts +13 -0
- package/dist/cjs/serialization/resources/process/types/UpdateLaunchTemplateRequest.js +45 -0
- package/dist/cjs/serialization/resources/process/types/UpdateStepTemplateRequest.d.ts +18 -0
- package/dist/cjs/serialization/resources/process/types/UpdateStepTemplateRequest.js +50 -0
- package/dist/cjs/serialization/resources/process/types/index.d.ts +18 -0
- package/dist/cjs/serialization/resources/process/types/index.js +34 -0
- package/dist/cjs/serialization/resources/search/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/search/index.js +17 -0
- package/dist/cjs/serialization/resources/search/types/SearchApp.d.ts +7 -0
- package/dist/cjs/serialization/resources/search/types/SearchApp.js +39 -0
- package/dist/cjs/serialization/resources/search/types/SearchEvent.d.ts +14 -0
- package/dist/cjs/serialization/resources/search/types/SearchEvent.js +46 -0
- package/dist/cjs/serialization/resources/search/types/SearchEventParent.d.ts +10 -0
- package/dist/cjs/serialization/resources/search/types/SearchEventParent.js +42 -0
- package/dist/cjs/serialization/resources/search/types/SearchGroup.d.ts +13 -0
- package/dist/cjs/serialization/resources/search/types/SearchGroup.js +45 -0
- package/dist/cjs/serialization/resources/search/types/SearchGroupType.d.ts +7 -0
- package/dist/cjs/serialization/resources/search/types/SearchGroupType.js +50 -0
- package/dist/cjs/serialization/resources/search/types/SearchKeyResult.d.ts +13 -0
- package/dist/cjs/serialization/resources/search/types/SearchKeyResult.js +45 -0
- package/dist/cjs/serialization/resources/search/types/SearchLaunch.d.ts +14 -0
- package/dist/cjs/serialization/resources/search/types/SearchLaunch.js +46 -0
- package/dist/cjs/serialization/resources/search/types/SearchLink.d.ts +13 -0
- package/dist/cjs/serialization/resources/search/types/SearchLink.js +45 -0
- package/dist/cjs/serialization/resources/search/types/SearchMeme.d.ts +12 -0
- package/dist/cjs/serialization/resources/search/types/SearchMeme.js +44 -0
- package/dist/cjs/serialization/resources/search/types/SearchObjective.d.ts +15 -0
- package/dist/cjs/serialization/resources/search/types/SearchObjective.js +47 -0
- package/dist/cjs/serialization/resources/search/types/SearchObjectiveParent.d.ts +10 -0
- package/dist/cjs/serialization/resources/search/types/SearchObjectiveParent.js +42 -0
- package/dist/cjs/serialization/resources/search/types/SearchParent.d.ts +10 -0
- package/dist/cjs/serialization/resources/search/types/SearchParent.js +42 -0
- package/dist/cjs/serialization/resources/search/types/SearchQuestion.d.ts +14 -0
- package/dist/cjs/serialization/resources/search/types/SearchQuestion.js +46 -0
- package/dist/cjs/serialization/resources/search/types/SearchResponse.d.ts +13 -0
- package/dist/cjs/serialization/resources/search/types/SearchResponse.js +45 -0
- package/dist/cjs/serialization/resources/search/types/SearchResult.d.ts +47 -0
- package/dist/cjs/serialization/resources/search/types/SearchResult.js +65 -0
- package/dist/cjs/serialization/resources/search/types/SearchStep.d.ts +15 -0
- package/dist/cjs/serialization/resources/search/types/SearchStep.js +47 -0
- package/dist/cjs/serialization/resources/search/types/SearchTeam.d.ts +11 -0
- package/dist/cjs/serialization/resources/search/types/SearchTeam.js +43 -0
- package/dist/cjs/serialization/resources/search/types/SearchTemplate.d.ts +11 -0
- package/dist/cjs/serialization/resources/search/types/SearchTemplate.js +43 -0
- package/dist/cjs/serialization/resources/search/types/index.d.ts +18 -0
- package/dist/cjs/serialization/resources/search/types/index.js +34 -0
- package/dist/cjs/serialization/resources/slackConnections/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/slackConnections/index.js +17 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.d.ts +14 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.js +46 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.d.ts +11 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.js +43 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.js +44 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.d.ts +10 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.js +42 -0
- package/dist/cjs/serialization/resources/slackConnections/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/slackConnections/types/index.js +20 -0
- package/dist/cjs/serialization/resources/steps/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/steps/index.js +17 -0
- package/dist/cjs/serialization/resources/steps/types/CreateStepRequest.d.ts +20 -0
- package/dist/cjs/serialization/resources/steps/types/CreateStepRequest.js +52 -0
- package/dist/cjs/serialization/resources/steps/types/DecideStepRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/steps/types/DecideStepRequest.js +44 -0
- package/dist/cjs/serialization/resources/steps/types/GeneratedSteps.d.ts +11 -0
- package/dist/cjs/serialization/resources/steps/types/GeneratedSteps.js +43 -0
- package/dist/cjs/serialization/resources/steps/types/LaunchStep.d.ts +34 -0
- package/dist/cjs/serialization/resources/steps/types/LaunchStep.js +66 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeReason.js +39 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeResponse.js +48 -0
- package/dist/cjs/serialization/resources/steps/types/SetDecisionReasonRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/steps/types/SetDecisionReasonRequest.js +41 -0
- package/dist/cjs/serialization/resources/steps/types/StepList.d.ts +10 -0
- package/dist/cjs/serialization/resources/steps/types/StepList.js +42 -0
- package/dist/cjs/serialization/resources/steps/types/StepPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/steps/types/StepPage.js +44 -0
- package/dist/cjs/serialization/resources/steps/types/UpdateStepRequest.d.ts +20 -0
- package/dist/cjs/serialization/resources/steps/types/UpdateStepRequest.js +52 -0
- package/dist/cjs/serialization/resources/steps/types/index.d.ts +10 -0
- package/dist/cjs/serialization/resources/steps/types/index.js +26 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +55 -0
- package/dist/esm/BaseClient.mjs +40 -0
- package/dist/esm/Client.d.mts +95 -0
- package/dist/esm/Client.mjs +161 -0
- package/dist/esm/api/index.d.mts +1 -0
- package/dist/esm/api/index.mjs +1 -0
- package/dist/esm/api/resources/appDomains/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/appDomains/client/Client.mjs +512 -0
- package/dist/esm/api/resources/appDomains/client/index.d.mts +1 -0
- package/dist/esm/api/resources/appDomains/client/index.mjs +1 -0
- package/dist/esm/api/resources/appDomains/exports.d.mts +2 -0
- package/dist/esm/api/resources/appDomains/exports.mjs +3 -0
- package/dist/esm/api/resources/appDomains/index.d.mts +2 -0
- package/dist/esm/api/resources/appDomains/index.mjs +2 -0
- package/dist/esm/api/resources/appDomains/types/AppDomain.d.mts +17 -0
- package/dist/esm/api/resources/appDomains/types/AppDomain.mjs +2 -0
- package/dist/esm/api/resources/appDomains/types/AppDomainList.d.mts +4 -0
- package/dist/esm/api/resources/appDomains/types/AppDomainList.mjs +2 -0
- package/dist/esm/api/resources/appDomains/types/AppDomainState.d.mts +23 -0
- package/dist/esm/api/resources/appDomains/types/AppDomainState.mjs +23 -0
- package/dist/esm/api/resources/appDomains/types/DnsRecord.d.mts +15 -0
- package/dist/esm/api/resources/appDomains/types/DnsRecord.mjs +2 -0
- package/dist/esm/api/resources/appDomains/types/DnsRecordType.d.mts +6 -0
- package/dist/esm/api/resources/appDomains/types/DnsRecordType.mjs +6 -0
- package/dist/esm/api/resources/appDomains/types/SetAppDomainRequest.d.mts +7 -0
- package/dist/esm/api/resources/appDomains/types/SetAppDomainRequest.mjs +2 -0
- package/dist/esm/api/resources/appDomains/types/index.d.mts +6 -0
- package/dist/esm/api/resources/appDomains/types/index.mjs +6 -0
- package/dist/esm/api/resources/artifacts/client/Client.d.mts +196 -0
- package/dist/esm/api/resources/artifacts/client/Client.mjs +805 -0
- package/dist/esm/api/resources/artifacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/artifacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.mts +31 -0
- package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.mjs +2 -0
- package/dist/esm/api/resources/artifacts/client/requests/ListDocsDestinationsRequest.d.mts +8 -0
- package/dist/esm/api/resources/artifacts/client/requests/ListDocsDestinationsRequest.mjs +2 -0
- package/dist/esm/api/resources/artifacts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/artifacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/artifacts/exports.d.mts +2 -0
- package/dist/esm/api/resources/artifacts/exports.mjs +3 -0
- package/dist/esm/api/resources/artifacts/index.d.mts +2 -0
- package/dist/esm/api/resources/artifacts/index.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactExport.d.mts +16 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactExport.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactExporter.d.mts +4 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactExporter.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactList.d.mts +4 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactList.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactPage.d.mts +7 -0
- package/dist/esm/api/resources/artifacts/types/ArtifactPage.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/DocsDestination.d.mts +7 -0
- package/dist/esm/api/resources/artifacts/types/DocsDestination.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/DocsDestinationList.d.mts +4 -0
- package/dist/esm/api/resources/artifacts/types/DocsDestinationList.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/DocsTool.d.mts +12 -0
- package/dist/esm/api/resources/artifacts/types/DocsTool.mjs +12 -0
- package/dist/esm/api/resources/artifacts/types/DocsToolList.d.mts +4 -0
- package/dist/esm/api/resources/artifacts/types/DocsToolList.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/DocsToolStatus.d.mts +10 -0
- package/dist/esm/api/resources/artifacts/types/DocsToolStatus.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ExportArtifactRequest.d.mts +14 -0
- package/dist/esm/api/resources/artifacts/types/ExportArtifactRequest.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ExportArtifactResponse.d.mts +6 -0
- package/dist/esm/api/resources/artifacts/types/ExportArtifactResponse.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/ExportOutcome.d.mts +13 -0
- package/dist/esm/api/resources/artifacts/types/ExportOutcome.mjs +13 -0
- package/dist/esm/api/resources/artifacts/types/LaunchArtifact.d.mts +19 -0
- package/dist/esm/api/resources/artifacts/types/LaunchArtifact.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/LaunchArtifactWithLaunch.d.mts +7 -0
- package/dist/esm/api/resources/artifacts/types/LaunchArtifactWithLaunch.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/UpsertArtifactRequest.d.mts +4 -0
- package/dist/esm/api/resources/artifacts/types/UpsertArtifactRequest.mjs +2 -0
- package/dist/esm/api/resources/artifacts/types/index.d.mts +15 -0
- package/dist/esm/api/resources/artifacts/types/index.mjs +15 -0
- package/dist/esm/api/resources/auditLogs/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/auditLogs/client/Client.mjs +212 -0
- package/dist/esm/api/resources/auditLogs/client/index.d.mts +1 -0
- package/dist/esm/api/resources/auditLogs/client/index.mjs +1 -0
- package/dist/esm/api/resources/auditLogs/client/requests/ListAuditLogsRequest.d.mts +16 -0
- package/dist/esm/api/resources/auditLogs/client/requests/ListAuditLogsRequest.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/auditLogs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/auditLogs/exports.d.mts +2 -0
- package/dist/esm/api/resources/auditLogs/exports.mjs +3 -0
- package/dist/esm/api/resources/auditLogs/index.d.mts +2 -0
- package/dist/esm/api/resources/auditLogs/index.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/AuditActor.d.mts +12 -0
- package/dist/esm/api/resources/auditLogs/types/AuditActor.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/AuditContext.d.mts +5 -0
- package/dist/esm/api/resources/auditLogs/types/AuditContext.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/AuditLogEvent.d.mts +23 -0
- package/dist/esm/api/resources/auditLogs/types/AuditLogEvent.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/AuditLogPage.d.mts +7 -0
- package/dist/esm/api/resources/auditLogs/types/AuditLogPage.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/AuditTarget.d.mts +6 -0
- package/dist/esm/api/resources/auditLogs/types/AuditTarget.mjs +2 -0
- package/dist/esm/api/resources/auditLogs/types/index.d.mts +5 -0
- package/dist/esm/api/resources/auditLogs/types/index.mjs +5 -0
- package/dist/esm/api/resources/billing/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/billing/client/Client.mjs +361 -0
- package/dist/esm/api/resources/billing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/errors/CheckoutRequiredError.d.mts +7 -0
- package/dist/esm/api/resources/billing/errors/CheckoutRequiredError.mjs +17 -0
- package/dist/esm/api/resources/billing/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/errors/index.mjs +1 -0
- package/dist/esm/api/resources/billing/exports.d.mts +2 -0
- package/dist/esm/api/resources/billing/exports.mjs +3 -0
- package/dist/esm/api/resources/billing/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/index.mjs +3 -0
- package/dist/esm/api/resources/billing/types/PaymentIssue.d.mts +23 -0
- package/dist/esm/api/resources/billing/types/PaymentIssue.mjs +23 -0
- package/dist/esm/api/resources/billing/types/Subscription.d.mts +34 -0
- package/dist/esm/api/resources/billing/types/Subscription.mjs +2 -0
- package/dist/esm/api/resources/billing/types/SubscriptionApp.d.mts +54 -0
- package/dist/esm/api/resources/billing/types/SubscriptionApp.mjs +2 -0
- package/dist/esm/api/resources/billing/types/SubscriptionAppChoice.d.mts +13 -0
- package/dist/esm/api/resources/billing/types/SubscriptionAppChoice.mjs +2 -0
- package/dist/esm/api/resources/billing/types/UpdateSubscriptionRequest.d.mts +14 -0
- package/dist/esm/api/resources/billing/types/UpdateSubscriptionRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/types/index.d.mts +5 -0
- package/dist/esm/api/resources/billing/types/index.mjs +5 -0
- package/dist/esm/api/resources/commons/errors/BadRequestError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/ConflictError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/ForbiddenError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/NotFoundError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/SubscriptionRequiredError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/SubscriptionRequiredError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/TooManyRequestsError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/TooManyRequestsError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/UnauthorizedError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/UpstreamError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/UpstreamError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/ValidationError.d.mts +7 -0
- package/dist/esm/api/resources/commons/errors/ValidationError.mjs +17 -0
- package/dist/esm/api/resources/commons/errors/index.d.mts +9 -0
- package/dist/esm/api/resources/commons/errors/index.mjs +9 -0
- package/dist/esm/api/resources/commons/exports.d.mts +1 -0
- package/dist/esm/api/resources/commons/exports.mjs +2 -0
- package/dist/esm/api/resources/commons/index.d.mts +2 -0
- package/dist/esm/api/resources/commons/index.mjs +2 -0
- package/dist/esm/api/resources/commons/types/ArtifactType.d.mts +12 -0
- package/dist/esm/api/resources/commons/types/ArtifactType.mjs +12 -0
- package/dist/esm/api/resources/commons/types/ErrorBody.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/ErrorBody.mjs +2 -0
- package/dist/esm/api/resources/commons/types/ErrorDetail.d.mts +6 -0
- package/dist/esm/api/resources/commons/types/ErrorDetail.mjs +2 -0
- package/dist/esm/api/resources/commons/types/LaunchHealth.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/LaunchHealth.mjs +7 -0
- package/dist/esm/api/resources/commons/types/LaunchRef.d.mts +6 -0
- package/dist/esm/api/resources/commons/types/LaunchRef.mjs +2 -0
- package/dist/esm/api/resources/commons/types/LaunchStatus.d.mts +11 -0
- package/dist/esm/api/resources/commons/types/LaunchStatus.mjs +11 -0
- package/dist/esm/api/resources/commons/types/OrgTeamRef.d.mts +7 -0
- package/dist/esm/api/resources/commons/types/OrgTeamRef.mjs +2 -0
- package/dist/esm/api/resources/commons/types/Sentiment.d.mts +6 -0
- package/dist/esm/api/resources/commons/types/Sentiment.mjs +6 -0
- package/dist/esm/api/resources/commons/types/StepRequirement.d.mts +13 -0
- package/dist/esm/api/resources/commons/types/StepRequirement.mjs +13 -0
- package/dist/esm/api/resources/commons/types/StepStatus.d.mts +22 -0
- package/dist/esm/api/resources/commons/types/StepStatus.mjs +22 -0
- package/dist/esm/api/resources/commons/types/TeamRef.d.mts +8 -0
- package/dist/esm/api/resources/commons/types/TeamRef.mjs +2 -0
- package/dist/esm/api/resources/commons/types/TicketingStatusKind.d.mts +13 -0
- package/dist/esm/api/resources/commons/types/TicketingStatusKind.mjs +13 -0
- package/dist/esm/api/resources/commons/types/TicketingSystem.d.mts +13 -0
- package/dist/esm/api/resources/commons/types/TicketingSystem.mjs +13 -0
- package/dist/esm/api/resources/commons/types/User.d.mts +13 -0
- package/dist/esm/api/resources/commons/types/User.mjs +2 -0
- package/dist/esm/api/resources/commons/types/index.d.mts +14 -0
- package/dist/esm/api/resources/commons/types/index.mjs +14 -0
- package/dist/esm/api/resources/domains/client/Client.d.mts +133 -0
- package/dist/esm/api/resources/domains/client/Client.mjs +583 -0
- package/dist/esm/api/resources/domains/client/index.d.mts +1 -0
- package/dist/esm/api/resources/domains/client/index.mjs +1 -0
- package/dist/esm/api/resources/domains/exports.d.mts +2 -0
- package/dist/esm/api/resources/domains/exports.mjs +3 -0
- package/dist/esm/api/resources/domains/index.d.mts +2 -0
- package/dist/esm/api/resources/domains/index.mjs +2 -0
- package/dist/esm/api/resources/domains/types/CreateDomainRequest.d.mts +4 -0
- package/dist/esm/api/resources/domains/types/CreateDomainRequest.mjs +2 -0
- package/dist/esm/api/resources/domains/types/Domain.d.mts +35 -0
- package/dist/esm/api/resources/domains/types/Domain.mjs +2 -0
- package/dist/esm/api/resources/domains/types/DomainList.d.mts +4 -0
- package/dist/esm/api/resources/domains/types/DomainList.mjs +2 -0
- package/dist/esm/api/resources/domains/types/DomainUpdate.d.mts +8 -0
- package/dist/esm/api/resources/domains/types/DomainUpdate.mjs +2 -0
- package/dist/esm/api/resources/domains/types/DomainVerification.d.mts +9 -0
- package/dist/esm/api/resources/domains/types/DomainVerification.mjs +2 -0
- package/dist/esm/api/resources/domains/types/UpdateDomainRequest.d.mts +15 -0
- package/dist/esm/api/resources/domains/types/UpdateDomainRequest.mjs +2 -0
- package/dist/esm/api/resources/domains/types/index.d.mts +6 -0
- package/dist/esm/api/resources/domains/types/index.mjs +6 -0
- package/dist/esm/api/resources/dory/client/Client.d.mts +778 -0
- package/dist/esm/api/resources/dory/client/Client.mjs +3392 -0
- package/dist/esm/api/resources/dory/client/index.d.mts +1 -0
- package/dist/esm/api/resources/dory/client/index.mjs +1 -0
- package/dist/esm/api/resources/dory/client/requests/ArchiveEventRequest.d.mts +14 -0
- package/dist/esm/api/resources/dory/client/requests/ArchiveEventRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/DuplicateEventRequest.d.mts +8 -0
- package/dist/esm/api/resources/dory/client/requests/DuplicateEventRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/EventsOverviewRequest.d.mts +10 -0
- package/dist/esm/api/resources/dory/client/requests/EventsOverviewRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/GetEventJoinLinkRequest.d.mts +10 -0
- package/dist/esm/api/resources/dory/client/requests/GetEventJoinLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/ListEventsRequest.d.mts +26 -0
- package/dist/esm/api/resources/dory/client/requests/ListEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/ListParticipantsRequest.d.mts +10 -0
- package/dist/esm/api/resources/dory/client/requests/ListParticipantsRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/ListQuestionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/dory/client/requests/ListQuestionsRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/dory/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/dory/exports.d.mts +2 -0
- package/dist/esm/api/resources/dory/exports.mjs +3 -0
- package/dist/esm/api/resources/dory/index.d.mts +2 -0
- package/dist/esm/api/resources/dory/index.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AddEventHostRequest.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/AddEventHostRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AddEventHostTeamRequest.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/AddEventHostTeamRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AdvanceQueueRequest.d.mts +10 -0
- package/dist/esm/api/resources/dory/types/AdvanceQueueRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AdvanceQueueResult.d.mts +5 -0
- package/dist/esm/api/resources/dory/types/AdvanceQueueResult.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AnalyticsBucket.d.mts +8 -0
- package/dist/esm/api/resources/dory/types/AnalyticsBucket.mjs +2 -0
- package/dist/esm/api/resources/dory/types/AnalyticsSpan.d.mts +9 -0
- package/dist/esm/api/resources/dory/types/AnalyticsSpan.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Asker.d.mts +11 -0
- package/dist/esm/api/resources/dory/types/Asker.mjs +2 -0
- package/dist/esm/api/resources/dory/types/CapacityUse.d.mts +18 -0
- package/dist/esm/api/resources/dory/types/CapacityUse.mjs +2 -0
- package/dist/esm/api/resources/dory/types/CreateEventRequest.d.mts +72 -0
- package/dist/esm/api/resources/dory/types/CreateEventRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/CreatePollOption.d.mts +5 -0
- package/dist/esm/api/resources/dory/types/CreatePollOption.mjs +2 -0
- package/dist/esm/api/resources/dory/types/CreatePollRequest.d.mts +29 -0
- package/dist/esm/api/resources/dory/types/CreatePollRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/CreateQuestionRequest.d.mts +10 -0
- package/dist/esm/api/resources/dory/types/CreateQuestionRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Event.d.mts +89 -0
- package/dist/esm/api/resources/dory/types/Event.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventAnalytics.d.mts +33 -0
- package/dist/esm/api/resources/dory/types/EventAnalytics.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventAudience.d.mts +25 -0
- package/dist/esm/api/resources/dory/types/EventAudience.mjs +25 -0
- package/dist/esm/api/resources/dory/types/EventCalendarInvite.d.mts +41 -0
- package/dist/esm/api/resources/dory/types/EventCalendarInvite.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventHosts.d.mts +13 -0
- package/dist/esm/api/resources/dory/types/EventHosts.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventJoinLink.d.mts +22 -0
- package/dist/esm/api/resources/dory/types/EventJoinLink.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventPage.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/EventPage.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventPhase.d.mts +23 -0
- package/dist/esm/api/resources/dory/types/EventPhase.mjs +23 -0
- package/dist/esm/api/resources/dory/types/EventSettings.d.mts +20 -0
- package/dist/esm/api/resources/dory/types/EventSettings.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventStats.d.mts +15 -0
- package/dist/esm/api/resources/dory/types/EventStats.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventStatus.d.mts +16 -0
- package/dist/esm/api/resources/dory/types/EventStatus.mjs +16 -0
- package/dist/esm/api/resources/dory/types/EventTeam.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/EventTeam.mjs +2 -0
- package/dist/esm/api/resources/dory/types/EventsOverview.d.mts +23 -0
- package/dist/esm/api/resources/dory/types/EventsOverview.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Leaderboard.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/Leaderboard.mjs +2 -0
- package/dist/esm/api/resources/dory/types/LeaderboardRow.d.mts +11 -0
- package/dist/esm/api/resources/dory/types/LeaderboardRow.mjs +2 -0
- package/dist/esm/api/resources/dory/types/OptionResult.d.mts +8 -0
- package/dist/esm/api/resources/dory/types/OptionResult.mjs +2 -0
- package/dist/esm/api/resources/dory/types/OverviewEvent.d.mts +16 -0
- package/dist/esm/api/resources/dory/types/OverviewEvent.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Participant.d.mts +23 -0
- package/dist/esm/api/resources/dory/types/Participant.mjs +2 -0
- package/dist/esm/api/resources/dory/types/ParticipantPage.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/ParticipantPage.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Poll.d.mts +24 -0
- package/dist/esm/api/resources/dory/types/Poll.mjs +2 -0
- package/dist/esm/api/resources/dory/types/PollList.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/PollList.mjs +2 -0
- package/dist/esm/api/resources/dory/types/PollOption.d.mts +7 -0
- package/dist/esm/api/resources/dory/types/PollOption.mjs +2 -0
- package/dist/esm/api/resources/dory/types/PollResults.d.mts +26 -0
- package/dist/esm/api/resources/dory/types/PollResults.mjs +2 -0
- package/dist/esm/api/resources/dory/types/PollStatus.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/PollStatus.mjs +6 -0
- package/dist/esm/api/resources/dory/types/PollTotals.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/PollTotals.mjs +2 -0
- package/dist/esm/api/resources/dory/types/PollType.d.mts +9 -0
- package/dist/esm/api/resources/dory/types/PollType.mjs +9 -0
- package/dist/esm/api/resources/dory/types/PresenterQueue.d.mts +18 -0
- package/dist/esm/api/resources/dory/types/PresenterQueue.mjs +2 -0
- package/dist/esm/api/resources/dory/types/Question.d.mts +25 -0
- package/dist/esm/api/resources/dory/types/Question.mjs +2 -0
- package/dist/esm/api/resources/dory/types/QuestionPage.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/QuestionPage.mjs +2 -0
- package/dist/esm/api/resources/dory/types/QuestionSort.d.mts +7 -0
- package/dist/esm/api/resources/dory/types/QuestionSort.mjs +7 -0
- package/dist/esm/api/resources/dory/types/QuestionStatus.d.mts +15 -0
- package/dist/esm/api/resources/dory/types/QuestionStatus.mjs +15 -0
- package/dist/esm/api/resources/dory/types/QuestionTotals.d.mts +12 -0
- package/dist/esm/api/resources/dory/types/QuestionTotals.mjs +2 -0
- package/dist/esm/api/resources/dory/types/RatingBucket.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/RatingBucket.mjs +2 -0
- package/dist/esm/api/resources/dory/types/SetEventHostsRequest.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/SetEventHostsRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/TextResult.d.mts +4 -0
- package/dist/esm/api/resources/dory/types/TextResult.mjs +2 -0
- package/dist/esm/api/resources/dory/types/TopQuestion.d.mts +6 -0
- package/dist/esm/api/resources/dory/types/TopQuestion.mjs +2 -0
- package/dist/esm/api/resources/dory/types/UpdateEventRequest.d.mts +67 -0
- package/dist/esm/api/resources/dory/types/UpdateEventRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/UpdatePollRequest.d.mts +26 -0
- package/dist/esm/api/resources/dory/types/UpdatePollRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/UpdateQuestionRequest.d.mts +26 -0
- package/dist/esm/api/resources/dory/types/UpdateQuestionRequest.mjs +2 -0
- package/dist/esm/api/resources/dory/types/index.d.mts +51 -0
- package/dist/esm/api/resources/dory/types/index.mjs +51 -0
- package/dist/esm/api/resources/golinks/client/Client.d.mts +248 -0
- package/dist/esm/api/resources/golinks/client/Client.mjs +1034 -0
- package/dist/esm/api/resources/golinks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/golinks/client/index.mjs +1 -0
- package/dist/esm/api/resources/golinks/client/requests/ClickHistoryRequest.d.mts +8 -0
- package/dist/esm/api/resources/golinks/client/requests/ClickHistoryRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/client/requests/GoLinkQrCodeRequest.d.mts +16 -0
- package/dist/esm/api/resources/golinks/client/requests/GoLinkQrCodeRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/client/requests/ListGoLinksRequest.d.mts +24 -0
- package/dist/esm/api/resources/golinks/client/requests/ListGoLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/client/requests/TopLinksRequest.d.mts +13 -0
- package/dist/esm/api/resources/golinks/client/requests/TopLinksRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/client/requests/WorkspaceClicksRequest.d.mts +10 -0
- package/dist/esm/api/resources/golinks/client/requests/WorkspaceClicksRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/golinks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/golinks/exports.d.mts +2 -0
- package/dist/esm/api/resources/golinks/exports.mjs +3 -0
- package/dist/esm/api/resources/golinks/index.d.mts +2 -0
- package/dist/esm/api/resources/golinks/index.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/ClickDay.d.mts +5 -0
- package/dist/esm/api/resources/golinks/types/ClickDay.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/ClickHistory.d.mts +12 -0
- package/dist/esm/api/resources/golinks/types/ClickHistory.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/CreateGoLinkRequest.d.mts +25 -0
- package/dist/esm/api/resources/golinks/types/CreateGoLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/GoLink.d.mts +58 -0
- package/dist/esm/api/resources/golinks/types/GoLink.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/GoLinkAccess.d.mts +27 -0
- package/dist/esm/api/resources/golinks/types/GoLinkAccess.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/GoLinkAudience.d.mts +19 -0
- package/dist/esm/api/resources/golinks/types/GoLinkAudience.mjs +19 -0
- package/dist/esm/api/resources/golinks/types/GoLinkPage.d.mts +6 -0
- package/dist/esm/api/resources/golinks/types/GoLinkPage.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/GoLinkQrFormat.d.mts +5 -0
- package/dist/esm/api/resources/golinks/types/GoLinkQrFormat.mjs +5 -0
- package/dist/esm/api/resources/golinks/types/LinkAudienceOptions.d.mts +28 -0
- package/dist/esm/api/resources/golinks/types/LinkAudienceOptions.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/TopLink.d.mts +15 -0
- package/dist/esm/api/resources/golinks/types/TopLink.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/TopLinks.d.mts +13 -0
- package/dist/esm/api/resources/golinks/types/TopLinks.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/UpdateGoLinkAccess.d.mts +22 -0
- package/dist/esm/api/resources/golinks/types/UpdateGoLinkAccess.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/UpdateGoLinkRequest.d.mts +20 -0
- package/dist/esm/api/resources/golinks/types/UpdateGoLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/WorkspaceClicks.d.mts +13 -0
- package/dist/esm/api/resources/golinks/types/WorkspaceClicks.mjs +2 -0
- package/dist/esm/api/resources/golinks/types/index.d.mts +14 -0
- package/dist/esm/api/resources/golinks/types/index.mjs +14 -0
- package/dist/esm/api/resources/holidays/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/holidays/client/Client.mjs +120 -0
- package/dist/esm/api/resources/holidays/client/index.d.mts +1 -0
- package/dist/esm/api/resources/holidays/client/index.mjs +1 -0
- package/dist/esm/api/resources/holidays/client/requests/ListHolidaysRequest.d.mts +13 -0
- package/dist/esm/api/resources/holidays/client/requests/ListHolidaysRequest.mjs +2 -0
- package/dist/esm/api/resources/holidays/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/holidays/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/holidays/exports.d.mts +2 -0
- package/dist/esm/api/resources/holidays/exports.mjs +3 -0
- package/dist/esm/api/resources/holidays/index.d.mts +2 -0
- package/dist/esm/api/resources/holidays/index.mjs +2 -0
- package/dist/esm/api/resources/holidays/types/Holiday.d.mts +11 -0
- package/dist/esm/api/resources/holidays/types/Holiday.mjs +2 -0
- package/dist/esm/api/resources/holidays/types/HolidayList.d.mts +6 -0
- package/dist/esm/api/resources/holidays/types/HolidayList.mjs +2 -0
- package/dist/esm/api/resources/holidays/types/index.d.mts +2 -0
- package/dist/esm/api/resources/holidays/types/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +69 -0
- package/dist/esm/api/resources/index.mjs +69 -0
- package/dist/esm/api/resources/insights/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/insights/client/Client.mjs +287 -0
- package/dist/esm/api/resources/insights/client/index.d.mts +1 -0
- package/dist/esm/api/resources/insights/client/index.mjs +1 -0
- package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.d.mts +25 -0
- package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.mjs +2 -0
- package/dist/esm/api/resources/insights/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/insights/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/insights/exports.d.mts +2 -0
- package/dist/esm/api/resources/insights/exports.mjs +3 -0
- package/dist/esm/api/resources/insights/index.d.mts +2 -0
- package/dist/esm/api/resources/insights/index.mjs +2 -0
- package/dist/esm/api/resources/insights/types/CreateInsightRequest.d.mts +12 -0
- package/dist/esm/api/resources/insights/types/CreateInsightRequest.mjs +2 -0
- package/dist/esm/api/resources/insights/types/Insight.d.mts +14 -0
- package/dist/esm/api/resources/insights/types/Insight.mjs +2 -0
- package/dist/esm/api/resources/insights/types/InsightLaunch.d.mts +4 -0
- package/dist/esm/api/resources/insights/types/InsightLaunch.mjs +2 -0
- package/dist/esm/api/resources/insights/types/InsightList.d.mts +4 -0
- package/dist/esm/api/resources/insights/types/InsightList.mjs +2 -0
- package/dist/esm/api/resources/insights/types/InsightPage.d.mts +6 -0
- package/dist/esm/api/resources/insights/types/InsightPage.mjs +2 -0
- package/dist/esm/api/resources/insights/types/index.d.mts +5 -0
- package/dist/esm/api/resources/insights/types/index.mjs +5 -0
- package/dist/esm/api/resources/launchAnalytics/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/launchAnalytics/client/Client.mjs +117 -0
- package/dist/esm/api/resources/launchAnalytics/client/index.d.mts +1 -0
- package/dist/esm/api/resources/launchAnalytics/client/index.mjs +1 -0
- package/dist/esm/api/resources/launchAnalytics/client/requests/GetLaunchAnalyticsRequest.d.mts +10 -0
- package/dist/esm/api/resources/launchAnalytics/client/requests/GetLaunchAnalyticsRequest.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/launchAnalytics/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/launchAnalytics/exports.d.mts +2 -0
- package/dist/esm/api/resources/launchAnalytics/exports.mjs +3 -0
- package/dist/esm/api/resources/launchAnalytics/index.d.mts +2 -0
- package/dist/esm/api/resources/launchAnalytics/index.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/AnalyticsPeriod.d.mts +7 -0
- package/dist/esm/api/resources/launchAnalytics/types/AnalyticsPeriod.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/HealthCounts.d.mts +9 -0
- package/dist/esm/api/resources/launchAnalytics/types/HealthCounts.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/InFlight.d.mts +9 -0
- package/dist/esm/api/resources/launchAnalytics/types/InFlight.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/LaunchAnalytics.d.mts +17 -0
- package/dist/esm/api/resources/launchAnalytics/types/LaunchAnalytics.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/LaunchOnHoliday.d.mts +7 -0
- package/dist/esm/api/resources/launchAnalytics/types/LaunchOnHoliday.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/MonthCount.d.mts +5 -0
- package/dist/esm/api/resources/launchAnalytics/types/MonthCount.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/QuarterShipped.d.mts +6 -0
- package/dist/esm/api/resources/launchAnalytics/types/QuarterShipped.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/SentimentCounts.d.mts +8 -0
- package/dist/esm/api/resources/launchAnalytics/types/SentimentCounts.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/ShippedSummary.d.mts +17 -0
- package/dist/esm/api/resources/launchAnalytics/types/ShippedSummary.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/StatusCount.d.mts +5 -0
- package/dist/esm/api/resources/launchAnalytics/types/StatusCount.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/TeamReviews.d.mts +19 -0
- package/dist/esm/api/resources/launchAnalytics/types/TeamReviews.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/Upcoming.d.mts +8 -0
- package/dist/esm/api/resources/launchAnalytics/types/Upcoming.mjs +2 -0
- package/dist/esm/api/resources/launchAnalytics/types/index.d.mts +12 -0
- package/dist/esm/api/resources/launchAnalytics/types/index.mjs +12 -0
- package/dist/esm/api/resources/launchOverview/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/launchOverview/client/Client.mjs +110 -0
- package/dist/esm/api/resources/launchOverview/client/index.d.mts +1 -0
- package/dist/esm/api/resources/launchOverview/client/index.mjs +1 -0
- package/dist/esm/api/resources/launchOverview/exports.d.mts +2 -0
- package/dist/esm/api/resources/launchOverview/exports.mjs +3 -0
- package/dist/esm/api/resources/launchOverview/index.d.mts +2 -0
- package/dist/esm/api/resources/launchOverview/index.mjs +2 -0
- package/dist/esm/api/resources/launchOverview/types/LaunchOverview.d.mts +23 -0
- package/dist/esm/api/resources/launchOverview/types/LaunchOverview.mjs +2 -0
- package/dist/esm/api/resources/launchOverview/types/OverviewQuarter.d.mts +13 -0
- package/dist/esm/api/resources/launchOverview/types/OverviewQuarter.mjs +2 -0
- package/dist/esm/api/resources/launchOverview/types/index.d.mts +2 -0
- package/dist/esm/api/resources/launchOverview/types/index.mjs +2 -0
- package/dist/esm/api/resources/launches/client/Client.d.mts +253 -0
- package/dist/esm/api/resources/launches/client/Client.mjs +1064 -0
- package/dist/esm/api/resources/launches/client/index.d.mts +1 -0
- package/dist/esm/api/resources/launches/client/index.mjs +1 -0
- package/dist/esm/api/resources/launches/client/requests/ListLaunchActivityRequest.d.mts +8 -0
- package/dist/esm/api/resources/launches/client/requests/ListLaunchActivityRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.d.mts +69 -0
- package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/launches/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/launches/exports.d.mts +2 -0
- package/dist/esm/api/resources/launches/exports.mjs +3 -0
- package/dist/esm/api/resources/launches/index.d.mts +2 -0
- package/dist/esm/api/resources/launches/index.mjs +2 -0
- package/dist/esm/api/resources/launches/types/CreateLaunchRequest.d.mts +46 -0
- package/dist/esm/api/resources/launches/types/CreateLaunchRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/types/Launch.d.mts +48 -0
- package/dist/esm/api/resources/launches/types/Launch.mjs +2 -0
- package/dist/esm/api/resources/launches/types/LaunchActivity.d.mts +20 -0
- package/dist/esm/api/resources/launches/types/LaunchActivity.mjs +2 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityPage.d.mts +7 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityPage.mjs +2 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.d.mts +45 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.mjs +45 -0
- package/dist/esm/api/resources/launches/types/LaunchPage.d.mts +6 -0
- package/dist/esm/api/resources/launches/types/LaunchPage.mjs +2 -0
- package/dist/esm/api/resources/launches/types/LaunchTemplateRef.d.mts +7 -0
- package/dist/esm/api/resources/launches/types/LaunchTemplateRef.mjs +2 -0
- package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.d.mts +15 -0
- package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/types/PressToLaunchRequest.d.mts +6 -0
- package/dist/esm/api/resources/launches/types/PressToLaunchRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.d.mts +10 -0
- package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.mjs +2 -0
- package/dist/esm/api/resources/launches/types/TicketingProject.d.mts +50 -0
- package/dist/esm/api/resources/launches/types/TicketingProject.mjs +2 -0
- package/dist/esm/api/resources/launches/types/UpdateLaunchRequest.d.mts +48 -0
- package/dist/esm/api/resources/launches/types/UpdateLaunchRequest.mjs +2 -0
- package/dist/esm/api/resources/launches/types/index.d.mts +12 -0
- package/dist/esm/api/resources/launches/types/index.mjs +12 -0
- package/dist/esm/api/resources/links/client/Client.d.mts +70 -0
- package/dist/esm/api/resources/links/client/Client.mjs +276 -0
- package/dist/esm/api/resources/links/client/index.d.mts +1 -0
- package/dist/esm/api/resources/links/client/index.mjs +1 -0
- package/dist/esm/api/resources/links/exports.d.mts +2 -0
- package/dist/esm/api/resources/links/exports.mjs +3 -0
- package/dist/esm/api/resources/links/index.d.mts +2 -0
- package/dist/esm/api/resources/links/index.mjs +2 -0
- package/dist/esm/api/resources/links/types/CreateLaunchLinkRequest.d.mts +8 -0
- package/dist/esm/api/resources/links/types/CreateLaunchLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/links/types/LaunchLink.d.mts +18 -0
- package/dist/esm/api/resources/links/types/LaunchLink.mjs +2 -0
- package/dist/esm/api/resources/links/types/LaunchLinkList.d.mts +4 -0
- package/dist/esm/api/resources/links/types/LaunchLinkList.mjs +2 -0
- package/dist/esm/api/resources/links/types/index.d.mts +3 -0
- package/dist/esm/api/resources/links/types/index.mjs +3 -0
- package/dist/esm/api/resources/mcpConnections/client/Client.d.mts +98 -0
- package/dist/esm/api/resources/mcpConnections/client/Client.mjs +395 -0
- package/dist/esm/api/resources/mcpConnections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/mcpConnections/client/index.mjs +1 -0
- package/dist/esm/api/resources/mcpConnections/client/requests/ListMcpConnectionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/mcpConnections/client/requests/ListMcpConnectionsRequest.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/mcpConnections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/mcpConnections/exports.d.mts +2 -0
- package/dist/esm/api/resources/mcpConnections/exports.mjs +3 -0
- package/dist/esm/api/resources/mcpConnections/index.d.mts +2 -0
- package/dist/esm/api/resources/mcpConnections/index.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnection.d.mts +26 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnection.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionClient.d.mts +22 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionClient.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionPage.d.mts +7 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionPage.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionPerson.d.mts +7 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionPerson.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionSettings.d.mts +9 -0
- package/dist/esm/api/resources/mcpConnections/types/McpConnectionSettings.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.d.mts +3 -0
- package/dist/esm/api/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.mjs +2 -0
- package/dist/esm/api/resources/mcpConnections/types/index.d.mts +6 -0
- package/dist/esm/api/resources/mcpConnections/types/index.mjs +6 -0
- package/dist/esm/api/resources/memegen/client/Client.d.mts +446 -0
- package/dist/esm/api/resources/memegen/client/Client.mjs +1874 -0
- package/dist/esm/api/resources/memegen/client/index.d.mts +1 -0
- package/dist/esm/api/resources/memegen/client/index.mjs +1 -0
- package/dist/esm/api/resources/memegen/client/requests/ArchiveMemeTemplateRequest.d.mts +8 -0
- package/dist/esm/api/resources/memegen/client/requests/ArchiveMemeTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/GetMemeImageRequest.d.mts +11 -0
- package/dist/esm/api/resources/memegen/client/requests/GetMemeImageRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/ListMemeTemplatesRequest.d.mts +18 -0
- package/dist/esm/api/resources/memegen/client/requests/ListMemeTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/ListMemesRequest.d.mts +26 -0
- package/dist/esm/api/resources/memegen/client/requests/ListMemesRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/PreviewMemeRequest.d.mts +18 -0
- package/dist/esm/api/resources/memegen/client/requests/PreviewMemeRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/SearchMemeFormatsRequest.d.mts +17 -0
- package/dist/esm/api/resources/memegen/client/requests/SearchMemeFormatsRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/UploadMemeTemplateRequest.d.mts +17 -0
- package/dist/esm/api/resources/memegen/client/requests/UploadMemeTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/memegen/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/memegen/exports.d.mts +2 -0
- package/dist/esm/api/resources/memegen/exports.mjs +3 -0
- package/dist/esm/api/resources/memegen/index.d.mts +2 -0
- package/dist/esm/api/resources/memegen/index.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/CreateMemeRequest.d.mts +22 -0
- package/dist/esm/api/resources/memegen/types/CreateMemeRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/CreateMemeTemplateRequest.d.mts +38 -0
- package/dist/esm/api/resources/memegen/types/CreateMemeTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/ImportMemeFormatRequest.d.mts +20 -0
- package/dist/esm/api/resources/memegen/types/ImportMemeFormatRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/Meme.d.mts +31 -0
- package/dist/esm/api/resources/memegen/types/Meme.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeFormat.d.mts +22 -0
- package/dist/esm/api/resources/memegen/types/MemeFormat.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeFormatList.d.mts +5 -0
- package/dist/esm/api/resources/memegen/types/MemeFormatList.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeLayout.d.mts +8 -0
- package/dist/esm/api/resources/memegen/types/MemeLayout.mjs +8 -0
- package/dist/esm/api/resources/memegen/types/MemePage.d.mts +6 -0
- package/dist/esm/api/resources/memegen/types/MemePage.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeSort.d.mts +5 -0
- package/dist/esm/api/resources/memegen/types/MemeSort.mjs +5 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplate.d.mts +51 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplate.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplateFromUrlRequest.d.mts +16 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplateFromUrlRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplateList.d.mts +4 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplateList.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplatePage.d.mts +6 -0
- package/dist/esm/api/resources/memegen/types/MemeTemplatePage.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/PopularWindow.d.mts +12 -0
- package/dist/esm/api/resources/memegen/types/PopularWindow.mjs +12 -0
- package/dist/esm/api/resources/memegen/types/ReorderMemeTemplatesRequest.d.mts +8 -0
- package/dist/esm/api/resources/memegen/types/ReorderMemeTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/UpdateMemeTemplateRequest.d.mts +22 -0
- package/dist/esm/api/resources/memegen/types/UpdateMemeTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/memegen/types/index.d.mts +16 -0
- package/dist/esm/api/resources/memegen/types/index.mjs +16 -0
- package/dist/esm/api/resources/okr/client/Client.d.mts +631 -0
- package/dist/esm/api/resources/okr/client/Client.mjs +2536 -0
- package/dist/esm/api/resources/okr/client/index.d.mts +1 -0
- package/dist/esm/api/resources/okr/client/index.mjs +1 -0
- package/dist/esm/api/resources/okr/client/requests/BrowseObjectivesRequest.d.mts +25 -0
- package/dist/esm/api/resources/okr/client/requests/BrowseObjectivesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/GetScorecardRequest.d.mts +24 -0
- package/dist/esm/api/resources/okr/client/requests/GetScorecardRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/GetTeamOkrsRequest.d.mts +11 -0
- package/dist/esm/api/resources/okr/client/requests/GetTeamOkrsRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListCheckInsRequest.d.mts +8 -0
- package/dist/esm/api/resources/okr/client/requests/ListCheckInsRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListGradeChangesRequest.d.mts +8 -0
- package/dist/esm/api/resources/okr/client/requests/ListGradeChangesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListKeyResultsRequest.d.mts +8 -0
- package/dist/esm/api/resources/okr/client/requests/ListKeyResultsRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListMyObjectivesRequest.d.mts +28 -0
- package/dist/esm/api/resources/okr/client/requests/ListMyObjectivesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListObjectivesRequest.d.mts +27 -0
- package/dist/esm/api/resources/okr/client/requests/ListObjectivesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/ListTeamScoresRequest.d.mts +22 -0
- package/dist/esm/api/resources/okr/client/requests/ListTeamScoresRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/okr/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/okr/exports.d.mts +2 -0
- package/dist/esm/api/resources/okr/exports.mjs +3 -0
- package/dist/esm/api/resources/okr/index.d.mts +2 -0
- package/dist/esm/api/resources/okr/index.mjs +2 -0
- package/dist/esm/api/resources/okr/types/BulkScoreRequest.d.mts +4 -0
- package/dist/esm/api/resources/okr/types/BulkScoreRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/BulkScoreResult.d.mts +9 -0
- package/dist/esm/api/resources/okr/types/BulkScoreResult.mjs +2 -0
- package/dist/esm/api/resources/okr/types/BulkScoreSkip.d.mts +5 -0
- package/dist/esm/api/resources/okr/types/BulkScoreSkip.mjs +2 -0
- package/dist/esm/api/resources/okr/types/BulkScoreSkipReason.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/BulkScoreSkipReason.mjs +12 -0
- package/dist/esm/api/resources/okr/types/CheckIn.d.mts +20 -0
- package/dist/esm/api/resources/okr/types/CheckIn.mjs +2 -0
- package/dist/esm/api/resources/okr/types/CheckInMetric.d.mts +9 -0
- package/dist/esm/api/resources/okr/types/CheckInMetric.mjs +2 -0
- package/dist/esm/api/resources/okr/types/CheckInPage.d.mts +6 -0
- package/dist/esm/api/resources/okr/types/CheckInPage.mjs +2 -0
- package/dist/esm/api/resources/okr/types/CreateCheckInRequest.d.mts +22 -0
- package/dist/esm/api/resources/okr/types/CreateCheckInRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/CreateKeyResultRequest.d.mts +25 -0
- package/dist/esm/api/resources/okr/types/CreateKeyResultRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/CreateObjectiveRequest.d.mts +50 -0
- package/dist/esm/api/resources/okr/types/CreateObjectiveRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/GradeChange.d.mts +16 -0
- package/dist/esm/api/resources/okr/types/GradeChange.mjs +2 -0
- package/dist/esm/api/resources/okr/types/GradeChangePage.d.mts +6 -0
- package/dist/esm/api/resources/okr/types/GradeChangePage.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ImportObjectivesRequest.d.mts +25 -0
- package/dist/esm/api/resources/okr/types/ImportObjectivesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ImportObjectivesResult.d.mts +11 -0
- package/dist/esm/api/resources/okr/types/ImportObjectivesResult.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ImportProblem.d.mts +10 -0
- package/dist/esm/api/resources/okr/types/ImportProblem.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ImportProblemReason.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/ImportProblemReason.mjs +12 -0
- package/dist/esm/api/resources/okr/types/KeyResult.d.mts +53 -0
- package/dist/esm/api/resources/okr/types/KeyResult.mjs +2 -0
- package/dist/esm/api/resources/okr/types/KeyResultDetail.d.mts +17 -0
- package/dist/esm/api/resources/okr/types/KeyResultDetail.mjs +2 -0
- package/dist/esm/api/resources/okr/types/KeyResultGrade.d.mts +20 -0
- package/dist/esm/api/resources/okr/types/KeyResultGrade.mjs +2 -0
- package/dist/esm/api/resources/okr/types/KeyResultGradeList.d.mts +4 -0
- package/dist/esm/api/resources/okr/types/KeyResultGradeList.mjs +2 -0
- package/dist/esm/api/resources/okr/types/KeyResultList.d.mts +4 -0
- package/dist/esm/api/resources/okr/types/KeyResultList.mjs +2 -0
- package/dist/esm/api/resources/okr/types/KeyResultMetric.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/KeyResultMetric.mjs +2 -0
- package/dist/esm/api/resources/okr/types/MetricSourceKind.d.mts +10 -0
- package/dist/esm/api/resources/okr/types/MetricSourceKind.mjs +10 -0
- package/dist/esm/api/resources/okr/types/Objective.d.mts +47 -0
- package/dist/esm/api/resources/okr/types/Objective.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ObjectiveDetail.d.mts +20 -0
- package/dist/esm/api/resources/okr/types/ObjectiveDetail.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ObjectivePage.d.mts +6 -0
- package/dist/esm/api/resources/okr/types/ObjectivePage.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ObjectiveViewPage.d.mts +17 -0
- package/dist/esm/api/resources/okr/types/ObjectiveViewPage.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrCheckpoint.d.mts +13 -0
- package/dist/esm/api/resources/okr/types/OkrCheckpoint.mjs +13 -0
- package/dist/esm/api/resources/okr/types/OkrPeriod.d.mts +5 -0
- package/dist/esm/api/resources/okr/types/OkrPeriod.mjs +5 -0
- package/dist/esm/api/resources/okr/types/OkrPeriodRef.d.mts +14 -0
- package/dist/esm/api/resources/okr/types/OkrPeriodRef.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrPeriods.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/OkrPeriods.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrPriority.d.mts +14 -0
- package/dist/esm/api/resources/okr/types/OkrPriority.mjs +14 -0
- package/dist/esm/api/resources/okr/types/OkrRollup.d.mts +8 -0
- package/dist/esm/api/resources/okr/types/OkrRollup.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrRollups.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/OkrRollups.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrTeamRef.d.mts +5 -0
- package/dist/esm/api/resources/okr/types/OkrTeamRef.mjs +2 -0
- package/dist/esm/api/resources/okr/types/OkrVisibility.d.mts +11 -0
- package/dist/esm/api/resources/okr/types/OkrVisibility.mjs +11 -0
- package/dist/esm/api/resources/okr/types/PutGradeRequest.d.mts +13 -0
- package/dist/esm/api/resources/okr/types/PutGradeRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ReorderKeyResultsRequest.d.mts +4 -0
- package/dist/esm/api/resources/okr/types/ReorderKeyResultsRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ReorderObjectivesRequest.d.mts +8 -0
- package/dist/esm/api/resources/okr/types/ReorderObjectivesRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ReorderObjectivesResult.d.mts +4 -0
- package/dist/esm/api/resources/okr/types/ReorderObjectivesResult.mjs +2 -0
- package/dist/esm/api/resources/okr/types/Scorecard.d.mts +28 -0
- package/dist/esm/api/resources/okr/types/Scorecard.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ScorecardCell.d.mts +19 -0
- package/dist/esm/api/resources/okr/types/ScorecardCell.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ScorecardCellSource.d.mts +9 -0
- package/dist/esm/api/resources/okr/types/ScorecardCellSource.mjs +9 -0
- package/dist/esm/api/resources/okr/types/ScorecardColumn.d.mts +10 -0
- package/dist/esm/api/resources/okr/types/ScorecardColumn.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ScorecardKeyResultRow.d.mts +8 -0
- package/dist/esm/api/resources/okr/types/ScorecardKeyResultRow.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ScorecardRow.d.mts +13 -0
- package/dist/esm/api/resources/okr/types/ScorecardRow.mjs +2 -0
- package/dist/esm/api/resources/okr/types/ScorecardTimeframe.d.mts +9 -0
- package/dist/esm/api/resources/okr/types/ScorecardTimeframe.mjs +9 -0
- package/dist/esm/api/resources/okr/types/TeamOkrs.d.mts +21 -0
- package/dist/esm/api/resources/okr/types/TeamOkrs.mjs +2 -0
- package/dist/esm/api/resources/okr/types/TeamOkrsTeam.d.mts +11 -0
- package/dist/esm/api/resources/okr/types/TeamOkrsTeam.mjs +2 -0
- package/dist/esm/api/resources/okr/types/TeamScore.d.mts +16 -0
- package/dist/esm/api/resources/okr/types/TeamScore.mjs +2 -0
- package/dist/esm/api/resources/okr/types/TeamScorePage.d.mts +11 -0
- package/dist/esm/api/resources/okr/types/TeamScorePage.mjs +2 -0
- package/dist/esm/api/resources/okr/types/UpdateKeyResultRequest.d.mts +28 -0
- package/dist/esm/api/resources/okr/types/UpdateKeyResultRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/UpdateObjectiveRequest.d.mts +26 -0
- package/dist/esm/api/resources/okr/types/UpdateObjectiveRequest.mjs +2 -0
- package/dist/esm/api/resources/okr/types/index.d.mts +53 -0
- package/dist/esm/api/resources/okr/types/index.mjs +53 -0
- package/dist/esm/api/resources/organization/client/Client.d.mts +61 -0
- package/dist/esm/api/resources/organization/client/Client.mjs +226 -0
- package/dist/esm/api/resources/organization/client/index.d.mts +1 -0
- package/dist/esm/api/resources/organization/client/index.mjs +1 -0
- package/dist/esm/api/resources/organization/exports.d.mts +2 -0
- package/dist/esm/api/resources/organization/exports.mjs +3 -0
- package/dist/esm/api/resources/organization/index.d.mts +2 -0
- package/dist/esm/api/resources/organization/index.mjs +2 -0
- package/dist/esm/api/resources/organization/types/Organization.d.mts +81 -0
- package/dist/esm/api/resources/organization/types/Organization.mjs +2 -0
- package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.d.mts +52 -0
- package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.mjs +2 -0
- package/dist/esm/api/resources/organization/types/index.d.mts +2 -0
- package/dist/esm/api/resources/organization/types/index.mjs +2 -0
- package/dist/esm/api/resources/partnerDomains/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/partnerDomains/client/Client.mjs +296 -0
- package/dist/esm/api/resources/partnerDomains/client/index.d.mts +1 -0
- package/dist/esm/api/resources/partnerDomains/client/index.mjs +1 -0
- package/dist/esm/api/resources/partnerDomains/exports.d.mts +2 -0
- package/dist/esm/api/resources/partnerDomains/exports.mjs +3 -0
- package/dist/esm/api/resources/partnerDomains/index.d.mts +2 -0
- package/dist/esm/api/resources/partnerDomains/index.mjs +2 -0
- package/dist/esm/api/resources/partnerDomains/types/CreatePartnerDomainRequest.d.mts +7 -0
- package/dist/esm/api/resources/partnerDomains/types/CreatePartnerDomainRequest.mjs +2 -0
- package/dist/esm/api/resources/partnerDomains/types/PartnerDomain.d.mts +12 -0
- package/dist/esm/api/resources/partnerDomains/types/PartnerDomain.mjs +2 -0
- package/dist/esm/api/resources/partnerDomains/types/PartnerDomainList.d.mts +10 -0
- package/dist/esm/api/resources/partnerDomains/types/PartnerDomainList.mjs +2 -0
- package/dist/esm/api/resources/partnerDomains/types/index.d.mts +3 -0
- package/dist/esm/api/resources/partnerDomains/types/index.mjs +3 -0
- package/dist/esm/api/resources/platform/client/Client.d.mts +251 -0
- package/dist/esm/api/resources/platform/client/Client.mjs +1094 -0
- package/dist/esm/api/resources/platform/client/index.d.mts +1 -0
- package/dist/esm/api/resources/platform/client/index.mjs +1 -0
- package/dist/esm/api/resources/platform/client/requests/ListMembersRequest.d.mts +8 -0
- package/dist/esm/api/resources/platform/client/requests/ListMembersRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/client/requests/ListSeatWaitingListRequest.d.mts +7 -0
- package/dist/esm/api/resources/platform/client/requests/ListSeatWaitingListRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/client/requests/ListSeatsRequest.d.mts +7 -0
- package/dist/esm/api/resources/platform/client/requests/ListSeatsRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/client/requests/RemoveFromSeatWaitingListRequest.d.mts +11 -0
- package/dist/esm/api/resources/platform/client/requests/RemoveFromSeatWaitingListRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/client/requests/RevokeSeatRequest.d.mts +11 -0
- package/dist/esm/api/resources/platform/client/requests/RevokeSeatRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/platform/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/platform/exports.d.mts +2 -0
- package/dist/esm/api/resources/platform/exports.mjs +3 -0
- package/dist/esm/api/resources/platform/index.d.mts +2 -0
- package/dist/esm/api/resources/platform/index.mjs +2 -0
- package/dist/esm/api/resources/platform/types/App.d.mts +46 -0
- package/dist/esm/api/resources/platform/types/App.mjs +2 -0
- package/dist/esm/api/resources/platform/types/AppBilling.d.mts +11 -0
- package/dist/esm/api/resources/platform/types/AppBilling.mjs +11 -0
- package/dist/esm/api/resources/platform/types/AppList.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/AppList.mjs +2 -0
- package/dist/esm/api/resources/platform/types/AppRole.d.mts +16 -0
- package/dist/esm/api/resources/platform/types/AppRole.mjs +16 -0
- package/dist/esm/api/resources/platform/types/AppRoleChange.d.mts +10 -0
- package/dist/esm/api/resources/platform/types/AppRoleChange.mjs +2 -0
- package/dist/esm/api/resources/platform/types/AppRoles.d.mts +12 -0
- package/dist/esm/api/resources/platform/types/AppRoles.mjs +2 -0
- package/dist/esm/api/resources/platform/types/AppStatus.d.mts +5 -0
- package/dist/esm/api/resources/platform/types/AppStatus.mjs +5 -0
- package/dist/esm/api/resources/platform/types/AppSubscription.d.mts +23 -0
- package/dist/esm/api/resources/platform/types/AppSubscription.mjs +2 -0
- package/dist/esm/api/resources/platform/types/AuthenticatedVia.d.mts +9 -0
- package/dist/esm/api/resources/platform/types/AuthenticatedVia.mjs +9 -0
- package/dist/esm/api/resources/platform/types/BillingInterval.d.mts +8 -0
- package/dist/esm/api/resources/platform/types/BillingInterval.mjs +8 -0
- package/dist/esm/api/resources/platform/types/GrantSeatRequest.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/GrantSeatRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/types/Identity.d.mts +13 -0
- package/dist/esm/api/resources/platform/types/Identity.mjs +2 -0
- package/dist/esm/api/resources/platform/types/Member.d.mts +20 -0
- package/dist/esm/api/resources/platform/types/Member.mjs +2 -0
- package/dist/esm/api/resources/platform/types/MemberList.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/MemberList.mjs +2 -0
- package/dist/esm/api/resources/platform/types/NotificationChannels.d.mts +15 -0
- package/dist/esm/api/resources/platform/types/NotificationChannels.mjs +2 -0
- package/dist/esm/api/resources/platform/types/NotificationPreferences.d.mts +49 -0
- package/dist/esm/api/resources/platform/types/NotificationPreferences.mjs +2 -0
- package/dist/esm/api/resources/platform/types/Seat.d.mts +18 -0
- package/dist/esm/api/resources/platform/types/Seat.mjs +2 -0
- package/dist/esm/api/resources/platform/types/SeatList.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/SeatList.mjs +2 -0
- package/dist/esm/api/resources/platform/types/SeatWait.d.mts +7 -0
- package/dist/esm/api/resources/platform/types/SeatWait.mjs +2 -0
- package/dist/esm/api/resources/platform/types/SetAppRoleRequest.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/SetAppRoleRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/types/SubscriptionStatus.d.mts +11 -0
- package/dist/esm/api/resources/platform/types/SubscriptionStatus.mjs +11 -0
- package/dist/esm/api/resources/platform/types/UpdateAppRequest.d.mts +8 -0
- package/dist/esm/api/resources/platform/types/UpdateAppRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.d.mts +5 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.mjs +2 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +19 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.mjs +2 -0
- package/dist/esm/api/resources/platform/types/WaitingForSeat.d.mts +17 -0
- package/dist/esm/api/resources/platform/types/WaitingForSeat.mjs +2 -0
- package/dist/esm/api/resources/platform/types/WaitingForSeatList.d.mts +4 -0
- package/dist/esm/api/resources/platform/types/WaitingForSeatList.mjs +2 -0
- package/dist/esm/api/resources/platform/types/index.d.mts +26 -0
- package/dist/esm/api/resources/platform/types/index.mjs +26 -0
- package/dist/esm/api/resources/posts/client/Client.d.mts +80 -0
- package/dist/esm/api/resources/posts/client/Client.mjs +332 -0
- package/dist/esm/api/resources/posts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/posts/client/index.mjs +1 -0
- package/dist/esm/api/resources/posts/client/requests/ListLaunchPostsRequest.d.mts +11 -0
- package/dist/esm/api/resources/posts/client/requests/ListLaunchPostsRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/posts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/posts/exports.d.mts +2 -0
- package/dist/esm/api/resources/posts/exports.mjs +3 -0
- package/dist/esm/api/resources/posts/index.d.mts +2 -0
- package/dist/esm/api/resources/posts/index.mjs +2 -0
- package/dist/esm/api/resources/posts/types/CreateLaunchPostRequest.d.mts +9 -0
- package/dist/esm/api/resources/posts/types/CreateLaunchPostRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/types/LaunchPost.d.mts +35 -0
- package/dist/esm/api/resources/posts/types/LaunchPost.mjs +2 -0
- package/dist/esm/api/resources/posts/types/LaunchPostKind.d.mts +9 -0
- package/dist/esm/api/resources/posts/types/LaunchPostKind.mjs +9 -0
- package/dist/esm/api/resources/posts/types/LaunchPostPage.d.mts +7 -0
- package/dist/esm/api/resources/posts/types/LaunchPostPage.mjs +2 -0
- package/dist/esm/api/resources/posts/types/UpdateLaunchPostRequest.d.mts +7 -0
- package/dist/esm/api/resources/posts/types/UpdateLaunchPostRequest.mjs +2 -0
- package/dist/esm/api/resources/posts/types/index.d.mts +5 -0
- package/dist/esm/api/resources/posts/types/index.mjs +5 -0
- package/dist/esm/api/resources/process/client/Client.d.mts +373 -0
- package/dist/esm/api/resources/process/client/Client.mjs +1690 -0
- package/dist/esm/api/resources/process/client/index.d.mts +1 -0
- package/dist/esm/api/resources/process/client/index.mjs +1 -0
- package/dist/esm/api/resources/process/client/requests/ListLaunchTemplatesRequest.d.mts +7 -0
- package/dist/esm/api/resources/process/client/requests/ListLaunchTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/process/client/requests/ListOrgTeamsRequest.d.mts +8 -0
- package/dist/esm/api/resources/process/client/requests/ListOrgTeamsRequest.mjs +2 -0
- package/dist/esm/api/resources/process/client/requests/ListStepTemplatesRequest.d.mts +9 -0
- package/dist/esm/api/resources/process/client/requests/ListStepTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/process/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/process/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/process/exports.d.mts +2 -0
- package/dist/esm/api/resources/process/exports.mjs +3 -0
- package/dist/esm/api/resources/process/index.d.mts +2 -0
- package/dist/esm/api/resources/process/index.mjs +2 -0
- package/dist/esm/api/resources/process/types/CreateFunctionalTeamRequest.d.mts +11 -0
- package/dist/esm/api/resources/process/types/CreateFunctionalTeamRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/CreateLaunchTemplateRequest.d.mts +8 -0
- package/dist/esm/api/resources/process/types/CreateLaunchTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/CreateOrgTeamRequest.d.mts +4 -0
- package/dist/esm/api/resources/process/types/CreateOrgTeamRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/CreateStepTemplateRequest.d.mts +17 -0
- package/dist/esm/api/resources/process/types/CreateStepTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/FunctionalTeam.d.mts +37 -0
- package/dist/esm/api/resources/process/types/FunctionalTeam.mjs +2 -0
- package/dist/esm/api/resources/process/types/FunctionalTeamList.d.mts +4 -0
- package/dist/esm/api/resources/process/types/FunctionalTeamList.mjs +2 -0
- package/dist/esm/api/resources/process/types/FunctionalTeamMembers.d.mts +10 -0
- package/dist/esm/api/resources/process/types/FunctionalTeamMembers.mjs +2 -0
- package/dist/esm/api/resources/process/types/LaunchTemplate.d.mts +26 -0
- package/dist/esm/api/resources/process/types/LaunchTemplate.mjs +2 -0
- package/dist/esm/api/resources/process/types/LaunchTemplateList.d.mts +4 -0
- package/dist/esm/api/resources/process/types/LaunchTemplateList.mjs +2 -0
- package/dist/esm/api/resources/process/types/OrgTeam.d.mts +16 -0
- package/dist/esm/api/resources/process/types/OrgTeam.mjs +2 -0
- package/dist/esm/api/resources/process/types/OrgTeamList.d.mts +4 -0
- package/dist/esm/api/resources/process/types/OrgTeamList.mjs +2 -0
- package/dist/esm/api/resources/process/types/ReorderStepTemplatesRequest.d.mts +9 -0
- package/dist/esm/api/resources/process/types/ReorderStepTemplatesRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/SetFunctionalTeamMembersRequest.d.mts +6 -0
- package/dist/esm/api/resources/process/types/SetFunctionalTeamMembersRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/StepTemplate.d.mts +29 -0
- package/dist/esm/api/resources/process/types/StepTemplate.mjs +2 -0
- package/dist/esm/api/resources/process/types/StepTemplateList.d.mts +4 -0
- package/dist/esm/api/resources/process/types/StepTemplateList.mjs +2 -0
- package/dist/esm/api/resources/process/types/UpdateFunctionalTeamRequest.d.mts +8 -0
- package/dist/esm/api/resources/process/types/UpdateFunctionalTeamRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/UpdateLaunchTemplateRequest.d.mts +15 -0
- package/dist/esm/api/resources/process/types/UpdateLaunchTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/UpdateStepTemplateRequest.d.mts +18 -0
- package/dist/esm/api/resources/process/types/UpdateStepTemplateRequest.mjs +2 -0
- package/dist/esm/api/resources/process/types/index.d.mts +18 -0
- package/dist/esm/api/resources/process/types/index.mjs +18 -0
- package/dist/esm/api/resources/search/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/search/client/Client.mjs +150 -0
- package/dist/esm/api/resources/search/client/index.d.mts +1 -0
- package/dist/esm/api/resources/search/client/index.mjs +1 -0
- package/dist/esm/api/resources/search/client/requests/SearchRequest.d.mts +18 -0
- package/dist/esm/api/resources/search/client/requests/SearchRequest.mjs +2 -0
- package/dist/esm/api/resources/search/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/search/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/search/exports.d.mts +2 -0
- package/dist/esm/api/resources/search/exports.mjs +3 -0
- package/dist/esm/api/resources/search/index.d.mts +2 -0
- package/dist/esm/api/resources/search/index.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchApp.d.mts +9 -0
- package/dist/esm/api/resources/search/types/SearchApp.mjs +9 -0
- package/dist/esm/api/resources/search/types/SearchEvent.d.mts +8 -0
- package/dist/esm/api/resources/search/types/SearchEvent.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchEventParent.d.mts +4 -0
- package/dist/esm/api/resources/search/types/SearchEventParent.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchGroup.d.mts +7 -0
- package/dist/esm/api/resources/search/types/SearchGroup.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchGroupType.d.mts +22 -0
- package/dist/esm/api/resources/search/types/SearchGroupType.mjs +22 -0
- package/dist/esm/api/resources/search/types/SearchKeyResult.d.mts +7 -0
- package/dist/esm/api/resources/search/types/SearchKeyResult.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchLaunch.d.mts +8 -0
- package/dist/esm/api/resources/search/types/SearchLaunch.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchLink.d.mts +8 -0
- package/dist/esm/api/resources/search/types/SearchLink.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchMeme.d.mts +7 -0
- package/dist/esm/api/resources/search/types/SearchMeme.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchObjective.d.mts +10 -0
- package/dist/esm/api/resources/search/types/SearchObjective.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchObjectiveParent.d.mts +4 -0
- package/dist/esm/api/resources/search/types/SearchObjectiveParent.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchParent.d.mts +4 -0
- package/dist/esm/api/resources/search/types/SearchParent.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchQuestion.d.mts +10 -0
- package/dist/esm/api/resources/search/types/SearchQuestion.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchResponse.d.mts +11 -0
- package/dist/esm/api/resources/search/types/SearchResponse.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchResult.d.mts +37 -0
- package/dist/esm/api/resources/search/types/SearchResult.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchStep.d.mts +8 -0
- package/dist/esm/api/resources/search/types/SearchStep.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchTeam.d.mts +5 -0
- package/dist/esm/api/resources/search/types/SearchTeam.mjs +2 -0
- package/dist/esm/api/resources/search/types/SearchTemplate.d.mts +6 -0
- package/dist/esm/api/resources/search/types/SearchTemplate.mjs +2 -0
- package/dist/esm/api/resources/search/types/index.d.mts +18 -0
- package/dist/esm/api/resources/search/types/index.mjs +18 -0
- package/dist/esm/api/resources/slackConnections/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/slackConnections/client/Client.mjs +206 -0
- package/dist/esm/api/resources/slackConnections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/slackConnections/client/index.mjs +1 -0
- package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/slackConnections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/slackConnections/exports.d.mts +2 -0
- package/dist/esm/api/resources/slackConnections/exports.mjs +3 -0
- package/dist/esm/api/resources/slackConnections/index.d.mts +2 -0
- package/dist/esm/api/resources/slackConnections/index.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnection.d.mts +16 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnection.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.d.mts +15 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.d.mts +7 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.d.mts +7 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/index.d.mts +4 -0
- package/dist/esm/api/resources/slackConnections/types/index.mjs +4 -0
- package/dist/esm/api/resources/steps/client/Client.d.mts +216 -0
- package/dist/esm/api/resources/steps/client/Client.mjs +956 -0
- package/dist/esm/api/resources/steps/client/index.d.mts +1 -0
- package/dist/esm/api/resources/steps/client/index.mjs +1 -0
- package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.d.mts +32 -0
- package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.mjs +2 -0
- package/dist/esm/api/resources/steps/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/steps/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/steps/exports.d.mts +2 -0
- package/dist/esm/api/resources/steps/exports.mjs +3 -0
- package/dist/esm/api/resources/steps/index.d.mts +2 -0
- package/dist/esm/api/resources/steps/index.mjs +2 -0
- package/dist/esm/api/resources/steps/types/CreateStepRequest.d.mts +15 -0
- package/dist/esm/api/resources/steps/types/CreateStepRequest.mjs +2 -0
- package/dist/esm/api/resources/steps/types/DecideStepRequest.d.mts +11 -0
- package/dist/esm/api/resources/steps/types/DecideStepRequest.mjs +2 -0
- package/dist/esm/api/resources/steps/types/GeneratedSteps.d.mts +6 -0
- package/dist/esm/api/resources/steps/types/GeneratedSteps.mjs +2 -0
- package/dist/esm/api/resources/steps/types/LaunchStep.d.mts +34 -0
- package/dist/esm/api/resources/steps/types/LaunchStep.mjs +2 -0
- package/dist/esm/api/resources/steps/types/NudgeReason.d.mts +10 -0
- package/dist/esm/api/resources/steps/types/NudgeReason.mjs +10 -0
- package/dist/esm/api/resources/steps/types/NudgeResponse.d.mts +14 -0
- package/dist/esm/api/resources/steps/types/NudgeResponse.mjs +2 -0
- package/dist/esm/api/resources/steps/types/SetDecisionReasonRequest.d.mts +8 -0
- package/dist/esm/api/resources/steps/types/SetDecisionReasonRequest.mjs +2 -0
- package/dist/esm/api/resources/steps/types/StepList.d.mts +4 -0
- package/dist/esm/api/resources/steps/types/StepList.mjs +2 -0
- package/dist/esm/api/resources/steps/types/StepPage.d.mts +6 -0
- package/dist/esm/api/resources/steps/types/StepPage.mjs +2 -0
- package/dist/esm/api/resources/steps/types/UpdateStepRequest.d.mts +24 -0
- package/dist/esm/api/resources/steps/types/UpdateStepRequest.mjs +2 -0
- package/dist/esm/api/resources/steps/types/index.d.mts +10 -0
- package/dist/esm/api/resources/steps/types/index.mjs +10 -0
- package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
- package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +8 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +30 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +4 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +2 -0
- package/dist/esm/core/exports.mjs +2 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +56 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +270 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +55 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +17 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +81 -0
- package/dist/esm/core/fetcher/index.d.mts +13 -0
- package/dist/esm/core/fetcher/index.mjs +7 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
- package/dist/esm/core/fetcher/makePassthroughRequest.mjs +170 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +11 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +87 -0
- package/dist/esm/core/fetcher/redactUrl.d.mts +2 -0
- package/dist/esm/core/fetcher/redactUrl.mjs +84 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +88 -0
- package/dist/esm/core/fetcher/signals.d.mts +6 -0
- package/dist/esm/core/fetcher/signals.mjs +28 -0
- package/dist/esm/core/file/exports.d.mts +1 -0
- package/dist/esm/core/file/exports.mjs +1 -0
- package/dist/esm/core/file/file.d.mts +10 -0
- package/dist/esm/core/file/file.mjs +188 -0
- package/dist/esm/core/file/index.d.mts +2 -0
- package/dist/esm/core/file/index.mjs +2 -0
- package/dist/esm/core/file/types.d.mts +66 -0
- package/dist/esm/core/file/types.mjs +1 -0
- package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +15 -0
- package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +150 -0
- package/dist/esm/core/form-data-utils/encodeAsFormParameter.d.mts +1 -0
- package/dist/esm/core/form-data-utils/encodeAsFormParameter.mjs +9 -0
- package/dist/esm/core/form-data-utils/index.d.mts +2 -0
- package/dist/esm/core/form-data-utils/index.mjs +2 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +9 -0
- package/dist/esm/core/index.mjs +9 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +28 -0
- package/dist/esm/core/runtime/runtime.mjs +172 -0
- package/dist/esm/core/schemas/Schema.d.mts +88 -0
- package/dist/esm/core/schemas/Schema.mjs +22 -0
- package/dist/esm/core/schemas/builders/bigint/bigint.d.mts +2 -0
- package/dist/esm/core/schemas/builders/bigint/bigint.mjs +50 -0
- package/dist/esm/core/schemas/builders/bigint/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/bigint/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/date/date.d.mts +2 -0
- package/dist/esm/core/schemas/builders/date/date.mjs +59 -0
- package/dist/esm/core/schemas/builders/date/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/date/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/enum/enum.d.mts +3 -0
- package/dist/esm/core/schemas/builders/enum/enum.mjs +41 -0
- package/dist/esm/core/schemas/builders/enum/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/enum/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/index.d.mts +14 -0
- package/dist/esm/core/schemas/builders/index.mjs +14 -0
- package/dist/esm/core/schemas/builders/lazy/index.d.mts +3 -0
- package/dist/esm/core/schemas/builders/lazy/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/lazy/lazy.d.mts +5 -0
- package/dist/esm/core/schemas/builders/lazy/lazy.mjs +19 -0
- package/dist/esm/core/schemas/builders/lazy/lazyObject.d.mts +3 -0
- package/dist/esm/core/schemas/builders/lazy/lazyObject.mjs +8 -0
- package/dist/esm/core/schemas/builders/list/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/list/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/list/list.d.mts +2 -0
- package/dist/esm/core/schemas/builders/list/list.mjs +46 -0
- package/dist/esm/core/schemas/builders/literals/booleanLiteral.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/booleanLiteral.mjs +25 -0
- package/dist/esm/core/schemas/builders/literals/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/literals/stringLiteral.d.mts +2 -0
- package/dist/esm/core/schemas/builders/literals/stringLiteral.mjs +25 -0
- package/dist/esm/core/schemas/builders/object/index.d.mts +6 -0
- package/dist/esm/core/schemas/builders/object/index.mjs +3 -0
- package/dist/esm/core/schemas/builders/object/object.d.mts +3 -0
- package/dist/esm/core/schemas/builders/object/object.mjs +350 -0
- package/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.d.mts +6 -0
- package/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.mjs +4 -0
- package/dist/esm/core/schemas/builders/object/property.d.mts +8 -0
- package/dist/esm/core/schemas/builders/object/property.mjs +11 -0
- package/dist/esm/core/schemas/builders/object/types.d.mts +31 -0
- package/dist/esm/core/schemas/builders/object/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.d.mts +9 -0
- package/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.mjs +56 -0
- package/dist/esm/core/schemas/builders/object-like/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/object-like/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/object-like/types.d.mts +7 -0
- package/dist/esm/core/schemas/builders/object-like/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/primitives/any.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/any.mjs +6 -0
- package/dist/esm/core/schemas/builders/primitives/boolean.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/boolean.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/index.d.mts +6 -0
- package/dist/esm/core/schemas/builders/primitives/index.mjs +6 -0
- package/dist/esm/core/schemas/builders/primitives/never.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/never.mjs +11 -0
- package/dist/esm/core/schemas/builders/primitives/number.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/number.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/string.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/string.mjs +22 -0
- package/dist/esm/core/schemas/builders/primitives/unknown.d.mts +2 -0
- package/dist/esm/core/schemas/builders/primitives/unknown.mjs +3 -0
- package/dist/esm/core/schemas/builders/record/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/record/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/record/record.d.mts +4 -0
- package/dist/esm/core/schemas/builders/record/record.mjs +127 -0
- package/dist/esm/core/schemas/builders/record/types.d.mts +6 -0
- package/dist/esm/core/schemas/builders/record/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/schema-utils/JsonError.d.mts +5 -0
- package/dist/esm/core/schemas/builders/schema-utils/JsonError.mjs +9 -0
- package/dist/esm/core/schemas/builders/schema-utils/ParseError.d.mts +5 -0
- package/dist/esm/core/schemas/builders/schema-utils/ParseError.mjs +9 -0
- package/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.d.mts +21 -0
- package/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.mjs +138 -0
- package/dist/esm/core/schemas/builders/schema-utils/index.d.mts +4 -0
- package/dist/esm/core/schemas/builders/schema-utils/index.mjs +3 -0
- package/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.d.mts +2 -0
- package/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.mjs +6 -0
- package/dist/esm/core/schemas/builders/set/index.d.mts +1 -0
- package/dist/esm/core/schemas/builders/set/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/set/set.d.mts +2 -0
- package/dist/esm/core/schemas/builders/set/set.mjs +40 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/index.d.mts +2 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/index.mjs +1 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/types.d.mts +4 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.mts +3 -0
- package/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.mjs +36 -0
- package/dist/esm/core/schemas/builders/union/discriminant.d.mts +5 -0
- package/dist/esm/core/schemas/builders/union/discriminant.mjs +6 -0
- package/dist/esm/core/schemas/builders/union/index.d.mts +4 -0
- package/dist/esm/core/schemas/builders/union/index.mjs +2 -0
- package/dist/esm/core/schemas/builders/union/types.d.mts +13 -0
- package/dist/esm/core/schemas/builders/union/types.mjs +1 -0
- package/dist/esm/core/schemas/builders/union/union.d.mts +4 -0
- package/dist/esm/core/schemas/builders/union/union.mjs +123 -0
- package/dist/esm/core/schemas/index.d.mts +2 -0
- package/dist/esm/core/schemas/index.mjs +1 -0
- package/dist/esm/core/schemas/utils/MaybePromise.d.mts +1 -0
- package/dist/esm/core/schemas/utils/MaybePromise.mjs +1 -0
- package/dist/esm/core/schemas/utils/addQuestionMarksToNullableProperties.d.mts +7 -0
- package/dist/esm/core/schemas/utils/addQuestionMarksToNullableProperties.mjs +1 -0
- package/dist/esm/core/schemas/utils/createIdentitySchemaCreator.d.mts +2 -0
- package/dist/esm/core/schemas/utils/createIdentitySchemaCreator.mjs +12 -0
- package/dist/esm/core/schemas/utils/entries.d.mts +1 -0
- package/dist/esm/core/schemas/utils/entries.mjs +3 -0
- package/dist/esm/core/schemas/utils/filterObject.d.mts +1 -0
- package/dist/esm/core/schemas/utils/filterObject.mjs +10 -0
- package/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.d.mts +1 -0
- package/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.mjs +24 -0
- package/dist/esm/core/schemas/utils/isPlainObject.d.mts +1 -0
- package/dist/esm/core/schemas/utils/isPlainObject.mjs +12 -0
- package/dist/esm/core/schemas/utils/keys.d.mts +1 -0
- package/dist/esm/core/schemas/utils/keys.mjs +3 -0
- package/dist/esm/core/schemas/utils/maybeSkipValidation.d.mts +2 -0
- package/dist/esm/core/schemas/utils/maybeSkipValidation.mjs +24 -0
- package/dist/esm/core/schemas/utils/partition.d.mts +1 -0
- package/dist/esm/core/schemas/utils/partition.mjs +12 -0
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +4 -0
- package/dist/esm/core/url/index.mjs +4 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +7 -0
- package/dist/esm/core/url/qs.mjs +73 -0
- package/dist/esm/environments.d.mts +5 -0
- package/dist/esm/environments.mjs +5 -0
- package/dist/esm/errors/TaktoriaError.d.mts +15 -0
- package/dist/esm/errors/TaktoriaError.mjs +35 -0
- package/dist/esm/errors/TaktoriaTimeoutError.d.mts +6 -0
- package/dist/esm/errors/TaktoriaTimeoutError.mjs +15 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +7 -0
- package/dist/esm/index.mjs +6 -0
- package/dist/esm/serialization/index.d.mts +1 -0
- package/dist/esm/serialization/index.mjs +1 -0
- package/dist/esm/serialization/resources/appDomains/index.d.mts +1 -0
- package/dist/esm/serialization/resources/appDomains/index.mjs +1 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomain.d.mts +15 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomain.mjs +11 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomainList.d.mts +10 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomainList.mjs +6 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomainState.d.mts +7 -0
- package/dist/esm/serialization/resources/appDomains/types/AppDomainState.mjs +3 -0
- package/dist/esm/serialization/resources/appDomains/types/DnsRecord.d.mts +13 -0
- package/dist/esm/serialization/resources/appDomains/types/DnsRecord.mjs +9 -0
- package/dist/esm/serialization/resources/appDomains/types/DnsRecordType.d.mts +7 -0
- package/dist/esm/serialization/resources/appDomains/types/DnsRecordType.mjs +3 -0
- package/dist/esm/serialization/resources/appDomains/types/SetAppDomainRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/appDomains/types/SetAppDomainRequest.mjs +5 -0
- package/dist/esm/serialization/resources/appDomains/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/appDomains/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/index.d.mts +1 -0
- package/dist/esm/serialization/resources/artifacts/index.mjs +1 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactExport.d.mts +16 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactExport.mjs +12 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactExporter.d.mts +10 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactExporter.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactList.d.mts +10 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactList.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactPage.d.mts +12 -0
- package/dist/esm/serialization/resources/artifacts/types/ArtifactPage.mjs +8 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsDestination.d.mts +11 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsDestination.mjs +7 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsDestinationList.d.mts +10 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsDestinationList.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsTool.d.mts +7 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsTool.mjs +3 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsToolList.d.mts +10 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsToolList.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsToolStatus.d.mts +14 -0
- package/dist/esm/serialization/resources/artifacts/types/DocsToolStatus.mjs +10 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportArtifactRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportArtifactRequest.mjs +9 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportArtifactResponse.d.mts +14 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportArtifactResponse.mjs +10 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportOutcome.d.mts +7 -0
- package/dist/esm/serialization/resources/artifacts/types/ExportOutcome.mjs +3 -0
- package/dist/esm/serialization/resources/artifacts/types/LaunchArtifact.d.mts +18 -0
- package/dist/esm/serialization/resources/artifacts/types/LaunchArtifact.mjs +14 -0
- package/dist/esm/serialization/resources/artifacts/types/LaunchArtifactWithLaunch.d.mts +11 -0
- package/dist/esm/serialization/resources/artifacts/types/LaunchArtifactWithLaunch.mjs +9 -0
- package/dist/esm/serialization/resources/artifacts/types/UpsertArtifactRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/artifacts/types/UpsertArtifactRequest.mjs +6 -0
- package/dist/esm/serialization/resources/artifacts/types/index.d.mts +15 -0
- package/dist/esm/serialization/resources/artifacts/types/index.mjs +15 -0
- package/dist/esm/serialization/resources/auditLogs/index.d.mts +1 -0
- package/dist/esm/serialization/resources/auditLogs/index.mjs +1 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditActor.d.mts +12 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditActor.mjs +8 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditContext.d.mts +10 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditContext.mjs +6 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditLogEvent.d.mts +19 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditLogEvent.mjs +15 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditLogPage.d.mts +12 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditLogPage.mjs +8 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditTarget.d.mts +11 -0
- package/dist/esm/serialization/resources/auditLogs/types/AuditTarget.mjs +7 -0
- package/dist/esm/serialization/resources/auditLogs/types/index.d.mts +5 -0
- package/dist/esm/serialization/resources/auditLogs/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/billing/index.d.mts +1 -0
- package/dist/esm/serialization/resources/billing/index.mjs +1 -0
- package/dist/esm/serialization/resources/billing/types/PaymentIssue.d.mts +7 -0
- package/dist/esm/serialization/resources/billing/types/PaymentIssue.mjs +3 -0
- package/dist/esm/serialization/resources/billing/types/Subscription.d.mts +19 -0
- package/dist/esm/serialization/resources/billing/types/Subscription.mjs +15 -0
- package/dist/esm/serialization/resources/billing/types/SubscriptionApp.d.mts +24 -0
- package/dist/esm/serialization/resources/billing/types/SubscriptionApp.mjs +20 -0
- package/dist/esm/serialization/resources/billing/types/SubscriptionAppChoice.d.mts +12 -0
- package/dist/esm/serialization/resources/billing/types/SubscriptionAppChoice.mjs +8 -0
- package/dist/esm/serialization/resources/billing/types/UpdateSubscriptionRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/billing/types/UpdateSubscriptionRequest.mjs +8 -0
- package/dist/esm/serialization/resources/billing/types/index.d.mts +5 -0
- package/dist/esm/serialization/resources/billing/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/commons/index.d.mts +1 -0
- package/dist/esm/serialization/resources/commons/index.mjs +1 -0
- package/dist/esm/serialization/resources/commons/types/ArtifactType.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/ArtifactType.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/ErrorBody.d.mts +10 -0
- package/dist/esm/serialization/resources/commons/types/ErrorBody.mjs +6 -0
- package/dist/esm/serialization/resources/commons/types/ErrorDetail.d.mts +11 -0
- package/dist/esm/serialization/resources/commons/types/ErrorDetail.mjs +7 -0
- package/dist/esm/serialization/resources/commons/types/LaunchHealth.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/LaunchHealth.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/LaunchRef.d.mts +12 -0
- package/dist/esm/serialization/resources/commons/types/LaunchRef.mjs +8 -0
- package/dist/esm/serialization/resources/commons/types/LaunchStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/LaunchStatus.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/OrgTeamRef.d.mts +10 -0
- package/dist/esm/serialization/resources/commons/types/OrgTeamRef.mjs +6 -0
- package/dist/esm/serialization/resources/commons/types/Sentiment.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/Sentiment.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/StepRequirement.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/StepRequirement.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/StepStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/StepStatus.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/TeamRef.d.mts +11 -0
- package/dist/esm/serialization/resources/commons/types/TeamRef.mjs +7 -0
- package/dist/esm/serialization/resources/commons/types/TicketingStatusKind.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/TicketingStatusKind.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/TicketingSystem.d.mts +7 -0
- package/dist/esm/serialization/resources/commons/types/TicketingSystem.mjs +3 -0
- package/dist/esm/serialization/resources/commons/types/User.d.mts +12 -0
- package/dist/esm/serialization/resources/commons/types/User.mjs +8 -0
- package/dist/esm/serialization/resources/commons/types/index.d.mts +14 -0
- package/dist/esm/serialization/resources/commons/types/index.mjs +14 -0
- package/dist/esm/serialization/resources/domains/index.d.mts +1 -0
- package/dist/esm/serialization/resources/domains/index.mjs +1 -0
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.mjs +5 -0
- package/dist/esm/serialization/resources/domains/types/Domain.d.mts +18 -0
- package/dist/esm/serialization/resources/domains/types/Domain.mjs +14 -0
- package/dist/esm/serialization/resources/domains/types/DomainList.d.mts +10 -0
- package/dist/esm/serialization/resources/domains/types/DomainList.mjs +6 -0
- package/dist/esm/serialization/resources/domains/types/DomainUpdate.d.mts +10 -0
- package/dist/esm/serialization/resources/domains/types/DomainUpdate.mjs +8 -0
- package/dist/esm/serialization/resources/domains/types/DomainVerification.d.mts +11 -0
- package/dist/esm/serialization/resources/domains/types/DomainVerification.mjs +7 -0
- package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.mjs +7 -0
- package/dist/esm/serialization/resources/domains/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/domains/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/dory/client/advanceQueue.d.mts +8 -0
- package/dist/esm/serialization/resources/dory/client/advanceQueue.mjs +3 -0
- package/dist/esm/serialization/resources/dory/client/index.d.mts +2 -0
- package/dist/esm/serialization/resources/dory/client/index.mjs +2 -0
- package/dist/esm/serialization/resources/dory/client/requests/DuplicateEventRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/dory/client/requests/DuplicateEventRequest.mjs +5 -0
- package/dist/esm/serialization/resources/dory/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/dory/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/dory/index.d.mts +2 -0
- package/dist/esm/serialization/resources/dory/index.mjs +2 -0
- package/dist/esm/serialization/resources/dory/types/AddEventHostRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/dory/types/AddEventHostRequest.mjs +5 -0
- package/dist/esm/serialization/resources/dory/types/AddEventHostTeamRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/dory/types/AddEventHostTeamRequest.mjs +5 -0
- package/dist/esm/serialization/resources/dory/types/AdvanceQueueRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/AdvanceQueueRequest.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/AdvanceQueueResult.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/AdvanceQueueResult.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/AnalyticsBucket.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/AnalyticsBucket.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/AnalyticsSpan.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/AnalyticsSpan.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/Asker.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/Asker.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/CapacityUse.d.mts +14 -0
- package/dist/esm/serialization/resources/dory/types/CapacityUse.mjs +10 -0
- package/dist/esm/serialization/resources/dory/types/CreateEventRequest.d.mts +36 -0
- package/dist/esm/serialization/resources/dory/types/CreateEventRequest.mjs +32 -0
- package/dist/esm/serialization/resources/dory/types/CreatePollOption.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/CreatePollOption.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/CreatePollRequest.d.mts +20 -0
- package/dist/esm/serialization/resources/dory/types/CreatePollRequest.mjs +16 -0
- package/dist/esm/serialization/resources/dory/types/CreateQuestionRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/dory/types/CreateQuestionRequest.mjs +7 -0
- package/dist/esm/serialization/resources/dory/types/Event.d.mts +40 -0
- package/dist/esm/serialization/resources/dory/types/Event.mjs +36 -0
- package/dist/esm/serialization/resources/dory/types/EventAnalytics.d.mts +28 -0
- package/dist/esm/serialization/resources/dory/types/EventAnalytics.mjs +24 -0
- package/dist/esm/serialization/resources/dory/types/EventAudience.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/EventAudience.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.d.mts +20 -0
- package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.mjs +16 -0
- package/dist/esm/serialization/resources/dory/types/EventHosts.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/EventHosts.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/EventJoinLink.d.mts +13 -0
- package/dist/esm/serialization/resources/dory/types/EventJoinLink.mjs +9 -0
- package/dist/esm/serialization/resources/dory/types/EventPage.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/EventPage.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/EventPhase.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/EventPhase.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/EventSettings.d.mts +19 -0
- package/dist/esm/serialization/resources/dory/types/EventSettings.mjs +15 -0
- package/dist/esm/serialization/resources/dory/types/EventStats.d.mts +14 -0
- package/dist/esm/serialization/resources/dory/types/EventStats.mjs +10 -0
- package/dist/esm/serialization/resources/dory/types/EventStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/EventStatus.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/EventTeam.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/EventTeam.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/EventsOverview.d.mts +20 -0
- package/dist/esm/serialization/resources/dory/types/EventsOverview.mjs +16 -0
- package/dist/esm/serialization/resources/dory/types/Leaderboard.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/Leaderboard.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/LeaderboardRow.d.mts +14 -0
- package/dist/esm/serialization/resources/dory/types/LeaderboardRow.mjs +10 -0
- package/dist/esm/serialization/resources/dory/types/OptionResult.d.mts +13 -0
- package/dist/esm/serialization/resources/dory/types/OptionResult.mjs +9 -0
- package/dist/esm/serialization/resources/dory/types/OverviewEvent.d.mts +16 -0
- package/dist/esm/serialization/resources/dory/types/OverviewEvent.mjs +12 -0
- package/dist/esm/serialization/resources/dory/types/Participant.d.mts +19 -0
- package/dist/esm/serialization/resources/dory/types/Participant.mjs +15 -0
- package/dist/esm/serialization/resources/dory/types/ParticipantPage.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/ParticipantPage.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/Poll.d.mts +27 -0
- package/dist/esm/serialization/resources/dory/types/Poll.mjs +23 -0
- package/dist/esm/serialization/resources/dory/types/PollList.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/PollList.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/PollOption.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/PollOption.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/PollResults.d.mts +23 -0
- package/dist/esm/serialization/resources/dory/types/PollResults.mjs +19 -0
- package/dist/esm/serialization/resources/dory/types/PollStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/PollStatus.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/PollTotals.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/PollTotals.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/PollType.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/PollType.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/PresenterQueue.d.mts +13 -0
- package/dist/esm/serialization/resources/dory/types/PresenterQueue.mjs +9 -0
- package/dist/esm/serialization/resources/dory/types/Question.d.mts +23 -0
- package/dist/esm/serialization/resources/dory/types/Question.mjs +19 -0
- package/dist/esm/serialization/resources/dory/types/QuestionPage.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/QuestionPage.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/QuestionSort.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/QuestionSort.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/QuestionStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/dory/types/QuestionStatus.mjs +3 -0
- package/dist/esm/serialization/resources/dory/types/QuestionTotals.d.mts +15 -0
- package/dist/esm/serialization/resources/dory/types/QuestionTotals.mjs +11 -0
- package/dist/esm/serialization/resources/dory/types/RatingBucket.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/RatingBucket.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/SetEventHostsRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/SetEventHostsRequest.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/TextResult.d.mts +10 -0
- package/dist/esm/serialization/resources/dory/types/TextResult.mjs +6 -0
- package/dist/esm/serialization/resources/dory/types/TopQuestion.d.mts +12 -0
- package/dist/esm/serialization/resources/dory/types/TopQuestion.mjs +8 -0
- package/dist/esm/serialization/resources/dory/types/UpdateEventRequest.d.mts +36 -0
- package/dist/esm/serialization/resources/dory/types/UpdateEventRequest.mjs +32 -0
- package/dist/esm/serialization/resources/dory/types/UpdatePollRequest.d.mts +18 -0
- package/dist/esm/serialization/resources/dory/types/UpdatePollRequest.mjs +14 -0
- package/dist/esm/serialization/resources/dory/types/UpdateQuestionRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/dory/types/UpdateQuestionRequest.mjs +9 -0
- package/dist/esm/serialization/resources/dory/types/index.d.mts +51 -0
- package/dist/esm/serialization/resources/dory/types/index.mjs +51 -0
- package/dist/esm/serialization/resources/golinks/index.d.mts +1 -0
- package/dist/esm/serialization/resources/golinks/index.mjs +1 -0
- package/dist/esm/serialization/resources/golinks/types/ClickDay.d.mts +10 -0
- package/dist/esm/serialization/resources/golinks/types/ClickDay.mjs +6 -0
- package/dist/esm/serialization/resources/golinks/types/ClickHistory.d.mts +14 -0
- package/dist/esm/serialization/resources/golinks/types/ClickHistory.mjs +10 -0
- package/dist/esm/serialization/resources/golinks/types/CreateGoLinkRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/golinks/types/CreateGoLinkRequest.mjs +11 -0
- package/dist/esm/serialization/resources/golinks/types/GoLink.d.mts +26 -0
- package/dist/esm/serialization/resources/golinks/types/GoLink.mjs +22 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkAccess.d.mts +12 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkAccess.mjs +8 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkAudience.d.mts +7 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkAudience.mjs +3 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkPage.d.mts +12 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkPage.mjs +8 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkQrFormat.d.mts +7 -0
- package/dist/esm/serialization/resources/golinks/types/GoLinkQrFormat.mjs +3 -0
- package/dist/esm/serialization/resources/golinks/types/LinkAudienceOptions.d.mts +13 -0
- package/dist/esm/serialization/resources/golinks/types/LinkAudienceOptions.mjs +9 -0
- package/dist/esm/serialization/resources/golinks/types/TopLink.d.mts +15 -0
- package/dist/esm/serialization/resources/golinks/types/TopLink.mjs +11 -0
- package/dist/esm/serialization/resources/golinks/types/TopLinks.d.mts +11 -0
- package/dist/esm/serialization/resources/golinks/types/TopLinks.mjs +7 -0
- package/dist/esm/serialization/resources/golinks/types/UpdateGoLinkAccess.d.mts +12 -0
- package/dist/esm/serialization/resources/golinks/types/UpdateGoLinkAccess.mjs +8 -0
- package/dist/esm/serialization/resources/golinks/types/UpdateGoLinkRequest.d.mts +16 -0
- package/dist/esm/serialization/resources/golinks/types/UpdateGoLinkRequest.mjs +12 -0
- package/dist/esm/serialization/resources/golinks/types/WorkspaceClicks.d.mts +11 -0
- package/dist/esm/serialization/resources/golinks/types/WorkspaceClicks.mjs +7 -0
- package/dist/esm/serialization/resources/golinks/types/index.d.mts +14 -0
- package/dist/esm/serialization/resources/golinks/types/index.mjs +14 -0
- package/dist/esm/serialization/resources/holidays/index.d.mts +1 -0
- package/dist/esm/serialization/resources/holidays/index.mjs +1 -0
- package/dist/esm/serialization/resources/holidays/types/Holiday.d.mts +11 -0
- package/dist/esm/serialization/resources/holidays/types/Holiday.mjs +7 -0
- package/dist/esm/serialization/resources/holidays/types/HolidayList.d.mts +11 -0
- package/dist/esm/serialization/resources/holidays/types/HolidayList.mjs +7 -0
- package/dist/esm/serialization/resources/holidays/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/holidays/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/index.d.mts +51 -0
- package/dist/esm/serialization/resources/index.mjs +51 -0
- package/dist/esm/serialization/resources/insights/index.d.mts +1 -0
- package/dist/esm/serialization/resources/insights/index.mjs +1 -0
- package/dist/esm/serialization/resources/insights/types/CreateInsightRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/insights/types/CreateInsightRequest.mjs +9 -0
- package/dist/esm/serialization/resources/insights/types/Insight.d.mts +18 -0
- package/dist/esm/serialization/resources/insights/types/Insight.mjs +14 -0
- package/dist/esm/serialization/resources/insights/types/InsightLaunch.d.mts +10 -0
- package/dist/esm/serialization/resources/insights/types/InsightLaunch.mjs +6 -0
- package/dist/esm/serialization/resources/insights/types/InsightList.d.mts +10 -0
- package/dist/esm/serialization/resources/insights/types/InsightList.mjs +6 -0
- package/dist/esm/serialization/resources/insights/types/InsightPage.d.mts +12 -0
- package/dist/esm/serialization/resources/insights/types/InsightPage.mjs +8 -0
- package/dist/esm/serialization/resources/insights/types/index.d.mts +5 -0
- package/dist/esm/serialization/resources/insights/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/launchAnalytics/index.d.mts +1 -0
- package/dist/esm/serialization/resources/launchAnalytics/index.mjs +1 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/AnalyticsPeriod.d.mts +10 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/AnalyticsPeriod.mjs +6 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/HealthCounts.d.mts +12 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/HealthCounts.mjs +8 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/InFlight.d.mts +13 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/InFlight.mjs +9 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/LaunchAnalytics.d.mts +22 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/LaunchAnalytics.mjs +18 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/LaunchOnHoliday.d.mts +12 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/LaunchOnHoliday.mjs +8 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/MonthCount.d.mts +10 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/MonthCount.mjs +6 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/QuarterShipped.d.mts +12 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/QuarterShipped.mjs +8 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/SentimentCounts.d.mts +11 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/SentimentCounts.mjs +7 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/ShippedSummary.d.mts +15 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/ShippedSummary.mjs +11 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/StatusCount.d.mts +11 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/StatusCount.mjs +7 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/TeamReviews.d.mts +18 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/TeamReviews.mjs +14 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/Upcoming.d.mts +12 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/Upcoming.mjs +8 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/index.d.mts +12 -0
- package/dist/esm/serialization/resources/launchAnalytics/types/index.mjs +12 -0
- package/dist/esm/serialization/resources/launchOverview/index.d.mts +1 -0
- package/dist/esm/serialization/resources/launchOverview/index.mjs +1 -0
- package/dist/esm/serialization/resources/launchOverview/types/LaunchOverview.d.mts +16 -0
- package/dist/esm/serialization/resources/launchOverview/types/LaunchOverview.mjs +12 -0
- package/dist/esm/serialization/resources/launchOverview/types/OverviewQuarter.d.mts +12 -0
- package/dist/esm/serialization/resources/launchOverview/types/OverviewQuarter.mjs +8 -0
- package/dist/esm/serialization/resources/launchOverview/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/launchOverview/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/launches/index.d.mts +1 -0
- package/dist/esm/serialization/resources/launches/index.mjs +1 -0
- package/dist/esm/serialization/resources/launches/types/CreateLaunchRequest.d.mts +23 -0
- package/dist/esm/serialization/resources/launches/types/CreateLaunchRequest.mjs +19 -0
- package/dist/esm/serialization/resources/launches/types/Launch.d.mts +38 -0
- package/dist/esm/serialization/resources/launches/types/Launch.mjs +34 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivity.d.mts +17 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivity.mjs +13 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityPage.d.mts +12 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityPage.mjs +8 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.d.mts +7 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.mjs +17 -0
- package/dist/esm/serialization/resources/launches/types/LaunchPage.d.mts +12 -0
- package/dist/esm/serialization/resources/launches/types/LaunchPage.mjs +8 -0
- package/dist/esm/serialization/resources/launches/types/LaunchTemplateRef.d.mts +10 -0
- package/dist/esm/serialization/resources/launches/types/LaunchTemplateRef.mjs +6 -0
- package/dist/esm/serialization/resources/launches/types/LinkTicketingProjectRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/launches/types/LinkTicketingProjectRequest.mjs +5 -0
- package/dist/esm/serialization/resources/launches/types/PressToLaunchRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/launches/types/PressToLaunchRequest.mjs +6 -0
- package/dist/esm/serialization/resources/launches/types/SyncTicketingProjectResponse.d.mts +13 -0
- package/dist/esm/serialization/resources/launches/types/SyncTicketingProjectResponse.mjs +9 -0
- package/dist/esm/serialization/resources/launches/types/TicketingProject.d.mts +19 -0
- package/dist/esm/serialization/resources/launches/types/TicketingProject.mjs +15 -0
- package/dist/esm/serialization/resources/launches/types/UpdateLaunchRequest.d.mts +23 -0
- package/dist/esm/serialization/resources/launches/types/UpdateLaunchRequest.mjs +19 -0
- package/dist/esm/serialization/resources/launches/types/index.d.mts +12 -0
- package/dist/esm/serialization/resources/launches/types/index.mjs +12 -0
- package/dist/esm/serialization/resources/links/index.d.mts +1 -0
- package/dist/esm/serialization/resources/links/index.mjs +1 -0
- package/dist/esm/serialization/resources/links/types/CreateLaunchLinkRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/links/types/CreateLaunchLinkRequest.mjs +7 -0
- package/dist/esm/serialization/resources/links/types/LaunchLink.d.mts +17 -0
- package/dist/esm/serialization/resources/links/types/LaunchLink.mjs +13 -0
- package/dist/esm/serialization/resources/links/types/LaunchLinkList.d.mts +10 -0
- package/dist/esm/serialization/resources/links/types/LaunchLinkList.mjs +6 -0
- package/dist/esm/serialization/resources/links/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/links/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/mcpConnections/index.d.mts +1 -0
- package/dist/esm/serialization/resources/mcpConnections/index.mjs +1 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnection.d.mts +17 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnection.mjs +13 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionClient.d.mts +11 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionClient.mjs +7 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionPage.d.mts +12 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionPage.mjs +8 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionPerson.d.mts +10 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionPerson.mjs +6 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionSettings.d.mts +9 -0
- package/dist/esm/serialization/resources/mcpConnections/types/McpConnectionSettings.mjs +5 -0
- package/dist/esm/serialization/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/mcpConnections/types/UpdateMcpConnectionSettingsRequest.mjs +5 -0
- package/dist/esm/serialization/resources/mcpConnections/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/mcpConnections/types/index.mjs +6 -0
- package/dist/esm/serialization/resources/memegen/index.d.mts +1 -0
- package/dist/esm/serialization/resources/memegen/index.mjs +1 -0
- package/dist/esm/serialization/resources/memegen/types/CreateMemeRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/memegen/types/CreateMemeRequest.mjs +8 -0
- package/dist/esm/serialization/resources/memegen/types/CreateMemeTemplateRequest.d.mts +18 -0
- package/dist/esm/serialization/resources/memegen/types/CreateMemeTemplateRequest.mjs +14 -0
- package/dist/esm/serialization/resources/memegen/types/ImportMemeFormatRequest.d.mts +14 -0
- package/dist/esm/serialization/resources/memegen/types/ImportMemeFormatRequest.mjs +10 -0
- package/dist/esm/serialization/resources/memegen/types/Meme.d.mts +22 -0
- package/dist/esm/serialization/resources/memegen/types/Meme.mjs +18 -0
- package/dist/esm/serialization/resources/memegen/types/MemeFormat.d.mts +17 -0
- package/dist/esm/serialization/resources/memegen/types/MemeFormat.mjs +13 -0
- package/dist/esm/serialization/resources/memegen/types/MemeFormatList.d.mts +10 -0
- package/dist/esm/serialization/resources/memegen/types/MemeFormatList.mjs +6 -0
- package/dist/esm/serialization/resources/memegen/types/MemeLayout.d.mts +7 -0
- package/dist/esm/serialization/resources/memegen/types/MemeLayout.mjs +3 -0
- package/dist/esm/serialization/resources/memegen/types/MemePage.d.mts +12 -0
- package/dist/esm/serialization/resources/memegen/types/MemePage.mjs +8 -0
- package/dist/esm/serialization/resources/memegen/types/MemeSort.d.mts +7 -0
- package/dist/esm/serialization/resources/memegen/types/MemeSort.mjs +3 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplate.d.mts +25 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplate.mjs +21 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplateFromUrlRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplateFromUrlRequest.mjs +6 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplateList.d.mts +10 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplateList.mjs +6 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplatePage.d.mts +12 -0
- package/dist/esm/serialization/resources/memegen/types/MemeTemplatePage.mjs +8 -0
- package/dist/esm/serialization/resources/memegen/types/PopularWindow.d.mts +7 -0
- package/dist/esm/serialization/resources/memegen/types/PopularWindow.mjs +3 -0
- package/dist/esm/serialization/resources/memegen/types/ReorderMemeTemplatesRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/memegen/types/ReorderMemeTemplatesRequest.mjs +5 -0
- package/dist/esm/serialization/resources/memegen/types/UpdateMemeTemplateRequest.d.mts +19 -0
- package/dist/esm/serialization/resources/memegen/types/UpdateMemeTemplateRequest.mjs +15 -0
- package/dist/esm/serialization/resources/memegen/types/index.d.mts +16 -0
- package/dist/esm/serialization/resources/memegen/types/index.mjs +16 -0
- package/dist/esm/serialization/resources/okr/index.d.mts +1 -0
- package/dist/esm/serialization/resources/okr/index.mjs +1 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreRequest.mjs +5 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreResult.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreResult.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreSkip.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreSkip.mjs +7 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreSkipReason.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/BulkScoreSkipReason.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/CheckIn.d.mts +18 -0
- package/dist/esm/serialization/resources/okr/types/CheckIn.mjs +14 -0
- package/dist/esm/serialization/resources/okr/types/CheckInMetric.d.mts +10 -0
- package/dist/esm/serialization/resources/okr/types/CheckInMetric.mjs +6 -0
- package/dist/esm/serialization/resources/okr/types/CheckInPage.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/CheckInPage.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/CreateCheckInRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/okr/types/CreateCheckInRequest.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/CreateKeyResultRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/CreateKeyResultRequest.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/CreateObjectiveRequest.d.mts +23 -0
- package/dist/esm/serialization/resources/okr/types/CreateObjectiveRequest.mjs +19 -0
- package/dist/esm/serialization/resources/okr/types/GradeChange.d.mts +18 -0
- package/dist/esm/serialization/resources/okr/types/GradeChange.mjs +14 -0
- package/dist/esm/serialization/resources/okr/types/GradeChangePage.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/GradeChangePage.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/ImportObjectivesRequest.d.mts +18 -0
- package/dist/esm/serialization/resources/okr/types/ImportObjectivesRequest.mjs +14 -0
- package/dist/esm/serialization/resources/okr/types/ImportObjectivesResult.d.mts +13 -0
- package/dist/esm/serialization/resources/okr/types/ImportObjectivesResult.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/ImportProblem.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/ImportProblem.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/ImportProblemReason.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/ImportProblemReason.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.d.mts +24 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.mjs +20 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultDetail.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultDetail.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultGrade.d.mts +18 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultGrade.mjs +14 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultGradeList.d.mts +10 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultGradeList.mjs +6 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultList.d.mts +10 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultList.mjs +6 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultMetric.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultMetric.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/MetricSourceKind.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/MetricSourceKind.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/Objective.d.mts +33 -0
- package/dist/esm/serialization/resources/okr/types/Objective.mjs +29 -0
- package/dist/esm/serialization/resources/okr/types/ObjectiveDetail.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/ObjectiveDetail.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/ObjectivePage.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/ObjectivePage.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/ObjectiveViewPage.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/ObjectiveViewPage.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/OkrCheckpoint.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrCheckpoint.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriod.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriod.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriodRef.d.mts +13 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriodRef.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriods.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/OkrPeriods.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/OkrPriority.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrPriority.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/OkrRollup.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/OkrRollup.mjs +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrRollups.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/OkrRollups.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/OkrTeamRef.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/OkrTeamRef.mjs +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrVisibility.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/OkrVisibility.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/PutGradeRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/okr/types/PutGradeRequest.mjs +7 -0
- package/dist/esm/serialization/resources/okr/types/ReorderKeyResultsRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/okr/types/ReorderKeyResultsRequest.mjs +5 -0
- package/dist/esm/serialization/resources/okr/types/ReorderObjectivesRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/okr/types/ReorderObjectivesRequest.mjs +5 -0
- package/dist/esm/serialization/resources/okr/types/ReorderObjectivesResult.d.mts +9 -0
- package/dist/esm/serialization/resources/okr/types/ReorderObjectivesResult.mjs +5 -0
- package/dist/esm/serialization/resources/okr/types/Scorecard.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/Scorecard.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardCell.d.mts +13 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardCell.mjs +9 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardCellSource.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardCellSource.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardColumn.d.mts +15 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardColumn.mjs +11 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardKeyResultRow.d.mts +15 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardKeyResultRow.mjs +11 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardRow.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardRow.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardTimeframe.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/ScorecardTimeframe.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/TeamOkrs.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/TeamOkrs.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/TeamOkrsTeam.d.mts +16 -0
- package/dist/esm/serialization/resources/okr/types/TeamOkrsTeam.mjs +12 -0
- package/dist/esm/serialization/resources/okr/types/TeamScore.d.mts +14 -0
- package/dist/esm/serialization/resources/okr/types/TeamScore.mjs +10 -0
- package/dist/esm/serialization/resources/okr/types/TeamScorePage.d.mts +15 -0
- package/dist/esm/serialization/resources/okr/types/TeamScorePage.mjs +11 -0
- package/dist/esm/serialization/resources/okr/types/UpdateKeyResultRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/okr/types/UpdateKeyResultRequest.mjs +13 -0
- package/dist/esm/serialization/resources/okr/types/UpdateObjectiveRequest.d.mts +22 -0
- package/dist/esm/serialization/resources/okr/types/UpdateObjectiveRequest.mjs +18 -0
- package/dist/esm/serialization/resources/okr/types/index.d.mts +53 -0
- package/dist/esm/serialization/resources/okr/types/index.mjs +53 -0
- package/dist/esm/serialization/resources/organization/index.d.mts +1 -0
- package/dist/esm/serialization/resources/organization/index.mjs +1 -0
- package/dist/esm/serialization/resources/organization/types/Organization.d.mts +22 -0
- package/dist/esm/serialization/resources/organization/types/Organization.mjs +18 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.mjs +13 -0
- package/dist/esm/serialization/resources/organization/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/partnerDomains/index.d.mts +1 -0
- package/dist/esm/serialization/resources/partnerDomains/index.mjs +1 -0
- package/dist/esm/serialization/resources/partnerDomains/types/CreatePartnerDomainRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/partnerDomains/types/CreatePartnerDomainRequest.mjs +5 -0
- package/dist/esm/serialization/resources/partnerDomains/types/PartnerDomain.d.mts +11 -0
- package/dist/esm/serialization/resources/partnerDomains/types/PartnerDomain.mjs +7 -0
- package/dist/esm/serialization/resources/partnerDomains/types/PartnerDomainList.d.mts +11 -0
- package/dist/esm/serialization/resources/partnerDomains/types/PartnerDomainList.mjs +7 -0
- package/dist/esm/serialization/resources/partnerDomains/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/partnerDomains/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/platform/index.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/index.mjs +1 -0
- package/dist/esm/serialization/resources/platform/types/App.d.mts +24 -0
- package/dist/esm/serialization/resources/platform/types/App.mjs +20 -0
- package/dist/esm/serialization/resources/platform/types/AppBilling.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/AppBilling.mjs +3 -0
- package/dist/esm/serialization/resources/platform/types/AppList.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/AppList.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/AppRole.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/AppRole.mjs +7 -0
- package/dist/esm/serialization/resources/platform/types/AppRoleChange.d.mts +13 -0
- package/dist/esm/serialization/resources/platform/types/AppRoleChange.mjs +9 -0
- package/dist/esm/serialization/resources/platform/types/AppRoles.d.mts +14 -0
- package/dist/esm/serialization/resources/platform/types/AppRoles.mjs +10 -0
- package/dist/esm/serialization/resources/platform/types/AppStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/AppStatus.mjs +3 -0
- package/dist/esm/serialization/resources/platform/types/AppSubscription.d.mts +18 -0
- package/dist/esm/serialization/resources/platform/types/AppSubscription.mjs +14 -0
- package/dist/esm/serialization/resources/platform/types/AuthenticatedVia.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/AuthenticatedVia.mjs +3 -0
- package/dist/esm/serialization/resources/platform/types/BillingInterval.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/BillingInterval.mjs +3 -0
- package/dist/esm/serialization/resources/platform/types/GrantSeatRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/GrantSeatRequest.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/Identity.d.mts +16 -0
- package/dist/esm/serialization/resources/platform/types/Identity.mjs +12 -0
- package/dist/esm/serialization/resources/platform/types/Member.d.mts +18 -0
- package/dist/esm/serialization/resources/platform/types/Member.mjs +14 -0
- package/dist/esm/serialization/resources/platform/types/MemberList.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/MemberList.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.d.mts +11 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.mjs +7 -0
- package/dist/esm/serialization/resources/platform/types/NotificationPreferences.d.mts +21 -0
- package/dist/esm/serialization/resources/platform/types/NotificationPreferences.mjs +17 -0
- package/dist/esm/serialization/resources/platform/types/Seat.d.mts +13 -0
- package/dist/esm/serialization/resources/platform/types/Seat.mjs +9 -0
- package/dist/esm/serialization/resources/platform/types/SeatList.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/SeatList.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/SeatWait.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/SeatWait.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/SetAppRoleRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/SetAppRoleRequest.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/SubscriptionStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/platform/types/SubscriptionStatus.mjs +12 -0
- package/dist/esm/serialization/resources/platform/types/UpdateAppRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/platform/types/UpdateAppRequest.mjs +5 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.d.mts +11 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.mjs +7 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +21 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationPreferencesRequest.mjs +17 -0
- package/dist/esm/serialization/resources/platform/types/WaitingForSeat.d.mts +13 -0
- package/dist/esm/serialization/resources/platform/types/WaitingForSeat.mjs +9 -0
- package/dist/esm/serialization/resources/platform/types/WaitingForSeatList.d.mts +10 -0
- package/dist/esm/serialization/resources/platform/types/WaitingForSeatList.mjs +6 -0
- package/dist/esm/serialization/resources/platform/types/index.d.mts +26 -0
- package/dist/esm/serialization/resources/platform/types/index.mjs +26 -0
- package/dist/esm/serialization/resources/posts/index.d.mts +1 -0
- package/dist/esm/serialization/resources/posts/index.mjs +1 -0
- package/dist/esm/serialization/resources/posts/types/CreateLaunchPostRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/posts/types/CreateLaunchPostRequest.mjs +9 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPost.d.mts +24 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPost.mjs +20 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPostKind.d.mts +7 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPostKind.mjs +3 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPostPage.d.mts +12 -0
- package/dist/esm/serialization/resources/posts/types/LaunchPostPage.mjs +8 -0
- package/dist/esm/serialization/resources/posts/types/UpdateLaunchPostRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/posts/types/UpdateLaunchPostRequest.mjs +7 -0
- package/dist/esm/serialization/resources/posts/types/index.d.mts +5 -0
- package/dist/esm/serialization/resources/posts/types/index.mjs +5 -0
- package/dist/esm/serialization/resources/process/index.d.mts +1 -0
- package/dist/esm/serialization/resources/process/index.mjs +1 -0
- package/dist/esm/serialization/resources/process/types/CreateFunctionalTeamRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/process/types/CreateFunctionalTeamRequest.mjs +9 -0
- package/dist/esm/serialization/resources/process/types/CreateLaunchTemplateRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/process/types/CreateLaunchTemplateRequest.mjs +8 -0
- package/dist/esm/serialization/resources/process/types/CreateOrgTeamRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/CreateOrgTeamRequest.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/CreateStepTemplateRequest.d.mts +17 -0
- package/dist/esm/serialization/resources/process/types/CreateStepTemplateRequest.mjs +13 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeam.d.mts +17 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeam.mjs +13 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeamList.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeamList.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeamMembers.d.mts +12 -0
- package/dist/esm/serialization/resources/process/types/FunctionalTeamMembers.mjs +8 -0
- package/dist/esm/serialization/resources/process/types/LaunchTemplate.d.mts +19 -0
- package/dist/esm/serialization/resources/process/types/LaunchTemplate.mjs +15 -0
- package/dist/esm/serialization/resources/process/types/LaunchTemplateList.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/LaunchTemplateList.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/OrgTeam.d.mts +13 -0
- package/dist/esm/serialization/resources/process/types/OrgTeam.mjs +9 -0
- package/dist/esm/serialization/resources/process/types/OrgTeamList.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/OrgTeamList.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/ReorderStepTemplatesRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/process/types/ReorderStepTemplatesRequest.mjs +5 -0
- package/dist/esm/serialization/resources/process/types/SetFunctionalTeamMembersRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/SetFunctionalTeamMembersRequest.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/StepTemplate.d.mts +24 -0
- package/dist/esm/serialization/resources/process/types/StepTemplate.mjs +20 -0
- package/dist/esm/serialization/resources/process/types/StepTemplateList.d.mts +10 -0
- package/dist/esm/serialization/resources/process/types/StepTemplateList.mjs +6 -0
- package/dist/esm/serialization/resources/process/types/UpdateFunctionalTeamRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/process/types/UpdateFunctionalTeamRequest.mjs +9 -0
- package/dist/esm/serialization/resources/process/types/UpdateLaunchTemplateRequest.d.mts +13 -0
- package/dist/esm/serialization/resources/process/types/UpdateLaunchTemplateRequest.mjs +9 -0
- package/dist/esm/serialization/resources/process/types/UpdateStepTemplateRequest.d.mts +18 -0
- package/dist/esm/serialization/resources/process/types/UpdateStepTemplateRequest.mjs +14 -0
- package/dist/esm/serialization/resources/process/types/index.d.mts +18 -0
- package/dist/esm/serialization/resources/process/types/index.mjs +18 -0
- package/dist/esm/serialization/resources/search/index.d.mts +1 -0
- package/dist/esm/serialization/resources/search/index.mjs +1 -0
- package/dist/esm/serialization/resources/search/types/SearchApp.d.mts +7 -0
- package/dist/esm/serialization/resources/search/types/SearchApp.mjs +3 -0
- package/dist/esm/serialization/resources/search/types/SearchEvent.d.mts +14 -0
- package/dist/esm/serialization/resources/search/types/SearchEvent.mjs +10 -0
- package/dist/esm/serialization/resources/search/types/SearchEventParent.d.mts +10 -0
- package/dist/esm/serialization/resources/search/types/SearchEventParent.mjs +6 -0
- package/dist/esm/serialization/resources/search/types/SearchGroup.d.mts +13 -0
- package/dist/esm/serialization/resources/search/types/SearchGroup.mjs +9 -0
- package/dist/esm/serialization/resources/search/types/SearchGroupType.d.mts +7 -0
- package/dist/esm/serialization/resources/search/types/SearchGroupType.mjs +14 -0
- package/dist/esm/serialization/resources/search/types/SearchKeyResult.d.mts +13 -0
- package/dist/esm/serialization/resources/search/types/SearchKeyResult.mjs +9 -0
- package/dist/esm/serialization/resources/search/types/SearchLaunch.d.mts +14 -0
- package/dist/esm/serialization/resources/search/types/SearchLaunch.mjs +10 -0
- package/dist/esm/serialization/resources/search/types/SearchLink.d.mts +13 -0
- package/dist/esm/serialization/resources/search/types/SearchLink.mjs +9 -0
- package/dist/esm/serialization/resources/search/types/SearchMeme.d.mts +12 -0
- package/dist/esm/serialization/resources/search/types/SearchMeme.mjs +8 -0
- package/dist/esm/serialization/resources/search/types/SearchObjective.d.mts +15 -0
- package/dist/esm/serialization/resources/search/types/SearchObjective.mjs +11 -0
- package/dist/esm/serialization/resources/search/types/SearchObjectiveParent.d.mts +10 -0
- package/dist/esm/serialization/resources/search/types/SearchObjectiveParent.mjs +6 -0
- package/dist/esm/serialization/resources/search/types/SearchParent.d.mts +10 -0
- package/dist/esm/serialization/resources/search/types/SearchParent.mjs +6 -0
- package/dist/esm/serialization/resources/search/types/SearchQuestion.d.mts +14 -0
- package/dist/esm/serialization/resources/search/types/SearchQuestion.mjs +10 -0
- package/dist/esm/serialization/resources/search/types/SearchResponse.d.mts +13 -0
- package/dist/esm/serialization/resources/search/types/SearchResponse.mjs +9 -0
- package/dist/esm/serialization/resources/search/types/SearchResult.d.mts +47 -0
- package/dist/esm/serialization/resources/search/types/SearchResult.mjs +29 -0
- package/dist/esm/serialization/resources/search/types/SearchStep.d.mts +15 -0
- package/dist/esm/serialization/resources/search/types/SearchStep.mjs +11 -0
- package/dist/esm/serialization/resources/search/types/SearchTeam.d.mts +11 -0
- package/dist/esm/serialization/resources/search/types/SearchTeam.mjs +7 -0
- package/dist/esm/serialization/resources/search/types/SearchTemplate.d.mts +11 -0
- package/dist/esm/serialization/resources/search/types/SearchTemplate.mjs +7 -0
- package/dist/esm/serialization/resources/search/types/index.d.mts +18 -0
- package/dist/esm/serialization/resources/search/types/index.mjs +18 -0
- package/dist/esm/serialization/resources/slackConnections/index.d.mts +1 -0
- package/dist/esm/serialization/resources/slackConnections/index.mjs +1 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.d.mts +14 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.mjs +10 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.d.mts +11 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.mjs +7 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.d.mts +12 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.mjs +8 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.d.mts +10 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.mjs +6 -0
- package/dist/esm/serialization/resources/slackConnections/types/index.d.mts +4 -0
- package/dist/esm/serialization/resources/slackConnections/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/steps/index.d.mts +1 -0
- package/dist/esm/serialization/resources/steps/index.mjs +1 -0
- package/dist/esm/serialization/resources/steps/types/CreateStepRequest.d.mts +20 -0
- package/dist/esm/serialization/resources/steps/types/CreateStepRequest.mjs +16 -0
- package/dist/esm/serialization/resources/steps/types/DecideStepRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/steps/types/DecideStepRequest.mjs +8 -0
- package/dist/esm/serialization/resources/steps/types/GeneratedSteps.d.mts +11 -0
- package/dist/esm/serialization/resources/steps/types/GeneratedSteps.mjs +7 -0
- package/dist/esm/serialization/resources/steps/types/LaunchStep.d.mts +34 -0
- package/dist/esm/serialization/resources/steps/types/LaunchStep.mjs +30 -0
- package/dist/esm/serialization/resources/steps/types/NudgeReason.d.mts +7 -0
- package/dist/esm/serialization/resources/steps/types/NudgeReason.mjs +3 -0
- package/dist/esm/serialization/resources/steps/types/NudgeResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/steps/types/NudgeResponse.mjs +12 -0
- package/dist/esm/serialization/resources/steps/types/SetDecisionReasonRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/steps/types/SetDecisionReasonRequest.mjs +5 -0
- package/dist/esm/serialization/resources/steps/types/StepList.d.mts +10 -0
- package/dist/esm/serialization/resources/steps/types/StepList.mjs +6 -0
- package/dist/esm/serialization/resources/steps/types/StepPage.d.mts +12 -0
- package/dist/esm/serialization/resources/steps/types/StepPage.mjs +8 -0
- package/dist/esm/serialization/resources/steps/types/UpdateStepRequest.d.mts +20 -0
- package/dist/esm/serialization/resources/steps/types/UpdateStepRequest.mjs +16 -0
- package/dist/esm/serialization/resources/steps/types/index.d.mts +10 -0
- package/dist/esm/serialization/resources/steps/types/index.mjs +10 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +360 -5
- package/reference.md +12774 -0
- package/README.md +0 -3
|
@@ -0,0 +1,3429 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.DoryClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
+
const requestBody_js_1 = require("../../../../core/requestBody.js");
|
|
51
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
52
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
53
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
54
|
+
const serializers = __importStar(require("../../../../serialization/index.js"));
|
|
55
|
+
const Taktoria = __importStar(require("../../../index.js"));
|
|
56
|
+
class DoryClient {
|
|
57
|
+
constructor(options) {
|
|
58
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* List the events in your organization. Archived ones are left out.
|
|
62
|
+
*
|
|
63
|
+
* @param {Taktoria.ListEventsRequest} request
|
|
64
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link Taktoria.UnauthorizedError}
|
|
67
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
68
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
69
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
70
|
+
* @throws {@link errors.TaktoriaError}
|
|
71
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await client.dory.listEvents()
|
|
75
|
+
*/
|
|
76
|
+
listEvents(request = {}, requestOptions) {
|
|
77
|
+
return core.HttpResponsePromise.fromPromise(this.__listEvents(request, requestOptions));
|
|
78
|
+
}
|
|
79
|
+
__listEvents() {
|
|
80
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
81
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
82
|
+
const { status, phase, q, search, archived, mine, limit, cursor } = request;
|
|
83
|
+
const _queryParams = {
|
|
84
|
+
status: status != null
|
|
85
|
+
? serializers.EventStatus.jsonOrThrow(status, {
|
|
86
|
+
unrecognizedObjectKeys: "strip",
|
|
87
|
+
omitUndefined: true,
|
|
88
|
+
})
|
|
89
|
+
: undefined,
|
|
90
|
+
phase: phase != null
|
|
91
|
+
? serializers.EventPhase.jsonOrThrow(phase, {
|
|
92
|
+
unrecognizedObjectKeys: "strip",
|
|
93
|
+
omitUndefined: true,
|
|
94
|
+
})
|
|
95
|
+
: undefined,
|
|
96
|
+
q,
|
|
97
|
+
search,
|
|
98
|
+
archived,
|
|
99
|
+
mine,
|
|
100
|
+
limit,
|
|
101
|
+
cursor,
|
|
102
|
+
};
|
|
103
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
104
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
105
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
106
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/dory/events"),
|
|
107
|
+
method: "GET",
|
|
108
|
+
headers: _headers,
|
|
109
|
+
queryString: core.url
|
|
110
|
+
.queryBuilder()
|
|
111
|
+
.addMany(_queryParams)
|
|
112
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
113
|
+
.build(),
|
|
114
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
115
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
116
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
117
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
118
|
+
logging: this._options.logging,
|
|
119
|
+
});
|
|
120
|
+
if (_response.ok) {
|
|
121
|
+
return {
|
|
122
|
+
data: serializers.EventPage.parseOrThrow(_response.body, {
|
|
123
|
+
unrecognizedObjectKeys: "passthrough",
|
|
124
|
+
allowUnrecognizedUnionMembers: true,
|
|
125
|
+
allowUnrecognizedEnumValues: true,
|
|
126
|
+
skipValidation: true,
|
|
127
|
+
breadcrumbsPrefix: ["response"],
|
|
128
|
+
}),
|
|
129
|
+
rawResponse: _response.rawResponse,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
if (_response.error.reason === "status-code") {
|
|
133
|
+
switch (_response.error.statusCode) {
|
|
134
|
+
case 401:
|
|
135
|
+
throw new Taktoria.UnauthorizedError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
136
|
+
unrecognizedObjectKeys: "passthrough",
|
|
137
|
+
allowUnrecognizedUnionMembers: true,
|
|
138
|
+
allowUnrecognizedEnumValues: true,
|
|
139
|
+
skipValidation: true,
|
|
140
|
+
breadcrumbsPrefix: ["response"],
|
|
141
|
+
}), _response.rawResponse);
|
|
142
|
+
case 403:
|
|
143
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
144
|
+
unrecognizedObjectKeys: "passthrough",
|
|
145
|
+
allowUnrecognizedUnionMembers: true,
|
|
146
|
+
allowUnrecognizedEnumValues: true,
|
|
147
|
+
skipValidation: true,
|
|
148
|
+
breadcrumbsPrefix: ["response"],
|
|
149
|
+
}), _response.rawResponse);
|
|
150
|
+
case 402:
|
|
151
|
+
throw new Taktoria.SubscriptionRequiredError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
152
|
+
unrecognizedObjectKeys: "passthrough",
|
|
153
|
+
allowUnrecognizedUnionMembers: true,
|
|
154
|
+
allowUnrecognizedEnumValues: true,
|
|
155
|
+
skipValidation: true,
|
|
156
|
+
breadcrumbsPrefix: ["response"],
|
|
157
|
+
}), _response.rawResponse);
|
|
158
|
+
case 429:
|
|
159
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
160
|
+
unrecognizedObjectKeys: "passthrough",
|
|
161
|
+
allowUnrecognizedUnionMembers: true,
|
|
162
|
+
allowUnrecognizedEnumValues: true,
|
|
163
|
+
skipValidation: true,
|
|
164
|
+
breadcrumbsPrefix: ["response"],
|
|
165
|
+
}), _response.rawResponse);
|
|
166
|
+
default:
|
|
167
|
+
throw new errors.TaktoriaError({
|
|
168
|
+
statusCode: _response.error.statusCode,
|
|
169
|
+
body: _response.error.body,
|
|
170
|
+
rawResponse: _response.rawResponse,
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events");
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @param {Taktoria.CreateEventRequest} request
|
|
179
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
182
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
183
|
+
* @throws {@link Taktoria.ValidationError}
|
|
184
|
+
* @throws {@link Taktoria.ConflictError}
|
|
185
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
186
|
+
* @throws {@link errors.TaktoriaError}
|
|
187
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* await client.dory.createEvent({
|
|
191
|
+
* title: "title"
|
|
192
|
+
* })
|
|
193
|
+
*/
|
|
194
|
+
createEvent(request, requestOptions) {
|
|
195
|
+
return core.HttpResponsePromise.fromPromise(this.__createEvent(request, requestOptions));
|
|
196
|
+
}
|
|
197
|
+
__createEvent(request, requestOptions) {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
200
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
201
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
202
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
203
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/dory/events"),
|
|
204
|
+
method: "POST",
|
|
205
|
+
headers: _headers,
|
|
206
|
+
contentType: "application/json",
|
|
207
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
208
|
+
requestType: "json",
|
|
209
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.CreateEventRequest.jsonOrThrow(request, {
|
|
210
|
+
unrecognizedObjectKeys: "strip",
|
|
211
|
+
omitUndefined: true,
|
|
212
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
213
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
214
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
215
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
216
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
217
|
+
logging: this._options.logging,
|
|
218
|
+
});
|
|
219
|
+
if (_response.ok) {
|
|
220
|
+
return {
|
|
221
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
222
|
+
unrecognizedObjectKeys: "passthrough",
|
|
223
|
+
allowUnrecognizedUnionMembers: true,
|
|
224
|
+
allowUnrecognizedEnumValues: true,
|
|
225
|
+
skipValidation: true,
|
|
226
|
+
breadcrumbsPrefix: ["response"],
|
|
227
|
+
}),
|
|
228
|
+
rawResponse: _response.rawResponse,
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
if (_response.error.reason === "status-code") {
|
|
232
|
+
switch (_response.error.statusCode) {
|
|
233
|
+
case 402:
|
|
234
|
+
throw new Taktoria.SubscriptionRequiredError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
235
|
+
unrecognizedObjectKeys: "passthrough",
|
|
236
|
+
allowUnrecognizedUnionMembers: true,
|
|
237
|
+
allowUnrecognizedEnumValues: true,
|
|
238
|
+
skipValidation: true,
|
|
239
|
+
breadcrumbsPrefix: ["response"],
|
|
240
|
+
}), _response.rawResponse);
|
|
241
|
+
case 403:
|
|
242
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
243
|
+
unrecognizedObjectKeys: "passthrough",
|
|
244
|
+
allowUnrecognizedUnionMembers: true,
|
|
245
|
+
allowUnrecognizedEnumValues: true,
|
|
246
|
+
skipValidation: true,
|
|
247
|
+
breadcrumbsPrefix: ["response"],
|
|
248
|
+
}), _response.rawResponse);
|
|
249
|
+
case 422:
|
|
250
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
251
|
+
unrecognizedObjectKeys: "passthrough",
|
|
252
|
+
allowUnrecognizedUnionMembers: true,
|
|
253
|
+
allowUnrecognizedEnumValues: true,
|
|
254
|
+
skipValidation: true,
|
|
255
|
+
breadcrumbsPrefix: ["response"],
|
|
256
|
+
}), _response.rawResponse);
|
|
257
|
+
case 409:
|
|
258
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
259
|
+
unrecognizedObjectKeys: "passthrough",
|
|
260
|
+
allowUnrecognizedUnionMembers: true,
|
|
261
|
+
allowUnrecognizedEnumValues: true,
|
|
262
|
+
skipValidation: true,
|
|
263
|
+
breadcrumbsPrefix: ["response"],
|
|
264
|
+
}), _response.rawResponse);
|
|
265
|
+
case 429:
|
|
266
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
267
|
+
unrecognizedObjectKeys: "passthrough",
|
|
268
|
+
allowUnrecognizedUnionMembers: true,
|
|
269
|
+
allowUnrecognizedEnumValues: true,
|
|
270
|
+
skipValidation: true,
|
|
271
|
+
breadcrumbsPrefix: ["response"],
|
|
272
|
+
}), _response.rawResponse);
|
|
273
|
+
default:
|
|
274
|
+
throw new errors.TaktoriaError({
|
|
275
|
+
statusCode: _response.error.statusCode,
|
|
276
|
+
body: _response.error.body,
|
|
277
|
+
rawResponse: _response.rawResponse,
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events");
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* @param {string} eventId
|
|
286
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
287
|
+
*
|
|
288
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
289
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
290
|
+
* @throws {@link errors.TaktoriaError}
|
|
291
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
292
|
+
*
|
|
293
|
+
* @example
|
|
294
|
+
* await client.dory.getEvent("eventId")
|
|
295
|
+
*/
|
|
296
|
+
getEvent(eventId, requestOptions) {
|
|
297
|
+
return core.HttpResponsePromise.fromPromise(this.__getEvent(eventId, requestOptions));
|
|
298
|
+
}
|
|
299
|
+
__getEvent(eventId, requestOptions) {
|
|
300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
301
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
302
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
303
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
304
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
305
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}`),
|
|
306
|
+
method: "GET",
|
|
307
|
+
headers: _headers,
|
|
308
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
309
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
310
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
311
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
312
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
313
|
+
logging: this._options.logging,
|
|
314
|
+
});
|
|
315
|
+
if (_response.ok) {
|
|
316
|
+
return {
|
|
317
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
318
|
+
unrecognizedObjectKeys: "passthrough",
|
|
319
|
+
allowUnrecognizedUnionMembers: true,
|
|
320
|
+
allowUnrecognizedEnumValues: true,
|
|
321
|
+
skipValidation: true,
|
|
322
|
+
breadcrumbsPrefix: ["response"],
|
|
323
|
+
}),
|
|
324
|
+
rawResponse: _response.rawResponse,
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
if (_response.error.reason === "status-code") {
|
|
328
|
+
switch (_response.error.statusCode) {
|
|
329
|
+
case 404:
|
|
330
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
331
|
+
unrecognizedObjectKeys: "passthrough",
|
|
332
|
+
allowUnrecognizedUnionMembers: true,
|
|
333
|
+
allowUnrecognizedEnumValues: true,
|
|
334
|
+
skipValidation: true,
|
|
335
|
+
breadcrumbsPrefix: ["response"],
|
|
336
|
+
}), _response.rawResponse);
|
|
337
|
+
case 429:
|
|
338
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
339
|
+
unrecognizedObjectKeys: "passthrough",
|
|
340
|
+
allowUnrecognizedUnionMembers: true,
|
|
341
|
+
allowUnrecognizedEnumValues: true,
|
|
342
|
+
skipValidation: true,
|
|
343
|
+
breadcrumbsPrefix: ["response"],
|
|
344
|
+
}), _response.rawResponse);
|
|
345
|
+
default:
|
|
346
|
+
throw new errors.TaktoriaError({
|
|
347
|
+
statusCode: _response.error.statusCode,
|
|
348
|
+
body: _response.error.body,
|
|
349
|
+
rawResponse: _response.rawResponse,
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}");
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* @param {string} eventId
|
|
358
|
+
* @param {Taktoria.UpdateEventRequest} request
|
|
359
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
360
|
+
*
|
|
361
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
362
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
363
|
+
* @throws {@link Taktoria.ValidationError}
|
|
364
|
+
* @throws {@link Taktoria.ConflictError}
|
|
365
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
366
|
+
* @throws {@link errors.TaktoriaError}
|
|
367
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
368
|
+
*
|
|
369
|
+
* @example
|
|
370
|
+
* await client.dory.updateEvent("eventId", {})
|
|
371
|
+
*/
|
|
372
|
+
updateEvent(eventId, request, requestOptions) {
|
|
373
|
+
return core.HttpResponsePromise.fromPromise(this.__updateEvent(eventId, request, requestOptions));
|
|
374
|
+
}
|
|
375
|
+
__updateEvent(eventId, request, requestOptions) {
|
|
376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
377
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
378
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
379
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
380
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
381
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}`),
|
|
382
|
+
method: "PATCH",
|
|
383
|
+
headers: _headers,
|
|
384
|
+
contentType: "application/json",
|
|
385
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
386
|
+
requestType: "json",
|
|
387
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.UpdateEventRequest.jsonOrThrow(request, {
|
|
388
|
+
unrecognizedObjectKeys: "strip",
|
|
389
|
+
omitUndefined: true,
|
|
390
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
391
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
392
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
393
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
394
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
395
|
+
logging: this._options.logging,
|
|
396
|
+
});
|
|
397
|
+
if (_response.ok) {
|
|
398
|
+
return {
|
|
399
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
400
|
+
unrecognizedObjectKeys: "passthrough",
|
|
401
|
+
allowUnrecognizedUnionMembers: true,
|
|
402
|
+
allowUnrecognizedEnumValues: true,
|
|
403
|
+
skipValidation: true,
|
|
404
|
+
breadcrumbsPrefix: ["response"],
|
|
405
|
+
}),
|
|
406
|
+
rawResponse: _response.rawResponse,
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
if (_response.error.reason === "status-code") {
|
|
410
|
+
switch (_response.error.statusCode) {
|
|
411
|
+
case 403:
|
|
412
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
413
|
+
unrecognizedObjectKeys: "passthrough",
|
|
414
|
+
allowUnrecognizedUnionMembers: true,
|
|
415
|
+
allowUnrecognizedEnumValues: true,
|
|
416
|
+
skipValidation: true,
|
|
417
|
+
breadcrumbsPrefix: ["response"],
|
|
418
|
+
}), _response.rawResponse);
|
|
419
|
+
case 404:
|
|
420
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
421
|
+
unrecognizedObjectKeys: "passthrough",
|
|
422
|
+
allowUnrecognizedUnionMembers: true,
|
|
423
|
+
allowUnrecognizedEnumValues: true,
|
|
424
|
+
skipValidation: true,
|
|
425
|
+
breadcrumbsPrefix: ["response"],
|
|
426
|
+
}), _response.rawResponse);
|
|
427
|
+
case 422:
|
|
428
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
429
|
+
unrecognizedObjectKeys: "passthrough",
|
|
430
|
+
allowUnrecognizedUnionMembers: true,
|
|
431
|
+
allowUnrecognizedEnumValues: true,
|
|
432
|
+
skipValidation: true,
|
|
433
|
+
breadcrumbsPrefix: ["response"],
|
|
434
|
+
}), _response.rawResponse);
|
|
435
|
+
case 409:
|
|
436
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
437
|
+
unrecognizedObjectKeys: "passthrough",
|
|
438
|
+
allowUnrecognizedUnionMembers: true,
|
|
439
|
+
allowUnrecognizedEnumValues: true,
|
|
440
|
+
skipValidation: true,
|
|
441
|
+
breadcrumbsPrefix: ["response"],
|
|
442
|
+
}), _response.rawResponse);
|
|
443
|
+
case 429:
|
|
444
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
445
|
+
unrecognizedObjectKeys: "passthrough",
|
|
446
|
+
allowUnrecognizedUnionMembers: true,
|
|
447
|
+
allowUnrecognizedEnumValues: true,
|
|
448
|
+
skipValidation: true,
|
|
449
|
+
breadcrumbsPrefix: ["response"],
|
|
450
|
+
}), _response.rawResponse);
|
|
451
|
+
default:
|
|
452
|
+
throw new errors.TaktoriaError({
|
|
453
|
+
statusCode: _response.error.statusCode,
|
|
454
|
+
body: _response.error.body,
|
|
455
|
+
rawResponse: _response.rawResponse,
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/dory/events/{eventId}");
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* A copy of the event, to run it again, Not started until it is given
|
|
464
|
+
* a start. Its description, passcode, audience and domains, room and
|
|
465
|
+
* presenter settings, instructions, meeting link (`meetingUrl`, so a
|
|
466
|
+
* recurring call keeps its link), time zone, hosts and polls (as
|
|
467
|
+
* drafts) come along; its questions, participants, results, billing
|
|
468
|
+
* and dates do not. It gets a new code and belongs to whoever made it.
|
|
469
|
+
* Needs `events:write`.
|
|
470
|
+
*
|
|
471
|
+
* @param {string} eventId
|
|
472
|
+
* @param {Taktoria.DuplicateEventRequest} request
|
|
473
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
474
|
+
*
|
|
475
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
476
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
477
|
+
* @throws {@link Taktoria.ValidationError}
|
|
478
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
479
|
+
* @throws {@link errors.TaktoriaError}
|
|
480
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
481
|
+
*
|
|
482
|
+
* @example
|
|
483
|
+
* await client.dory.duplicateEvent("eventId")
|
|
484
|
+
*/
|
|
485
|
+
duplicateEvent(eventId, request = {}, requestOptions) {
|
|
486
|
+
return core.HttpResponsePromise.fromPromise(this.__duplicateEvent(eventId, request, requestOptions));
|
|
487
|
+
}
|
|
488
|
+
__duplicateEvent(eventId_1) {
|
|
489
|
+
return __awaiter(this, arguments, void 0, function* (eventId, request = {}, requestOptions) {
|
|
490
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
491
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
492
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
493
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
494
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/duplicate`),
|
|
495
|
+
method: "POST",
|
|
496
|
+
headers: _headers,
|
|
497
|
+
contentType: "application/json",
|
|
498
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
499
|
+
requestType: "json",
|
|
500
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.DuplicateEventRequest.jsonOrThrow(request, {
|
|
501
|
+
unrecognizedObjectKeys: "strip",
|
|
502
|
+
omitUndefined: true,
|
|
503
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
504
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
505
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
506
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
507
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
508
|
+
logging: this._options.logging,
|
|
509
|
+
});
|
|
510
|
+
if (_response.ok) {
|
|
511
|
+
return {
|
|
512
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
513
|
+
unrecognizedObjectKeys: "passthrough",
|
|
514
|
+
allowUnrecognizedUnionMembers: true,
|
|
515
|
+
allowUnrecognizedEnumValues: true,
|
|
516
|
+
skipValidation: true,
|
|
517
|
+
breadcrumbsPrefix: ["response"],
|
|
518
|
+
}),
|
|
519
|
+
rawResponse: _response.rawResponse,
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
if (_response.error.reason === "status-code") {
|
|
523
|
+
switch (_response.error.statusCode) {
|
|
524
|
+
case 403:
|
|
525
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
526
|
+
unrecognizedObjectKeys: "passthrough",
|
|
527
|
+
allowUnrecognizedUnionMembers: true,
|
|
528
|
+
allowUnrecognizedEnumValues: true,
|
|
529
|
+
skipValidation: true,
|
|
530
|
+
breadcrumbsPrefix: ["response"],
|
|
531
|
+
}), _response.rawResponse);
|
|
532
|
+
case 404:
|
|
533
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
534
|
+
unrecognizedObjectKeys: "passthrough",
|
|
535
|
+
allowUnrecognizedUnionMembers: true,
|
|
536
|
+
allowUnrecognizedEnumValues: true,
|
|
537
|
+
skipValidation: true,
|
|
538
|
+
breadcrumbsPrefix: ["response"],
|
|
539
|
+
}), _response.rawResponse);
|
|
540
|
+
case 422:
|
|
541
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
542
|
+
unrecognizedObjectKeys: "passthrough",
|
|
543
|
+
allowUnrecognizedUnionMembers: true,
|
|
544
|
+
allowUnrecognizedEnumValues: true,
|
|
545
|
+
skipValidation: true,
|
|
546
|
+
breadcrumbsPrefix: ["response"],
|
|
547
|
+
}), _response.rawResponse);
|
|
548
|
+
case 429:
|
|
549
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
550
|
+
unrecognizedObjectKeys: "passthrough",
|
|
551
|
+
allowUnrecognizedUnionMembers: true,
|
|
552
|
+
allowUnrecognizedEnumValues: true,
|
|
553
|
+
skipValidation: true,
|
|
554
|
+
breadcrumbsPrefix: ["response"],
|
|
555
|
+
}), _response.rawResponse);
|
|
556
|
+
default:
|
|
557
|
+
throw new errors.TaktoriaError({
|
|
558
|
+
statusCode: _response.error.statusCode,
|
|
559
|
+
body: _response.error.body,
|
|
560
|
+
rawResponse: _response.rawResponse,
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/duplicate");
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Who may run the event. Needs `events:read`.
|
|
569
|
+
*
|
|
570
|
+
* @param {string} eventId
|
|
571
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
572
|
+
*
|
|
573
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
574
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
575
|
+
* @throws {@link errors.TaktoriaError}
|
|
576
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
577
|
+
*
|
|
578
|
+
* @example
|
|
579
|
+
* await client.dory.getEventHosts("eventId")
|
|
580
|
+
*/
|
|
581
|
+
getEventHosts(eventId, requestOptions) {
|
|
582
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventHosts(eventId, requestOptions));
|
|
583
|
+
}
|
|
584
|
+
__getEventHosts(eventId, requestOptions) {
|
|
585
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
586
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
587
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
588
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
589
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
590
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts`),
|
|
591
|
+
method: "GET",
|
|
592
|
+
headers: _headers,
|
|
593
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
594
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
595
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
596
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
597
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
598
|
+
logging: this._options.logging,
|
|
599
|
+
});
|
|
600
|
+
if (_response.ok) {
|
|
601
|
+
return {
|
|
602
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
603
|
+
unrecognizedObjectKeys: "passthrough",
|
|
604
|
+
allowUnrecognizedUnionMembers: true,
|
|
605
|
+
allowUnrecognizedEnumValues: true,
|
|
606
|
+
skipValidation: true,
|
|
607
|
+
breadcrumbsPrefix: ["response"],
|
|
608
|
+
}),
|
|
609
|
+
rawResponse: _response.rawResponse,
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
if (_response.error.reason === "status-code") {
|
|
613
|
+
switch (_response.error.statusCode) {
|
|
614
|
+
case 404:
|
|
615
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
616
|
+
unrecognizedObjectKeys: "passthrough",
|
|
617
|
+
allowUnrecognizedUnionMembers: true,
|
|
618
|
+
allowUnrecognizedEnumValues: true,
|
|
619
|
+
skipValidation: true,
|
|
620
|
+
breadcrumbsPrefix: ["response"],
|
|
621
|
+
}), _response.rawResponse);
|
|
622
|
+
case 429:
|
|
623
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
624
|
+
unrecognizedObjectKeys: "passthrough",
|
|
625
|
+
allowUnrecognizedUnionMembers: true,
|
|
626
|
+
allowUnrecognizedEnumValues: true,
|
|
627
|
+
skipValidation: true,
|
|
628
|
+
breadcrumbsPrefix: ["response"],
|
|
629
|
+
}), _response.rawResponse);
|
|
630
|
+
default:
|
|
631
|
+
throw new errors.TaktoriaError({
|
|
632
|
+
statusCode: _response.error.statusCode,
|
|
633
|
+
body: _response.error.body,
|
|
634
|
+
rawResponse: _response.rawResponse,
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/hosts");
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Replace who may run the event, both lists at once. Needs
|
|
643
|
+
* `events:write`. A signed-in caller who is neither an app admin of
|
|
644
|
+
* Dory nor the event's creator may not leave themselves unable to run it
|
|
645
|
+
* (`would_lock_out`): they must stay named, or stay on a listed team
|
|
646
|
+
* (or a team inside one). Empty lists open the event to everyone.
|
|
647
|
+
*
|
|
648
|
+
* @param {string} eventId
|
|
649
|
+
* @param {Taktoria.SetEventHostsRequest} request
|
|
650
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
651
|
+
*
|
|
652
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
653
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
654
|
+
* @throws {@link Taktoria.ValidationError}
|
|
655
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
656
|
+
* @throws {@link errors.TaktoriaError}
|
|
657
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* await client.dory.setEventHosts("eventId", {
|
|
661
|
+
* userIds: ["userIds", "userIds"],
|
|
662
|
+
* teamIds: ["teamIds", "teamIds"]
|
|
663
|
+
* })
|
|
664
|
+
*/
|
|
665
|
+
setEventHosts(eventId, request, requestOptions) {
|
|
666
|
+
return core.HttpResponsePromise.fromPromise(this.__setEventHosts(eventId, request, requestOptions));
|
|
667
|
+
}
|
|
668
|
+
__setEventHosts(eventId, request, requestOptions) {
|
|
669
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
670
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
671
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
672
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
673
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
674
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts`),
|
|
675
|
+
method: "PUT",
|
|
676
|
+
headers: _headers,
|
|
677
|
+
contentType: "application/json",
|
|
678
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
679
|
+
requestType: "json",
|
|
680
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.SetEventHostsRequest.jsonOrThrow(request, {
|
|
681
|
+
unrecognizedObjectKeys: "strip",
|
|
682
|
+
omitUndefined: true,
|
|
683
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
684
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
685
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
686
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
687
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
688
|
+
logging: this._options.logging,
|
|
689
|
+
});
|
|
690
|
+
if (_response.ok) {
|
|
691
|
+
return {
|
|
692
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
693
|
+
unrecognizedObjectKeys: "passthrough",
|
|
694
|
+
allowUnrecognizedUnionMembers: true,
|
|
695
|
+
allowUnrecognizedEnumValues: true,
|
|
696
|
+
skipValidation: true,
|
|
697
|
+
breadcrumbsPrefix: ["response"],
|
|
698
|
+
}),
|
|
699
|
+
rawResponse: _response.rawResponse,
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
if (_response.error.reason === "status-code") {
|
|
703
|
+
switch (_response.error.statusCode) {
|
|
704
|
+
case 403:
|
|
705
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
706
|
+
unrecognizedObjectKeys: "passthrough",
|
|
707
|
+
allowUnrecognizedUnionMembers: true,
|
|
708
|
+
allowUnrecognizedEnumValues: true,
|
|
709
|
+
skipValidation: true,
|
|
710
|
+
breadcrumbsPrefix: ["response"],
|
|
711
|
+
}), _response.rawResponse);
|
|
712
|
+
case 404:
|
|
713
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
714
|
+
unrecognizedObjectKeys: "passthrough",
|
|
715
|
+
allowUnrecognizedUnionMembers: true,
|
|
716
|
+
allowUnrecognizedEnumValues: true,
|
|
717
|
+
skipValidation: true,
|
|
718
|
+
breadcrumbsPrefix: ["response"],
|
|
719
|
+
}), _response.rawResponse);
|
|
720
|
+
case 422:
|
|
721
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
722
|
+
unrecognizedObjectKeys: "passthrough",
|
|
723
|
+
allowUnrecognizedUnionMembers: true,
|
|
724
|
+
allowUnrecognizedEnumValues: true,
|
|
725
|
+
skipValidation: true,
|
|
726
|
+
breadcrumbsPrefix: ["response"],
|
|
727
|
+
}), _response.rawResponse);
|
|
728
|
+
case 429:
|
|
729
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
730
|
+
unrecognizedObjectKeys: "passthrough",
|
|
731
|
+
allowUnrecognizedUnionMembers: true,
|
|
732
|
+
allowUnrecognizedEnumValues: true,
|
|
733
|
+
skipValidation: true,
|
|
734
|
+
breadcrumbsPrefix: ["response"],
|
|
735
|
+
}), _response.rawResponse);
|
|
736
|
+
default:
|
|
737
|
+
throw new errors.TaktoriaError({
|
|
738
|
+
statusCode: _response.error.statusCode,
|
|
739
|
+
body: _response.error.body,
|
|
740
|
+
rawResponse: _response.rawResponse,
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/dory/events/{eventId}/hosts");
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* Let one more person run the event, leaving the rest of both lists
|
|
749
|
+
* alone. Naming the first person closes an open event to the rest of
|
|
750
|
+
* the workspace, so a signed-in caller who is neither an app admin of
|
|
751
|
+
* Dory nor the event's creator, and would not be on the lists, is refused
|
|
752
|
+
* (`422 would_lock_out`): they add themselves, or a team they are on,
|
|
753
|
+
* first. Adding somebody already on the list changes nothing. Answers
|
|
754
|
+
* with both lists. Needs `events:write`.
|
|
755
|
+
*
|
|
756
|
+
* @param {string} eventId
|
|
757
|
+
* @param {Taktoria.AddEventHostRequest} request
|
|
758
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
759
|
+
*
|
|
760
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
761
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
762
|
+
* @throws {@link Taktoria.ValidationError}
|
|
763
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
764
|
+
* @throws {@link errors.TaktoriaError}
|
|
765
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
766
|
+
*
|
|
767
|
+
* @example
|
|
768
|
+
* await client.dory.addEventHost("evt_7f3a", {
|
|
769
|
+
* userId: "usr_2c4e"
|
|
770
|
+
* })
|
|
771
|
+
*/
|
|
772
|
+
addEventHost(eventId, request, requestOptions) {
|
|
773
|
+
return core.HttpResponsePromise.fromPromise(this.__addEventHost(eventId, request, requestOptions));
|
|
774
|
+
}
|
|
775
|
+
__addEventHost(eventId, request, requestOptions) {
|
|
776
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
777
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
778
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
779
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
780
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
781
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts/users`),
|
|
782
|
+
method: "POST",
|
|
783
|
+
headers: _headers,
|
|
784
|
+
contentType: "application/json",
|
|
785
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
786
|
+
requestType: "json",
|
|
787
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.AddEventHostRequest.jsonOrThrow(request, {
|
|
788
|
+
unrecognizedObjectKeys: "strip",
|
|
789
|
+
omitUndefined: true,
|
|
790
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
791
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
792
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
793
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
794
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
795
|
+
logging: this._options.logging,
|
|
796
|
+
});
|
|
797
|
+
if (_response.ok) {
|
|
798
|
+
return {
|
|
799
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
800
|
+
unrecognizedObjectKeys: "passthrough",
|
|
801
|
+
allowUnrecognizedUnionMembers: true,
|
|
802
|
+
allowUnrecognizedEnumValues: true,
|
|
803
|
+
skipValidation: true,
|
|
804
|
+
breadcrumbsPrefix: ["response"],
|
|
805
|
+
}),
|
|
806
|
+
rawResponse: _response.rawResponse,
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
if (_response.error.reason === "status-code") {
|
|
810
|
+
switch (_response.error.statusCode) {
|
|
811
|
+
case 403:
|
|
812
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
813
|
+
unrecognizedObjectKeys: "passthrough",
|
|
814
|
+
allowUnrecognizedUnionMembers: true,
|
|
815
|
+
allowUnrecognizedEnumValues: true,
|
|
816
|
+
skipValidation: true,
|
|
817
|
+
breadcrumbsPrefix: ["response"],
|
|
818
|
+
}), _response.rawResponse);
|
|
819
|
+
case 404:
|
|
820
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
821
|
+
unrecognizedObjectKeys: "passthrough",
|
|
822
|
+
allowUnrecognizedUnionMembers: true,
|
|
823
|
+
allowUnrecognizedEnumValues: true,
|
|
824
|
+
skipValidation: true,
|
|
825
|
+
breadcrumbsPrefix: ["response"],
|
|
826
|
+
}), _response.rawResponse);
|
|
827
|
+
case 422:
|
|
828
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
829
|
+
unrecognizedObjectKeys: "passthrough",
|
|
830
|
+
allowUnrecognizedUnionMembers: true,
|
|
831
|
+
allowUnrecognizedEnumValues: true,
|
|
832
|
+
skipValidation: true,
|
|
833
|
+
breadcrumbsPrefix: ["response"],
|
|
834
|
+
}), _response.rawResponse);
|
|
835
|
+
case 429:
|
|
836
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
837
|
+
unrecognizedObjectKeys: "passthrough",
|
|
838
|
+
allowUnrecognizedUnionMembers: true,
|
|
839
|
+
allowUnrecognizedEnumValues: true,
|
|
840
|
+
skipValidation: true,
|
|
841
|
+
breadcrumbsPrefix: ["response"],
|
|
842
|
+
}), _response.rawResponse);
|
|
843
|
+
default:
|
|
844
|
+
throw new errors.TaktoriaError({
|
|
845
|
+
statusCode: _response.error.statusCode,
|
|
846
|
+
body: _response.error.body,
|
|
847
|
+
rawResponse: _response.rawResponse,
|
|
848
|
+
});
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/hosts/users");
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* Take one person off the event's list. A signed-in caller taking
|
|
856
|
+
* themselves off is refused (`422 would_lock_out`) unless something
|
|
857
|
+
* else keeps them on: being an app admin of Dory or the event's creator, a listed
|
|
858
|
+
* team they are on (or a team inside one), or the lists becoming
|
|
859
|
+
* empty, which opens the event to everyone with a Dory seat. Somebody
|
|
860
|
+
* not on the list is nothing to take off. Answers with both lists.
|
|
861
|
+
* Needs `events:write`.
|
|
862
|
+
*
|
|
863
|
+
* @param {string} eventId
|
|
864
|
+
* @param {string} userId
|
|
865
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
866
|
+
*
|
|
867
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
868
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
869
|
+
* @throws {@link Taktoria.ValidationError}
|
|
870
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
871
|
+
* @throws {@link errors.TaktoriaError}
|
|
872
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
873
|
+
*
|
|
874
|
+
* @example
|
|
875
|
+
* await client.dory.removeEventHost("eventId", "userId")
|
|
876
|
+
*/
|
|
877
|
+
removeEventHost(eventId, userId, requestOptions) {
|
|
878
|
+
return core.HttpResponsePromise.fromPromise(this.__removeEventHost(eventId, userId, requestOptions));
|
|
879
|
+
}
|
|
880
|
+
__removeEventHost(eventId, userId, requestOptions) {
|
|
881
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
882
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
883
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
884
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
885
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
886
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts/users/${core.url.encodePathParam(userId)}`),
|
|
887
|
+
method: "DELETE",
|
|
888
|
+
headers: _headers,
|
|
889
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
890
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
891
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
892
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
893
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
894
|
+
logging: this._options.logging,
|
|
895
|
+
});
|
|
896
|
+
if (_response.ok) {
|
|
897
|
+
return {
|
|
898
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
899
|
+
unrecognizedObjectKeys: "passthrough",
|
|
900
|
+
allowUnrecognizedUnionMembers: true,
|
|
901
|
+
allowUnrecognizedEnumValues: true,
|
|
902
|
+
skipValidation: true,
|
|
903
|
+
breadcrumbsPrefix: ["response"],
|
|
904
|
+
}),
|
|
905
|
+
rawResponse: _response.rawResponse,
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
if (_response.error.reason === "status-code") {
|
|
909
|
+
switch (_response.error.statusCode) {
|
|
910
|
+
case 403:
|
|
911
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
912
|
+
unrecognizedObjectKeys: "passthrough",
|
|
913
|
+
allowUnrecognizedUnionMembers: true,
|
|
914
|
+
allowUnrecognizedEnumValues: true,
|
|
915
|
+
skipValidation: true,
|
|
916
|
+
breadcrumbsPrefix: ["response"],
|
|
917
|
+
}), _response.rawResponse);
|
|
918
|
+
case 404:
|
|
919
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
920
|
+
unrecognizedObjectKeys: "passthrough",
|
|
921
|
+
allowUnrecognizedUnionMembers: true,
|
|
922
|
+
allowUnrecognizedEnumValues: true,
|
|
923
|
+
skipValidation: true,
|
|
924
|
+
breadcrumbsPrefix: ["response"],
|
|
925
|
+
}), _response.rawResponse);
|
|
926
|
+
case 422:
|
|
927
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
928
|
+
unrecognizedObjectKeys: "passthrough",
|
|
929
|
+
allowUnrecognizedUnionMembers: true,
|
|
930
|
+
allowUnrecognizedEnumValues: true,
|
|
931
|
+
skipValidation: true,
|
|
932
|
+
breadcrumbsPrefix: ["response"],
|
|
933
|
+
}), _response.rawResponse);
|
|
934
|
+
case 429:
|
|
935
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
936
|
+
unrecognizedObjectKeys: "passthrough",
|
|
937
|
+
allowUnrecognizedUnionMembers: true,
|
|
938
|
+
allowUnrecognizedEnumValues: true,
|
|
939
|
+
skipValidation: true,
|
|
940
|
+
breadcrumbsPrefix: ["response"],
|
|
941
|
+
}), _response.rawResponse);
|
|
942
|
+
default:
|
|
943
|
+
throw new errors.TaktoriaError({
|
|
944
|
+
statusCode: _response.error.statusCode,
|
|
945
|
+
body: _response.error.body,
|
|
946
|
+
rawResponse: _response.rawResponse,
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/dory/events/{eventId}/hosts/users/{userId}");
|
|
951
|
+
});
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* Let a team run the event: everyone on it, and on any team inside it.
|
|
955
|
+
* Like a person, the first team named closes an open event to the rest
|
|
956
|
+
* of the workspace, and is refused (`422 would_lock_out`) for a
|
|
957
|
+
* signed-in caller it would leave out. Answers with both lists. Needs
|
|
958
|
+
* `events:write`.
|
|
959
|
+
*
|
|
960
|
+
* @param {string} eventId
|
|
961
|
+
* @param {Taktoria.AddEventHostTeamRequest} request
|
|
962
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
963
|
+
*
|
|
964
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
965
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
966
|
+
* @throws {@link Taktoria.ValidationError}
|
|
967
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
968
|
+
* @throws {@link errors.TaktoriaError}
|
|
969
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* await client.dory.addEventHostTeam("eventId", {
|
|
973
|
+
* teamId: "teamId"
|
|
974
|
+
* })
|
|
975
|
+
*/
|
|
976
|
+
addEventHostTeam(eventId, request, requestOptions) {
|
|
977
|
+
return core.HttpResponsePromise.fromPromise(this.__addEventHostTeam(eventId, request, requestOptions));
|
|
978
|
+
}
|
|
979
|
+
__addEventHostTeam(eventId, request, requestOptions) {
|
|
980
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
981
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
982
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
983
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
984
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
985
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts/teams`),
|
|
986
|
+
method: "POST",
|
|
987
|
+
headers: _headers,
|
|
988
|
+
contentType: "application/json",
|
|
989
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
990
|
+
requestType: "json",
|
|
991
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.AddEventHostTeamRequest.jsonOrThrow(request, {
|
|
992
|
+
unrecognizedObjectKeys: "strip",
|
|
993
|
+
omitUndefined: true,
|
|
994
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
995
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
996
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
997
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
998
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
999
|
+
logging: this._options.logging,
|
|
1000
|
+
});
|
|
1001
|
+
if (_response.ok) {
|
|
1002
|
+
return {
|
|
1003
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
1004
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1005
|
+
allowUnrecognizedUnionMembers: true,
|
|
1006
|
+
allowUnrecognizedEnumValues: true,
|
|
1007
|
+
skipValidation: true,
|
|
1008
|
+
breadcrumbsPrefix: ["response"],
|
|
1009
|
+
}),
|
|
1010
|
+
rawResponse: _response.rawResponse,
|
|
1011
|
+
};
|
|
1012
|
+
}
|
|
1013
|
+
if (_response.error.reason === "status-code") {
|
|
1014
|
+
switch (_response.error.statusCode) {
|
|
1015
|
+
case 403:
|
|
1016
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1017
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1018
|
+
allowUnrecognizedUnionMembers: true,
|
|
1019
|
+
allowUnrecognizedEnumValues: true,
|
|
1020
|
+
skipValidation: true,
|
|
1021
|
+
breadcrumbsPrefix: ["response"],
|
|
1022
|
+
}), _response.rawResponse);
|
|
1023
|
+
case 404:
|
|
1024
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1025
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1026
|
+
allowUnrecognizedUnionMembers: true,
|
|
1027
|
+
allowUnrecognizedEnumValues: true,
|
|
1028
|
+
skipValidation: true,
|
|
1029
|
+
breadcrumbsPrefix: ["response"],
|
|
1030
|
+
}), _response.rawResponse);
|
|
1031
|
+
case 422:
|
|
1032
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1033
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1034
|
+
allowUnrecognizedUnionMembers: true,
|
|
1035
|
+
allowUnrecognizedEnumValues: true,
|
|
1036
|
+
skipValidation: true,
|
|
1037
|
+
breadcrumbsPrefix: ["response"],
|
|
1038
|
+
}), _response.rawResponse);
|
|
1039
|
+
case 429:
|
|
1040
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1041
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1042
|
+
allowUnrecognizedUnionMembers: true,
|
|
1043
|
+
allowUnrecognizedEnumValues: true,
|
|
1044
|
+
skipValidation: true,
|
|
1045
|
+
breadcrumbsPrefix: ["response"],
|
|
1046
|
+
}), _response.rawResponse);
|
|
1047
|
+
default:
|
|
1048
|
+
throw new errors.TaktoriaError({
|
|
1049
|
+
statusCode: _response.error.statusCode,
|
|
1050
|
+
body: _response.error.body,
|
|
1051
|
+
rawResponse: _response.rawResponse,
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/hosts/teams");
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Take one team off the event's list, unless that leaves the signed-in
|
|
1060
|
+
* caller unable to run it (`422 would_lock_out`): the team was how they
|
|
1061
|
+
* ran it, and nothing else keeps them on. A team not on the list is
|
|
1062
|
+
* nothing to take off. Answers with both lists. Needs `events:write`.
|
|
1063
|
+
*
|
|
1064
|
+
* @param {string} eventId
|
|
1065
|
+
* @param {string} teamId
|
|
1066
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1067
|
+
*
|
|
1068
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1069
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1070
|
+
* @throws {@link Taktoria.ValidationError}
|
|
1071
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1072
|
+
* @throws {@link errors.TaktoriaError}
|
|
1073
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1074
|
+
*
|
|
1075
|
+
* @example
|
|
1076
|
+
* await client.dory.removeEventHostTeam("eventId", "teamId")
|
|
1077
|
+
*/
|
|
1078
|
+
removeEventHostTeam(eventId, teamId, requestOptions) {
|
|
1079
|
+
return core.HttpResponsePromise.fromPromise(this.__removeEventHostTeam(eventId, teamId, requestOptions));
|
|
1080
|
+
}
|
|
1081
|
+
__removeEventHostTeam(eventId, teamId, requestOptions) {
|
|
1082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1083
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1084
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1085
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1086
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1087
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/hosts/teams/${core.url.encodePathParam(teamId)}`),
|
|
1088
|
+
method: "DELETE",
|
|
1089
|
+
headers: _headers,
|
|
1090
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1091
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1092
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1093
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1094
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1095
|
+
logging: this._options.logging,
|
|
1096
|
+
});
|
|
1097
|
+
if (_response.ok) {
|
|
1098
|
+
return {
|
|
1099
|
+
data: serializers.EventHosts.parseOrThrow(_response.body, {
|
|
1100
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1101
|
+
allowUnrecognizedUnionMembers: true,
|
|
1102
|
+
allowUnrecognizedEnumValues: true,
|
|
1103
|
+
skipValidation: true,
|
|
1104
|
+
breadcrumbsPrefix: ["response"],
|
|
1105
|
+
}),
|
|
1106
|
+
rawResponse: _response.rawResponse,
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
if (_response.error.reason === "status-code") {
|
|
1110
|
+
switch (_response.error.statusCode) {
|
|
1111
|
+
case 403:
|
|
1112
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1114
|
+
allowUnrecognizedUnionMembers: true,
|
|
1115
|
+
allowUnrecognizedEnumValues: true,
|
|
1116
|
+
skipValidation: true,
|
|
1117
|
+
breadcrumbsPrefix: ["response"],
|
|
1118
|
+
}), _response.rawResponse);
|
|
1119
|
+
case 404:
|
|
1120
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1121
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1122
|
+
allowUnrecognizedUnionMembers: true,
|
|
1123
|
+
allowUnrecognizedEnumValues: true,
|
|
1124
|
+
skipValidation: true,
|
|
1125
|
+
breadcrumbsPrefix: ["response"],
|
|
1126
|
+
}), _response.rawResponse);
|
|
1127
|
+
case 422:
|
|
1128
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1129
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1130
|
+
allowUnrecognizedUnionMembers: true,
|
|
1131
|
+
allowUnrecognizedEnumValues: true,
|
|
1132
|
+
skipValidation: true,
|
|
1133
|
+
breadcrumbsPrefix: ["response"],
|
|
1134
|
+
}), _response.rawResponse);
|
|
1135
|
+
case 429:
|
|
1136
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1137
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1138
|
+
allowUnrecognizedUnionMembers: true,
|
|
1139
|
+
allowUnrecognizedEnumValues: true,
|
|
1140
|
+
skipValidation: true,
|
|
1141
|
+
breadcrumbsPrefix: ["response"],
|
|
1142
|
+
}), _response.rawResponse);
|
|
1143
|
+
default:
|
|
1144
|
+
throw new errors.TaktoriaError({
|
|
1145
|
+
statusCode: _response.error.statusCode,
|
|
1146
|
+
body: _response.error.body,
|
|
1147
|
+
rawResponse: _response.rawResponse,
|
|
1148
|
+
});
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/dory/events/{eventId}/hosts/teams/{teamId}");
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* Archive the event, unless `permanent=true`. Archiving is not a
|
|
1156
|
+
* delete: its questions and poll results are the record of what a room
|
|
1157
|
+
* asked, and an overage already billed points at the row. An archived
|
|
1158
|
+
* event leaves the list (see `archived` on `GET /events`), keeps its
|
|
1159
|
+
* code and everything in it, and comes back with
|
|
1160
|
+
* `POST /events/{eventId}/restore`.
|
|
1161
|
+
*
|
|
1162
|
+
* **`permanent=true` deletes the event for good, and cannot be
|
|
1163
|
+
* undone.** Every question, vote, poll, poll answer and participant in
|
|
1164
|
+
* it goes with it, as the console's **Delete event** does. Archive
|
|
1165
|
+
* instead unless the record really should go. Needs `events:write`;
|
|
1166
|
+
* a session deletes only an event that person may run.
|
|
1167
|
+
*
|
|
1168
|
+
* @param {string} eventId
|
|
1169
|
+
* @param {Taktoria.ArchiveEventRequest} request
|
|
1170
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1171
|
+
*
|
|
1172
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1173
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1174
|
+
* @throws {@link Taktoria.ValidationError}
|
|
1175
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1176
|
+
* @throws {@link errors.TaktoriaError}
|
|
1177
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1178
|
+
*
|
|
1179
|
+
* @example
|
|
1180
|
+
* await client.dory.archiveEvent("evt_7f3a", {
|
|
1181
|
+
* permanent: true
|
|
1182
|
+
* })
|
|
1183
|
+
*/
|
|
1184
|
+
archiveEvent(eventId, request = {}, requestOptions) {
|
|
1185
|
+
return core.HttpResponsePromise.fromPromise(this.__archiveEvent(eventId, request, requestOptions));
|
|
1186
|
+
}
|
|
1187
|
+
__archiveEvent(eventId_1) {
|
|
1188
|
+
return __awaiter(this, arguments, void 0, function* (eventId, request = {}, requestOptions) {
|
|
1189
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1190
|
+
const { permanent } = request;
|
|
1191
|
+
const _queryParams = {
|
|
1192
|
+
permanent,
|
|
1193
|
+
};
|
|
1194
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1195
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1196
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1197
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}`),
|
|
1198
|
+
method: "DELETE",
|
|
1199
|
+
headers: _headers,
|
|
1200
|
+
queryString: core.url
|
|
1201
|
+
.queryBuilder()
|
|
1202
|
+
.addMany(_queryParams)
|
|
1203
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1204
|
+
.build(),
|
|
1205
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1206
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1207
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1208
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1209
|
+
logging: this._options.logging,
|
|
1210
|
+
});
|
|
1211
|
+
if (_response.ok) {
|
|
1212
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
1213
|
+
}
|
|
1214
|
+
if (_response.error.reason === "status-code") {
|
|
1215
|
+
switch (_response.error.statusCode) {
|
|
1216
|
+
case 403:
|
|
1217
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1218
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1219
|
+
allowUnrecognizedUnionMembers: true,
|
|
1220
|
+
allowUnrecognizedEnumValues: true,
|
|
1221
|
+
skipValidation: true,
|
|
1222
|
+
breadcrumbsPrefix: ["response"],
|
|
1223
|
+
}), _response.rawResponse);
|
|
1224
|
+
case 404:
|
|
1225
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1226
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1227
|
+
allowUnrecognizedUnionMembers: true,
|
|
1228
|
+
allowUnrecognizedEnumValues: true,
|
|
1229
|
+
skipValidation: true,
|
|
1230
|
+
breadcrumbsPrefix: ["response"],
|
|
1231
|
+
}), _response.rawResponse);
|
|
1232
|
+
case 422:
|
|
1233
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1234
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1235
|
+
allowUnrecognizedUnionMembers: true,
|
|
1236
|
+
allowUnrecognizedEnumValues: true,
|
|
1237
|
+
skipValidation: true,
|
|
1238
|
+
breadcrumbsPrefix: ["response"],
|
|
1239
|
+
}), _response.rawResponse);
|
|
1240
|
+
case 429:
|
|
1241
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1242
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1243
|
+
allowUnrecognizedUnionMembers: true,
|
|
1244
|
+
allowUnrecognizedEnumValues: true,
|
|
1245
|
+
skipValidation: true,
|
|
1246
|
+
breadcrumbsPrefix: ["response"],
|
|
1247
|
+
}), _response.rawResponse);
|
|
1248
|
+
default:
|
|
1249
|
+
throw new errors.TaktoriaError({
|
|
1250
|
+
statusCode: _response.error.statusCode,
|
|
1251
|
+
body: _response.error.body,
|
|
1252
|
+
rawResponse: _response.rawResponse,
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/dory/events/{eventId}");
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Bring an archived event back into the list, as the console's
|
|
1261
|
+
* **Restore**. Nothing else changes, since archiving changed nothing
|
|
1262
|
+
* else. An event that is not archived is answered as it is. Needs
|
|
1263
|
+
* `events:write`.
|
|
1264
|
+
*
|
|
1265
|
+
* @param {string} eventId
|
|
1266
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1267
|
+
*
|
|
1268
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1269
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1270
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
1271
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1272
|
+
* @throws {@link errors.TaktoriaError}
|
|
1273
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1274
|
+
*
|
|
1275
|
+
* @example
|
|
1276
|
+
* await client.dory.restoreEvent("eventId")
|
|
1277
|
+
*/
|
|
1278
|
+
restoreEvent(eventId, requestOptions) {
|
|
1279
|
+
return core.HttpResponsePromise.fromPromise(this.__restoreEvent(eventId, requestOptions));
|
|
1280
|
+
}
|
|
1281
|
+
__restoreEvent(eventId, requestOptions) {
|
|
1282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1283
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1284
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1285
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1286
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1287
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/restore`),
|
|
1288
|
+
method: "POST",
|
|
1289
|
+
headers: _headers,
|
|
1290
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1291
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1292
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1293
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1294
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1295
|
+
logging: this._options.logging,
|
|
1296
|
+
});
|
|
1297
|
+
if (_response.ok) {
|
|
1298
|
+
return {
|
|
1299
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
1300
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1301
|
+
allowUnrecognizedUnionMembers: true,
|
|
1302
|
+
allowUnrecognizedEnumValues: true,
|
|
1303
|
+
skipValidation: true,
|
|
1304
|
+
breadcrumbsPrefix: ["response"],
|
|
1305
|
+
}),
|
|
1306
|
+
rawResponse: _response.rawResponse,
|
|
1307
|
+
};
|
|
1308
|
+
}
|
|
1309
|
+
if (_response.error.reason === "status-code") {
|
|
1310
|
+
switch (_response.error.statusCode) {
|
|
1311
|
+
case 403:
|
|
1312
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1313
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1314
|
+
allowUnrecognizedUnionMembers: true,
|
|
1315
|
+
allowUnrecognizedEnumValues: true,
|
|
1316
|
+
skipValidation: true,
|
|
1317
|
+
breadcrumbsPrefix: ["response"],
|
|
1318
|
+
}), _response.rawResponse);
|
|
1319
|
+
case 404:
|
|
1320
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1321
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1322
|
+
allowUnrecognizedUnionMembers: true,
|
|
1323
|
+
allowUnrecognizedEnumValues: true,
|
|
1324
|
+
skipValidation: true,
|
|
1325
|
+
breadcrumbsPrefix: ["response"],
|
|
1326
|
+
}), _response.rawResponse);
|
|
1327
|
+
case 402:
|
|
1328
|
+
throw new Taktoria.SubscriptionRequiredError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1329
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1330
|
+
allowUnrecognizedUnionMembers: true,
|
|
1331
|
+
allowUnrecognizedEnumValues: true,
|
|
1332
|
+
skipValidation: true,
|
|
1333
|
+
breadcrumbsPrefix: ["response"],
|
|
1334
|
+
}), _response.rawResponse);
|
|
1335
|
+
case 429:
|
|
1336
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1337
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1338
|
+
allowUnrecognizedUnionMembers: true,
|
|
1339
|
+
allowUnrecognizedEnumValues: true,
|
|
1340
|
+
skipValidation: true,
|
|
1341
|
+
breadcrumbsPrefix: ["response"],
|
|
1342
|
+
}), _response.rawResponse);
|
|
1343
|
+
default:
|
|
1344
|
+
throw new errors.TaktoriaError({
|
|
1345
|
+
statusCode: _response.error.statusCode,
|
|
1346
|
+
body: _response.error.body,
|
|
1347
|
+
rawResponse: _response.rawResponse,
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/restore");
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Open the event now rather than at its start, as the console's
|
|
1356
|
+
* **Start now**: it goes LIVE with `startsAt` set to now, a
|
|
1357
|
+
* `questionsOpenAt` still ahead moves to now, and an `endsAt` or
|
|
1358
|
+
* `questionsCloseAt` already passed is cleared, or the event would be
|
|
1359
|
+
* over the moment it opened. An ended event is `409 conflict`: reopen it
|
|
1360
|
+
* with `PATCH` and `status: LIVE`. Needs `events:write`.
|
|
1361
|
+
*
|
|
1362
|
+
* @param {string} eventId
|
|
1363
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1364
|
+
*
|
|
1365
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1366
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1367
|
+
* @throws {@link Taktoria.ConflictError}
|
|
1368
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1369
|
+
* @throws {@link errors.TaktoriaError}
|
|
1370
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1371
|
+
*
|
|
1372
|
+
* @example
|
|
1373
|
+
* await client.dory.startEvent("eventId")
|
|
1374
|
+
*/
|
|
1375
|
+
startEvent(eventId, requestOptions) {
|
|
1376
|
+
return core.HttpResponsePromise.fromPromise(this.__startEvent(eventId, requestOptions));
|
|
1377
|
+
}
|
|
1378
|
+
__startEvent(eventId, requestOptions) {
|
|
1379
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1380
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1381
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1382
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1383
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1384
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/start`),
|
|
1385
|
+
method: "POST",
|
|
1386
|
+
headers: _headers,
|
|
1387
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1388
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1389
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1390
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1391
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1392
|
+
logging: this._options.logging,
|
|
1393
|
+
});
|
|
1394
|
+
if (_response.ok) {
|
|
1395
|
+
return {
|
|
1396
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
1397
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1398
|
+
allowUnrecognizedUnionMembers: true,
|
|
1399
|
+
allowUnrecognizedEnumValues: true,
|
|
1400
|
+
skipValidation: true,
|
|
1401
|
+
breadcrumbsPrefix: ["response"],
|
|
1402
|
+
}),
|
|
1403
|
+
rawResponse: _response.rawResponse,
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
if (_response.error.reason === "status-code") {
|
|
1407
|
+
switch (_response.error.statusCode) {
|
|
1408
|
+
case 403:
|
|
1409
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1410
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1411
|
+
allowUnrecognizedUnionMembers: true,
|
|
1412
|
+
allowUnrecognizedEnumValues: true,
|
|
1413
|
+
skipValidation: true,
|
|
1414
|
+
breadcrumbsPrefix: ["response"],
|
|
1415
|
+
}), _response.rawResponse);
|
|
1416
|
+
case 404:
|
|
1417
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1418
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1419
|
+
allowUnrecognizedUnionMembers: true,
|
|
1420
|
+
allowUnrecognizedEnumValues: true,
|
|
1421
|
+
skipValidation: true,
|
|
1422
|
+
breadcrumbsPrefix: ["response"],
|
|
1423
|
+
}), _response.rawResponse);
|
|
1424
|
+
case 409:
|
|
1425
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1426
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1427
|
+
allowUnrecognizedUnionMembers: true,
|
|
1428
|
+
allowUnrecognizedEnumValues: true,
|
|
1429
|
+
skipValidation: true,
|
|
1430
|
+
breadcrumbsPrefix: ["response"],
|
|
1431
|
+
}), _response.rawResponse);
|
|
1432
|
+
case 429:
|
|
1433
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1434
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1435
|
+
allowUnrecognizedUnionMembers: true,
|
|
1436
|
+
allowUnrecognizedEnumValues: true,
|
|
1437
|
+
skipValidation: true,
|
|
1438
|
+
breadcrumbsPrefix: ["response"],
|
|
1439
|
+
}), _response.rawResponse);
|
|
1440
|
+
default:
|
|
1441
|
+
throw new errors.TaktoriaError({
|
|
1442
|
+
statusCode: _response.error.statusCode,
|
|
1443
|
+
body: _response.error.body,
|
|
1444
|
+
rawResponse: _response.rawResponse,
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/start");
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
/**
|
|
1452
|
+
* Fifteen more minutes for a meeting running late, as the console's
|
|
1453
|
+
* **Extend 15 minutes**: added to whichever of `endsAt` and
|
|
1454
|
+
* `questionsCloseAt` closes the event (the later), or to now if that has
|
|
1455
|
+
* just passed. Questions that close before the end stay closed. Only for
|
|
1456
|
+
* an event not ended with one of them set (`409 conflict` otherwise).
|
|
1457
|
+
* Each call adds another fifteen minutes; to set a particular time,
|
|
1458
|
+
* `PATCH` it. Needs `events:write`.
|
|
1459
|
+
*
|
|
1460
|
+
* @param {string} eventId
|
|
1461
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1462
|
+
*
|
|
1463
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1464
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1465
|
+
* @throws {@link Taktoria.ConflictError}
|
|
1466
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1467
|
+
* @throws {@link errors.TaktoriaError}
|
|
1468
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1469
|
+
*
|
|
1470
|
+
* @example
|
|
1471
|
+
* await client.dory.extendEvent("eventId")
|
|
1472
|
+
*/
|
|
1473
|
+
extendEvent(eventId, requestOptions) {
|
|
1474
|
+
return core.HttpResponsePromise.fromPromise(this.__extendEvent(eventId, requestOptions));
|
|
1475
|
+
}
|
|
1476
|
+
__extendEvent(eventId, requestOptions) {
|
|
1477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1478
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1479
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1480
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1481
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1482
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/extend`),
|
|
1483
|
+
method: "POST",
|
|
1484
|
+
headers: _headers,
|
|
1485
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1486
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1487
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1488
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1489
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1490
|
+
logging: this._options.logging,
|
|
1491
|
+
});
|
|
1492
|
+
if (_response.ok) {
|
|
1493
|
+
return {
|
|
1494
|
+
data: serializers.Event.parseOrThrow(_response.body, {
|
|
1495
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1496
|
+
allowUnrecognizedUnionMembers: true,
|
|
1497
|
+
allowUnrecognizedEnumValues: true,
|
|
1498
|
+
skipValidation: true,
|
|
1499
|
+
breadcrumbsPrefix: ["response"],
|
|
1500
|
+
}),
|
|
1501
|
+
rawResponse: _response.rawResponse,
|
|
1502
|
+
};
|
|
1503
|
+
}
|
|
1504
|
+
if (_response.error.reason === "status-code") {
|
|
1505
|
+
switch (_response.error.statusCode) {
|
|
1506
|
+
case 403:
|
|
1507
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1508
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1509
|
+
allowUnrecognizedUnionMembers: true,
|
|
1510
|
+
allowUnrecognizedEnumValues: true,
|
|
1511
|
+
skipValidation: true,
|
|
1512
|
+
breadcrumbsPrefix: ["response"],
|
|
1513
|
+
}), _response.rawResponse);
|
|
1514
|
+
case 404:
|
|
1515
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1516
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1517
|
+
allowUnrecognizedUnionMembers: true,
|
|
1518
|
+
allowUnrecognizedEnumValues: true,
|
|
1519
|
+
skipValidation: true,
|
|
1520
|
+
breadcrumbsPrefix: ["response"],
|
|
1521
|
+
}), _response.rawResponse);
|
|
1522
|
+
case 409:
|
|
1523
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1524
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1525
|
+
allowUnrecognizedUnionMembers: true,
|
|
1526
|
+
allowUnrecognizedEnumValues: true,
|
|
1527
|
+
skipValidation: true,
|
|
1528
|
+
breadcrumbsPrefix: ["response"],
|
|
1529
|
+
}), _response.rawResponse);
|
|
1530
|
+
case 429:
|
|
1531
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1532
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1533
|
+
allowUnrecognizedUnionMembers: true,
|
|
1534
|
+
allowUnrecognizedEnumValues: true,
|
|
1535
|
+
skipValidation: true,
|
|
1536
|
+
breadcrumbsPrefix: ["response"],
|
|
1537
|
+
}), _response.rawResponse);
|
|
1538
|
+
default:
|
|
1539
|
+
throw new errors.TaktoriaError({
|
|
1540
|
+
statusCode: _response.error.statusCode,
|
|
1541
|
+
body: _response.error.body,
|
|
1542
|
+
rawResponse: _response.rawResponse,
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/extend");
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Where attendees join: the link to hand out, the code they could type
|
|
1551
|
+
* instead, and whether they need a passcode too. With `qr=true`, the
|
|
1552
|
+
* link as an SVG QR code as well, for a slide or a poster. Needs
|
|
1553
|
+
* `events:read`.
|
|
1554
|
+
*
|
|
1555
|
+
* @param {string} eventId
|
|
1556
|
+
* @param {Taktoria.GetEventJoinLinkRequest} request
|
|
1557
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1558
|
+
*
|
|
1559
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1560
|
+
* @throws {@link Taktoria.ValidationError}
|
|
1561
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1562
|
+
* @throws {@link errors.TaktoriaError}
|
|
1563
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1564
|
+
*
|
|
1565
|
+
* @example
|
|
1566
|
+
* await client.dory.getEventJoinLink("evt_7f3a")
|
|
1567
|
+
*/
|
|
1568
|
+
getEventJoinLink(eventId, request = {}, requestOptions) {
|
|
1569
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventJoinLink(eventId, request, requestOptions));
|
|
1570
|
+
}
|
|
1571
|
+
__getEventJoinLink(eventId_1) {
|
|
1572
|
+
return __awaiter(this, arguments, void 0, function* (eventId, request = {}, requestOptions) {
|
|
1573
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1574
|
+
const { qr, size } = request;
|
|
1575
|
+
const _queryParams = {
|
|
1576
|
+
qr,
|
|
1577
|
+
size,
|
|
1578
|
+
};
|
|
1579
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1580
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1581
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1582
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/join`),
|
|
1583
|
+
method: "GET",
|
|
1584
|
+
headers: _headers,
|
|
1585
|
+
queryString: core.url
|
|
1586
|
+
.queryBuilder()
|
|
1587
|
+
.addMany(_queryParams)
|
|
1588
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1589
|
+
.build(),
|
|
1590
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1591
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1592
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1593
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1594
|
+
logging: this._options.logging,
|
|
1595
|
+
});
|
|
1596
|
+
if (_response.ok) {
|
|
1597
|
+
return {
|
|
1598
|
+
data: serializers.EventJoinLink.parseOrThrow(_response.body, {
|
|
1599
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1600
|
+
allowUnrecognizedUnionMembers: true,
|
|
1601
|
+
allowUnrecognizedEnumValues: true,
|
|
1602
|
+
skipValidation: true,
|
|
1603
|
+
breadcrumbsPrefix: ["response"],
|
|
1604
|
+
}),
|
|
1605
|
+
rawResponse: _response.rawResponse,
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
if (_response.error.reason === "status-code") {
|
|
1609
|
+
switch (_response.error.statusCode) {
|
|
1610
|
+
case 404:
|
|
1611
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1612
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1613
|
+
allowUnrecognizedUnionMembers: true,
|
|
1614
|
+
allowUnrecognizedEnumValues: true,
|
|
1615
|
+
skipValidation: true,
|
|
1616
|
+
breadcrumbsPrefix: ["response"],
|
|
1617
|
+
}), _response.rawResponse);
|
|
1618
|
+
case 422:
|
|
1619
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1620
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1621
|
+
allowUnrecognizedUnionMembers: true,
|
|
1622
|
+
allowUnrecognizedEnumValues: true,
|
|
1623
|
+
skipValidation: true,
|
|
1624
|
+
breadcrumbsPrefix: ["response"],
|
|
1625
|
+
}), _response.rawResponse);
|
|
1626
|
+
case 429:
|
|
1627
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1628
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1629
|
+
allowUnrecognizedUnionMembers: true,
|
|
1630
|
+
allowUnrecognizedEnumValues: true,
|
|
1631
|
+
skipValidation: true,
|
|
1632
|
+
breadcrumbsPrefix: ["response"],
|
|
1633
|
+
}), _response.rawResponse);
|
|
1634
|
+
default:
|
|
1635
|
+
throw new errors.TaktoriaError({
|
|
1636
|
+
statusCode: _response.error.statusCode,
|
|
1637
|
+
body: _response.error.body,
|
|
1638
|
+
rawResponse: _response.rawResponse,
|
|
1639
|
+
});
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/join");
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
* The event for a calendar and a meeting invite, as the console's
|
|
1647
|
+
* **Add to calendar** gives it: the lines to paste into an invite,
|
|
1648
|
+
* links that open Google Calendar's and Outlook's new-event pages
|
|
1649
|
+
* filled in, and the .ics file, each with the join link and code from
|
|
1650
|
+
* `getEventJoinLink`, never the passcode. An event with no `startsAt`
|
|
1651
|
+
* has the invite text only. In the signed-in person's language,
|
|
1652
|
+
* English for a key. Needs `events:read`.
|
|
1653
|
+
*
|
|
1654
|
+
* @param {string} eventId
|
|
1655
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1656
|
+
*
|
|
1657
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1658
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1659
|
+
* @throws {@link errors.TaktoriaError}
|
|
1660
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1661
|
+
*
|
|
1662
|
+
* @example
|
|
1663
|
+
* await client.dory.getEventCalendarInvite("evt_7f3a")
|
|
1664
|
+
*/
|
|
1665
|
+
getEventCalendarInvite(eventId, requestOptions) {
|
|
1666
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventCalendarInvite(eventId, requestOptions));
|
|
1667
|
+
}
|
|
1668
|
+
__getEventCalendarInvite(eventId, requestOptions) {
|
|
1669
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1670
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1671
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1672
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1673
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1674
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/calendar-invite`),
|
|
1675
|
+
method: "GET",
|
|
1676
|
+
headers: _headers,
|
|
1677
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1678
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1679
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1680
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1681
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1682
|
+
logging: this._options.logging,
|
|
1683
|
+
});
|
|
1684
|
+
if (_response.ok) {
|
|
1685
|
+
return {
|
|
1686
|
+
data: serializers.EventCalendarInvite.parseOrThrow(_response.body, {
|
|
1687
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1688
|
+
allowUnrecognizedUnionMembers: true,
|
|
1689
|
+
allowUnrecognizedEnumValues: true,
|
|
1690
|
+
skipValidation: true,
|
|
1691
|
+
breadcrumbsPrefix: ["response"],
|
|
1692
|
+
}),
|
|
1693
|
+
rawResponse: _response.rawResponse,
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
if (_response.error.reason === "status-code") {
|
|
1697
|
+
switch (_response.error.statusCode) {
|
|
1698
|
+
case 404:
|
|
1699
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1700
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1701
|
+
allowUnrecognizedUnionMembers: true,
|
|
1702
|
+
allowUnrecognizedEnumValues: true,
|
|
1703
|
+
skipValidation: true,
|
|
1704
|
+
breadcrumbsPrefix: ["response"],
|
|
1705
|
+
}), _response.rawResponse);
|
|
1706
|
+
case 429:
|
|
1707
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1708
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1709
|
+
allowUnrecognizedUnionMembers: true,
|
|
1710
|
+
allowUnrecognizedEnumValues: true,
|
|
1711
|
+
skipValidation: true,
|
|
1712
|
+
breadcrumbsPrefix: ["response"],
|
|
1713
|
+
}), _response.rawResponse);
|
|
1714
|
+
default:
|
|
1715
|
+
throw new errors.TaktoriaError({
|
|
1716
|
+
statusCode: _response.error.statusCode,
|
|
1717
|
+
body: _response.error.body,
|
|
1718
|
+
rawResponse: _response.rawResponse,
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/calendar-invite");
|
|
1723
|
+
});
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
* @param {string} eventId
|
|
1727
|
+
* @param {Taktoria.ListQuestionsRequest} request
|
|
1728
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1729
|
+
*
|
|
1730
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1731
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1732
|
+
* @throws {@link errors.TaktoriaError}
|
|
1733
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1734
|
+
*
|
|
1735
|
+
* @example
|
|
1736
|
+
* await client.dory.listQuestions("eventId")
|
|
1737
|
+
*/
|
|
1738
|
+
listQuestions(eventId, request = {}, requestOptions) {
|
|
1739
|
+
return core.HttpResponsePromise.fromPromise(this.__listQuestions(eventId, request, requestOptions));
|
|
1740
|
+
}
|
|
1741
|
+
__listQuestions(eventId_1) {
|
|
1742
|
+
return __awaiter(this, arguments, void 0, function* (eventId, request = {}, requestOptions) {
|
|
1743
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1744
|
+
const { status, sort, q, limit, cursor } = request;
|
|
1745
|
+
const _queryParams = {
|
|
1746
|
+
status: status != null
|
|
1747
|
+
? serializers.QuestionStatus.jsonOrThrow(status, {
|
|
1748
|
+
unrecognizedObjectKeys: "strip",
|
|
1749
|
+
omitUndefined: true,
|
|
1750
|
+
})
|
|
1751
|
+
: undefined,
|
|
1752
|
+
sort: sort != null
|
|
1753
|
+
? serializers.QuestionSort.jsonOrThrow(sort, {
|
|
1754
|
+
unrecognizedObjectKeys: "strip",
|
|
1755
|
+
omitUndefined: true,
|
|
1756
|
+
})
|
|
1757
|
+
: undefined,
|
|
1758
|
+
q,
|
|
1759
|
+
limit,
|
|
1760
|
+
cursor,
|
|
1761
|
+
};
|
|
1762
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1763
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1764
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1765
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/questions`),
|
|
1766
|
+
method: "GET",
|
|
1767
|
+
headers: _headers,
|
|
1768
|
+
queryString: core.url
|
|
1769
|
+
.queryBuilder()
|
|
1770
|
+
.addMany(_queryParams)
|
|
1771
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
1772
|
+
.build(),
|
|
1773
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1774
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1775
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1776
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1777
|
+
logging: this._options.logging,
|
|
1778
|
+
});
|
|
1779
|
+
if (_response.ok) {
|
|
1780
|
+
return {
|
|
1781
|
+
data: serializers.QuestionPage.parseOrThrow(_response.body, {
|
|
1782
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1783
|
+
allowUnrecognizedUnionMembers: true,
|
|
1784
|
+
allowUnrecognizedEnumValues: true,
|
|
1785
|
+
skipValidation: true,
|
|
1786
|
+
breadcrumbsPrefix: ["response"],
|
|
1787
|
+
}),
|
|
1788
|
+
rawResponse: _response.rawResponse,
|
|
1789
|
+
};
|
|
1790
|
+
}
|
|
1791
|
+
if (_response.error.reason === "status-code") {
|
|
1792
|
+
switch (_response.error.statusCode) {
|
|
1793
|
+
case 404:
|
|
1794
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1795
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1796
|
+
allowUnrecognizedUnionMembers: true,
|
|
1797
|
+
allowUnrecognizedEnumValues: true,
|
|
1798
|
+
skipValidation: true,
|
|
1799
|
+
breadcrumbsPrefix: ["response"],
|
|
1800
|
+
}), _response.rawResponse);
|
|
1801
|
+
case 429:
|
|
1802
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1803
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1804
|
+
allowUnrecognizedUnionMembers: true,
|
|
1805
|
+
allowUnrecognizedEnumValues: true,
|
|
1806
|
+
skipValidation: true,
|
|
1807
|
+
breadcrumbsPrefix: ["response"],
|
|
1808
|
+
}), _response.rawResponse);
|
|
1809
|
+
default:
|
|
1810
|
+
throw new errors.TaktoriaError({
|
|
1811
|
+
statusCode: _response.error.statusCode,
|
|
1812
|
+
body: _response.error.body,
|
|
1813
|
+
rawResponse: _response.rawResponse,
|
|
1814
|
+
});
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/questions");
|
|
1818
|
+
});
|
|
1819
|
+
}
|
|
1820
|
+
/**
|
|
1821
|
+
* Ask a question. On a moderated event it arrives PENDING and waits for
|
|
1822
|
+
* a host, which is the whole point of that setting.
|
|
1823
|
+
*
|
|
1824
|
+
* Unlike asking in the room, this works whatever the event's phase or
|
|
1825
|
+
* question window: it is how questions collected elsewhere are
|
|
1826
|
+
* imported, before or after the event, and how an integration asks on
|
|
1827
|
+
* a participant's behalf. The event's profanity filter still applies.
|
|
1828
|
+
*
|
|
1829
|
+
* @param {string} eventId
|
|
1830
|
+
* @param {Taktoria.CreateQuestionRequest} request
|
|
1831
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1832
|
+
*
|
|
1833
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
1834
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1835
|
+
* @throws {@link Taktoria.ValidationError}
|
|
1836
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1837
|
+
* @throws {@link errors.TaktoriaError}
|
|
1838
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1839
|
+
*
|
|
1840
|
+
* @example
|
|
1841
|
+
* await client.dory.askQuestion("eventId", {
|
|
1842
|
+
* body: "body"
|
|
1843
|
+
* })
|
|
1844
|
+
*/
|
|
1845
|
+
askQuestion(eventId, request, requestOptions) {
|
|
1846
|
+
return core.HttpResponsePromise.fromPromise(this.__askQuestion(eventId, request, requestOptions));
|
|
1847
|
+
}
|
|
1848
|
+
__askQuestion(eventId, request, requestOptions) {
|
|
1849
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1850
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1851
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1852
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1853
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1854
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/questions`),
|
|
1855
|
+
method: "POST",
|
|
1856
|
+
headers: _headers,
|
|
1857
|
+
contentType: "application/json",
|
|
1858
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1859
|
+
requestType: "json",
|
|
1860
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.CreateQuestionRequest.jsonOrThrow(request, {
|
|
1861
|
+
unrecognizedObjectKeys: "strip",
|
|
1862
|
+
omitUndefined: true,
|
|
1863
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
1864
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1865
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1866
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1867
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1868
|
+
logging: this._options.logging,
|
|
1869
|
+
});
|
|
1870
|
+
if (_response.ok) {
|
|
1871
|
+
return {
|
|
1872
|
+
data: serializers.Question.parseOrThrow(_response.body, {
|
|
1873
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1874
|
+
allowUnrecognizedUnionMembers: true,
|
|
1875
|
+
allowUnrecognizedEnumValues: true,
|
|
1876
|
+
skipValidation: true,
|
|
1877
|
+
breadcrumbsPrefix: ["response"],
|
|
1878
|
+
}),
|
|
1879
|
+
rawResponse: _response.rawResponse,
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
if (_response.error.reason === "status-code") {
|
|
1883
|
+
switch (_response.error.statusCode) {
|
|
1884
|
+
case 403:
|
|
1885
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1886
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1887
|
+
allowUnrecognizedUnionMembers: true,
|
|
1888
|
+
allowUnrecognizedEnumValues: true,
|
|
1889
|
+
skipValidation: true,
|
|
1890
|
+
breadcrumbsPrefix: ["response"],
|
|
1891
|
+
}), _response.rawResponse);
|
|
1892
|
+
case 404:
|
|
1893
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1894
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1895
|
+
allowUnrecognizedUnionMembers: true,
|
|
1896
|
+
allowUnrecognizedEnumValues: true,
|
|
1897
|
+
skipValidation: true,
|
|
1898
|
+
breadcrumbsPrefix: ["response"],
|
|
1899
|
+
}), _response.rawResponse);
|
|
1900
|
+
case 422:
|
|
1901
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1902
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1903
|
+
allowUnrecognizedUnionMembers: true,
|
|
1904
|
+
allowUnrecognizedEnumValues: true,
|
|
1905
|
+
skipValidation: true,
|
|
1906
|
+
breadcrumbsPrefix: ["response"],
|
|
1907
|
+
}), _response.rawResponse);
|
|
1908
|
+
case 429:
|
|
1909
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1910
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1911
|
+
allowUnrecognizedUnionMembers: true,
|
|
1912
|
+
allowUnrecognizedEnumValues: true,
|
|
1913
|
+
skipValidation: true,
|
|
1914
|
+
breadcrumbsPrefix: ["response"],
|
|
1915
|
+
}), _response.rawResponse);
|
|
1916
|
+
default:
|
|
1917
|
+
throw new errors.TaktoriaError({
|
|
1918
|
+
statusCode: _response.error.statusCode,
|
|
1919
|
+
body: _response.error.body,
|
|
1920
|
+
rawResponse: _response.rawResponse,
|
|
1921
|
+
});
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/questions");
|
|
1925
|
+
});
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* @param {string} questionId
|
|
1929
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1930
|
+
*
|
|
1931
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1932
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1933
|
+
* @throws {@link errors.TaktoriaError}
|
|
1934
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1935
|
+
*
|
|
1936
|
+
* @example
|
|
1937
|
+
* await client.dory.getQuestion("questionId")
|
|
1938
|
+
*/
|
|
1939
|
+
getQuestion(questionId, requestOptions) {
|
|
1940
|
+
return core.HttpResponsePromise.fromPromise(this.__getQuestion(questionId, requestOptions));
|
|
1941
|
+
}
|
|
1942
|
+
__getQuestion(questionId, requestOptions) {
|
|
1943
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1944
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1945
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1946
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1947
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1948
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/questions/${core.url.encodePathParam(questionId)}`),
|
|
1949
|
+
method: "GET",
|
|
1950
|
+
headers: _headers,
|
|
1951
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1952
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
1953
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
1954
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1955
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1956
|
+
logging: this._options.logging,
|
|
1957
|
+
});
|
|
1958
|
+
if (_response.ok) {
|
|
1959
|
+
return {
|
|
1960
|
+
data: serializers.Question.parseOrThrow(_response.body, {
|
|
1961
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1962
|
+
allowUnrecognizedUnionMembers: true,
|
|
1963
|
+
allowUnrecognizedEnumValues: true,
|
|
1964
|
+
skipValidation: true,
|
|
1965
|
+
breadcrumbsPrefix: ["response"],
|
|
1966
|
+
}),
|
|
1967
|
+
rawResponse: _response.rawResponse,
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
if (_response.error.reason === "status-code") {
|
|
1971
|
+
switch (_response.error.statusCode) {
|
|
1972
|
+
case 404:
|
|
1973
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1974
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1975
|
+
allowUnrecognizedUnionMembers: true,
|
|
1976
|
+
allowUnrecognizedEnumValues: true,
|
|
1977
|
+
skipValidation: true,
|
|
1978
|
+
breadcrumbsPrefix: ["response"],
|
|
1979
|
+
}), _response.rawResponse);
|
|
1980
|
+
case 429:
|
|
1981
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1982
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1983
|
+
allowUnrecognizedUnionMembers: true,
|
|
1984
|
+
allowUnrecognizedEnumValues: true,
|
|
1985
|
+
skipValidation: true,
|
|
1986
|
+
breadcrumbsPrefix: ["response"],
|
|
1987
|
+
}), _response.rawResponse);
|
|
1988
|
+
default:
|
|
1989
|
+
throw new errors.TaktoriaError({
|
|
1990
|
+
statusCode: _response.error.statusCode,
|
|
1991
|
+
body: _response.error.body,
|
|
1992
|
+
rawResponse: _response.rawResponse,
|
|
1993
|
+
});
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/questions/{questionId}");
|
|
1997
|
+
});
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* Approve it, answer it, put it on the screen, or dismiss it, under the
|
|
2001
|
+
* app's own rules. Only one question is highlighted: highlighting this
|
|
2002
|
+
* one takes any other off the presenter screen, and dismissing it
|
|
2003
|
+
* (`status: DISMISSED`) takes it off, leaving the screen empty.
|
|
2004
|
+
* `answeredAt` is stamped as it becomes ANSWERED and kept while it
|
|
2005
|
+
* stays so.
|
|
2006
|
+
*
|
|
2007
|
+
* @param {string} questionId
|
|
2008
|
+
* @param {Taktoria.UpdateQuestionRequest} request
|
|
2009
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2010
|
+
*
|
|
2011
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2012
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2013
|
+
* @throws {@link Taktoria.ValidationError}
|
|
2014
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2015
|
+
* @throws {@link errors.TaktoriaError}
|
|
2016
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2017
|
+
*
|
|
2018
|
+
* @example
|
|
2019
|
+
* await client.dory.updateQuestion("questionId", {})
|
|
2020
|
+
*/
|
|
2021
|
+
updateQuestion(questionId, request, requestOptions) {
|
|
2022
|
+
return core.HttpResponsePromise.fromPromise(this.__updateQuestion(questionId, request, requestOptions));
|
|
2023
|
+
}
|
|
2024
|
+
__updateQuestion(questionId, request, requestOptions) {
|
|
2025
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2026
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2027
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2028
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2029
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2030
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/questions/${core.url.encodePathParam(questionId)}`),
|
|
2031
|
+
method: "PATCH",
|
|
2032
|
+
headers: _headers,
|
|
2033
|
+
contentType: "application/json",
|
|
2034
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2035
|
+
requestType: "json",
|
|
2036
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.UpdateQuestionRequest.jsonOrThrow(request, {
|
|
2037
|
+
unrecognizedObjectKeys: "strip",
|
|
2038
|
+
omitUndefined: true,
|
|
2039
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
2040
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2041
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2042
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2043
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2044
|
+
logging: this._options.logging,
|
|
2045
|
+
});
|
|
2046
|
+
if (_response.ok) {
|
|
2047
|
+
return {
|
|
2048
|
+
data: serializers.Question.parseOrThrow(_response.body, {
|
|
2049
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2050
|
+
allowUnrecognizedUnionMembers: true,
|
|
2051
|
+
allowUnrecognizedEnumValues: true,
|
|
2052
|
+
skipValidation: true,
|
|
2053
|
+
breadcrumbsPrefix: ["response"],
|
|
2054
|
+
}),
|
|
2055
|
+
rawResponse: _response.rawResponse,
|
|
2056
|
+
};
|
|
2057
|
+
}
|
|
2058
|
+
if (_response.error.reason === "status-code") {
|
|
2059
|
+
switch (_response.error.statusCode) {
|
|
2060
|
+
case 403:
|
|
2061
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2062
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2063
|
+
allowUnrecognizedUnionMembers: true,
|
|
2064
|
+
allowUnrecognizedEnumValues: true,
|
|
2065
|
+
skipValidation: true,
|
|
2066
|
+
breadcrumbsPrefix: ["response"],
|
|
2067
|
+
}), _response.rawResponse);
|
|
2068
|
+
case 404:
|
|
2069
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2070
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2071
|
+
allowUnrecognizedUnionMembers: true,
|
|
2072
|
+
allowUnrecognizedEnumValues: true,
|
|
2073
|
+
skipValidation: true,
|
|
2074
|
+
breadcrumbsPrefix: ["response"],
|
|
2075
|
+
}), _response.rawResponse);
|
|
2076
|
+
case 422:
|
|
2077
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2078
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2079
|
+
allowUnrecognizedUnionMembers: true,
|
|
2080
|
+
allowUnrecognizedEnumValues: true,
|
|
2081
|
+
skipValidation: true,
|
|
2082
|
+
breadcrumbsPrefix: ["response"],
|
|
2083
|
+
}), _response.rawResponse);
|
|
2084
|
+
case 429:
|
|
2085
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2086
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2087
|
+
allowUnrecognizedUnionMembers: true,
|
|
2088
|
+
allowUnrecognizedEnumValues: true,
|
|
2089
|
+
skipValidation: true,
|
|
2090
|
+
breadcrumbsPrefix: ["response"],
|
|
2091
|
+
}), _response.rawResponse);
|
|
2092
|
+
default:
|
|
2093
|
+
throw new errors.TaktoriaError({
|
|
2094
|
+
statusCode: _response.error.statusCode,
|
|
2095
|
+
body: _response.error.body,
|
|
2096
|
+
rawResponse: _response.rawResponse,
|
|
2097
|
+
});
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/dory/questions/{questionId}");
|
|
2101
|
+
});
|
|
2102
|
+
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Sets the status to DISMISSED rather than deleting the row: the votes
|
|
2105
|
+
* on it are somebody's, and a question re-asked from scratch loses the
|
|
2106
|
+
* count that had it near the top. Like `PATCH` with `status: DISMISSED`,
|
|
2107
|
+
* it takes the question off the presenter screen if it was there.
|
|
2108
|
+
*
|
|
2109
|
+
* @param {string} questionId
|
|
2110
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2111
|
+
*
|
|
2112
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2113
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2114
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2115
|
+
* @throws {@link errors.TaktoriaError}
|
|
2116
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2117
|
+
*
|
|
2118
|
+
* @example
|
|
2119
|
+
* await client.dory.dismissQuestion("questionId")
|
|
2120
|
+
*/
|
|
2121
|
+
dismissQuestion(questionId, requestOptions) {
|
|
2122
|
+
return core.HttpResponsePromise.fromPromise(this.__dismissQuestion(questionId, requestOptions));
|
|
2123
|
+
}
|
|
2124
|
+
__dismissQuestion(questionId, requestOptions) {
|
|
2125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2126
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2127
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2128
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2129
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2130
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/questions/${core.url.encodePathParam(questionId)}`),
|
|
2131
|
+
method: "DELETE",
|
|
2132
|
+
headers: _headers,
|
|
2133
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2134
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2135
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2136
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2137
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2138
|
+
logging: this._options.logging,
|
|
2139
|
+
});
|
|
2140
|
+
if (_response.ok) {
|
|
2141
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
2142
|
+
}
|
|
2143
|
+
if (_response.error.reason === "status-code") {
|
|
2144
|
+
switch (_response.error.statusCode) {
|
|
2145
|
+
case 403:
|
|
2146
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2147
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2148
|
+
allowUnrecognizedUnionMembers: true,
|
|
2149
|
+
allowUnrecognizedEnumValues: true,
|
|
2150
|
+
skipValidation: true,
|
|
2151
|
+
breadcrumbsPrefix: ["response"],
|
|
2152
|
+
}), _response.rawResponse);
|
|
2153
|
+
case 404:
|
|
2154
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2155
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2156
|
+
allowUnrecognizedUnionMembers: true,
|
|
2157
|
+
allowUnrecognizedEnumValues: true,
|
|
2158
|
+
skipValidation: true,
|
|
2159
|
+
breadcrumbsPrefix: ["response"],
|
|
2160
|
+
}), _response.rawResponse);
|
|
2161
|
+
case 429:
|
|
2162
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2163
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2164
|
+
allowUnrecognizedUnionMembers: true,
|
|
2165
|
+
allowUnrecognizedEnumValues: true,
|
|
2166
|
+
skipValidation: true,
|
|
2167
|
+
breadcrumbsPrefix: ["response"],
|
|
2168
|
+
}), _response.rawResponse);
|
|
2169
|
+
default:
|
|
2170
|
+
throw new errors.TaktoriaError({
|
|
2171
|
+
statusCode: _response.error.statusCode,
|
|
2172
|
+
body: _response.error.body,
|
|
2173
|
+
rawResponse: _response.rawResponse,
|
|
2174
|
+
});
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/dory/questions/{questionId}");
|
|
2178
|
+
});
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Put the question on the big screen, taking off whichever was there:
|
|
2182
|
+
* what a presenter does to say "let's discuss this one". Unlike
|
|
2183
|
+
* toggling `highlighted`, calling it again leaves the question up. To
|
|
2184
|
+
* take it off, `PATCH` it with `highlighted: false`; to move on,
|
|
2185
|
+
* `POST /events/{eventId}/queue/next`. Needs `questions:write`.
|
|
2186
|
+
*
|
|
2187
|
+
* @param {string} questionId
|
|
2188
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2189
|
+
*
|
|
2190
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2191
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2192
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2193
|
+
* @throws {@link errors.TaktoriaError}
|
|
2194
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2195
|
+
*
|
|
2196
|
+
* @example
|
|
2197
|
+
* await client.dory.spotlightQuestion("questionId")
|
|
2198
|
+
*/
|
|
2199
|
+
spotlightQuestion(questionId, requestOptions) {
|
|
2200
|
+
return core.HttpResponsePromise.fromPromise(this.__spotlightQuestion(questionId, requestOptions));
|
|
2201
|
+
}
|
|
2202
|
+
__spotlightQuestion(questionId, requestOptions) {
|
|
2203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2204
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2205
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2206
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2207
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2208
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/questions/${core.url.encodePathParam(questionId)}/spotlight`),
|
|
2209
|
+
method: "POST",
|
|
2210
|
+
headers: _headers,
|
|
2211
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2212
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2213
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2214
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2215
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2216
|
+
logging: this._options.logging,
|
|
2217
|
+
});
|
|
2218
|
+
if (_response.ok) {
|
|
2219
|
+
return {
|
|
2220
|
+
data: serializers.Question.parseOrThrow(_response.body, {
|
|
2221
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2222
|
+
allowUnrecognizedUnionMembers: true,
|
|
2223
|
+
allowUnrecognizedEnumValues: true,
|
|
2224
|
+
skipValidation: true,
|
|
2225
|
+
breadcrumbsPrefix: ["response"],
|
|
2226
|
+
}),
|
|
2227
|
+
rawResponse: _response.rawResponse,
|
|
2228
|
+
};
|
|
2229
|
+
}
|
|
2230
|
+
if (_response.error.reason === "status-code") {
|
|
2231
|
+
switch (_response.error.statusCode) {
|
|
2232
|
+
case 403:
|
|
2233
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2234
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2235
|
+
allowUnrecognizedUnionMembers: true,
|
|
2236
|
+
allowUnrecognizedEnumValues: true,
|
|
2237
|
+
skipValidation: true,
|
|
2238
|
+
breadcrumbsPrefix: ["response"],
|
|
2239
|
+
}), _response.rawResponse);
|
|
2240
|
+
case 404:
|
|
2241
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2242
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2243
|
+
allowUnrecognizedUnionMembers: true,
|
|
2244
|
+
allowUnrecognizedEnumValues: true,
|
|
2245
|
+
skipValidation: true,
|
|
2246
|
+
breadcrumbsPrefix: ["response"],
|
|
2247
|
+
}), _response.rawResponse);
|
|
2248
|
+
case 429:
|
|
2249
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2250
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2251
|
+
allowUnrecognizedUnionMembers: true,
|
|
2252
|
+
allowUnrecognizedEnumValues: true,
|
|
2253
|
+
skipValidation: true,
|
|
2254
|
+
breadcrumbsPrefix: ["response"],
|
|
2255
|
+
}), _response.rawResponse);
|
|
2256
|
+
default:
|
|
2257
|
+
throw new errors.TaktoriaError({
|
|
2258
|
+
statusCode: _response.error.statusCode,
|
|
2259
|
+
body: _response.error.body,
|
|
2260
|
+
rawResponse: _response.rawResponse,
|
|
2261
|
+
});
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/questions/{questionId}/spotlight");
|
|
2265
|
+
});
|
|
2266
|
+
}
|
|
2267
|
+
/**
|
|
2268
|
+
* What the presenter screen works from: the question on the big screen
|
|
2269
|
+
* and the approved ones waiting behind it, in the room's order. Pass
|
|
2270
|
+
* `current.id` as `currentId` to `POST /queue/next`. Needs
|
|
2271
|
+
* `questions:read`.
|
|
2272
|
+
*
|
|
2273
|
+
* @param {string} eventId
|
|
2274
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2275
|
+
*
|
|
2276
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2277
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2278
|
+
* @throws {@link errors.TaktoriaError}
|
|
2279
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2280
|
+
*
|
|
2281
|
+
* @example
|
|
2282
|
+
* await client.dory.getPresenterQueue("eventId")
|
|
2283
|
+
*/
|
|
2284
|
+
getPresenterQueue(eventId, requestOptions) {
|
|
2285
|
+
return core.HttpResponsePromise.fromPromise(this.__getPresenterQueue(eventId, requestOptions));
|
|
2286
|
+
}
|
|
2287
|
+
__getPresenterQueue(eventId, requestOptions) {
|
|
2288
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2289
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2290
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2291
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2292
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2293
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/queue`),
|
|
2294
|
+
method: "GET",
|
|
2295
|
+
headers: _headers,
|
|
2296
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2297
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2298
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2299
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2300
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2301
|
+
logging: this._options.logging,
|
|
2302
|
+
});
|
|
2303
|
+
if (_response.ok) {
|
|
2304
|
+
return {
|
|
2305
|
+
data: serializers.PresenterQueue.parseOrThrow(_response.body, {
|
|
2306
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2307
|
+
allowUnrecognizedUnionMembers: true,
|
|
2308
|
+
allowUnrecognizedEnumValues: true,
|
|
2309
|
+
skipValidation: true,
|
|
2310
|
+
breadcrumbsPrefix: ["response"],
|
|
2311
|
+
}),
|
|
2312
|
+
rawResponse: _response.rawResponse,
|
|
2313
|
+
};
|
|
2314
|
+
}
|
|
2315
|
+
if (_response.error.reason === "status-code") {
|
|
2316
|
+
switch (_response.error.statusCode) {
|
|
2317
|
+
case 404:
|
|
2318
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2319
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2320
|
+
allowUnrecognizedUnionMembers: true,
|
|
2321
|
+
allowUnrecognizedEnumValues: true,
|
|
2322
|
+
skipValidation: true,
|
|
2323
|
+
breadcrumbsPrefix: ["response"],
|
|
2324
|
+
}), _response.rawResponse);
|
|
2325
|
+
case 429:
|
|
2326
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2327
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2328
|
+
allowUnrecognizedUnionMembers: true,
|
|
2329
|
+
allowUnrecognizedEnumValues: true,
|
|
2330
|
+
skipValidation: true,
|
|
2331
|
+
breadcrumbsPrefix: ["response"],
|
|
2332
|
+
}), _response.rawResponse);
|
|
2333
|
+
default:
|
|
2334
|
+
throw new errors.TaktoriaError({
|
|
2335
|
+
statusCode: _response.error.statusCode,
|
|
2336
|
+
body: _response.error.body,
|
|
2337
|
+
rawResponse: _response.rawResponse,
|
|
2338
|
+
});
|
|
2339
|
+
}
|
|
2340
|
+
}
|
|
2341
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/queue");
|
|
2342
|
+
});
|
|
2343
|
+
}
|
|
2344
|
+
/**
|
|
2345
|
+
* The presenter's **Next**: finish with the question on screen
|
|
2346
|
+
* (`currentId`, marked ANSWERED with `markAnswered`) and put the next
|
|
2347
|
+
* approved one in the room's order on the big screen. Next is worked
|
|
2348
|
+
* out before the current one is marked, so it is the question the room
|
|
2349
|
+
* saw coming. Answers with the question now showing, without one when
|
|
2350
|
+
* the queue is empty and the screen is left clear. Each call moves on
|
|
2351
|
+
* again. The body is optional. Needs `questions:write`.
|
|
2352
|
+
*
|
|
2353
|
+
* @param {string} eventId
|
|
2354
|
+
* @param {Taktoria.AdvanceQueueRequest} request
|
|
2355
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2356
|
+
*
|
|
2357
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2358
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2359
|
+
* @throws {@link Taktoria.ValidationError}
|
|
2360
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2361
|
+
* @throws {@link errors.TaktoriaError}
|
|
2362
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2363
|
+
*
|
|
2364
|
+
* @example
|
|
2365
|
+
* await client.dory.advanceQueue("eventId", undefined)
|
|
2366
|
+
*/
|
|
2367
|
+
advanceQueue(eventId, request, requestOptions) {
|
|
2368
|
+
return core.HttpResponsePromise.fromPromise(this.__advanceQueue(eventId, request, requestOptions));
|
|
2369
|
+
}
|
|
2370
|
+
__advanceQueue(eventId, request, requestOptions) {
|
|
2371
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2372
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2373
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2374
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2375
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2376
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/queue/next`),
|
|
2377
|
+
method: "POST",
|
|
2378
|
+
headers: _headers,
|
|
2379
|
+
contentType: "application/json",
|
|
2380
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2381
|
+
requestType: "json",
|
|
2382
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.dory.advanceQueue.Request.jsonOrThrow(request, {
|
|
2383
|
+
unrecognizedObjectKeys: "strip",
|
|
2384
|
+
omitUndefined: true,
|
|
2385
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
2386
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2387
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2388
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2389
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2390
|
+
logging: this._options.logging,
|
|
2391
|
+
});
|
|
2392
|
+
if (_response.ok) {
|
|
2393
|
+
return {
|
|
2394
|
+
data: serializers.AdvanceQueueResult.parseOrThrow(_response.body, {
|
|
2395
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2396
|
+
allowUnrecognizedUnionMembers: true,
|
|
2397
|
+
allowUnrecognizedEnumValues: true,
|
|
2398
|
+
skipValidation: true,
|
|
2399
|
+
breadcrumbsPrefix: ["response"],
|
|
2400
|
+
}),
|
|
2401
|
+
rawResponse: _response.rawResponse,
|
|
2402
|
+
};
|
|
2403
|
+
}
|
|
2404
|
+
if (_response.error.reason === "status-code") {
|
|
2405
|
+
switch (_response.error.statusCode) {
|
|
2406
|
+
case 403:
|
|
2407
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2408
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2409
|
+
allowUnrecognizedUnionMembers: true,
|
|
2410
|
+
allowUnrecognizedEnumValues: true,
|
|
2411
|
+
skipValidation: true,
|
|
2412
|
+
breadcrumbsPrefix: ["response"],
|
|
2413
|
+
}), _response.rawResponse);
|
|
2414
|
+
case 404:
|
|
2415
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2416
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2417
|
+
allowUnrecognizedUnionMembers: true,
|
|
2418
|
+
allowUnrecognizedEnumValues: true,
|
|
2419
|
+
skipValidation: true,
|
|
2420
|
+
breadcrumbsPrefix: ["response"],
|
|
2421
|
+
}), _response.rawResponse);
|
|
2422
|
+
case 422:
|
|
2423
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2424
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2425
|
+
allowUnrecognizedUnionMembers: true,
|
|
2426
|
+
allowUnrecognizedEnumValues: true,
|
|
2427
|
+
skipValidation: true,
|
|
2428
|
+
breadcrumbsPrefix: ["response"],
|
|
2429
|
+
}), _response.rawResponse);
|
|
2430
|
+
case 429:
|
|
2431
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2432
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2433
|
+
allowUnrecognizedUnionMembers: true,
|
|
2434
|
+
allowUnrecognizedEnumValues: true,
|
|
2435
|
+
skipValidation: true,
|
|
2436
|
+
breadcrumbsPrefix: ["response"],
|
|
2437
|
+
}), _response.rawResponse);
|
|
2438
|
+
default:
|
|
2439
|
+
throw new errors.TaktoriaError({
|
|
2440
|
+
statusCode: _response.error.statusCode,
|
|
2441
|
+
body: _response.error.body,
|
|
2442
|
+
rawResponse: _response.rawResponse,
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/queue/next");
|
|
2447
|
+
});
|
|
2448
|
+
}
|
|
2449
|
+
/**
|
|
2450
|
+
* @param {string} eventId
|
|
2451
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2452
|
+
*
|
|
2453
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2454
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2455
|
+
* @throws {@link errors.TaktoriaError}
|
|
2456
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2457
|
+
*
|
|
2458
|
+
* @example
|
|
2459
|
+
* await client.dory.listPolls("eventId")
|
|
2460
|
+
*/
|
|
2461
|
+
listPolls(eventId, requestOptions) {
|
|
2462
|
+
return core.HttpResponsePromise.fromPromise(this.__listPolls(eventId, requestOptions));
|
|
2463
|
+
}
|
|
2464
|
+
__listPolls(eventId, requestOptions) {
|
|
2465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2466
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2467
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2468
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2469
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2470
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/polls`),
|
|
2471
|
+
method: "GET",
|
|
2472
|
+
headers: _headers,
|
|
2473
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2474
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2475
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2476
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2477
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2478
|
+
logging: this._options.logging,
|
|
2479
|
+
});
|
|
2480
|
+
if (_response.ok) {
|
|
2481
|
+
return {
|
|
2482
|
+
data: serializers.PollList.parseOrThrow(_response.body, {
|
|
2483
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2484
|
+
allowUnrecognizedUnionMembers: true,
|
|
2485
|
+
allowUnrecognizedEnumValues: true,
|
|
2486
|
+
skipValidation: true,
|
|
2487
|
+
breadcrumbsPrefix: ["response"],
|
|
2488
|
+
}),
|
|
2489
|
+
rawResponse: _response.rawResponse,
|
|
2490
|
+
};
|
|
2491
|
+
}
|
|
2492
|
+
if (_response.error.reason === "status-code") {
|
|
2493
|
+
switch (_response.error.statusCode) {
|
|
2494
|
+
case 404:
|
|
2495
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2496
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2497
|
+
allowUnrecognizedUnionMembers: true,
|
|
2498
|
+
allowUnrecognizedEnumValues: true,
|
|
2499
|
+
skipValidation: true,
|
|
2500
|
+
breadcrumbsPrefix: ["response"],
|
|
2501
|
+
}), _response.rawResponse);
|
|
2502
|
+
case 429:
|
|
2503
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2504
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2505
|
+
allowUnrecognizedUnionMembers: true,
|
|
2506
|
+
allowUnrecognizedEnumValues: true,
|
|
2507
|
+
skipValidation: true,
|
|
2508
|
+
breadcrumbsPrefix: ["response"],
|
|
2509
|
+
}), _response.rawResponse);
|
|
2510
|
+
default:
|
|
2511
|
+
throw new errors.TaktoriaError({
|
|
2512
|
+
statusCode: _response.error.statusCode,
|
|
2513
|
+
body: _response.error.body,
|
|
2514
|
+
rawResponse: _response.rawResponse,
|
|
2515
|
+
});
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/polls");
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
/**
|
|
2522
|
+
* Add a poll, at the end of the event's list unless `sortOrder` says
|
|
2523
|
+
* where. See `CreatePollRequest` for the limits. Opening a poll closes
|
|
2524
|
+
* the live one: created with `status: LIVE`, it closes whichever poll
|
|
2525
|
+
* was live in the event.
|
|
2526
|
+
*
|
|
2527
|
+
* @param {string} eventId
|
|
2528
|
+
* @param {Taktoria.CreatePollRequest} request
|
|
2529
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2530
|
+
*
|
|
2531
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2532
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2533
|
+
* @throws {@link Taktoria.ValidationError}
|
|
2534
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2535
|
+
* @throws {@link errors.TaktoriaError}
|
|
2536
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2537
|
+
*
|
|
2538
|
+
* @example
|
|
2539
|
+
* await client.dory.createPoll("eventId", {
|
|
2540
|
+
* type: "MULTIPLE_CHOICE",
|
|
2541
|
+
* question: "question"
|
|
2542
|
+
* })
|
|
2543
|
+
*/
|
|
2544
|
+
createPoll(eventId, request, requestOptions) {
|
|
2545
|
+
return core.HttpResponsePromise.fromPromise(this.__createPoll(eventId, request, requestOptions));
|
|
2546
|
+
}
|
|
2547
|
+
__createPoll(eventId, request, requestOptions) {
|
|
2548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2549
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2550
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2551
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2552
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2553
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/polls`),
|
|
2554
|
+
method: "POST",
|
|
2555
|
+
headers: _headers,
|
|
2556
|
+
contentType: "application/json",
|
|
2557
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2558
|
+
requestType: "json",
|
|
2559
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.CreatePollRequest.jsonOrThrow(request, {
|
|
2560
|
+
unrecognizedObjectKeys: "strip",
|
|
2561
|
+
omitUndefined: true,
|
|
2562
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
2563
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2564
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2565
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2566
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2567
|
+
logging: this._options.logging,
|
|
2568
|
+
});
|
|
2569
|
+
if (_response.ok) {
|
|
2570
|
+
return {
|
|
2571
|
+
data: serializers.Poll.parseOrThrow(_response.body, {
|
|
2572
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2573
|
+
allowUnrecognizedUnionMembers: true,
|
|
2574
|
+
allowUnrecognizedEnumValues: true,
|
|
2575
|
+
skipValidation: true,
|
|
2576
|
+
breadcrumbsPrefix: ["response"],
|
|
2577
|
+
}),
|
|
2578
|
+
rawResponse: _response.rawResponse,
|
|
2579
|
+
};
|
|
2580
|
+
}
|
|
2581
|
+
if (_response.error.reason === "status-code") {
|
|
2582
|
+
switch (_response.error.statusCode) {
|
|
2583
|
+
case 403:
|
|
2584
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2585
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2586
|
+
allowUnrecognizedUnionMembers: true,
|
|
2587
|
+
allowUnrecognizedEnumValues: true,
|
|
2588
|
+
skipValidation: true,
|
|
2589
|
+
breadcrumbsPrefix: ["response"],
|
|
2590
|
+
}), _response.rawResponse);
|
|
2591
|
+
case 404:
|
|
2592
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2593
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2594
|
+
allowUnrecognizedUnionMembers: true,
|
|
2595
|
+
allowUnrecognizedEnumValues: true,
|
|
2596
|
+
skipValidation: true,
|
|
2597
|
+
breadcrumbsPrefix: ["response"],
|
|
2598
|
+
}), _response.rawResponse);
|
|
2599
|
+
case 422:
|
|
2600
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2601
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2602
|
+
allowUnrecognizedUnionMembers: true,
|
|
2603
|
+
allowUnrecognizedEnumValues: true,
|
|
2604
|
+
skipValidation: true,
|
|
2605
|
+
breadcrumbsPrefix: ["response"],
|
|
2606
|
+
}), _response.rawResponse);
|
|
2607
|
+
case 429:
|
|
2608
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2609
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2610
|
+
allowUnrecognizedUnionMembers: true,
|
|
2611
|
+
allowUnrecognizedEnumValues: true,
|
|
2612
|
+
skipValidation: true,
|
|
2613
|
+
breadcrumbsPrefix: ["response"],
|
|
2614
|
+
}), _response.rawResponse);
|
|
2615
|
+
default:
|
|
2616
|
+
throw new errors.TaktoriaError({
|
|
2617
|
+
statusCode: _response.error.statusCode,
|
|
2618
|
+
body: _response.error.body,
|
|
2619
|
+
rawResponse: _response.rawResponse,
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/dory/events/{eventId}/polls");
|
|
2624
|
+
});
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* @param {string} pollId
|
|
2628
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2629
|
+
*
|
|
2630
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2631
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2632
|
+
* @throws {@link errors.TaktoriaError}
|
|
2633
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2634
|
+
*
|
|
2635
|
+
* @example
|
|
2636
|
+
* await client.dory.getPoll("pollId")
|
|
2637
|
+
*/
|
|
2638
|
+
getPoll(pollId, requestOptions) {
|
|
2639
|
+
return core.HttpResponsePromise.fromPromise(this.__getPoll(pollId, requestOptions));
|
|
2640
|
+
}
|
|
2641
|
+
__getPoll(pollId, requestOptions) {
|
|
2642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2643
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2644
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2645
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2646
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2647
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/polls/${core.url.encodePathParam(pollId)}`),
|
|
2648
|
+
method: "GET",
|
|
2649
|
+
headers: _headers,
|
|
2650
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2651
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2652
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2653
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2654
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2655
|
+
logging: this._options.logging,
|
|
2656
|
+
});
|
|
2657
|
+
if (_response.ok) {
|
|
2658
|
+
return {
|
|
2659
|
+
data: serializers.Poll.parseOrThrow(_response.body, {
|
|
2660
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2661
|
+
allowUnrecognizedUnionMembers: true,
|
|
2662
|
+
allowUnrecognizedEnumValues: true,
|
|
2663
|
+
skipValidation: true,
|
|
2664
|
+
breadcrumbsPrefix: ["response"],
|
|
2665
|
+
}),
|
|
2666
|
+
rawResponse: _response.rawResponse,
|
|
2667
|
+
};
|
|
2668
|
+
}
|
|
2669
|
+
if (_response.error.reason === "status-code") {
|
|
2670
|
+
switch (_response.error.statusCode) {
|
|
2671
|
+
case 404:
|
|
2672
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2673
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2674
|
+
allowUnrecognizedUnionMembers: true,
|
|
2675
|
+
allowUnrecognizedEnumValues: true,
|
|
2676
|
+
skipValidation: true,
|
|
2677
|
+
breadcrumbsPrefix: ["response"],
|
|
2678
|
+
}), _response.rawResponse);
|
|
2679
|
+
case 429:
|
|
2680
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2681
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2682
|
+
allowUnrecognizedUnionMembers: true,
|
|
2683
|
+
allowUnrecognizedEnumValues: true,
|
|
2684
|
+
skipValidation: true,
|
|
2685
|
+
breadcrumbsPrefix: ["response"],
|
|
2686
|
+
}), _response.rawResponse);
|
|
2687
|
+
default:
|
|
2688
|
+
throw new errors.TaktoriaError({
|
|
2689
|
+
statusCode: _response.error.statusCode,
|
|
2690
|
+
body: _response.error.body,
|
|
2691
|
+
rawResponse: _response.rawResponse,
|
|
2692
|
+
});
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/polls/{pollId}");
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
/**
|
|
2699
|
+
* Mostly how a poll is launched and closed, as the app's **Launch** and
|
|
2700
|
+
* **Close** do it. Opening a poll closes the live one: `status: LIVE`
|
|
2701
|
+
* closes whichever poll was live in the event, so the room is always
|
|
2702
|
+
* answering one poll.
|
|
2703
|
+
*
|
|
2704
|
+
* @param {string} pollId
|
|
2705
|
+
* @param {Taktoria.UpdatePollRequest} request
|
|
2706
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2707
|
+
*
|
|
2708
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2709
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2710
|
+
* @throws {@link Taktoria.ValidationError}
|
|
2711
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2712
|
+
* @throws {@link errors.TaktoriaError}
|
|
2713
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2714
|
+
*
|
|
2715
|
+
* @example
|
|
2716
|
+
* await client.dory.updatePoll("pollId", {})
|
|
2717
|
+
*/
|
|
2718
|
+
updatePoll(pollId, request, requestOptions) {
|
|
2719
|
+
return core.HttpResponsePromise.fromPromise(this.__updatePoll(pollId, request, requestOptions));
|
|
2720
|
+
}
|
|
2721
|
+
__updatePoll(pollId, request, requestOptions) {
|
|
2722
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2723
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2724
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2725
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2726
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2727
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/polls/${core.url.encodePathParam(pollId)}`),
|
|
2728
|
+
method: "PATCH",
|
|
2729
|
+
headers: _headers,
|
|
2730
|
+
contentType: "application/json",
|
|
2731
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2732
|
+
requestType: "json",
|
|
2733
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.UpdatePollRequest.jsonOrThrow(request, {
|
|
2734
|
+
unrecognizedObjectKeys: "strip",
|
|
2735
|
+
omitUndefined: true,
|
|
2736
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
2737
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2738
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2739
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2740
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2741
|
+
logging: this._options.logging,
|
|
2742
|
+
});
|
|
2743
|
+
if (_response.ok) {
|
|
2744
|
+
return {
|
|
2745
|
+
data: serializers.Poll.parseOrThrow(_response.body, {
|
|
2746
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2747
|
+
allowUnrecognizedUnionMembers: true,
|
|
2748
|
+
allowUnrecognizedEnumValues: true,
|
|
2749
|
+
skipValidation: true,
|
|
2750
|
+
breadcrumbsPrefix: ["response"],
|
|
2751
|
+
}),
|
|
2752
|
+
rawResponse: _response.rawResponse,
|
|
2753
|
+
};
|
|
2754
|
+
}
|
|
2755
|
+
if (_response.error.reason === "status-code") {
|
|
2756
|
+
switch (_response.error.statusCode) {
|
|
2757
|
+
case 403:
|
|
2758
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2759
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2760
|
+
allowUnrecognizedUnionMembers: true,
|
|
2761
|
+
allowUnrecognizedEnumValues: true,
|
|
2762
|
+
skipValidation: true,
|
|
2763
|
+
breadcrumbsPrefix: ["response"],
|
|
2764
|
+
}), _response.rawResponse);
|
|
2765
|
+
case 404:
|
|
2766
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2767
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2768
|
+
allowUnrecognizedUnionMembers: true,
|
|
2769
|
+
allowUnrecognizedEnumValues: true,
|
|
2770
|
+
skipValidation: true,
|
|
2771
|
+
breadcrumbsPrefix: ["response"],
|
|
2772
|
+
}), _response.rawResponse);
|
|
2773
|
+
case 422:
|
|
2774
|
+
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2775
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2776
|
+
allowUnrecognizedUnionMembers: true,
|
|
2777
|
+
allowUnrecognizedEnumValues: true,
|
|
2778
|
+
skipValidation: true,
|
|
2779
|
+
breadcrumbsPrefix: ["response"],
|
|
2780
|
+
}), _response.rawResponse);
|
|
2781
|
+
case 429:
|
|
2782
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2783
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2784
|
+
allowUnrecognizedUnionMembers: true,
|
|
2785
|
+
allowUnrecognizedEnumValues: true,
|
|
2786
|
+
skipValidation: true,
|
|
2787
|
+
breadcrumbsPrefix: ["response"],
|
|
2788
|
+
}), _response.rawResponse);
|
|
2789
|
+
default:
|
|
2790
|
+
throw new errors.TaktoriaError({
|
|
2791
|
+
statusCode: _response.error.statusCode,
|
|
2792
|
+
body: _response.error.body,
|
|
2793
|
+
rawResponse: _response.rawResponse,
|
|
2794
|
+
});
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/dory/polls/{pollId}");
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2800
|
+
/**
|
|
2801
|
+
* @param {string} pollId
|
|
2802
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2803
|
+
*
|
|
2804
|
+
* @throws {@link Taktoria.ForbiddenError}
|
|
2805
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2806
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2807
|
+
* @throws {@link errors.TaktoriaError}
|
|
2808
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2809
|
+
*
|
|
2810
|
+
* @example
|
|
2811
|
+
* await client.dory.deletePoll("pollId")
|
|
2812
|
+
*/
|
|
2813
|
+
deletePoll(pollId, requestOptions) {
|
|
2814
|
+
return core.HttpResponsePromise.fromPromise(this.__deletePoll(pollId, requestOptions));
|
|
2815
|
+
}
|
|
2816
|
+
__deletePoll(pollId, requestOptions) {
|
|
2817
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2818
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2819
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2820
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2821
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2822
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/polls/${core.url.encodePathParam(pollId)}`),
|
|
2823
|
+
method: "DELETE",
|
|
2824
|
+
headers: _headers,
|
|
2825
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2826
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2827
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2828
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2829
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2830
|
+
logging: this._options.logging,
|
|
2831
|
+
});
|
|
2832
|
+
if (_response.ok) {
|
|
2833
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
2834
|
+
}
|
|
2835
|
+
if (_response.error.reason === "status-code") {
|
|
2836
|
+
switch (_response.error.statusCode) {
|
|
2837
|
+
case 403:
|
|
2838
|
+
throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2839
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2840
|
+
allowUnrecognizedUnionMembers: true,
|
|
2841
|
+
allowUnrecognizedEnumValues: true,
|
|
2842
|
+
skipValidation: true,
|
|
2843
|
+
breadcrumbsPrefix: ["response"],
|
|
2844
|
+
}), _response.rawResponse);
|
|
2845
|
+
case 404:
|
|
2846
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2847
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2848
|
+
allowUnrecognizedUnionMembers: true,
|
|
2849
|
+
allowUnrecognizedEnumValues: true,
|
|
2850
|
+
skipValidation: true,
|
|
2851
|
+
breadcrumbsPrefix: ["response"],
|
|
2852
|
+
}), _response.rawResponse);
|
|
2853
|
+
case 429:
|
|
2854
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2855
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2856
|
+
allowUnrecognizedUnionMembers: true,
|
|
2857
|
+
allowUnrecognizedEnumValues: true,
|
|
2858
|
+
skipValidation: true,
|
|
2859
|
+
breadcrumbsPrefix: ["response"],
|
|
2860
|
+
}), _response.rawResponse);
|
|
2861
|
+
default:
|
|
2862
|
+
throw new errors.TaktoriaError({
|
|
2863
|
+
statusCode: _response.error.statusCode,
|
|
2864
|
+
body: _response.error.body,
|
|
2865
|
+
rawResponse: _response.rawResponse,
|
|
2866
|
+
});
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/dory/polls/{pollId}");
|
|
2870
|
+
});
|
|
2871
|
+
}
|
|
2872
|
+
/**
|
|
2873
|
+
* What the room answered, counted.
|
|
2874
|
+
*
|
|
2875
|
+
* @param {string} pollId
|
|
2876
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2877
|
+
*
|
|
2878
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2879
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2880
|
+
* @throws {@link errors.TaktoriaError}
|
|
2881
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2882
|
+
*
|
|
2883
|
+
* @example
|
|
2884
|
+
* await client.dory.getPollResults("pollId")
|
|
2885
|
+
*/
|
|
2886
|
+
getPollResults(pollId, requestOptions) {
|
|
2887
|
+
return core.HttpResponsePromise.fromPromise(this.__getPollResults(pollId, requestOptions));
|
|
2888
|
+
}
|
|
2889
|
+
__getPollResults(pollId, requestOptions) {
|
|
2890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2891
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2892
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2893
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2894
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2895
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/polls/${core.url.encodePathParam(pollId)}/results`),
|
|
2896
|
+
method: "GET",
|
|
2897
|
+
headers: _headers,
|
|
2898
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
2899
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2900
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2901
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2902
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2903
|
+
logging: this._options.logging,
|
|
2904
|
+
});
|
|
2905
|
+
if (_response.ok) {
|
|
2906
|
+
return {
|
|
2907
|
+
data: serializers.PollResults.parseOrThrow(_response.body, {
|
|
2908
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2909
|
+
allowUnrecognizedUnionMembers: true,
|
|
2910
|
+
allowUnrecognizedEnumValues: true,
|
|
2911
|
+
skipValidation: true,
|
|
2912
|
+
breadcrumbsPrefix: ["response"],
|
|
2913
|
+
}),
|
|
2914
|
+
rawResponse: _response.rawResponse,
|
|
2915
|
+
};
|
|
2916
|
+
}
|
|
2917
|
+
if (_response.error.reason === "status-code") {
|
|
2918
|
+
switch (_response.error.statusCode) {
|
|
2919
|
+
case 404:
|
|
2920
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2921
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2922
|
+
allowUnrecognizedUnionMembers: true,
|
|
2923
|
+
allowUnrecognizedEnumValues: true,
|
|
2924
|
+
skipValidation: true,
|
|
2925
|
+
breadcrumbsPrefix: ["response"],
|
|
2926
|
+
}), _response.rawResponse);
|
|
2927
|
+
case 429:
|
|
2928
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
2929
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2930
|
+
allowUnrecognizedUnionMembers: true,
|
|
2931
|
+
allowUnrecognizedEnumValues: true,
|
|
2932
|
+
skipValidation: true,
|
|
2933
|
+
breadcrumbsPrefix: ["response"],
|
|
2934
|
+
}), _response.rawResponse);
|
|
2935
|
+
default:
|
|
2936
|
+
throw new errors.TaktoriaError({
|
|
2937
|
+
statusCode: _response.error.statusCode,
|
|
2938
|
+
body: _response.error.body,
|
|
2939
|
+
rawResponse: _response.rawResponse,
|
|
2940
|
+
});
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/polls/{pollId}/results");
|
|
2944
|
+
});
|
|
2945
|
+
}
|
|
2946
|
+
/**
|
|
2947
|
+
* Who took part, and what each of them did.
|
|
2948
|
+
*
|
|
2949
|
+
* @param {string} eventId
|
|
2950
|
+
* @param {Taktoria.ListParticipantsRequest} request
|
|
2951
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2952
|
+
*
|
|
2953
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
2954
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
2955
|
+
* @throws {@link errors.TaktoriaError}
|
|
2956
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
2957
|
+
*
|
|
2958
|
+
* @example
|
|
2959
|
+
* await client.dory.listParticipants("eventId")
|
|
2960
|
+
*/
|
|
2961
|
+
listParticipants(eventId, request = {}, requestOptions) {
|
|
2962
|
+
return core.HttpResponsePromise.fromPromise(this.__listParticipants(eventId, request, requestOptions));
|
|
2963
|
+
}
|
|
2964
|
+
__listParticipants(eventId_1) {
|
|
2965
|
+
return __awaiter(this, arguments, void 0, function* (eventId, request = {}, requestOptions) {
|
|
2966
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
2967
|
+
const { tookPart, limit, cursor } = request;
|
|
2968
|
+
const _queryParams = {
|
|
2969
|
+
tookPart,
|
|
2970
|
+
limit,
|
|
2971
|
+
cursor,
|
|
2972
|
+
};
|
|
2973
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2974
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2975
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2976
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/participants`),
|
|
2977
|
+
method: "GET",
|
|
2978
|
+
headers: _headers,
|
|
2979
|
+
queryString: core.url
|
|
2980
|
+
.queryBuilder()
|
|
2981
|
+
.addMany(_queryParams)
|
|
2982
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
2983
|
+
.build(),
|
|
2984
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
2985
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
2986
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2987
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
2988
|
+
logging: this._options.logging,
|
|
2989
|
+
});
|
|
2990
|
+
if (_response.ok) {
|
|
2991
|
+
return {
|
|
2992
|
+
data: serializers.ParticipantPage.parseOrThrow(_response.body, {
|
|
2993
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2994
|
+
allowUnrecognizedUnionMembers: true,
|
|
2995
|
+
allowUnrecognizedEnumValues: true,
|
|
2996
|
+
skipValidation: true,
|
|
2997
|
+
breadcrumbsPrefix: ["response"],
|
|
2998
|
+
}),
|
|
2999
|
+
rawResponse: _response.rawResponse,
|
|
3000
|
+
};
|
|
3001
|
+
}
|
|
3002
|
+
if (_response.error.reason === "status-code") {
|
|
3003
|
+
switch (_response.error.statusCode) {
|
|
3004
|
+
case 404:
|
|
3005
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3006
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3007
|
+
allowUnrecognizedUnionMembers: true,
|
|
3008
|
+
allowUnrecognizedEnumValues: true,
|
|
3009
|
+
skipValidation: true,
|
|
3010
|
+
breadcrumbsPrefix: ["response"],
|
|
3011
|
+
}), _response.rawResponse);
|
|
3012
|
+
case 429:
|
|
3013
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3014
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3015
|
+
allowUnrecognizedUnionMembers: true,
|
|
3016
|
+
allowUnrecognizedEnumValues: true,
|
|
3017
|
+
skipValidation: true,
|
|
3018
|
+
breadcrumbsPrefix: ["response"],
|
|
3019
|
+
}), _response.rawResponse);
|
|
3020
|
+
default:
|
|
3021
|
+
throw new errors.TaktoriaError({
|
|
3022
|
+
statusCode: _response.error.statusCode,
|
|
3023
|
+
body: _response.error.body,
|
|
3024
|
+
rawResponse: _response.rawResponse,
|
|
3025
|
+
});
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/participants");
|
|
3029
|
+
});
|
|
3030
|
+
}
|
|
3031
|
+
/**
|
|
3032
|
+
* An event's quiz leaderboard, across every quiz in it: most right
|
|
3033
|
+
* answers first, and the faster of two equal scores ahead. Called with
|
|
3034
|
+
* a signed-in session rather than a key, it answers only for an event
|
|
3035
|
+
* that person may run.
|
|
3036
|
+
*
|
|
3037
|
+
* @param {string} eventId
|
|
3038
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3039
|
+
*
|
|
3040
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
3041
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
3042
|
+
* @throws {@link errors.TaktoriaError}
|
|
3043
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
3044
|
+
*
|
|
3045
|
+
* @example
|
|
3046
|
+
* await client.dory.getLeaderboard("eventId")
|
|
3047
|
+
*/
|
|
3048
|
+
getLeaderboard(eventId, requestOptions) {
|
|
3049
|
+
return core.HttpResponsePromise.fromPromise(this.__getLeaderboard(eventId, requestOptions));
|
|
3050
|
+
}
|
|
3051
|
+
__getLeaderboard(eventId, requestOptions) {
|
|
3052
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3053
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3054
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3055
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3056
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3057
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/leaderboard`),
|
|
3058
|
+
method: "GET",
|
|
3059
|
+
headers: _headers,
|
|
3060
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
3061
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
3062
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
3063
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
3064
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
3065
|
+
logging: this._options.logging,
|
|
3066
|
+
});
|
|
3067
|
+
if (_response.ok) {
|
|
3068
|
+
return {
|
|
3069
|
+
data: serializers.Leaderboard.parseOrThrow(_response.body, {
|
|
3070
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3071
|
+
allowUnrecognizedUnionMembers: true,
|
|
3072
|
+
allowUnrecognizedEnumValues: true,
|
|
3073
|
+
skipValidation: true,
|
|
3074
|
+
breadcrumbsPrefix: ["response"],
|
|
3075
|
+
}),
|
|
3076
|
+
rawResponse: _response.rawResponse,
|
|
3077
|
+
};
|
|
3078
|
+
}
|
|
3079
|
+
if (_response.error.reason === "status-code") {
|
|
3080
|
+
switch (_response.error.statusCode) {
|
|
3081
|
+
case 404:
|
|
3082
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3083
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3084
|
+
allowUnrecognizedUnionMembers: true,
|
|
3085
|
+
allowUnrecognizedEnumValues: true,
|
|
3086
|
+
skipValidation: true,
|
|
3087
|
+
breadcrumbsPrefix: ["response"],
|
|
3088
|
+
}), _response.rawResponse);
|
|
3089
|
+
case 429:
|
|
3090
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3091
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3092
|
+
allowUnrecognizedUnionMembers: true,
|
|
3093
|
+
allowUnrecognizedEnumValues: true,
|
|
3094
|
+
skipValidation: true,
|
|
3095
|
+
breadcrumbsPrefix: ["response"],
|
|
3096
|
+
}), _response.rawResponse);
|
|
3097
|
+
default:
|
|
3098
|
+
throw new errors.TaktoriaError({
|
|
3099
|
+
statusCode: _response.error.statusCode,
|
|
3100
|
+
body: _response.error.body,
|
|
3101
|
+
rawResponse: _response.rawResponse,
|
|
3102
|
+
});
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3105
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/leaderboard");
|
|
3106
|
+
});
|
|
3107
|
+
}
|
|
3108
|
+
/**
|
|
3109
|
+
* The headline numbers on an event's console: participants, questions,
|
|
3110
|
+
* answered and the answered rate, upvotes and poll answers. For the
|
|
3111
|
+
* whole numbers page, `GET /analytics`. Needs `participants:read`.
|
|
3112
|
+
*
|
|
3113
|
+
* @param {string} eventId
|
|
3114
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3115
|
+
*
|
|
3116
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
3117
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
3118
|
+
* @throws {@link errors.TaktoriaError}
|
|
3119
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
3120
|
+
*
|
|
3121
|
+
* @example
|
|
3122
|
+
* await client.dory.getEventStats("evt_7f3a")
|
|
3123
|
+
*/
|
|
3124
|
+
getEventStats(eventId, requestOptions) {
|
|
3125
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventStats(eventId, requestOptions));
|
|
3126
|
+
}
|
|
3127
|
+
__getEventStats(eventId, requestOptions) {
|
|
3128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3129
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3130
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3131
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3132
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3133
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/stats`),
|
|
3134
|
+
method: "GET",
|
|
3135
|
+
headers: _headers,
|
|
3136
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
3137
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
3138
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
3139
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
3140
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
3141
|
+
logging: this._options.logging,
|
|
3142
|
+
});
|
|
3143
|
+
if (_response.ok) {
|
|
3144
|
+
return {
|
|
3145
|
+
data: serializers.EventStats.parseOrThrow(_response.body, {
|
|
3146
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3147
|
+
allowUnrecognizedUnionMembers: true,
|
|
3148
|
+
allowUnrecognizedEnumValues: true,
|
|
3149
|
+
skipValidation: true,
|
|
3150
|
+
breadcrumbsPrefix: ["response"],
|
|
3151
|
+
}),
|
|
3152
|
+
rawResponse: _response.rawResponse,
|
|
3153
|
+
};
|
|
3154
|
+
}
|
|
3155
|
+
if (_response.error.reason === "status-code") {
|
|
3156
|
+
switch (_response.error.statusCode) {
|
|
3157
|
+
case 404:
|
|
3158
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3159
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3160
|
+
allowUnrecognizedUnionMembers: true,
|
|
3161
|
+
allowUnrecognizedEnumValues: true,
|
|
3162
|
+
skipValidation: true,
|
|
3163
|
+
breadcrumbsPrefix: ["response"],
|
|
3164
|
+
}), _response.rawResponse);
|
|
3165
|
+
case 429:
|
|
3166
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3167
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3168
|
+
allowUnrecognizedUnionMembers: true,
|
|
3169
|
+
allowUnrecognizedEnumValues: true,
|
|
3170
|
+
skipValidation: true,
|
|
3171
|
+
breadcrumbsPrefix: ["response"],
|
|
3172
|
+
}), _response.rawResponse);
|
|
3173
|
+
default:
|
|
3174
|
+
throw new errors.TaktoriaError({
|
|
3175
|
+
statusCode: _response.error.statusCode,
|
|
3176
|
+
body: _response.error.body,
|
|
3177
|
+
rawResponse: _response.rawResponse,
|
|
3178
|
+
});
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/stats");
|
|
3182
|
+
});
|
|
3183
|
+
}
|
|
3184
|
+
/**
|
|
3185
|
+
* Dory's Analytics page: totals, people joining and questions asked per
|
|
3186
|
+
* day, and the busiest events, across every event the caller may run (a
|
|
3187
|
+
* key, every event in the workspace). Needs `participants:read`.
|
|
3188
|
+
*
|
|
3189
|
+
* @param {Taktoria.EventsOverviewRequest} request
|
|
3190
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3191
|
+
*
|
|
3192
|
+
* @throws {@link Taktoria.UnauthorizedError}
|
|
3193
|
+
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
3194
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
3195
|
+
* @throws {@link errors.TaktoriaError}
|
|
3196
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
3197
|
+
*
|
|
3198
|
+
* @example
|
|
3199
|
+
* await client.dory.getEventsOverview({
|
|
3200
|
+
* days: 7
|
|
3201
|
+
* })
|
|
3202
|
+
*/
|
|
3203
|
+
getEventsOverview(request = {}, requestOptions) {
|
|
3204
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventsOverview(request, requestOptions));
|
|
3205
|
+
}
|
|
3206
|
+
__getEventsOverview() {
|
|
3207
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
3208
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3209
|
+
const { days } = request;
|
|
3210
|
+
const _queryParams = {
|
|
3211
|
+
days,
|
|
3212
|
+
};
|
|
3213
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3214
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3215
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3216
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/dory/analytics"),
|
|
3217
|
+
method: "GET",
|
|
3218
|
+
headers: _headers,
|
|
3219
|
+
queryString: core.url
|
|
3220
|
+
.queryBuilder()
|
|
3221
|
+
.addMany(_queryParams)
|
|
3222
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
3223
|
+
.build(),
|
|
3224
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
3225
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
3226
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
3227
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
3228
|
+
logging: this._options.logging,
|
|
3229
|
+
});
|
|
3230
|
+
if (_response.ok) {
|
|
3231
|
+
return {
|
|
3232
|
+
data: serializers.EventsOverview.parseOrThrow(_response.body, {
|
|
3233
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3234
|
+
allowUnrecognizedUnionMembers: true,
|
|
3235
|
+
allowUnrecognizedEnumValues: true,
|
|
3236
|
+
skipValidation: true,
|
|
3237
|
+
breadcrumbsPrefix: ["response"],
|
|
3238
|
+
}),
|
|
3239
|
+
rawResponse: _response.rawResponse,
|
|
3240
|
+
};
|
|
3241
|
+
}
|
|
3242
|
+
if (_response.error.reason === "status-code") {
|
|
3243
|
+
switch (_response.error.statusCode) {
|
|
3244
|
+
case 401:
|
|
3245
|
+
throw new Taktoria.UnauthorizedError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3246
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3247
|
+
allowUnrecognizedUnionMembers: true,
|
|
3248
|
+
allowUnrecognizedEnumValues: true,
|
|
3249
|
+
skipValidation: true,
|
|
3250
|
+
breadcrumbsPrefix: ["response"],
|
|
3251
|
+
}), _response.rawResponse);
|
|
3252
|
+
case 402:
|
|
3253
|
+
throw new Taktoria.SubscriptionRequiredError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3254
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3255
|
+
allowUnrecognizedUnionMembers: true,
|
|
3256
|
+
allowUnrecognizedEnumValues: true,
|
|
3257
|
+
skipValidation: true,
|
|
3258
|
+
breadcrumbsPrefix: ["response"],
|
|
3259
|
+
}), _response.rawResponse);
|
|
3260
|
+
case 429:
|
|
3261
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3262
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3263
|
+
allowUnrecognizedUnionMembers: true,
|
|
3264
|
+
allowUnrecognizedEnumValues: true,
|
|
3265
|
+
skipValidation: true,
|
|
3266
|
+
breadcrumbsPrefix: ["response"],
|
|
3267
|
+
}), _response.rawResponse);
|
|
3268
|
+
default:
|
|
3269
|
+
throw new errors.TaktoriaError({
|
|
3270
|
+
statusCode: _response.error.statusCode,
|
|
3271
|
+
body: _response.error.body,
|
|
3272
|
+
rawResponse: _response.rawResponse,
|
|
3273
|
+
});
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/analytics");
|
|
3277
|
+
});
|
|
3278
|
+
}
|
|
3279
|
+
/**
|
|
3280
|
+
* Everything on an event's numbers page: attendance against the
|
|
3281
|
+
* workspace's capacity, questions by outcome, how much of the room
|
|
3282
|
+
* asked or voted, the median wait for an answer, joins and questions
|
|
3283
|
+
* over time, the most upvoted questions and the polls' totals. Needs
|
|
3284
|
+
* `participants:read`.
|
|
3285
|
+
*
|
|
3286
|
+
* @param {string} eventId
|
|
3287
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3288
|
+
*
|
|
3289
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
3290
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
3291
|
+
* @throws {@link errors.TaktoriaError}
|
|
3292
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
3293
|
+
*
|
|
3294
|
+
* @example
|
|
3295
|
+
* await client.dory.getEventAnalytics("evt_7f3a")
|
|
3296
|
+
*/
|
|
3297
|
+
getEventAnalytics(eventId, requestOptions) {
|
|
3298
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventAnalytics(eventId, requestOptions));
|
|
3299
|
+
}
|
|
3300
|
+
__getEventAnalytics(eventId, requestOptions) {
|
|
3301
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3302
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3303
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3304
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3305
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3306
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/analytics`),
|
|
3307
|
+
method: "GET",
|
|
3308
|
+
headers: _headers,
|
|
3309
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
3310
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
3311
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
3312
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
3313
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
3314
|
+
logging: this._options.logging,
|
|
3315
|
+
});
|
|
3316
|
+
if (_response.ok) {
|
|
3317
|
+
return {
|
|
3318
|
+
data: serializers.EventAnalytics.parseOrThrow(_response.body, {
|
|
3319
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3320
|
+
allowUnrecognizedUnionMembers: true,
|
|
3321
|
+
allowUnrecognizedEnumValues: true,
|
|
3322
|
+
skipValidation: true,
|
|
3323
|
+
breadcrumbsPrefix: ["response"],
|
|
3324
|
+
}),
|
|
3325
|
+
rawResponse: _response.rawResponse,
|
|
3326
|
+
};
|
|
3327
|
+
}
|
|
3328
|
+
if (_response.error.reason === "status-code") {
|
|
3329
|
+
switch (_response.error.statusCode) {
|
|
3330
|
+
case 404:
|
|
3331
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3332
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3333
|
+
allowUnrecognizedUnionMembers: true,
|
|
3334
|
+
allowUnrecognizedEnumValues: true,
|
|
3335
|
+
skipValidation: true,
|
|
3336
|
+
breadcrumbsPrefix: ["response"],
|
|
3337
|
+
}), _response.rawResponse);
|
|
3338
|
+
case 429:
|
|
3339
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3340
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3341
|
+
allowUnrecognizedUnionMembers: true,
|
|
3342
|
+
allowUnrecognizedEnumValues: true,
|
|
3343
|
+
skipValidation: true,
|
|
3344
|
+
breadcrumbsPrefix: ["response"],
|
|
3345
|
+
}), _response.rawResponse);
|
|
3346
|
+
default:
|
|
3347
|
+
throw new errors.TaktoriaError({
|
|
3348
|
+
statusCode: _response.error.statusCode,
|
|
3349
|
+
body: _response.error.body,
|
|
3350
|
+
rawResponse: _response.rawResponse,
|
|
3351
|
+
});
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/analytics");
|
|
3355
|
+
});
|
|
3356
|
+
}
|
|
3357
|
+
/**
|
|
3358
|
+
* Every question asked in an event, as CSV (UTF-8, with a byte-order
|
|
3359
|
+
* mark): `Asked at`, `Asked by` ("Anonymous" for anonymous questions),
|
|
3360
|
+
* `Question`, `Status`, `Upvotes` and `Answer`. A cell that would start a
|
|
3361
|
+
* spreadsheet formula (`=`, `+`, `-`, `@`) is prefixed with `'`. Called
|
|
3362
|
+
* with a signed-in session, it answers only for an event that person
|
|
3363
|
+
* may run.
|
|
3364
|
+
*
|
|
3365
|
+
* @param {string} eventId
|
|
3366
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
3367
|
+
*
|
|
3368
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
3369
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
3370
|
+
* @throws {@link errors.TaktoriaError}
|
|
3371
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
3372
|
+
*
|
|
3373
|
+
* @example
|
|
3374
|
+
* await client.dory.exportQuestions("eventId")
|
|
3375
|
+
*/
|
|
3376
|
+
exportQuestions(eventId, requestOptions) {
|
|
3377
|
+
return core.HttpResponsePromise.fromPromise(this.__exportQuestions(eventId, requestOptions));
|
|
3378
|
+
}
|
|
3379
|
+
__exportQuestions(eventId, requestOptions) {
|
|
3380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3381
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
3382
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3383
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3384
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3385
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/dory/events/${core.url.encodePathParam(eventId)}/export`),
|
|
3386
|
+
method: "GET",
|
|
3387
|
+
headers: _headers,
|
|
3388
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
3389
|
+
responseType: "text",
|
|
3390
|
+
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
3391
|
+
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
3392
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
3393
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
3394
|
+
logging: this._options.logging,
|
|
3395
|
+
});
|
|
3396
|
+
if (_response.ok) {
|
|
3397
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
3398
|
+
}
|
|
3399
|
+
if (_response.error.reason === "status-code") {
|
|
3400
|
+
switch (_response.error.statusCode) {
|
|
3401
|
+
case 404:
|
|
3402
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3403
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3404
|
+
allowUnrecognizedUnionMembers: true,
|
|
3405
|
+
allowUnrecognizedEnumValues: true,
|
|
3406
|
+
skipValidation: true,
|
|
3407
|
+
breadcrumbsPrefix: ["response"],
|
|
3408
|
+
}), _response.rawResponse);
|
|
3409
|
+
case 429:
|
|
3410
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
3411
|
+
unrecognizedObjectKeys: "passthrough",
|
|
3412
|
+
allowUnrecognizedUnionMembers: true,
|
|
3413
|
+
allowUnrecognizedEnumValues: true,
|
|
3414
|
+
skipValidation: true,
|
|
3415
|
+
breadcrumbsPrefix: ["response"],
|
|
3416
|
+
}), _response.rawResponse);
|
|
3417
|
+
default:
|
|
3418
|
+
throw new errors.TaktoriaError({
|
|
3419
|
+
statusCode: _response.error.statusCode,
|
|
3420
|
+
body: _response.error.body,
|
|
3421
|
+
rawResponse: _response.rawResponse,
|
|
3422
|
+
});
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
3425
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/export");
|
|
3426
|
+
});
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
exports.DoryClient = DoryClient;
|