@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
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.steps = exports.search = exports.process = exports.posts = exports.platform = exports.partnerDomains = exports.organization = exports.okr = exports.memegen = exports.mcpConnections = exports.links = exports.launchOverview = exports.launches = exports.launchAnalytics = exports.insights = exports.holidays = exports.golinks = exports.dory = exports.domains = exports.commons = exports.billing = exports.auditLogs = exports.artifacts = exports.appDomains = void 0;
|
|
39
|
+
exports.steps = exports.slackConnections = exports.search = exports.process = exports.posts = exports.platform = exports.partnerDomains = exports.organization = exports.okr = exports.memegen = exports.mcpConnections = exports.links = exports.launchOverview = exports.launches = exports.launchAnalytics = exports.insights = exports.holidays = exports.golinks = exports.dory = exports.domains = exports.commons = exports.billing = exports.auditLogs = exports.artifacts = exports.appDomains = void 0;
|
|
40
40
|
exports.appDomains = __importStar(require("./appDomains/index.js"));
|
|
41
41
|
__exportStar(require("./appDomains/types/index.js"), exports);
|
|
42
42
|
__exportStar(require("./artifacts/client/requests/index.js"), exports);
|
|
@@ -100,6 +100,9 @@ __exportStar(require("./process/types/index.js"), exports);
|
|
|
100
100
|
__exportStar(require("./search/client/requests/index.js"), exports);
|
|
101
101
|
exports.search = __importStar(require("./search/index.js"));
|
|
102
102
|
__exportStar(require("./search/types/index.js"), exports);
|
|
103
|
+
__exportStar(require("./slackConnections/client/requests/index.js"), exports);
|
|
104
|
+
exports.slackConnections = __importStar(require("./slackConnections/index.js"));
|
|
105
|
+
__exportStar(require("./slackConnections/types/index.js"), exports);
|
|
103
106
|
__exportStar(require("./steps/client/requests/index.js"), exports);
|
|
104
107
|
exports.steps = __importStar(require("./steps/index.js"));
|
|
105
108
|
__exportStar(require("./steps/types/index.js"), exports);
|
|
@@ -77,7 +77,7 @@ class InsightsClient {
|
|
|
77
77
|
__listAll() {
|
|
78
78
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
79
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
80
|
-
const { sentiment, year, quarter, limit, cursor } = request;
|
|
80
|
+
const { sentiment, period, year, quarter, limit, cursor } = request;
|
|
81
81
|
const _queryParams = {
|
|
82
82
|
sentiment: sentiment != null
|
|
83
83
|
? serializers.Sentiment.jsonOrThrow(sentiment, {
|
|
@@ -85,6 +85,7 @@ class InsightsClient {
|
|
|
85
85
|
omitUndefined: true,
|
|
86
86
|
})
|
|
87
87
|
: undefined,
|
|
88
|
+
period,
|
|
88
89
|
year,
|
|
89
90
|
quarter,
|
|
90
91
|
limit,
|
|
@@ -169,7 +170,7 @@ class InsightsClient {
|
|
|
169
170
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
170
171
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
171
172
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
172
|
-
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)}/insights`),
|
|
173
|
+
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)}/insights`),
|
|
173
174
|
method: "GET",
|
|
174
175
|
headers: _headers,
|
|
175
176
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -246,7 +247,7 @@ class InsightsClient {
|
|
|
246
247
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
247
248
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
248
249
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
249
|
-
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)}/insights`),
|
|
250
|
+
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)}/insights`),
|
|
250
251
|
method: "POST",
|
|
251
252
|
headers: _headers,
|
|
252
253
|
contentType: "application/json",
|
|
@@ -5,7 +5,18 @@ import type * as Taktoria from "../../../../index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ListInsightsRequest {
|
|
7
7
|
sentiment?: Taktoria.Sentiment;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* A fiscal period, as the app's period picker and its URL name them:
|
|
10
|
+
* a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
|
|
11
|
+
* quarter and every one after it, or `all`. Repeat it for several
|
|
12
|
+
* (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
|
|
13
|
+
* wins over the rest. Narrows by when each was recorded in the
|
|
14
|
+
* workspace's fiscal years. Left out, with no `year`, every period.
|
|
15
|
+
* Wins over `year` and `quarter`; anything else is a `422
|
|
16
|
+
* validation_error`.
|
|
17
|
+
*/
|
|
18
|
+
period?: string | string[];
|
|
19
|
+
/** One fiscal year, as the workspace's fiscal year start names it. Narrows by when each was recorded; left out, every year. `period` takes several. */
|
|
9
20
|
year?: number;
|
|
10
21
|
/** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
|
|
11
22
|
quarter?: number;
|
|
@@ -13,8 +13,11 @@ export declare class LaunchesClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* List the launches in your organization, or with `mine=true` your own,
|
|
15
15
|
* the ones the app's My launches page counts as yours. Drafts included,
|
|
16
|
-
* by planned launch date. Every period unless `
|
|
17
|
-
* the app's lists open on this quarter and later
|
|
16
|
+
* by planned launch date. Every period unless `period` (or `year`)
|
|
17
|
+
* narrows it, where the app's lists open on this quarter and later:
|
|
18
|
+
* `period=upcoming` lists what they do. With `launched=true` it is the
|
|
19
|
+
* Launched page instead: launches that have launched, newest first,
|
|
20
|
+
* with the periods going by when each launched. Needs `launches:read`.
|
|
18
21
|
*
|
|
19
22
|
* @param {Taktoria.ListLaunchesRequest} request
|
|
20
23
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -38,7 +41,8 @@ export declare class LaunchesClient {
|
|
|
38
41
|
* Add a launch. With a `plannedLaunchDate` it gets its launch template's
|
|
39
42
|
* steps at once, which is what fills each reviewer's queue; pass
|
|
40
43
|
* `generateSteps: false` to leave them off. Pass `draft: true` to save it
|
|
41
|
-
* without telling anybody.
|
|
44
|
+
* without telling anybody. A draft with `status: LAUNCHED` is
|
|
45
|
+
* `409 draft`: publish it, then launch it.
|
|
42
46
|
*
|
|
43
47
|
* @param {Taktoria.CreateLaunchRequest} request
|
|
44
48
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,6 +50,7 @@ export declare class LaunchesClient {
|
|
|
46
50
|
* @throws {@link Taktoria.UnauthorizedError}
|
|
47
51
|
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
48
52
|
* @throws {@link Taktoria.ForbiddenError}
|
|
53
|
+
* @throws {@link Taktoria.ConflictError}
|
|
49
54
|
* @throws {@link Taktoria.ValidationError}
|
|
50
55
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
51
56
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -77,7 +82,9 @@ export declare class LaunchesClient {
|
|
|
77
82
|
* and from what, about ten minutes after the edits stop, in one message
|
|
78
83
|
* that leaves out each owner's own edits (`launchUpdates` in their
|
|
79
84
|
* notification preferences). Its artifacts and links count too; its
|
|
80
|
-
* steps do not, and nothing is sent about a draft.
|
|
85
|
+
* steps do not, and nothing is sent about a draft. `409 launched` when
|
|
86
|
+
* `draft: true` would take a launched launch back to being a draft, and
|
|
87
|
+
* `409 draft` when the change would leave a draft `LAUNCHED`.
|
|
81
88
|
*
|
|
82
89
|
* @param {string} launchId
|
|
83
90
|
* @param {Taktoria.UpdateLaunchRequest} request
|
|
@@ -86,6 +93,7 @@ export declare class LaunchesClient {
|
|
|
86
93
|
* @throws {@link Taktoria.BadRequestError}
|
|
87
94
|
* @throws {@link Taktoria.ForbiddenError}
|
|
88
95
|
* @throws {@link Taktoria.NotFoundError}
|
|
96
|
+
* @throws {@link Taktoria.ConflictError}
|
|
89
97
|
* @throws {@link Taktoria.ValidationError}
|
|
90
98
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
91
99
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -142,9 +150,15 @@ export declare class LaunchesClient {
|
|
|
142
150
|
* sites, in the GitHub organization the app is installed on, or in its
|
|
143
151
|
* Asana or ClickUp workspaces), and syncs at once: the answer's
|
|
144
152
|
* `ticketingProject` says how that went. Any other address, a whole
|
|
145
|
-
* Jira project
|
|
146
|
-
* does not sync. It reads the system,
|
|
147
|
-
* budget with a sync.
|
|
153
|
+
* Jira project, a GitHub repository, or a ClickUp folder or space
|
|
154
|
+
* included, is kept as a link and does not sync. It reads the system,
|
|
155
|
+
* so it shares the `ticketing-sync` budget with a sync. `404 not_found`
|
|
156
|
+
* when the connection cannot find or see the project, `409 conflict`
|
|
157
|
+
* for one in another workspace or site of the system than the one
|
|
158
|
+
* connected, `409 ticketing_reconnect` when the system turned the
|
|
159
|
+
* connection down (a workspace admin connects it again in Settings →
|
|
160
|
+
* Integrations), and `502 upstream_error` when it did not answer.
|
|
161
|
+
* Needs `launches:write`.
|
|
148
162
|
*
|
|
149
163
|
* @param {string} launchId
|
|
150
164
|
* @param {Taktoria.LinkTicketingProjectRequest} request
|
|
@@ -187,10 +201,12 @@ export declare class LaunchesClient {
|
|
|
187
201
|
private __unlinkTicketingProject;
|
|
188
202
|
/**
|
|
189
203
|
* Sync now, as the daily sync does, for this launch: its status,
|
|
190
|
-
* progress, and new status updates (Linear, GitHub projects
|
|
191
|
-
* comments (Jira, ClickUp)
|
|
192
|
-
*
|
|
193
|
-
*
|
|
204
|
+
* progress, and new status updates (Linear, GitHub projects) or
|
|
205
|
+
* comments (Jira, ClickUp); an Asana project brings its completion and
|
|
206
|
+
* progress, not its status updates. `404 not_found` when the launch
|
|
207
|
+
* follows nothing; `409 conflict` for a link that cannot sync (a whole
|
|
208
|
+
* Jira project, a GitHub repository, a ClickUp folder or space, or a
|
|
209
|
+
* system Taktoria does not sync);
|
|
194
210
|
* `409 ticketing_not_connected` or `409 ticketing_reconnect` when a
|
|
195
211
|
* workspace admin must connect its system in Settings → Integrations.
|
|
196
212
|
* Needs `launches:write`.
|
|
@@ -216,8 +232,8 @@ export declare class LaunchesClient {
|
|
|
216
232
|
* What has happened to a launch, newest first, as its activity feed
|
|
217
233
|
* shows it: added, changed, published, taken back to draft, launched,
|
|
218
234
|
* its steps decided and reasons given for them, comments and updates
|
|
219
|
-
* posted,
|
|
220
|
-
* entry says it in a sentence. The comments and updates
|
|
235
|
+
* posted, its ticketing project linked, unlinked and synced, and its
|
|
236
|
+
* artifacts exported to a docs tool. Each entry says it in a sentence. The comments and updates
|
|
221
237
|
* themselves are at `/launches/{launchId}/posts`. Needs `launches:read`.
|
|
222
238
|
*
|
|
223
239
|
* @param {string} launchId
|
|
@@ -60,8 +60,11 @@ class LaunchesClient {
|
|
|
60
60
|
/**
|
|
61
61
|
* List the launches in your organization, or with `mine=true` your own,
|
|
62
62
|
* the ones the app's My launches page counts as yours. Drafts included,
|
|
63
|
-
* by planned launch date. Every period unless `
|
|
64
|
-
* the app's lists open on this quarter and later
|
|
63
|
+
* by planned launch date. Every period unless `period` (or `year`)
|
|
64
|
+
* narrows it, where the app's lists open on this quarter and later:
|
|
65
|
+
* `period=upcoming` lists what they do. With `launched=true` it is the
|
|
66
|
+
* Launched page instead: launches that have launched, newest first,
|
|
67
|
+
* with the periods going by when each launched. Needs `launches:read`.
|
|
65
68
|
*
|
|
66
69
|
* @param {Taktoria.ListLaunchesRequest} request
|
|
67
70
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -85,7 +88,7 @@ class LaunchesClient {
|
|
|
85
88
|
__list() {
|
|
86
89
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
87
90
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
88
|
-
const { status, ownerUserId, pmUserId, orgTeamId, q, search, launchTemplateId, draft, health, year, quarter, mine, includeTeams, limit, cursor, } = request;
|
|
91
|
+
const { status, ownerUserId, pmUserId, orgTeamId, q, search, launchTemplateId, draft, health, period, year, quarter, mine, includeTeams, launched, limit, cursor, } = request;
|
|
89
92
|
const _queryParams = {
|
|
90
93
|
status: status != null
|
|
91
94
|
? serializers.LaunchStatus.jsonOrThrow(status, {
|
|
@@ -101,10 +104,12 @@ class LaunchesClient {
|
|
|
101
104
|
launchTemplateId,
|
|
102
105
|
draft,
|
|
103
106
|
health,
|
|
107
|
+
period,
|
|
104
108
|
year,
|
|
105
109
|
quarter,
|
|
106
110
|
mine,
|
|
107
111
|
includeTeams,
|
|
112
|
+
launched,
|
|
108
113
|
limit,
|
|
109
114
|
cursor,
|
|
110
115
|
};
|
|
@@ -194,7 +199,8 @@ class LaunchesClient {
|
|
|
194
199
|
* Add a launch. With a `plannedLaunchDate` it gets its launch template's
|
|
195
200
|
* steps at once, which is what fills each reviewer's queue; pass
|
|
196
201
|
* `generateSteps: false` to leave them off. Pass `draft: true` to save it
|
|
197
|
-
* without telling anybody.
|
|
202
|
+
* without telling anybody. A draft with `status: LAUNCHED` is
|
|
203
|
+
* `409 draft`: publish it, then launch it.
|
|
198
204
|
*
|
|
199
205
|
* @param {Taktoria.CreateLaunchRequest} request
|
|
200
206
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -202,6 +208,7 @@ class LaunchesClient {
|
|
|
202
208
|
* @throws {@link Taktoria.UnauthorizedError}
|
|
203
209
|
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
204
210
|
* @throws {@link Taktoria.ForbiddenError}
|
|
211
|
+
* @throws {@link Taktoria.ConflictError}
|
|
205
212
|
* @throws {@link Taktoria.ValidationError}
|
|
206
213
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
207
214
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -275,6 +282,14 @@ class LaunchesClient {
|
|
|
275
282
|
skipValidation: true,
|
|
276
283
|
breadcrumbsPrefix: ["response"],
|
|
277
284
|
}), _response.rawResponse);
|
|
285
|
+
case 409:
|
|
286
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
287
|
+
unrecognizedObjectKeys: "passthrough",
|
|
288
|
+
allowUnrecognizedUnionMembers: true,
|
|
289
|
+
allowUnrecognizedEnumValues: true,
|
|
290
|
+
skipValidation: true,
|
|
291
|
+
breadcrumbsPrefix: ["response"],
|
|
292
|
+
}), _response.rawResponse);
|
|
278
293
|
case 422:
|
|
279
294
|
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
280
295
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -323,7 +338,7 @@ class LaunchesClient {
|
|
|
323
338
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
324
339
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
325
340
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
326
|
-
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)}`),
|
|
341
|
+
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)}`),
|
|
327
342
|
method: "GET",
|
|
328
343
|
headers: _headers,
|
|
329
344
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -379,7 +394,9 @@ class LaunchesClient {
|
|
|
379
394
|
* and from what, about ten minutes after the edits stop, in one message
|
|
380
395
|
* that leaves out each owner's own edits (`launchUpdates` in their
|
|
381
396
|
* notification preferences). Its artifacts and links count too; its
|
|
382
|
-
* steps do not, and nothing is sent about a draft.
|
|
397
|
+
* steps do not, and nothing is sent about a draft. `409 launched` when
|
|
398
|
+
* `draft: true` would take a launched launch back to being a draft, and
|
|
399
|
+
* `409 draft` when the change would leave a draft `LAUNCHED`.
|
|
383
400
|
*
|
|
384
401
|
* @param {string} launchId
|
|
385
402
|
* @param {Taktoria.UpdateLaunchRequest} request
|
|
@@ -388,6 +405,7 @@ class LaunchesClient {
|
|
|
388
405
|
* @throws {@link Taktoria.BadRequestError}
|
|
389
406
|
* @throws {@link Taktoria.ForbiddenError}
|
|
390
407
|
* @throws {@link Taktoria.NotFoundError}
|
|
408
|
+
* @throws {@link Taktoria.ConflictError}
|
|
391
409
|
* @throws {@link Taktoria.ValidationError}
|
|
392
410
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
393
411
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -405,7 +423,7 @@ class LaunchesClient {
|
|
|
405
423
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
406
424
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
407
425
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
408
|
-
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)}`),
|
|
426
|
+
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)}`),
|
|
409
427
|
method: "PATCH",
|
|
410
428
|
headers: _headers,
|
|
411
429
|
contentType: "application/json",
|
|
@@ -459,6 +477,14 @@ class LaunchesClient {
|
|
|
459
477
|
skipValidation: true,
|
|
460
478
|
breadcrumbsPrefix: ["response"],
|
|
461
479
|
}), _response.rawResponse);
|
|
480
|
+
case 409:
|
|
481
|
+
throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
482
|
+
unrecognizedObjectKeys: "passthrough",
|
|
483
|
+
allowUnrecognizedUnionMembers: true,
|
|
484
|
+
allowUnrecognizedEnumValues: true,
|
|
485
|
+
skipValidation: true,
|
|
486
|
+
breadcrumbsPrefix: ["response"],
|
|
487
|
+
}), _response.rawResponse);
|
|
462
488
|
case 422:
|
|
463
489
|
throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
464
490
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -508,7 +534,7 @@ class LaunchesClient {
|
|
|
508
534
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
509
535
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
510
536
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
511
|
-
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)}`),
|
|
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, `/launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}`),
|
|
512
538
|
method: "DELETE",
|
|
513
539
|
headers: _headers,
|
|
514
540
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -586,7 +612,7 @@ class LaunchesClient {
|
|
|
586
612
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
587
613
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
588
614
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
589
|
-
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)}/launch`),
|
|
615
|
+
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)}/launch`),
|
|
590
616
|
method: "POST",
|
|
591
617
|
headers: _headers,
|
|
592
618
|
contentType: "application/json",
|
|
@@ -669,9 +695,15 @@ class LaunchesClient {
|
|
|
669
695
|
* sites, in the GitHub organization the app is installed on, or in its
|
|
670
696
|
* Asana or ClickUp workspaces), and syncs at once: the answer's
|
|
671
697
|
* `ticketingProject` says how that went. Any other address, a whole
|
|
672
|
-
* Jira project
|
|
673
|
-
* does not sync. It reads the system,
|
|
674
|
-
* budget with a sync.
|
|
698
|
+
* Jira project, a GitHub repository, or a ClickUp folder or space
|
|
699
|
+
* included, is kept as a link and does not sync. It reads the system,
|
|
700
|
+
* so it shares the `ticketing-sync` budget with a sync. `404 not_found`
|
|
701
|
+
* when the connection cannot find or see the project, `409 conflict`
|
|
702
|
+
* for one in another workspace or site of the system than the one
|
|
703
|
+
* connected, `409 ticketing_reconnect` when the system turned the
|
|
704
|
+
* connection down (a workspace admin connects it again in Settings →
|
|
705
|
+
* Integrations), and `502 upstream_error` when it did not answer.
|
|
706
|
+
* Needs `launches:write`.
|
|
675
707
|
*
|
|
676
708
|
* @param {string} launchId
|
|
677
709
|
* @param {Taktoria.LinkTicketingProjectRequest} request
|
|
@@ -701,7 +733,7 @@ class LaunchesClient {
|
|
|
701
733
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
702
734
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
703
735
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
704
|
-
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)}/ticketing-project`),
|
|
736
|
+
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)}/ticketing-project`),
|
|
705
737
|
method: "PUT",
|
|
706
738
|
headers: _headers,
|
|
707
739
|
contentType: "application/json",
|
|
@@ -815,7 +847,7 @@ class LaunchesClient {
|
|
|
815
847
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
816
848
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
817
849
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
818
|
-
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)}/ticketing-project`),
|
|
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, `/launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/ticketing-project`),
|
|
819
851
|
method: "DELETE",
|
|
820
852
|
headers: _headers,
|
|
821
853
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -867,10 +899,12 @@ class LaunchesClient {
|
|
|
867
899
|
}
|
|
868
900
|
/**
|
|
869
901
|
* Sync now, as the daily sync does, for this launch: its status,
|
|
870
|
-
* progress, and new status updates (Linear, GitHub projects
|
|
871
|
-
* comments (Jira, ClickUp)
|
|
872
|
-
*
|
|
873
|
-
*
|
|
902
|
+
* progress, and new status updates (Linear, GitHub projects) or
|
|
903
|
+
* comments (Jira, ClickUp); an Asana project brings its completion and
|
|
904
|
+
* progress, not its status updates. `404 not_found` when the launch
|
|
905
|
+
* follows nothing; `409 conflict` for a link that cannot sync (a whole
|
|
906
|
+
* Jira project, a GitHub repository, a ClickUp folder or space, or a
|
|
907
|
+
* system Taktoria does not sync);
|
|
874
908
|
* `409 ticketing_not_connected` or `409 ticketing_reconnect` when a
|
|
875
909
|
* workspace admin must connect its system in Settings → Integrations.
|
|
876
910
|
* Needs `launches:write`.
|
|
@@ -899,7 +933,7 @@ class LaunchesClient {
|
|
|
899
933
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
900
934
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
901
935
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
902
|
-
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)}/ticketing-project/sync`),
|
|
936
|
+
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)}/ticketing-project/sync`),
|
|
903
937
|
method: "POST",
|
|
904
938
|
headers: _headers,
|
|
905
939
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -978,8 +1012,8 @@ class LaunchesClient {
|
|
|
978
1012
|
* What has happened to a launch, newest first, as its activity feed
|
|
979
1013
|
* shows it: added, changed, published, taken back to draft, launched,
|
|
980
1014
|
* its steps decided and reasons given for them, comments and updates
|
|
981
|
-
* posted,
|
|
982
|
-
* entry says it in a sentence. The comments and updates
|
|
1015
|
+
* posted, its ticketing project linked, unlinked and synced, and its
|
|
1016
|
+
* artifacts exported to a docs tool. Each entry says it in a sentence. The comments and updates
|
|
983
1017
|
* themselves are at `/launches/{launchId}/posts`. Needs `launches:read`.
|
|
984
1018
|
*
|
|
985
1019
|
* @param {string} launchId
|
|
@@ -1008,7 +1042,7 @@ class LaunchesClient {
|
|
|
1008
1042
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1009
1043
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1010
1044
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1011
|
-
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)}/activity`),
|
|
1045
|
+
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)}/activity`),
|
|
1012
1046
|
method: "GET",
|
|
1013
1047
|
headers: _headers,
|
|
1014
1048
|
queryString: core.url
|
|
@@ -23,7 +23,20 @@ export interface ListLaunchesRequest {
|
|
|
23
23
|
draft?: boolean;
|
|
24
24
|
/** `ON_TRACK`, `AT_RISK` or `OFF_TRACK`, as the newest update says (never a launched launch), or `NONE` for launches with no health to show. */
|
|
25
25
|
health?: string;
|
|
26
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* A fiscal period, as the app's period picker and its URL name them:
|
|
28
|
+
* a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
|
|
29
|
+
* quarter and every one after it, or `all`. Repeat it for several
|
|
30
|
+
* (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
|
|
31
|
+
* wins over the rest. Narrows by planned launch date in the
|
|
32
|
+
* workspace's fiscal years, `upcoming` keeping launches with no
|
|
33
|
+
* date yet, as the app's lists do; with `launched=true`, by when
|
|
34
|
+
* each launched. Left out, with no `year`, every period. Wins
|
|
35
|
+
* over `year` and `quarter`; anything else is a
|
|
36
|
+
* `422 validation_error`.
|
|
37
|
+
*/
|
|
38
|
+
period?: string | string[];
|
|
39
|
+
/** One fiscal year, as the workspace's fiscal year start names it. Narrows by planned launch date (actual with `launched=true`); left out, every year. `period` takes several. */
|
|
27
40
|
year?: number;
|
|
28
41
|
/** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
|
|
29
42
|
quarter?: number;
|
|
@@ -40,6 +53,17 @@ export interface ListLaunchesRequest {
|
|
|
40
53
|
mine?: boolean;
|
|
41
54
|
/** With `mine=true`, `false` leaves out launches that are yours only through a team. Left out, `true`. */
|
|
42
55
|
includeTeams?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* `true` lists what the Launched page does: only launches that
|
|
58
|
+
* have launched (`status` `LAUNCHED`), newest first by
|
|
59
|
+
* `actualLaunchDate`, with `period`, `year` and `quarter` going
|
|
60
|
+
* by when each launched rather than when it was planned. That is
|
|
61
|
+
* how the Overview counts `launchedThisQuarter`: a launch planned
|
|
62
|
+
* for last quarter that went out in this one is this quarter's.
|
|
63
|
+
* `launched=true&period=2026-Q4` is what shipped in that quarter.
|
|
64
|
+
* Left out, by planned launch date.
|
|
65
|
+
*/
|
|
66
|
+
launched?: boolean;
|
|
43
67
|
limit?: number;
|
|
44
68
|
cursor?: string;
|
|
45
69
|
}
|
|
@@ -38,5 +38,8 @@ export declare const LaunchActivityVerb: {
|
|
|
38
38
|
* project done and flagged it ready to launch. Nobody did it, so
|
|
39
39
|
* `actor` is null. */
|
|
40
40
|
readonly Synced: "synced";
|
|
41
|
+
/**
|
|
42
|
+
* One of its artifacts was exported to a docs tool (Notion, Confluence or Google Docs). */
|
|
43
|
+
readonly Exported: "exported";
|
|
41
44
|
};
|
|
42
45
|
export type LaunchActivityVerb = (typeof LaunchActivityVerb)[keyof typeof LaunchActivityVerb];
|
|
@@ -42,4 +42,7 @@ exports.LaunchActivityVerb = {
|
|
|
42
42
|
* project done and flagged it ready to launch. Nobody did it, so
|
|
43
43
|
* `actor` is null. */
|
|
44
44
|
Synced: "synced",
|
|
45
|
+
/**
|
|
46
|
+
* One of its artifacts was exported to a docs tool (Notion, Confluence or Google Docs). */
|
|
47
|
+
Exported: "exported",
|
|
45
48
|
};
|
|
@@ -8,8 +8,8 @@ export interface LinkTicketingProjectRequest {
|
|
|
8
8
|
* milestone (`https://github.com/acme/web/milestone/3`), an Asana
|
|
9
9
|
* project (`https://app.asana.com/1/<workspace>/project/<project>`),
|
|
10
10
|
* or a ClickUp list (`https://app.clickup.com/<workspace>/v/li/<list>`)
|
|
11
|
-
* or task (`https://app.clickup.com/t/<task>`). Anything else
|
|
12
|
-
* as a link.
|
|
11
|
+
* or task (`https://app.clickup.com/t/<task>`). Anything else, a
|
|
12
|
+
* ClickUp folder or space included, is kept as a link.
|
|
13
13
|
*/
|
|
14
14
|
url: string;
|
|
15
15
|
}
|
|
@@ -2,7 +2,7 @@ import type * as Taktoria from "../../../index.js";
|
|
|
2
2
|
export interface SyncTicketingProjectResponse {
|
|
3
3
|
/** Whether the project's status moved the launch's. */
|
|
4
4
|
statusChanged: boolean;
|
|
5
|
-
/** How many of the project's status updates (Linear, GitHub projects
|
|
5
|
+
/** How many of the project's status updates (Linear, GitHub projects) or comments (Jira, ClickUp) became the launch's. Always 0 for an Asana project, whose status updates Taktoria's connection cannot read. */
|
|
6
6
|
updatesAdded: number;
|
|
7
7
|
/** Whether this sync found the project newly done, flagging the launch ready to launch. */
|
|
8
8
|
completed: boolean;
|
|
@@ -6,11 +6,17 @@ import type * as Taktoria from "../../../index.js";
|
|
|
6
6
|
* milestone; an Asana project; or a ClickUp list or task. Once its system
|
|
7
7
|
* is connected to the workspace (Settings → Integrations), each day, and
|
|
8
8
|
* on a sync, its status moves the launch's; the status updates of a
|
|
9
|
-
* Linear
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
9
|
+
* Linear or GitHub project become the launch's updates, and the comments
|
|
10
|
+
* on a Jira issue or a ClickUp list or task its comments (`source` on a
|
|
11
|
+
* LaunchPost; a Jira comment restricted to some people is never brought
|
|
12
|
+
* in). An Asana project's status updates need a permission Asana's OAuth
|
|
13
|
+
* does not offer Taktoria's read-only connection, so none come in. It is
|
|
14
|
+
* followed by its tasks instead: its status kind is `PLANNED` until one
|
|
15
|
+
* is done, then `STARTED`, and `COMPLETED` once the project is marked
|
|
16
|
+
* complete, and its progress is the share of them done. A whole Jira
|
|
17
|
+
* project, a GitHub repository, and a ClickUp folder or space are kept
|
|
18
|
+
* as links. Marked done, it flags the launch ready to launch; it never
|
|
19
|
+
* launches it.
|
|
14
20
|
*/
|
|
15
21
|
export interface TicketingProject {
|
|
16
22
|
/** Null for a system Taktoria has no connector for. Such a link is kept as a link and never synced. */
|
|
@@ -37,8 +43,8 @@ export interface TicketingProject {
|
|
|
37
43
|
* to the workspace), `notFound`, `unauthorized` (a workspace admin must
|
|
38
44
|
* connect the system again), `unavailable` or `unsupported` (a system
|
|
39
45
|
* Taktoria cannot sync, or a link to something it cannot follow, such
|
|
40
|
-
* as a whole Jira project
|
|
41
|
-
* worked.
|
|
46
|
+
* as a whole Jira project, a GitHub repository, or a ClickUp folder
|
|
47
|
+
* or space). Null when it worked.
|
|
42
48
|
*/
|
|
43
49
|
syncError?: string;
|
|
44
50
|
}
|
|
@@ -80,7 +80,7 @@ class LinksClient {
|
|
|
80
80
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
81
81
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
82
82
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
83
|
-
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)}/links`),
|
|
83
|
+
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)}/links`),
|
|
84
84
|
method: "GET",
|
|
85
85
|
headers: _headers,
|
|
86
86
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -161,7 +161,7 @@ class LinksClient {
|
|
|
161
161
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
162
162
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
163
163
|
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)}/links`),
|
|
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, errors.TaktoriaError)}/links`),
|
|
165
165
|
method: "POST",
|
|
166
166
|
headers: _headers,
|
|
167
167
|
contentType: "application/json",
|
|
@@ -259,7 +259,7 @@ class LinksClient {
|
|
|
259
259
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
260
260
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
261
261
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
262
|
-
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)}/links/${core.url.encodePathParam(linkId)}`),
|
|
262
|
+
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)}/links/${core.url.encodePathParam(linkId, errors.TaktoriaError)}`),
|
|
263
263
|
method: "DELETE",
|
|
264
264
|
headers: _headers,
|
|
265
265
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -183,7 +183,7 @@ class McpConnectionsClient {
|
|
|
183
183
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
184
184
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
185
185
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
186
|
-
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, `/mcp-connections/${core.url.encodePathParam(connectionId)}`),
|
|
186
|
+
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, `/mcp-connections/${core.url.encodePathParam(connectionId, errors.TaktoriaError)}`),
|
|
187
187
|
method: "DELETE",
|
|
188
188
|
headers: _headers,
|
|
189
189
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|