@taktoria/sdk 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +7 -2
- package/dist/cjs/api/resources/appDomains/client/Client.js +4 -4
- package/dist/cjs/api/resources/artifacts/client/Client.d.ts +14 -6
- package/dist/cjs/api/resources/artifacts/client/Client.js +22 -13
- package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.ts +13 -1
- package/dist/cjs/api/resources/auditLogs/client/Client.js +1 -1
- package/dist/cjs/api/resources/billing/client/Client.js +1 -1
- package/dist/cjs/api/resources/domains/client/Client.js +4 -4
- package/dist/cjs/api/resources/dory/client/Client.d.ts +28 -5
- package/dist/cjs/api/resources/dory/client/Client.js +119 -38
- package/dist/cjs/api/resources/dory/types/CreateEventRequest.d.ts +9 -4
- 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/UpdateEventRequest.d.ts +9 -4
- package/dist/cjs/api/resources/dory/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dory/types/index.js +1 -0
- package/dist/cjs/api/resources/golinks/client/Client.js +6 -6
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/insights/client/Client.js +4 -3
- package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.d.ts +12 -1
- package/dist/cjs/api/resources/launches/client/Client.d.ts +29 -13
- package/dist/cjs/api/resources/launches/client/Client.js +56 -22
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.d.ts +25 -1
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.d.ts +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.js +3 -0
- package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.d.ts +2 -2
- package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.d.ts +1 -1
- package/dist/cjs/api/resources/launches/types/TicketingProject.d.ts +13 -7
- package/dist/cjs/api/resources/links/client/Client.js +3 -3
- package/dist/cjs/api/resources/mcpConnections/client/Client.js +1 -1
- package/dist/cjs/api/resources/memegen/client/Client.js +8 -8
- package/dist/cjs/api/resources/okr/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/okr/client/Client.js +23 -15
- package/dist/cjs/api/resources/okr/types/KeyResult.d.ts +13 -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/index.d.ts +2 -0
- package/dist/cjs/api/resources/okr/types/index.js +2 -0
- package/dist/cjs/api/resources/organization/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/organization/client/Client.js +5 -2
- package/dist/cjs/api/resources/organization/types/Organization.d.ts +21 -0
- package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.d.ts +15 -0
- package/dist/cjs/api/resources/partnerDomains/client/Client.js +1 -1
- package/dist/cjs/api/resources/platform/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/platform/client/Client.js +4 -4
- package/dist/cjs/api/resources/platform/types/NotificationChannels.d.ts +7 -2
- package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +1 -1
- package/dist/cjs/api/resources/platform/types/WaitingForSeat.d.ts +2 -2
- package/dist/cjs/api/resources/posts/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/posts/client/Client.js +16 -5
- package/dist/cjs/api/resources/posts/types/LaunchPost.d.ts +4 -3
- package/dist/cjs/api/resources/process/client/Client.js +10 -10
- 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 +15 -9
- package/dist/cjs/api/resources/steps/client/Client.js +26 -19
- package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.d.ts +12 -1
- 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 +11 -1
- package/dist/cjs/api/resources/steps/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/steps/types/index.js +1 -0
- package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +1 -1
- package/dist/cjs/core/form-data-utils/FormDataWrapper.js +5 -1
- package/dist/cjs/core/schemas/builders/list/list.js +3 -1
- package/dist/cjs/core/schemas/builders/object/object.js +3 -1
- package/dist/cjs/core/schemas/builders/record/record.js +6 -2
- package/dist/cjs/core/url/encodePathParam.d.ts +3 -1
- package/dist/cjs/core/url/encodePathParam.js +8 -2
- package/dist/cjs/errors/TaktoriaError.js +16 -2
- 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/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/dory/types/index.js +1 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.d.ts +1 -1
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.js +1 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.d.ts +3 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.js +3 -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/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/okr/types/index.js +2 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.js +2 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.js +2 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.js +1 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.js +1 -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/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 +7 -1
- package/dist/cjs/serialization/resources/steps/types/NudgeResponse.js +7 -1
- package/dist/cjs/serialization/resources/steps/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/steps/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/appDomains/client/Client.mjs +4 -4
- package/dist/esm/api/resources/artifacts/client/Client.d.mts +14 -6
- package/dist/esm/api/resources/artifacts/client/Client.mjs +22 -13
- package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.mts +13 -1
- package/dist/esm/api/resources/auditLogs/client/Client.mjs +1 -1
- package/dist/esm/api/resources/billing/client/Client.mjs +1 -1
- package/dist/esm/api/resources/domains/client/Client.mjs +4 -4
- package/dist/esm/api/resources/dory/client/Client.d.mts +28 -5
- package/dist/esm/api/resources/dory/client/Client.mjs +119 -38
- package/dist/esm/api/resources/dory/types/CreateEventRequest.d.mts +9 -4
- 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/UpdateEventRequest.d.mts +9 -4
- package/dist/esm/api/resources/dory/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dory/types/index.mjs +1 -0
- package/dist/esm/api/resources/golinks/client/Client.mjs +6 -6
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/insights/client/Client.mjs +4 -3
- package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.d.mts +12 -1
- package/dist/esm/api/resources/launches/client/Client.d.mts +29 -13
- package/dist/esm/api/resources/launches/client/Client.mjs +56 -22
- package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.d.mts +25 -1
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.d.mts +3 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.mjs +3 -0
- package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.d.mts +2 -2
- package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.d.mts +1 -1
- package/dist/esm/api/resources/launches/types/TicketingProject.d.mts +13 -7
- package/dist/esm/api/resources/links/client/Client.mjs +3 -3
- package/dist/esm/api/resources/mcpConnections/client/Client.mjs +1 -1
- package/dist/esm/api/resources/memegen/client/Client.mjs +8 -8
- package/dist/esm/api/resources/okr/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/okr/client/Client.mjs +23 -15
- package/dist/esm/api/resources/okr/types/KeyResult.d.mts +13 -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/index.d.mts +2 -0
- package/dist/esm/api/resources/okr/types/index.mjs +2 -0
- package/dist/esm/api/resources/organization/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -2
- package/dist/esm/api/resources/organization/types/Organization.d.mts +21 -0
- package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.d.mts +15 -0
- package/dist/esm/api/resources/partnerDomains/client/Client.mjs +1 -1
- package/dist/esm/api/resources/platform/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/platform/client/Client.mjs +4 -4
- package/dist/esm/api/resources/platform/types/NotificationChannels.d.mts +7 -2
- package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +1 -1
- package/dist/esm/api/resources/platform/types/WaitingForSeat.d.mts +2 -2
- package/dist/esm/api/resources/posts/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/posts/client/Client.mjs +16 -5
- package/dist/esm/api/resources/posts/types/LaunchPost.d.mts +4 -3
- package/dist/esm/api/resources/process/client/Client.mjs +10 -10
- 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 +15 -9
- package/dist/esm/api/resources/steps/client/Client.mjs +26 -19
- package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.d.mts +12 -1
- 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 +11 -1
- package/dist/esm/api/resources/steps/types/index.d.mts +1 -0
- package/dist/esm/api/resources/steps/types/index.mjs +1 -0
- package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +1 -1
- package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +5 -1
- package/dist/esm/core/schemas/builders/list/list.mjs +3 -1
- package/dist/esm/core/schemas/builders/object/object.mjs +3 -1
- package/dist/esm/core/schemas/builders/record/record.mjs +6 -2
- package/dist/esm/core/url/encodePathParam.d.mts +3 -1
- package/dist/esm/core/url/encodePathParam.mjs +8 -2
- package/dist/esm/errors/TaktoriaError.mjs +16 -2
- 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/index.d.mts +1 -0
- package/dist/esm/serialization/resources/dory/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.d.mts +1 -1
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.mjs +1 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.d.mts +3 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.mjs +3 -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/index.d.mts +2 -0
- package/dist/esm/serialization/resources/okr/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/organization/types/Organization.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/types/Organization.mjs +2 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.mjs +2 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.mjs +1 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.mjs +1 -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/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 +7 -1
- package/dist/esm/serialization/resources/steps/types/NudgeResponse.mjs +7 -1
- package/dist/esm/serialization/resources/steps/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/steps/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +13 -1
- package/reference.md +285 -39
|
@@ -266,7 +266,7 @@ export class DoryClient {
|
|
|
266
266
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
267
267
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
268
268
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
269
|
-
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)}`),
|
|
269
|
+
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, errors.TaktoriaError)}`),
|
|
270
270
|
method: "GET",
|
|
271
271
|
headers: _headers,
|
|
272
272
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -342,7 +342,7 @@ export class DoryClient {
|
|
|
342
342
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
343
343
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
344
344
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
345
|
-
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)}`),
|
|
345
|
+
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, errors.TaktoriaError)}`),
|
|
346
346
|
method: "PATCH",
|
|
347
347
|
headers: _headers,
|
|
348
348
|
contentType: "application/json",
|
|
@@ -425,11 +425,12 @@ export class DoryClient {
|
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
427
|
* A copy of the event, to run it again, Not started until it is given
|
|
428
|
-
* a start. Its description,
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
* participants, results, billing
|
|
432
|
-
* and belongs to whoever made it.
|
|
428
|
+
* a start. Its description, passcode, audience and domains, room and
|
|
429
|
+
* presenter settings, instructions, meeting link (`meetingUrl`, so a
|
|
430
|
+
* recurring call keeps its link), time zone, hosts and polls (as
|
|
431
|
+
* drafts) come along; its questions, participants, results, billing
|
|
432
|
+
* and dates do not. It gets a new code and belongs to whoever made it.
|
|
433
|
+
* Needs `events:write`.
|
|
433
434
|
*
|
|
434
435
|
* @param {string} eventId
|
|
435
436
|
* @param {Taktoria.DuplicateEventRequest} request
|
|
@@ -454,7 +455,7 @@ export class DoryClient {
|
|
|
454
455
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
455
456
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
456
457
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
457
|
-
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`),
|
|
458
|
+
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, errors.TaktoriaError)}/duplicate`),
|
|
458
459
|
method: "POST",
|
|
459
460
|
headers: _headers,
|
|
460
461
|
contentType: "application/json",
|
|
@@ -550,7 +551,7 @@ export class DoryClient {
|
|
|
550
551
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
551
552
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
552
553
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
553
|
-
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`),
|
|
554
|
+
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, errors.TaktoriaError)}/hosts`),
|
|
554
555
|
method: "GET",
|
|
555
556
|
headers: _headers,
|
|
556
557
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -634,7 +635,7 @@ export class DoryClient {
|
|
|
634
635
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
635
636
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
636
637
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
637
|
-
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`),
|
|
638
|
+
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, errors.TaktoriaError)}/hosts`),
|
|
638
639
|
method: "PUT",
|
|
639
640
|
headers: _headers,
|
|
640
641
|
contentType: "application/json",
|
|
@@ -741,7 +742,7 @@ export class DoryClient {
|
|
|
741
742
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
742
743
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
743
744
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
744
|
-
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`),
|
|
745
|
+
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, errors.TaktoriaError)}/hosts/users`),
|
|
745
746
|
method: "POST",
|
|
746
747
|
headers: _headers,
|
|
747
748
|
contentType: "application/json",
|
|
@@ -846,7 +847,7 @@ export class DoryClient {
|
|
|
846
847
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
847
848
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
848
849
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
849
|
-
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)}`),
|
|
850
|
+
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, errors.TaktoriaError)}/hosts/users/${core.url.encodePathParam(userId, errors.TaktoriaError)}`),
|
|
850
851
|
method: "DELETE",
|
|
851
852
|
headers: _headers,
|
|
852
853
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -945,7 +946,7 @@ export class DoryClient {
|
|
|
945
946
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
946
947
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
947
948
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
948
|
-
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`),
|
|
949
|
+
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, errors.TaktoriaError)}/hosts/teams`),
|
|
949
950
|
method: "POST",
|
|
950
951
|
headers: _headers,
|
|
951
952
|
contentType: "application/json",
|
|
@@ -1047,7 +1048,7 @@ export class DoryClient {
|
|
|
1047
1048
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1048
1049
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1049
1050
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1050
|
-
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)}`),
|
|
1051
|
+
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, errors.TaktoriaError)}/hosts/teams/${core.url.encodePathParam(teamId, errors.TaktoriaError)}`),
|
|
1051
1052
|
method: "DELETE",
|
|
1052
1053
|
headers: _headers,
|
|
1053
1054
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1157,7 +1158,7 @@ export class DoryClient {
|
|
|
1157
1158
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1158
1159
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1159
1160
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1160
|
-
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)}`),
|
|
1161
|
+
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, errors.TaktoriaError)}`),
|
|
1161
1162
|
method: "DELETE",
|
|
1162
1163
|
headers: _headers,
|
|
1163
1164
|
queryString: core.url
|
|
@@ -1247,7 +1248,7 @@ export class DoryClient {
|
|
|
1247
1248
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1248
1249
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1249
1250
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1250
|
-
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`),
|
|
1251
|
+
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, errors.TaktoriaError)}/restore`),
|
|
1251
1252
|
method: "POST",
|
|
1252
1253
|
headers: _headers,
|
|
1253
1254
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1344,7 +1345,7 @@ export class DoryClient {
|
|
|
1344
1345
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1345
1346
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1346
1347
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1347
|
-
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`),
|
|
1348
|
+
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, errors.TaktoriaError)}/start`),
|
|
1348
1349
|
method: "POST",
|
|
1349
1350
|
headers: _headers,
|
|
1350
1351
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1442,7 +1443,7 @@ export class DoryClient {
|
|
|
1442
1443
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1443
1444
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1444
1445
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1445
|
-
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`),
|
|
1446
|
+
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, errors.TaktoriaError)}/extend`),
|
|
1446
1447
|
method: "POST",
|
|
1447
1448
|
headers: _headers,
|
|
1448
1449
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1542,7 +1543,7 @@ export class DoryClient {
|
|
|
1542
1543
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1543
1544
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1544
1545
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1545
|
-
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`),
|
|
1546
|
+
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, errors.TaktoriaError)}/join`),
|
|
1546
1547
|
method: "GET",
|
|
1547
1548
|
headers: _headers,
|
|
1548
1549
|
queryString: core.url
|
|
@@ -1605,6 +1606,86 @@ export class DoryClient {
|
|
|
1605
1606
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/join");
|
|
1606
1607
|
});
|
|
1607
1608
|
}
|
|
1609
|
+
/**
|
|
1610
|
+
* The event for a calendar and a meeting invite, as the console's
|
|
1611
|
+
* **Add to calendar** gives it: the lines to paste into an invite,
|
|
1612
|
+
* links that open Google Calendar's and Outlook's new-event pages
|
|
1613
|
+
* filled in, and the .ics file, each with the join link and code from
|
|
1614
|
+
* `getEventJoinLink`, never the passcode. An event with no `startsAt`
|
|
1615
|
+
* has the invite text only. In the signed-in person's language,
|
|
1616
|
+
* English for a key. Needs `events:read`.
|
|
1617
|
+
*
|
|
1618
|
+
* @param {string} eventId
|
|
1619
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1620
|
+
*
|
|
1621
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1622
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1623
|
+
* @throws {@link errors.TaktoriaError}
|
|
1624
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1625
|
+
*
|
|
1626
|
+
* @example
|
|
1627
|
+
* await client.dory.getEventCalendarInvite("evt_7f3a")
|
|
1628
|
+
*/
|
|
1629
|
+
getEventCalendarInvite(eventId, requestOptions) {
|
|
1630
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventCalendarInvite(eventId, requestOptions));
|
|
1631
|
+
}
|
|
1632
|
+
__getEventCalendarInvite(eventId, requestOptions) {
|
|
1633
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1634
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1635
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1636
|
+
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1637
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1638
|
+
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, errors.TaktoriaError)}/calendar-invite`),
|
|
1639
|
+
method: "GET",
|
|
1640
|
+
headers: _headers,
|
|
1641
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1642
|
+
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,
|
|
1643
|
+
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,
|
|
1644
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1645
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1646
|
+
logging: this._options.logging,
|
|
1647
|
+
});
|
|
1648
|
+
if (_response.ok) {
|
|
1649
|
+
return {
|
|
1650
|
+
data: serializers.EventCalendarInvite.parseOrThrow(_response.body, {
|
|
1651
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1652
|
+
allowUnrecognizedUnionMembers: true,
|
|
1653
|
+
allowUnrecognizedEnumValues: true,
|
|
1654
|
+
skipValidation: true,
|
|
1655
|
+
breadcrumbsPrefix: ["response"],
|
|
1656
|
+
}),
|
|
1657
|
+
rawResponse: _response.rawResponse,
|
|
1658
|
+
};
|
|
1659
|
+
}
|
|
1660
|
+
if (_response.error.reason === "status-code") {
|
|
1661
|
+
switch (_response.error.statusCode) {
|
|
1662
|
+
case 404:
|
|
1663
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1664
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1665
|
+
allowUnrecognizedUnionMembers: true,
|
|
1666
|
+
allowUnrecognizedEnumValues: true,
|
|
1667
|
+
skipValidation: true,
|
|
1668
|
+
breadcrumbsPrefix: ["response"],
|
|
1669
|
+
}), _response.rawResponse);
|
|
1670
|
+
case 429:
|
|
1671
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1672
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1673
|
+
allowUnrecognizedUnionMembers: true,
|
|
1674
|
+
allowUnrecognizedEnumValues: true,
|
|
1675
|
+
skipValidation: true,
|
|
1676
|
+
breadcrumbsPrefix: ["response"],
|
|
1677
|
+
}), _response.rawResponse);
|
|
1678
|
+
default:
|
|
1679
|
+
throw new errors.TaktoriaError({
|
|
1680
|
+
statusCode: _response.error.statusCode,
|
|
1681
|
+
body: _response.error.body,
|
|
1682
|
+
rawResponse: _response.rawResponse,
|
|
1683
|
+
});
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/calendar-invite");
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1608
1689
|
/**
|
|
1609
1690
|
* @param {string} eventId
|
|
1610
1691
|
* @param {Taktoria.ListQuestionsRequest} request
|
|
@@ -1645,7 +1726,7 @@ export class DoryClient {
|
|
|
1645
1726
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1646
1727
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1647
1728
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1648
|
-
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`),
|
|
1729
|
+
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, errors.TaktoriaError)}/questions`),
|
|
1649
1730
|
method: "GET",
|
|
1650
1731
|
headers: _headers,
|
|
1651
1732
|
queryString: core.url
|
|
@@ -1734,7 +1815,7 @@ export class DoryClient {
|
|
|
1734
1815
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1735
1816
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1736
1817
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1737
|
-
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`),
|
|
1818
|
+
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, errors.TaktoriaError)}/questions`),
|
|
1738
1819
|
method: "POST",
|
|
1739
1820
|
headers: _headers,
|
|
1740
1821
|
contentType: "application/json",
|
|
@@ -1828,7 +1909,7 @@ export class DoryClient {
|
|
|
1828
1909
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1829
1910
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1830
1911
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1831
|
-
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)}`),
|
|
1912
|
+
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, errors.TaktoriaError)}`),
|
|
1832
1913
|
method: "GET",
|
|
1833
1914
|
headers: _headers,
|
|
1834
1915
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1910,7 +1991,7 @@ export class DoryClient {
|
|
|
1910
1991
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1911
1992
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1912
1993
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1913
|
-
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)}`),
|
|
1994
|
+
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, errors.TaktoriaError)}`),
|
|
1914
1995
|
method: "PATCH",
|
|
1915
1996
|
headers: _headers,
|
|
1916
1997
|
contentType: "application/json",
|
|
@@ -2010,7 +2091,7 @@ export class DoryClient {
|
|
|
2010
2091
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2011
2092
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2012
2093
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2013
|
-
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)}`),
|
|
2094
|
+
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, errors.TaktoriaError)}`),
|
|
2014
2095
|
method: "DELETE",
|
|
2015
2096
|
headers: _headers,
|
|
2016
2097
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2088,7 +2169,7 @@ export class DoryClient {
|
|
|
2088
2169
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2089
2170
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2090
2171
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2091
|
-
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`),
|
|
2172
|
+
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, errors.TaktoriaError)}/spotlight`),
|
|
2092
2173
|
method: "POST",
|
|
2093
2174
|
headers: _headers,
|
|
2094
2175
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2173,7 +2254,7 @@ export class DoryClient {
|
|
|
2173
2254
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2174
2255
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2175
2256
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2176
|
-
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`),
|
|
2257
|
+
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, errors.TaktoriaError)}/queue`),
|
|
2177
2258
|
method: "GET",
|
|
2178
2259
|
headers: _headers,
|
|
2179
2260
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2256,7 +2337,7 @@ export class DoryClient {
|
|
|
2256
2337
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2257
2338
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2258
2339
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2259
|
-
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`),
|
|
2340
|
+
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, errors.TaktoriaError)}/queue/next`),
|
|
2260
2341
|
method: "POST",
|
|
2261
2342
|
headers: _headers,
|
|
2262
2343
|
contentType: "application/json",
|
|
@@ -2350,7 +2431,7 @@ export class DoryClient {
|
|
|
2350
2431
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2351
2432
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2352
2433
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2353
|
-
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`),
|
|
2434
|
+
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, errors.TaktoriaError)}/polls`),
|
|
2354
2435
|
method: "GET",
|
|
2355
2436
|
headers: _headers,
|
|
2356
2437
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2433,7 +2514,7 @@ export class DoryClient {
|
|
|
2433
2514
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2434
2515
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2435
2516
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2436
|
-
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`),
|
|
2517
|
+
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, errors.TaktoriaError)}/polls`),
|
|
2437
2518
|
method: "POST",
|
|
2438
2519
|
headers: _headers,
|
|
2439
2520
|
contentType: "application/json",
|
|
@@ -2527,7 +2608,7 @@ export class DoryClient {
|
|
|
2527
2608
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2528
2609
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2529
2610
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2530
|
-
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)}`),
|
|
2611
|
+
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, errors.TaktoriaError)}`),
|
|
2531
2612
|
method: "GET",
|
|
2532
2613
|
headers: _headers,
|
|
2533
2614
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2607,7 +2688,7 @@ export class DoryClient {
|
|
|
2607
2688
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2608
2689
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2609
2690
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2610
|
-
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)}`),
|
|
2691
|
+
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, errors.TaktoriaError)}`),
|
|
2611
2692
|
method: "PATCH",
|
|
2612
2693
|
headers: _headers,
|
|
2613
2694
|
contentType: "application/json",
|
|
@@ -2702,7 +2783,7 @@ export class DoryClient {
|
|
|
2702
2783
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2703
2784
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2704
2785
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2705
|
-
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)}`),
|
|
2786
|
+
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, errors.TaktoriaError)}`),
|
|
2706
2787
|
method: "DELETE",
|
|
2707
2788
|
headers: _headers,
|
|
2708
2789
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2775,7 +2856,7 @@ export class DoryClient {
|
|
|
2775
2856
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2776
2857
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2777
2858
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2778
|
-
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`),
|
|
2859
|
+
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, errors.TaktoriaError)}/results`),
|
|
2779
2860
|
method: "GET",
|
|
2780
2861
|
headers: _headers,
|
|
2781
2862
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -2856,7 +2937,7 @@ export class DoryClient {
|
|
|
2856
2937
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2857
2938
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2858
2939
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2859
|
-
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`),
|
|
2940
|
+
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, errors.TaktoriaError)}/participants`),
|
|
2860
2941
|
method: "GET",
|
|
2861
2942
|
headers: _headers,
|
|
2862
2943
|
queryString: core.url
|
|
@@ -2937,7 +3018,7 @@ export class DoryClient {
|
|
|
2937
3018
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2938
3019
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2939
3020
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2940
|
-
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`),
|
|
3021
|
+
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, errors.TaktoriaError)}/leaderboard`),
|
|
2941
3022
|
method: "GET",
|
|
2942
3023
|
headers: _headers,
|
|
2943
3024
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -3013,7 +3094,7 @@ export class DoryClient {
|
|
|
3013
3094
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3014
3095
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3015
3096
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3016
|
-
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`),
|
|
3097
|
+
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, errors.TaktoriaError)}/stats`),
|
|
3017
3098
|
method: "GET",
|
|
3018
3099
|
headers: _headers,
|
|
3019
3100
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -3186,7 +3267,7 @@ export class DoryClient {
|
|
|
3186
3267
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3187
3268
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3188
3269
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3189
|
-
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`),
|
|
3270
|
+
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, errors.TaktoriaError)}/analytics`),
|
|
3190
3271
|
method: "GET",
|
|
3191
3272
|
headers: _headers,
|
|
3192
3273
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -3265,7 +3346,7 @@ export class DoryClient {
|
|
|
3265
3346
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
3266
3347
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
3267
3348
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
3268
|
-
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`),
|
|
3349
|
+
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, errors.TaktoriaError)}/export`),
|
|
3269
3350
|
method: "GET",
|
|
3270
3351
|
headers: _headers,
|
|
3271
3352
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -38,10 +38,15 @@ export interface CreateEventRequest {
|
|
|
38
38
|
instructions?: string;
|
|
39
39
|
/**
|
|
40
40
|
* The Zoom, Google Meet or Microsoft Teams call the event runs
|
|
41
|
-
* beside
|
|
42
|
-
* `
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* beside, as an https join link. For example: a Zoom meeting, webinar
|
|
42
|
+
* or personal room (`zoom.us/j/…`, `/w/…`, `/my/…`, on `zoom.us`,
|
|
43
|
+
* `zoom.com` or `zoomgov.com` and their regional hosts such as
|
|
44
|
+
* `us02web.zoom.us`); a Meet code (`meet.google.com/abc-defg-hij`);
|
|
45
|
+
* or a Teams meeting (`teams.microsoft.com/l/meetup-join/…` or
|
|
46
|
+
* `/meet/…`, on `teams.microsoft.com`, `teams.live.com`,
|
|
47
|
+
* `teams.cloud.microsoft` or the government clouds). A link still
|
|
48
|
+
* wrapped in Outlook's Safe Links is unwrapped. Anything else, or a
|
|
49
|
+
* Zoom start link (`/s/…`), is refused (422). Empty or null clears it.
|
|
45
50
|
*/
|
|
46
51
|
meetingUrl?: string;
|
|
47
52
|
allowAnonymous?: boolean;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An event for a calendar and a meeting invite, as the console's **Add to
|
|
3
|
+
* calendar** and **Copy invite text** give it. Each part carries the
|
|
4
|
+
* join link and the join code, never the passcode, which a calendar
|
|
5
|
+
* would sync and forward.
|
|
6
|
+
*/
|
|
7
|
+
export interface EventCalendarInvite {
|
|
8
|
+
eventId: string;
|
|
9
|
+
/** The code attendees can type instead of following the link. */
|
|
10
|
+
code: string;
|
|
11
|
+
/** The link to hand out, the same one `getEventJoinLink` gives. */
|
|
12
|
+
joinUrl: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether attendees must type a passcode as well, to be given to them
|
|
15
|
+
* separately. The passcode itself is never returned.
|
|
16
|
+
*/
|
|
17
|
+
hasPasscode: boolean;
|
|
18
|
+
startsAt?: Date;
|
|
19
|
+
/** Absent, a calendar gives the event an hour. */
|
|
20
|
+
endsAt?: Date;
|
|
21
|
+
/** The event's IANA time zone, which the invite's times are written in. */
|
|
22
|
+
timeZone?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The title, when it runs in the event's time zone, the join link and
|
|
25
|
+
* the join code, one to a line, to paste into a meeting's invite or a
|
|
26
|
+
* message. In the signed-in person's language, English for a key.
|
|
27
|
+
*/
|
|
28
|
+
inviteText: string;
|
|
29
|
+
/** Opens Google Calendar's new-event page, filled in. Absent with no `startsAt`. */
|
|
30
|
+
googleCalendarUrl?: string;
|
|
31
|
+
/** The same for Outlook on the web, for work or school accounts. Absent with no `startsAt`. */
|
|
32
|
+
outlookUrl?: string;
|
|
33
|
+
/** The same for Outlook.com, for personal accounts. Absent with no `startsAt`. */
|
|
34
|
+
outlookComUrl?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The event as an iCalendar file, for Apple Calendar or any other.
|
|
37
|
+
* Its `UID` is the event's, so adding it again updates the copy.
|
|
38
|
+
* Absent with no `startsAt`: a calendar has nowhere to put it.
|
|
39
|
+
*/
|
|
40
|
+
ics?: string;
|
|
41
|
+
}
|
|
@@ -33,10 +33,15 @@ export interface UpdateEventRequest {
|
|
|
33
33
|
instructions?: string;
|
|
34
34
|
/**
|
|
35
35
|
* The Zoom, Google Meet or Microsoft Teams call the event runs
|
|
36
|
-
* beside
|
|
37
|
-
* `
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* beside, as an https join link. For example: a Zoom meeting, webinar
|
|
37
|
+
* or personal room (`zoom.us/j/…`, `/w/…`, `/my/…`, on `zoom.us`,
|
|
38
|
+
* `zoom.com` or `zoomgov.com` and their regional hosts such as
|
|
39
|
+
* `us02web.zoom.us`); a Meet code (`meet.google.com/abc-defg-hij`);
|
|
40
|
+
* or a Teams meeting (`teams.microsoft.com/l/meetup-join/…` or
|
|
41
|
+
* `/meet/…`, on `teams.microsoft.com`, `teams.live.com`,
|
|
42
|
+
* `teams.cloud.microsoft` or the government clouds). A link still
|
|
43
|
+
* wrapped in Outlook's Safe Links is unwrapped. Anything else, or a
|
|
44
|
+
* Zoom start link (`/s/…`), is refused (422). Empty or null clears it.
|
|
40
45
|
*/
|
|
41
46
|
meetingUrl?: string;
|
|
42
47
|
allowAnonymous?: boolean;
|
|
@@ -13,6 +13,7 @@ export * from "./CreateQuestionRequest.mjs";
|
|
|
13
13
|
export * from "./Event.mjs";
|
|
14
14
|
export * from "./EventAnalytics.mjs";
|
|
15
15
|
export * from "./EventAudience.mjs";
|
|
16
|
+
export * from "./EventCalendarInvite.mjs";
|
|
16
17
|
export * from "./EventHosts.mjs";
|
|
17
18
|
export * from "./EventJoinLink.mjs";
|
|
18
19
|
export * from "./EventPage.mjs";
|
|
@@ -13,6 +13,7 @@ export * from "./CreateQuestionRequest.mjs";
|
|
|
13
13
|
export * from "./Event.mjs";
|
|
14
14
|
export * from "./EventAnalytics.mjs";
|
|
15
15
|
export * from "./EventAudience.mjs";
|
|
16
|
+
export * from "./EventCalendarInvite.mjs";
|
|
16
17
|
export * from "./EventHosts.mjs";
|
|
17
18
|
export * from "./EventJoinLink.mjs";
|
|
18
19
|
export * from "./EventPage.mjs";
|
|
@@ -267,7 +267,7 @@ export class GolinksClient {
|
|
|
267
267
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
268
268
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
269
269
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
270
|
-
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, `/golinks/${core.url.encodePathParam(linkId)}`),
|
|
270
|
+
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, `/golinks/${core.url.encodePathParam(linkId, errors.TaktoriaError)}`),
|
|
271
271
|
method: "GET",
|
|
272
272
|
headers: _headers,
|
|
273
273
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -348,7 +348,7 @@ export class GolinksClient {
|
|
|
348
348
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
349
349
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
350
350
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
351
|
-
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, `/golinks/by-slug/${core.url.encodePathParam(slug)}`),
|
|
351
|
+
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, `/golinks/by-slug/${core.url.encodePathParam(slug, errors.TaktoriaError)}`),
|
|
352
352
|
method: "GET",
|
|
353
353
|
headers: _headers,
|
|
354
354
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -441,7 +441,7 @@ export class GolinksClient {
|
|
|
441
441
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
442
442
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
443
443
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
444
|
-
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, `/golinks/${core.url.encodePathParam(linkId)}/qr`),
|
|
444
|
+
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, `/golinks/${core.url.encodePathParam(linkId, errors.TaktoriaError)}/qr`),
|
|
445
445
|
method: "GET",
|
|
446
446
|
headers: _headers,
|
|
447
447
|
queryString: core.url
|
|
@@ -534,7 +534,7 @@ export class GolinksClient {
|
|
|
534
534
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
535
535
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
536
536
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
537
|
-
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, `/golinks/${core.url.encodePathParam(linkId)}`),
|
|
537
|
+
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, `/golinks/${core.url.encodePathParam(linkId, errors.TaktoriaError)}`),
|
|
538
538
|
method: "PATCH",
|
|
539
539
|
headers: _headers,
|
|
540
540
|
contentType: "application/json",
|
|
@@ -643,7 +643,7 @@ export class GolinksClient {
|
|
|
643
643
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
644
644
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
645
645
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
646
|
-
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, `/golinks/${core.url.encodePathParam(linkId)}`),
|
|
646
|
+
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, `/golinks/${core.url.encodePathParam(linkId, errors.TaktoriaError)}`),
|
|
647
647
|
method: "DELETE",
|
|
648
648
|
headers: _headers,
|
|
649
649
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -721,7 +721,7 @@ export class GolinksClient {
|
|
|
721
721
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
722
722
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
723
723
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
724
|
-
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, `/golinks/${core.url.encodePathParam(linkId)}/clicks`),
|
|
724
|
+
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, `/golinks/${core.url.encodePathParam(linkId, errors.TaktoriaError)}/clicks`),
|
|
725
725
|
method: "GET",
|
|
726
726
|
headers: _headers,
|
|
727
727
|
queryString: core.url
|
|
@@ -61,6 +61,9 @@ export * from "./process/types/index.mjs";
|
|
|
61
61
|
export * from "./search/client/requests/index.mjs";
|
|
62
62
|
export * as search from "./search/index.mjs";
|
|
63
63
|
export * from "./search/types/index.mjs";
|
|
64
|
+
export * from "./slackConnections/client/requests/index.mjs";
|
|
65
|
+
export * as slackConnections from "./slackConnections/index.mjs";
|
|
66
|
+
export * from "./slackConnections/types/index.mjs";
|
|
64
67
|
export * from "./steps/client/requests/index.mjs";
|
|
65
68
|
export * as steps from "./steps/index.mjs";
|
|
66
69
|
export * from "./steps/types/index.mjs";
|