@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
package/dist/esm/Client.mjs
CHANGED
|
@@ -30,6 +30,7 @@ import { PlatformClient } from "./api/resources/platform/client/Client.mjs";
|
|
|
30
30
|
import { PostsClient } from "./api/resources/posts/client/Client.mjs";
|
|
31
31
|
import { ProcessClient } from "./api/resources/process/client/Client.mjs";
|
|
32
32
|
import { SearchClient } from "./api/resources/search/client/Client.mjs";
|
|
33
|
+
import { SlackConnectionsClient } from "./api/resources/slackConnections/client/Client.mjs";
|
|
33
34
|
import { StepsClient } from "./api/resources/steps/client/Client.mjs";
|
|
34
35
|
import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
35
36
|
import * as core from "./core/index.mjs";
|
|
@@ -125,6 +126,10 @@ export class TaktoriaClient {
|
|
|
125
126
|
var _a;
|
|
126
127
|
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new SearchClient(this._options)));
|
|
127
128
|
}
|
|
129
|
+
get slackConnections() {
|
|
130
|
+
var _a;
|
|
131
|
+
return ((_a = this._slackConnections) !== null && _a !== void 0 ? _a : (this._slackConnections = new SlackConnectionsClient(this._options)));
|
|
132
|
+
}
|
|
128
133
|
get steps() {
|
|
129
134
|
var _a;
|
|
130
135
|
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new StepsClient(this._options)));
|
|
@@ -139,7 +139,7 @@ export class AppDomainsClient {
|
|
|
139
139
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
140
140
|
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);
|
|
141
141
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
142
|
-
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, `apps/${core.url.encodePathParam(appSlug)}/domain`),
|
|
142
|
+
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, `apps/${core.url.encodePathParam(appSlug, errors.TaktoriaError)}/domain`),
|
|
143
143
|
method: "GET",
|
|
144
144
|
headers: _headers,
|
|
145
145
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -244,7 +244,7 @@ export class AppDomainsClient {
|
|
|
244
244
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
245
245
|
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);
|
|
246
246
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
247
|
-
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, `apps/${core.url.encodePathParam(appSlug)}/domain`),
|
|
247
|
+
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, `apps/${core.url.encodePathParam(appSlug, errors.TaktoriaError)}/domain`),
|
|
248
248
|
method: "PUT",
|
|
249
249
|
headers: _headers,
|
|
250
250
|
contentType: "application/json",
|
|
@@ -358,7 +358,7 @@ export class AppDomainsClient {
|
|
|
358
358
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
359
359
|
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);
|
|
360
360
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
361
|
-
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, `apps/${core.url.encodePathParam(appSlug)}/domain`),
|
|
361
|
+
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, `apps/${core.url.encodePathParam(appSlug, errors.TaktoriaError)}/domain`),
|
|
362
362
|
method: "DELETE",
|
|
363
363
|
headers: _headers,
|
|
364
364
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -442,7 +442,7 @@ export class AppDomainsClient {
|
|
|
442
442
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
443
443
|
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);
|
|
444
444
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
445
|
-
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, `apps/${core.url.encodePathParam(appSlug)}/domain/verify`),
|
|
445
|
+
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, `apps/${core.url.encodePathParam(appSlug, errors.TaktoriaError)}/domain/verify`),
|
|
446
446
|
method: "POST",
|
|
447
447
|
headers: _headers,
|
|
448
448
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -14,7 +14,7 @@ export declare class ArtifactsClient {
|
|
|
14
14
|
* Every launch's artifacts, as the Artifacts page shows them across
|
|
15
15
|
* launches: by their launch's planned launch date (drafts without one
|
|
16
16
|
* first), then by type, each with its launch. Gather a quarter's
|
|
17
|
-
* learnings, say, with `type=LEARNINGS&
|
|
17
|
+
* learnings, say, with `type=LEARNINGS&period=2026-Q3`. A launch
|
|
18
18
|
* has its artifacts once its steps are added or they are created
|
|
19
19
|
* (`POST /launches/{launchId}/artifacts`); one with none is not listed.
|
|
20
20
|
* Needs `artifacts:read`.
|
|
@@ -117,9 +117,13 @@ export declare class ArtifactsClient {
|
|
|
117
117
|
* `outcome` is `replaced`. The link is kept on the artifact
|
|
118
118
|
* (`exports`). Writing it changes the launch, so a Viewer of LaunchCal
|
|
119
119
|
* is refused. Counts against `docs-export`. Needs `artifacts:write`.
|
|
120
|
-
*
|
|
121
|
-
* tool
|
|
122
|
-
*
|
|
120
|
+
* An artifact with nothing written in it is `409 artifact_empty`, a
|
|
121
|
+
* tool this deployment does not export to `409 docs_tool_unavailable`,
|
|
122
|
+
* a tool the person has not connected `409 docs_not_connected`, a
|
|
123
|
+
* connection the tool turned down `409 docs_reconnect`, a
|
|
124
|
+
* `destinationId` that cannot take a page or that their account
|
|
125
|
+
* cannot reach `409 docs_destination_invalid`, and a tool that did
|
|
126
|
+
* not answer `502 upstream_error`.
|
|
123
127
|
*
|
|
124
128
|
* @param {string} launchId
|
|
125
129
|
* @param {Taktoria.ArtifactType} type
|
|
@@ -164,8 +168,12 @@ export declare class ArtifactsClient {
|
|
|
164
168
|
* Where the signed-in person may export to in a tool, read from it with
|
|
165
169
|
* their own account: the Notion pages they shared with Taktoria when
|
|
166
170
|
* connecting (and the pages in them), or the Confluence spaces they can
|
|
167
|
-
* see. Empty for Google Docs. Counts against `docs-browse`.
|
|
168
|
-
* `
|
|
171
|
+
* see. Empty for Google Docs. Counts against `docs-browse`. A
|
|
172
|
+
* workspace key is refused (`person_required`); a tool this deployment
|
|
173
|
+
* does not export to is `409 docs_tool_unavailable`, one the person
|
|
174
|
+
* has not connected `409 docs_not_connected`, a connection the tool
|
|
175
|
+
* turned down `409 docs_reconnect`, and a tool that did not answer
|
|
176
|
+
* `502 upstream_error`. Needs `artifacts:read`.
|
|
169
177
|
*
|
|
170
178
|
* @param {Taktoria.DocsTool} tool
|
|
171
179
|
* @param {Taktoria.ListDocsDestinationsRequest} request
|
|
@@ -25,7 +25,7 @@ export class ArtifactsClient {
|
|
|
25
25
|
* Every launch's artifacts, as the Artifacts page shows them across
|
|
26
26
|
* launches: by their launch's planned launch date (drafts without one
|
|
27
27
|
* first), then by type, each with its launch. Gather a quarter's
|
|
28
|
-
* learnings, say, with `type=LEARNINGS&
|
|
28
|
+
* learnings, say, with `type=LEARNINGS&period=2026-Q3`. A launch
|
|
29
29
|
* has its artifacts once its steps are added or they are created
|
|
30
30
|
* (`POST /launches/{launchId}/artifacts`); one with none is not listed.
|
|
31
31
|
* Needs `artifacts:read`.
|
|
@@ -53,7 +53,7 @@ export class ArtifactsClient {
|
|
|
53
53
|
__listAll() {
|
|
54
54
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
55
55
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
56
|
-
const { type: type_, year, quarter, limit, cursor } = request;
|
|
56
|
+
const { type: type_, period, year, quarter, limit, cursor } = request;
|
|
57
57
|
const _queryParams = {
|
|
58
58
|
type: type_ != null
|
|
59
59
|
? serializers.ArtifactType.jsonOrThrow(type_, {
|
|
@@ -61,6 +61,7 @@ export class ArtifactsClient {
|
|
|
61
61
|
omitUndefined: true,
|
|
62
62
|
})
|
|
63
63
|
: undefined,
|
|
64
|
+
period,
|
|
64
65
|
year,
|
|
65
66
|
quarter,
|
|
66
67
|
limit,
|
|
@@ -161,7 +162,7 @@ export class ArtifactsClient {
|
|
|
161
162
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
162
163
|
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);
|
|
163
164
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
164
|
-
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, `launches/${core.url.encodePathParam(launchId)}/artifacts`),
|
|
165
|
+
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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/artifacts`),
|
|
165
166
|
method: "GET",
|
|
166
167
|
headers: _headers,
|
|
167
168
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -236,7 +237,7 @@ export class ArtifactsClient {
|
|
|
236
237
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
237
238
|
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);
|
|
238
239
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
239
|
-
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, `launches/${core.url.encodePathParam(launchId)}/artifacts`),
|
|
240
|
+
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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/artifacts`),
|
|
240
241
|
method: "POST",
|
|
241
242
|
headers: _headers,
|
|
242
243
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -317,7 +318,7 @@ export class ArtifactsClient {
|
|
|
317
318
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
318
319
|
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);
|
|
319
320
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
320
|
-
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, `launches/${core.url.encodePathParam(launchId)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }))}`),
|
|
321
|
+
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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }), errors.TaktoriaError)}`),
|
|
321
322
|
method: "GET",
|
|
322
323
|
headers: _headers,
|
|
323
324
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -395,7 +396,7 @@ export class ArtifactsClient {
|
|
|
395
396
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
396
397
|
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);
|
|
397
398
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
398
|
-
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, `launches/${core.url.encodePathParam(launchId)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }))}`),
|
|
399
|
+
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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }), errors.TaktoriaError)}`),
|
|
399
400
|
method: "PUT",
|
|
400
401
|
headers: _headers,
|
|
401
402
|
contentType: "application/json",
|
|
@@ -481,9 +482,13 @@ export class ArtifactsClient {
|
|
|
481
482
|
* `outcome` is `replaced`. The link is kept on the artifact
|
|
482
483
|
* (`exports`). Writing it changes the launch, so a Viewer of LaunchCal
|
|
483
484
|
* is refused. Counts against `docs-export`. Needs `artifacts:write`.
|
|
484
|
-
*
|
|
485
|
-
* tool
|
|
486
|
-
*
|
|
485
|
+
* An artifact with nothing written in it is `409 artifact_empty`, a
|
|
486
|
+
* tool this deployment does not export to `409 docs_tool_unavailable`,
|
|
487
|
+
* a tool the person has not connected `409 docs_not_connected`, a
|
|
488
|
+
* connection the tool turned down `409 docs_reconnect`, a
|
|
489
|
+
* `destinationId` that cannot take a page or that their account
|
|
490
|
+
* cannot reach `409 docs_destination_invalid`, and a tool that did
|
|
491
|
+
* not answer `502 upstream_error`.
|
|
487
492
|
*
|
|
488
493
|
* @param {string} launchId
|
|
489
494
|
* @param {Taktoria.ArtifactType} type
|
|
@@ -514,7 +519,7 @@ export class ArtifactsClient {
|
|
|
514
519
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
515
520
|
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);
|
|
516
521
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
517
|
-
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, `launches/${core.url.encodePathParam(launchId)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }))}/exports`),
|
|
522
|
+
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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }), errors.TaktoriaError)}/exports`),
|
|
518
523
|
method: "POST",
|
|
519
524
|
headers: _headers,
|
|
520
525
|
contentType: "application/json",
|
|
@@ -682,8 +687,12 @@ export class ArtifactsClient {
|
|
|
682
687
|
* Where the signed-in person may export to in a tool, read from it with
|
|
683
688
|
* their own account: the Notion pages they shared with Taktoria when
|
|
684
689
|
* connecting (and the pages in them), or the Confluence spaces they can
|
|
685
|
-
* see. Empty for Google Docs. Counts against `docs-browse`.
|
|
686
|
-
* `
|
|
690
|
+
* see. Empty for Google Docs. Counts against `docs-browse`. A
|
|
691
|
+
* workspace key is refused (`person_required`); a tool this deployment
|
|
692
|
+
* does not export to is `409 docs_tool_unavailable`, one the person
|
|
693
|
+
* has not connected `409 docs_not_connected`, a connection the tool
|
|
694
|
+
* turned down `409 docs_reconnect`, and a tool that did not answer
|
|
695
|
+
* `502 upstream_error`. Needs `artifacts:read`.
|
|
687
696
|
*
|
|
688
697
|
* @param {Taktoria.DocsTool} tool
|
|
689
698
|
* @param {Taktoria.ListDocsDestinationsRequest} request
|
|
@@ -714,7 +723,7 @@ export class ArtifactsClient {
|
|
|
714
723
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
715
724
|
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);
|
|
716
725
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
717
|
-
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, `docs-tools/${core.url.encodePathParam(serializers.DocsTool.jsonOrThrow(tool, { omitUndefined: true }))}/destinations`),
|
|
726
|
+
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, `docs-tools/${core.url.encodePathParam(serializers.DocsTool.jsonOrThrow(tool, { omitUndefined: true }), errors.TaktoriaError)}/destinations`),
|
|
718
727
|
method: "GET",
|
|
719
728
|
headers: _headers,
|
|
720
729
|
queryString: core.url
|
|
@@ -10,7 +10,19 @@ import type * as Taktoria from "../../../../index.mjs";
|
|
|
10
10
|
export interface ListAllArtifactsRequest {
|
|
11
11
|
/** Only this kind; left out, all three. */
|
|
12
12
|
type?: Taktoria.ArtifactType;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* A fiscal period, as the app's period picker and its URL name them:
|
|
15
|
+
* a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
|
|
16
|
+
* quarter and every one after it, or `all`. Repeat it for several
|
|
17
|
+
* (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
|
|
18
|
+
* wins over the rest. Narrows by the launch's planned launch date in
|
|
19
|
+
* the workspace's fiscal years. With `upcoming` it keeps those with
|
|
20
|
+
* no date yet, as the app's lists do. Left out, with no `year`,
|
|
21
|
+
* every period. Wins over `year` and `quarter`; anything else is a
|
|
22
|
+
* `422 validation_error`.
|
|
23
|
+
*/
|
|
24
|
+
period?: string | string[];
|
|
25
|
+
/** One fiscal year, as the workspace's fiscal year start names it. Narrows by the launch's planned launch date; left out, every year. `period` takes several. */
|
|
14
26
|
year?: number;
|
|
15
27
|
/** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
|
|
16
28
|
quarter?: number;
|
|
@@ -150,7 +150,7 @@ export class AuditLogsClient {
|
|
|
150
150
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
151
151
|
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);
|
|
152
152
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
153
|
-
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, `/audit-logs/${core.url.encodePathParam(eventId)}`),
|
|
153
|
+
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, `/audit-logs/${core.url.encodePathParam(eventId, errors.TaktoriaError)}`),
|
|
154
154
|
method: "GET",
|
|
155
155
|
headers: _headers,
|
|
156
156
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -275,7 +275,7 @@ export class BillingClient {
|
|
|
275
275
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
276
276
|
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);
|
|
277
277
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
278
|
-
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, `/subscription/apps/${core.url.encodePathParam(appSlug)}`),
|
|
278
|
+
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, `/subscription/apps/${core.url.encodePathParam(appSlug, errors.TaktoriaError)}`),
|
|
279
279
|
method: "DELETE",
|
|
280
280
|
headers: _headers,
|
|
281
281
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -238,7 +238,7 @@ export class DomainsClient {
|
|
|
238
238
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
239
239
|
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);
|
|
240
240
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
241
|
-
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, `/domains/${core.url.encodePathParam(domainId)}`),
|
|
241
|
+
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, `/domains/${core.url.encodePathParam(domainId, errors.TaktoriaError)}`),
|
|
242
242
|
method: "GET",
|
|
243
243
|
headers: _headers,
|
|
244
244
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -329,7 +329,7 @@ export class DomainsClient {
|
|
|
329
329
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
330
330
|
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);
|
|
331
331
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
332
|
-
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, `/domains/${core.url.encodePathParam(domainId)}/verify`),
|
|
332
|
+
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, `/domains/${core.url.encodePathParam(domainId, errors.TaktoriaError)}/verify`),
|
|
333
333
|
method: "POST",
|
|
334
334
|
headers: _headers,
|
|
335
335
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -425,7 +425,7 @@ export class DomainsClient {
|
|
|
425
425
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
426
426
|
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);
|
|
427
427
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
428
|
-
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, `/domains/${core.url.encodePathParam(domainId)}`),
|
|
428
|
+
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, `/domains/${core.url.encodePathParam(domainId, errors.TaktoriaError)}`),
|
|
429
429
|
method: "PATCH",
|
|
430
430
|
headers: _headers,
|
|
431
431
|
contentType: "application/json",
|
|
@@ -530,7 +530,7 @@ export class DomainsClient {
|
|
|
530
530
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
531
531
|
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);
|
|
532
532
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
533
|
-
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, `/domains/${core.url.encodePathParam(domainId)}`),
|
|
533
|
+
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, `/domains/${core.url.encodePathParam(domainId, errors.TaktoriaError)}`),
|
|
534
534
|
method: "DELETE",
|
|
535
535
|
headers: _headers,
|
|
536
536
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -81,11 +81,12 @@ export declare class DoryClient {
|
|
|
81
81
|
private __updateEvent;
|
|
82
82
|
/**
|
|
83
83
|
* A copy of the event, to run it again, Not started until it is given
|
|
84
|
-
* a start. Its description,
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* participants, results, billing
|
|
88
|
-
* and belongs to whoever made it.
|
|
84
|
+
* a start. Its description, passcode, audience and domains, room and
|
|
85
|
+
* presenter settings, instructions, meeting link (`meetingUrl`, so a
|
|
86
|
+
* recurring call keeps its link), time zone, hosts and polls (as
|
|
87
|
+
* drafts) come along; its questions, participants, results, billing
|
|
88
|
+
* and dates do not. It gets a new code and belongs to whoever made it.
|
|
89
|
+
* Needs `events:write`.
|
|
89
90
|
*
|
|
90
91
|
* @param {string} eventId
|
|
91
92
|
* @param {Taktoria.DuplicateEventRequest} request
|
|
@@ -365,6 +366,28 @@ export declare class DoryClient {
|
|
|
365
366
|
*/
|
|
366
367
|
getEventJoinLink(eventId: string, request?: Taktoria.GetEventJoinLinkRequest, requestOptions?: DoryClient.RequestOptions): core.HttpResponsePromise<Taktoria.EventJoinLink>;
|
|
367
368
|
private __getEventJoinLink;
|
|
369
|
+
/**
|
|
370
|
+
* The event for a calendar and a meeting invite, as the console's
|
|
371
|
+
* **Add to calendar** gives it: the lines to paste into an invite,
|
|
372
|
+
* links that open Google Calendar's and Outlook's new-event pages
|
|
373
|
+
* filled in, and the .ics file, each with the join link and code from
|
|
374
|
+
* `getEventJoinLink`, never the passcode. An event with no `startsAt`
|
|
375
|
+
* has the invite text only. In the signed-in person's language,
|
|
376
|
+
* English for a key. Needs `events:read`.
|
|
377
|
+
*
|
|
378
|
+
* @param {string} eventId
|
|
379
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
380
|
+
*
|
|
381
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
382
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
383
|
+
* @throws {@link errors.TaktoriaError}
|
|
384
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
385
|
+
*
|
|
386
|
+
* @example
|
|
387
|
+
* await client.dory.getEventCalendarInvite("evt_7f3a")
|
|
388
|
+
*/
|
|
389
|
+
getEventCalendarInvite(eventId: string, requestOptions?: DoryClient.RequestOptions): core.HttpResponsePromise<Taktoria.EventCalendarInvite>;
|
|
390
|
+
private __getEventCalendarInvite;
|
|
368
391
|
/**
|
|
369
392
|
* @param {string} eventId
|
|
370
393
|
* @param {Taktoria.ListQuestionsRequest} request
|