@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/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@taktoria/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.1.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.1.
|
|
46
|
+
"X-Fern-SDK-Version": "0.1.3",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.1.3",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { PlatformClient } from "./api/resources/platform/client/Client.js";
|
|
|
20
20
|
import { PostsClient } from "./api/resources/posts/client/Client.js";
|
|
21
21
|
import { ProcessClient } from "./api/resources/process/client/Client.js";
|
|
22
22
|
import { SearchClient } from "./api/resources/search/client/Client.js";
|
|
23
|
+
import { SlackConnectionsClient } from "./api/resources/slackConnections/client/Client.js";
|
|
23
24
|
import { StepsClient } from "./api/resources/steps/client/Client.js";
|
|
24
25
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
25
26
|
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
@@ -53,6 +54,7 @@ export declare class TaktoriaClient {
|
|
|
53
54
|
protected _posts: PostsClient | undefined;
|
|
54
55
|
protected _process: ProcessClient | undefined;
|
|
55
56
|
protected _search: SearchClient | undefined;
|
|
57
|
+
protected _slackConnections: SlackConnectionsClient | undefined;
|
|
56
58
|
protected _steps: StepsClient | undefined;
|
|
57
59
|
constructor(options: TaktoriaClient.Options);
|
|
58
60
|
get appDomains(): AppDomainsClient;
|
|
@@ -77,6 +79,7 @@ export declare class TaktoriaClient {
|
|
|
77
79
|
get posts(): PostsClient;
|
|
78
80
|
get process(): ProcessClient;
|
|
79
81
|
get search(): SearchClient;
|
|
82
|
+
get slackConnections(): SlackConnectionsClient;
|
|
80
83
|
get steps(): StepsClient;
|
|
81
84
|
/**
|
|
82
85
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
package/dist/cjs/Client.js
CHANGED
|
@@ -66,7 +66,8 @@ const Client_js_19 = require("./api/resources/platform/client/Client.js");
|
|
|
66
66
|
const Client_js_20 = require("./api/resources/posts/client/Client.js");
|
|
67
67
|
const Client_js_21 = require("./api/resources/process/client/Client.js");
|
|
68
68
|
const Client_js_22 = require("./api/resources/search/client/Client.js");
|
|
69
|
-
const Client_js_23 = require("./api/resources/
|
|
69
|
+
const Client_js_23 = require("./api/resources/slackConnections/client/Client.js");
|
|
70
|
+
const Client_js_24 = require("./api/resources/steps/client/Client.js");
|
|
70
71
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
71
72
|
const core = __importStar(require("./core/index.js"));
|
|
72
73
|
class TaktoriaClient {
|
|
@@ -161,9 +162,13 @@ class TaktoriaClient {
|
|
|
161
162
|
var _a;
|
|
162
163
|
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_js_22.SearchClient(this._options)));
|
|
163
164
|
}
|
|
165
|
+
get slackConnections() {
|
|
166
|
+
var _a;
|
|
167
|
+
return ((_a = this._slackConnections) !== null && _a !== void 0 ? _a : (this._slackConnections = new Client_js_23.SlackConnectionsClient(this._options)));
|
|
168
|
+
}
|
|
164
169
|
get steps() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new
|
|
171
|
+
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_js_24.StepsClient(this._options)));
|
|
167
172
|
}
|
|
168
173
|
/**
|
|
169
174
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -175,7 +175,7 @@ class AppDomainsClient {
|
|
|
175
175
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
176
176
|
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);
|
|
177
177
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
178
|
-
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`),
|
|
178
|
+
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`),
|
|
179
179
|
method: "GET",
|
|
180
180
|
headers: _headers,
|
|
181
181
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -280,7 +280,7 @@ class AppDomainsClient {
|
|
|
280
280
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
281
281
|
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);
|
|
282
282
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
283
|
-
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`),
|
|
283
|
+
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`),
|
|
284
284
|
method: "PUT",
|
|
285
285
|
headers: _headers,
|
|
286
286
|
contentType: "application/json",
|
|
@@ -394,7 +394,7 @@ class AppDomainsClient {
|
|
|
394
394
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
395
395
|
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);
|
|
396
396
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
397
|
-
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`),
|
|
397
|
+
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`),
|
|
398
398
|
method: "DELETE",
|
|
399
399
|
headers: _headers,
|
|
400
400
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -478,7 +478,7 @@ class AppDomainsClient {
|
|
|
478
478
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
479
479
|
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);
|
|
480
480
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
481
|
-
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`),
|
|
481
|
+
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`),
|
|
482
482
|
method: "POST",
|
|
483
483
|
headers: _headers,
|
|
484
484
|
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
|
|
@@ -61,7 +61,7 @@ class ArtifactsClient {
|
|
|
61
61
|
* Every launch's artifacts, as the Artifacts page shows them across
|
|
62
62
|
* launches: by their launch's planned launch date (drafts without one
|
|
63
63
|
* first), then by type, each with its launch. Gather a quarter's
|
|
64
|
-
* learnings, say, with `type=LEARNINGS&
|
|
64
|
+
* learnings, say, with `type=LEARNINGS&period=2026-Q3`. A launch
|
|
65
65
|
* has its artifacts once its steps are added or they are created
|
|
66
66
|
* (`POST /launches/{launchId}/artifacts`); one with none is not listed.
|
|
67
67
|
* Needs `artifacts:read`.
|
|
@@ -89,7 +89,7 @@ class ArtifactsClient {
|
|
|
89
89
|
__listAll() {
|
|
90
90
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
91
91
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
92
|
-
const { type: type_, year, quarter, limit, cursor } = request;
|
|
92
|
+
const { type: type_, period, year, quarter, limit, cursor } = request;
|
|
93
93
|
const _queryParams = {
|
|
94
94
|
type: type_ != null
|
|
95
95
|
? serializers.ArtifactType.jsonOrThrow(type_, {
|
|
@@ -97,6 +97,7 @@ class ArtifactsClient {
|
|
|
97
97
|
omitUndefined: true,
|
|
98
98
|
})
|
|
99
99
|
: undefined,
|
|
100
|
+
period,
|
|
100
101
|
year,
|
|
101
102
|
quarter,
|
|
102
103
|
limit,
|
|
@@ -197,7 +198,7 @@ class ArtifactsClient {
|
|
|
197
198
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
198
199
|
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);
|
|
199
200
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
200
|
-
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`),
|
|
201
|
+
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`),
|
|
201
202
|
method: "GET",
|
|
202
203
|
headers: _headers,
|
|
203
204
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -272,7 +273,7 @@ class ArtifactsClient {
|
|
|
272
273
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
273
274
|
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);
|
|
274
275
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
275
|
-
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`),
|
|
276
|
+
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`),
|
|
276
277
|
method: "POST",
|
|
277
278
|
headers: _headers,
|
|
278
279
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -353,7 +354,7 @@ class ArtifactsClient {
|
|
|
353
354
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
354
355
|
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);
|
|
355
356
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
356
|
-
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 }))}`),
|
|
357
|
+
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)}`),
|
|
357
358
|
method: "GET",
|
|
358
359
|
headers: _headers,
|
|
359
360
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -431,7 +432,7 @@ class ArtifactsClient {
|
|
|
431
432
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
432
433
|
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);
|
|
433
434
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
434
|
-
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 }))}`),
|
|
435
|
+
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)}`),
|
|
435
436
|
method: "PUT",
|
|
436
437
|
headers: _headers,
|
|
437
438
|
contentType: "application/json",
|
|
@@ -517,9 +518,13 @@ class ArtifactsClient {
|
|
|
517
518
|
* `outcome` is `replaced`. The link is kept on the artifact
|
|
518
519
|
* (`exports`). Writing it changes the launch, so a Viewer of LaunchCal
|
|
519
520
|
* is refused. Counts against `docs-export`. Needs `artifacts:write`.
|
|
520
|
-
*
|
|
521
|
-
* tool
|
|
522
|
-
*
|
|
521
|
+
* An artifact with nothing written in it is `409 artifact_empty`, a
|
|
522
|
+
* tool this deployment does not export to `409 docs_tool_unavailable`,
|
|
523
|
+
* a tool the person has not connected `409 docs_not_connected`, a
|
|
524
|
+
* connection the tool turned down `409 docs_reconnect`, a
|
|
525
|
+
* `destinationId` that cannot take a page or that their account
|
|
526
|
+
* cannot reach `409 docs_destination_invalid`, and a tool that did
|
|
527
|
+
* not answer `502 upstream_error`.
|
|
523
528
|
*
|
|
524
529
|
* @param {string} launchId
|
|
525
530
|
* @param {Taktoria.ArtifactType} type
|
|
@@ -550,7 +555,7 @@ class ArtifactsClient {
|
|
|
550
555
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
551
556
|
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);
|
|
552
557
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
553
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `launches/${core.url.encodePathParam(launchId)}/artifacts/${core.url.encodePathParam(serializers.ArtifactType.jsonOrThrow(type, { omitUndefined: true }))}/exports`),
|
|
558
|
+
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`),
|
|
554
559
|
method: "POST",
|
|
555
560
|
headers: _headers,
|
|
556
561
|
contentType: "application/json",
|
|
@@ -718,8 +723,12 @@ class ArtifactsClient {
|
|
|
718
723
|
* Where the signed-in person may export to in a tool, read from it with
|
|
719
724
|
* their own account: the Notion pages they shared with Taktoria when
|
|
720
725
|
* connecting (and the pages in them), or the Confluence spaces they can
|
|
721
|
-
* see. Empty for Google Docs. Counts against `docs-browse`.
|
|
722
|
-
* `
|
|
726
|
+
* see. Empty for Google Docs. Counts against `docs-browse`. A
|
|
727
|
+
* workspace key is refused (`person_required`); a tool this deployment
|
|
728
|
+
* does not export to is `409 docs_tool_unavailable`, one the person
|
|
729
|
+
* has not connected `409 docs_not_connected`, a connection the tool
|
|
730
|
+
* turned down `409 docs_reconnect`, and a tool that did not answer
|
|
731
|
+
* `502 upstream_error`. Needs `artifacts:read`.
|
|
723
732
|
*
|
|
724
733
|
* @param {Taktoria.DocsTool} tool
|
|
725
734
|
* @param {Taktoria.ListDocsDestinationsRequest} request
|
|
@@ -750,7 +759,7 @@ class ArtifactsClient {
|
|
|
750
759
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
751
760
|
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);
|
|
752
761
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
753
|
-
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`),
|
|
762
|
+
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`),
|
|
754
763
|
method: "GET",
|
|
755
764
|
headers: _headers,
|
|
756
765
|
queryString: core.url
|
|
@@ -10,7 +10,19 @@ import type * as Taktoria from "../../../../index.js";
|
|
|
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;
|
|
@@ -186,7 +186,7 @@ class AuditLogsClient {
|
|
|
186
186
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
187
187
|
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);
|
|
188
188
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
189
|
-
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)}`),
|
|
189
|
+
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)}`),
|
|
190
190
|
method: "GET",
|
|
191
191
|
headers: _headers,
|
|
192
192
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -311,7 +311,7 @@ class BillingClient {
|
|
|
311
311
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
312
312
|
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);
|
|
313
313
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
314
|
-
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)}`),
|
|
314
|
+
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)}`),
|
|
315
315
|
method: "DELETE",
|
|
316
316
|
headers: _headers,
|
|
317
317
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -274,7 +274,7 @@ class DomainsClient {
|
|
|
274
274
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
275
275
|
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);
|
|
276
276
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
277
|
-
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)}`),
|
|
277
|
+
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)}`),
|
|
278
278
|
method: "GET",
|
|
279
279
|
headers: _headers,
|
|
280
280
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -365,7 +365,7 @@ class DomainsClient {
|
|
|
365
365
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
366
366
|
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);
|
|
367
367
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
368
|
-
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`),
|
|
368
|
+
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`),
|
|
369
369
|
method: "POST",
|
|
370
370
|
headers: _headers,
|
|
371
371
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -461,7 +461,7 @@ class DomainsClient {
|
|
|
461
461
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
462
462
|
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);
|
|
463
463
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
464
|
-
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)}`),
|
|
464
|
+
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)}`),
|
|
465
465
|
method: "PATCH",
|
|
466
466
|
headers: _headers,
|
|
467
467
|
contentType: "application/json",
|
|
@@ -566,7 +566,7 @@ class DomainsClient {
|
|
|
566
566
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
567
567
|
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);
|
|
568
568
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
569
|
-
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)}`),
|
|
569
|
+
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)}`),
|
|
570
570
|
method: "DELETE",
|
|
571
571
|
headers: _headers,
|
|
572
572
|
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
|