@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
|
@@ -322,7 +322,7 @@ class MemegenClient {
|
|
|
322
322
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
323
323
|
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);
|
|
324
324
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
325
|
-
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, `memes/${core.url.encodePathParam(memeId)}`),
|
|
325
|
+
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, `memes/${core.url.encodePathParam(memeId, errors.TaktoriaError)}`),
|
|
326
326
|
method: "GET",
|
|
327
327
|
headers: _headers,
|
|
328
328
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -402,7 +402,7 @@ class MemegenClient {
|
|
|
402
402
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
403
403
|
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);
|
|
404
404
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
405
|
-
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, `memes/${core.url.encodePathParam(memeId)}/vote`),
|
|
405
|
+
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, `memes/${core.url.encodePathParam(memeId, errors.TaktoriaError)}/vote`),
|
|
406
406
|
method: "PUT",
|
|
407
407
|
headers: _headers,
|
|
408
408
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -496,7 +496,7 @@ class MemegenClient {
|
|
|
496
496
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
497
497
|
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);
|
|
498
498
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
499
|
-
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, `memes/${core.url.encodePathParam(memeId)}/vote`),
|
|
499
|
+
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, `memes/${core.url.encodePathParam(memeId, errors.TaktoriaError)}/vote`),
|
|
500
500
|
method: "DELETE",
|
|
501
501
|
headers: _headers,
|
|
502
502
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -592,7 +592,7 @@ class MemegenClient {
|
|
|
592
592
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
593
593
|
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);
|
|
594
594
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
595
|
-
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, `memes/${core.url.encodePathParam(memeId)}/image`),
|
|
595
|
+
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, `memes/${core.url.encodePathParam(memeId, errors.TaktoriaError)}/image`),
|
|
596
596
|
method: "GET",
|
|
597
597
|
headers: _headers,
|
|
598
598
|
queryString: core.url
|
|
@@ -805,7 +805,7 @@ class MemegenClient {
|
|
|
805
805
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
806
806
|
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);
|
|
807
807
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
808
|
-
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, `memes/${core.url.encodePathParam(memeId)}`),
|
|
808
|
+
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, `memes/${core.url.encodePathParam(memeId, errors.TaktoriaError)}`),
|
|
809
809
|
method: "DELETE",
|
|
810
810
|
headers: _headers,
|
|
811
811
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1641,7 +1641,7 @@ class MemegenClient {
|
|
|
1641
1641
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1642
1642
|
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);
|
|
1643
1643
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1644
|
-
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, `meme-templates/${core.url.encodePathParam(templateId)}`),
|
|
1644
|
+
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, `meme-templates/${core.url.encodePathParam(templateId, errors.TaktoriaError)}`),
|
|
1645
1645
|
method: "GET",
|
|
1646
1646
|
headers: _headers,
|
|
1647
1647
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1725,7 +1725,7 @@ class MemegenClient {
|
|
|
1725
1725
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1726
1726
|
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);
|
|
1727
1727
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1728
|
-
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, `meme-templates/${core.url.encodePathParam(templateId)}`),
|
|
1728
|
+
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, `meme-templates/${core.url.encodePathParam(templateId, errors.TaktoriaError)}`),
|
|
1729
1729
|
method: "PATCH",
|
|
1730
1730
|
headers: _headers,
|
|
1731
1731
|
contentType: "application/json",
|
|
@@ -1845,7 +1845,7 @@ class MemegenClient {
|
|
|
1845
1845
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1846
1846
|
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);
|
|
1847
1847
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1848
|
-
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, `meme-templates/${core.url.encodePathParam(templateId)}`),
|
|
1848
|
+
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, `meme-templates/${core.url.encodePathParam(templateId, errors.TaktoriaError)}`),
|
|
1849
1849
|
method: "DELETE",
|
|
1850
1850
|
headers: _headers,
|
|
1851
1851
|
queryString: core.url
|
|
@@ -238,6 +238,9 @@ export declare class OkrClient {
|
|
|
238
238
|
private __deleteKeyResult;
|
|
239
239
|
/**
|
|
240
240
|
* The history behind a key result's current grade, most recent first.
|
|
241
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
242
|
+
* result), the metric's own check-ins carry `metric`, and a person's
|
|
243
|
+
* stands only until the metric next moves.
|
|
241
244
|
*
|
|
242
245
|
* @param {string} keyResultId
|
|
243
246
|
* @param {Taktoria.ListCheckInsRequest} request
|
|
@@ -271,6 +274,11 @@ export declare class OkrClient {
|
|
|
271
274
|
* With `checkpoint`, it is also the key result's grade at that
|
|
272
275
|
* scorecard checkpoint, as the dashboard's check-in form makes it.
|
|
273
276
|
*
|
|
277
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
278
|
+
* result), a check-in stands only until the metric next moves: the
|
|
279
|
+
* metric's next check-in is then the latest. A **Final** grade on the
|
|
280
|
+
* scorecard is the score whatever the metric does.
|
|
281
|
+
*
|
|
274
282
|
* @param {string} keyResultId
|
|
275
283
|
* @param {Taktoria.CreateCheckInRequest} request
|
|
276
284
|
* @param {OkrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -308,7 +308,7 @@ class OkrClient {
|
|
|
308
308
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
309
309
|
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);
|
|
310
310
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
311
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}`),
|
|
311
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}`),
|
|
312
312
|
method: "GET",
|
|
313
313
|
headers: _headers,
|
|
314
314
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -390,7 +390,7 @@ class OkrClient {
|
|
|
390
390
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
391
391
|
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);
|
|
392
392
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
393
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}`),
|
|
393
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}`),
|
|
394
394
|
method: "PATCH",
|
|
395
395
|
headers: _headers,
|
|
396
396
|
contentType: "application/json",
|
|
@@ -493,7 +493,7 @@ class OkrClient {
|
|
|
493
493
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
494
494
|
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);
|
|
495
495
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
496
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}`),
|
|
496
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}`),
|
|
497
497
|
method: "DELETE",
|
|
498
498
|
headers: _headers,
|
|
499
499
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -571,7 +571,7 @@ class OkrClient {
|
|
|
571
571
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
572
572
|
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);
|
|
573
573
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
574
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}/key-results`),
|
|
574
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}/key-results`),
|
|
575
575
|
method: "GET",
|
|
576
576
|
headers: _headers,
|
|
577
577
|
queryString: core.url
|
|
@@ -655,7 +655,7 @@ class OkrClient {
|
|
|
655
655
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
656
656
|
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);
|
|
657
657
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
658
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}/key-results`),
|
|
658
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}/key-results`),
|
|
659
659
|
method: "POST",
|
|
660
660
|
headers: _headers,
|
|
661
661
|
contentType: "application/json",
|
|
@@ -752,7 +752,7 @@ class OkrClient {
|
|
|
752
752
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
753
753
|
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);
|
|
754
754
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
755
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}`),
|
|
755
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}`),
|
|
756
756
|
method: "GET",
|
|
757
757
|
headers: _headers,
|
|
758
758
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -838,7 +838,7 @@ class OkrClient {
|
|
|
838
838
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
839
839
|
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);
|
|
840
840
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
841
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}`),
|
|
841
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}`),
|
|
842
842
|
method: "PATCH",
|
|
843
843
|
headers: _headers,
|
|
844
844
|
contentType: "application/json",
|
|
@@ -937,7 +937,7 @@ class OkrClient {
|
|
|
937
937
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
938
938
|
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);
|
|
939
939
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
940
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}`),
|
|
940
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}`),
|
|
941
941
|
method: "DELETE",
|
|
942
942
|
headers: _headers,
|
|
943
943
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -989,6 +989,9 @@ class OkrClient {
|
|
|
989
989
|
}
|
|
990
990
|
/**
|
|
991
991
|
* The history behind a key result's current grade, most recent first.
|
|
992
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
993
|
+
* result), the metric's own check-ins carry `metric`, and a person's
|
|
994
|
+
* stands only until the metric next moves.
|
|
992
995
|
*
|
|
993
996
|
* @param {string} keyResultId
|
|
994
997
|
* @param {Taktoria.ListCheckInsRequest} request
|
|
@@ -1016,7 +1019,7 @@ class OkrClient {
|
|
|
1016
1019
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1017
1020
|
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);
|
|
1018
1021
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1019
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}/check-ins`),
|
|
1022
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}/check-ins`),
|
|
1020
1023
|
method: "GET",
|
|
1021
1024
|
headers: _headers,
|
|
1022
1025
|
queryString: core.url
|
|
@@ -1089,6 +1092,11 @@ class OkrClient {
|
|
|
1089
1092
|
* With `checkpoint`, it is also the key result's grade at that
|
|
1090
1093
|
* scorecard checkpoint, as the dashboard's check-in form makes it.
|
|
1091
1094
|
*
|
|
1095
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
1096
|
+
* result), a check-in stands only until the metric next moves: the
|
|
1097
|
+
* metric's next check-in is then the latest. A **Final** grade on the
|
|
1098
|
+
* scorecard is the score whatever the metric does.
|
|
1099
|
+
*
|
|
1092
1100
|
* @param {string} keyResultId
|
|
1093
1101
|
* @param {Taktoria.CreateCheckInRequest} request
|
|
1094
1102
|
* @param {OkrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1116,7 +1124,7 @@ class OkrClient {
|
|
|
1116
1124
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1117
1125
|
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);
|
|
1118
1126
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1119
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}/check-ins`),
|
|
1127
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}/check-ins`),
|
|
1120
1128
|
method: "POST",
|
|
1121
1129
|
headers: _headers,
|
|
1122
1130
|
contentType: "application/json",
|
|
@@ -1315,7 +1323,7 @@ class OkrClient {
|
|
|
1315
1323
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1316
1324
|
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);
|
|
1317
1325
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1318
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}/grades`),
|
|
1326
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}/grades`),
|
|
1319
1327
|
method: "GET",
|
|
1320
1328
|
headers: _headers,
|
|
1321
1329
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1406,7 +1414,7 @@ class OkrClient {
|
|
|
1406
1414
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1407
1415
|
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);
|
|
1408
1416
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1409
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}/grades/${core.url.encodePathParam(serializers.OkrCheckpoint.jsonOrThrow(checkpoint, { omitUndefined: true }))}`),
|
|
1417
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}/grades/${core.url.encodePathParam(serializers.OkrCheckpoint.jsonOrThrow(checkpoint, { omitUndefined: true }), errors.TaktoriaError)}`),
|
|
1410
1418
|
method: "PUT",
|
|
1411
1419
|
headers: _headers,
|
|
1412
1420
|
contentType: "application/json",
|
|
@@ -1508,7 +1516,7 @@ class OkrClient {
|
|
|
1508
1516
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1509
1517
|
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);
|
|
1510
1518
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1511
|
-
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, `key-results/${core.url.encodePathParam(keyResultId)}/grade-changes`),
|
|
1519
|
+
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, `key-results/${core.url.encodePathParam(keyResultId, errors.TaktoriaError)}/grade-changes`),
|
|
1512
1520
|
method: "GET",
|
|
1513
1521
|
headers: _headers,
|
|
1514
1522
|
queryString: core.url
|
|
@@ -1827,7 +1835,7 @@ class OkrClient {
|
|
|
1827
1835
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1828
1836
|
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);
|
|
1829
1837
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1830
|
-
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, `objectives/${core.url.encodePathParam(objectiveId)}/key-results/reorder`),
|
|
1838
|
+
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}/key-results/reorder`),
|
|
1831
1839
|
method: "POST",
|
|
1832
1840
|
headers: _headers,
|
|
1833
1841
|
contentType: "application/json",
|
|
@@ -2490,7 +2498,7 @@ class OkrClient {
|
|
|
2490
2498
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2491
2499
|
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);
|
|
2492
2500
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2493
|
-
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, `okrhub/teams/${core.url.encodePathParam(teamSlug)}`),
|
|
2501
|
+
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, `okrhub/teams/${core.url.encodePathParam(teamSlug, errors.TaktoriaError)}`),
|
|
2494
2502
|
method: "GET",
|
|
2495
2503
|
headers: _headers,
|
|
2496
2504
|
queryString: core.url
|
|
@@ -35,6 +35,19 @@ export interface KeyResult {
|
|
|
35
35
|
ownerUserIds: string[];
|
|
36
36
|
/** Teams of the workspace that own it; their members count as owners. */
|
|
37
37
|
ownerTeamIds: string[];
|
|
38
|
+
/**
|
|
39
|
+
* When it was last checked in on: its newest check-in's `recordedAt`,
|
|
40
|
+
* so a check-in recorded late counts at its date. Absent if it has
|
|
41
|
+
* never been checked in on. How long it has gone quiet.
|
|
42
|
+
*/
|
|
43
|
+
lastCheckInAt?: Date;
|
|
44
|
+
/**
|
|
45
|
+
* The connected metric that drives its score, absent if none. Each
|
|
46
|
+
* number the metric hears becomes a check-in, and a person's own
|
|
47
|
+
* check-in stands only until the metric next moves. Sources are set
|
|
48
|
+
* up on the key result's page in the app, not through the API.
|
|
49
|
+
*/
|
|
50
|
+
metric?: Taktoria.KeyResultMetric;
|
|
38
51
|
createdAt: Date;
|
|
39
52
|
updatedAt: Date;
|
|
40
53
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* The metric a key result follows, as anybody who may see the key result
|
|
4
|
+
* sees it. Never its secret, token or address.
|
|
5
|
+
*/
|
|
6
|
+
export interface KeyResultMetric {
|
|
7
|
+
/** What the number is, as the history names it, such as "Weekly active teams". */
|
|
8
|
+
name: string;
|
|
9
|
+
kind: Taktoria.MetricSourceKind;
|
|
10
|
+
/** Paused, it records nothing until somebody resumes it. */
|
|
11
|
+
paused: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** How a metric hears its number. */
|
|
2
|
+
export declare const MetricSourceKind: {
|
|
3
|
+
/**
|
|
4
|
+
* A system posts it to the metric's own address, with its secret. */
|
|
5
|
+
readonly Webhook: "WEBHOOK";
|
|
6
|
+
/**
|
|
7
|
+
* OKR Hub fetches it from an https address on a schedule. */
|
|
8
|
+
readonly Pull: "PULL";
|
|
9
|
+
};
|
|
10
|
+
export type MetricSourceKind = (typeof MetricSourceKind)[keyof typeof MetricSourceKind];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.MetricSourceKind = void 0;
|
|
5
|
+
/** How a metric hears its number. */
|
|
6
|
+
exports.MetricSourceKind = {
|
|
7
|
+
/**
|
|
8
|
+
* A system posts it to the metric's own address, with its secret. */
|
|
9
|
+
Webhook: "WEBHOOK",
|
|
10
|
+
/**
|
|
11
|
+
* OKR Hub fetches it from an https address on a schedule. */
|
|
12
|
+
Pull: "PULL",
|
|
13
|
+
};
|
|
@@ -19,6 +19,8 @@ export * from "./KeyResultDetail.js";
|
|
|
19
19
|
export * from "./KeyResultGrade.js";
|
|
20
20
|
export * from "./KeyResultGradeList.js";
|
|
21
21
|
export * from "./KeyResultList.js";
|
|
22
|
+
export * from "./KeyResultMetric.js";
|
|
23
|
+
export * from "./MetricSourceKind.js";
|
|
22
24
|
export * from "./Objective.js";
|
|
23
25
|
export * from "./ObjectiveDetail.js";
|
|
24
26
|
export * from "./ObjectivePage.js";
|
|
@@ -35,6 +35,8 @@ __exportStar(require("./KeyResultDetail.js"), exports);
|
|
|
35
35
|
__exportStar(require("./KeyResultGrade.js"), exports);
|
|
36
36
|
__exportStar(require("./KeyResultGradeList.js"), exports);
|
|
37
37
|
__exportStar(require("./KeyResultList.js"), exports);
|
|
38
|
+
__exportStar(require("./KeyResultMetric.js"), exports);
|
|
39
|
+
__exportStar(require("./MetricSourceKind.js"), exports);
|
|
38
40
|
__exportStar(require("./Objective.js"), exports);
|
|
39
41
|
__exportStar(require("./ObjectiveDetail.js"), exports);
|
|
40
42
|
__exportStar(require("./ObjectivePage.js"), exports);
|
|
@@ -28,8 +28,11 @@ export declare class OrganizationClient {
|
|
|
28
28
|
private __get;
|
|
29
29
|
/**
|
|
30
30
|
* Rename the workspace, move its slug, set its fiscal year, the years
|
|
31
|
-
* OKR Hub offers, the default time zone, LaunchCal's holiday markets
|
|
32
|
-
* whether seats grow as people join (`autoGrowSeats`)
|
|
31
|
+
* OKR Hub offers, the default time zone, LaunchCal's holiday markets,
|
|
32
|
+
* whether seats grow as people join (`autoGrowSeats`), whether
|
|
33
|
+
* LaunchCal's calendar feeds are allowed (`allowCalendarFeeds`) or
|
|
34
|
+
* whether Slack commands take Slack's word while Google is required
|
|
35
|
+
* (`slackCommandsWithoutGoogle`). Requires
|
|
33
36
|
* `organization:write`, which a signed-in session never has: this takes
|
|
34
37
|
* a key. Everything is checked before anything is written.
|
|
35
38
|
*
|
|
@@ -141,8 +141,11 @@ class OrganizationClient {
|
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* Rename the workspace, move its slug, set its fiscal year, the years
|
|
144
|
-
* OKR Hub offers, the default time zone, LaunchCal's holiday markets
|
|
145
|
-
* whether seats grow as people join (`autoGrowSeats`)
|
|
144
|
+
* OKR Hub offers, the default time zone, LaunchCal's holiday markets,
|
|
145
|
+
* whether seats grow as people join (`autoGrowSeats`), whether
|
|
146
|
+
* LaunchCal's calendar feeds are allowed (`allowCalendarFeeds`) or
|
|
147
|
+
* whether Slack commands take Slack's word while Google is required
|
|
148
|
+
* (`slackCommandsWithoutGoogle`). Requires
|
|
146
149
|
* `organization:write`, which a signed-in session never has: this takes
|
|
147
150
|
* a key. Everything is checked before anything is written.
|
|
148
151
|
*
|
|
@@ -44,6 +44,17 @@ export interface Organization {
|
|
|
44
44
|
* reads true.
|
|
45
45
|
*/
|
|
46
46
|
requireGoogleSignIn: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* **Allow Slack commands without Google sign-in**, under **Require
|
|
49
|
+
* sign-in with Google** in Settings → Workspace. Slack cannot sign in
|
|
50
|
+
* with Google, so while Google is required, Taktoria's Slack commands
|
|
51
|
+
* act only for somebody who has connected their Slack account by
|
|
52
|
+
* signing in with Google once (see `GET /slack-connections`). On,
|
|
53
|
+
* they take the address Slack has confirmed instead, as in a
|
|
54
|
+
* workspace that does not require Google. It means nothing while
|
|
55
|
+
* `requireGoogleSignIn` is false. Off by default.
|
|
56
|
+
*/
|
|
57
|
+
slackCommandsWithoutGoogle: boolean;
|
|
47
58
|
/** Whether Google sign-in is set up on this installation, so it can be required. */
|
|
48
59
|
googleSignInAvailable: boolean;
|
|
49
60
|
/**
|
|
@@ -57,4 +68,14 @@ export interface Organization {
|
|
|
57
68
|
* `autoJoin` on. On by default.
|
|
58
69
|
*/
|
|
59
70
|
autoGrowSeats: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* **Allow calendar feeds**, in Settings → Workspace: whether members
|
|
73
|
+
* may subscribe to LaunchCal from Google Calendar, Outlook or Apple
|
|
74
|
+
* Calendar. A feed is a private address read with no sign-in, around
|
|
75
|
+
* **Require Google sign-in** and single sign-on, so a workspace that
|
|
76
|
+
* holds every way in to those turns it off: every feed then answers
|
|
77
|
+
* 404 and none can be made, until it is on again. On by default.
|
|
78
|
+
* Feeds themselves have no API: each address is a person's secret.
|
|
79
|
+
*/
|
|
80
|
+
allowCalendarFeeds: boolean;
|
|
60
81
|
}
|
|
@@ -34,4 +34,19 @@ export interface UpdateOrganizationRequest {
|
|
|
34
34
|
* Settings → Domains.
|
|
35
35
|
*/
|
|
36
36
|
autoGrowSeats?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether members may subscribe to LaunchCal from a calendar app.
|
|
39
|
+
* Turned off, every feed stops answering at once, and none is
|
|
40
|
+
* deleted: turned on again, they work as before. Each change is in
|
|
41
|
+
* the audit log, as it is from Settings → Workspace.
|
|
42
|
+
*/
|
|
43
|
+
allowCalendarFeeds?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether Taktoria's Slack commands take Slack's confirmed address
|
|
46
|
+
* while Google is required, rather than asking each person to connect
|
|
47
|
+
* with Google. Turned off, everybody who has not connected is asked
|
|
48
|
+
* to at their next command; connections already made keep working.
|
|
49
|
+
* Each change is in the audit log, as it is from Settings → Workspace.
|
|
50
|
+
*/
|
|
51
|
+
slackCommandsWithoutGoogle?: boolean;
|
|
37
52
|
}
|
|
@@ -279,7 +279,7 @@ class PartnerDomainsClient {
|
|
|
279
279
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
280
280
|
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);
|
|
281
281
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
282
|
-
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, `/partner-domains/${core.url.encodePathParam(partnerDomainId)}`),
|
|
282
|
+
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, `/partner-domains/${core.url.encodePathParam(partnerDomainId, errors.TaktoriaError)}`),
|
|
283
283
|
method: "DELETE",
|
|
284
284
|
headers: _headers,
|
|
285
285
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -29,8 +29,8 @@ export declare class PlatformClient {
|
|
|
29
29
|
getNotificationPreferences(requestOptions?: PlatformClient.RequestOptions): core.HttpResponsePromise<Taktoria.NotificationPreferences>;
|
|
30
30
|
private __getNotificationPreferences;
|
|
31
31
|
/**
|
|
32
|
-
* Turn kinds of notification on or off, by email
|
|
33
|
-
* person behind this key or session; anything not named keeps its
|
|
32
|
+
* Turn kinds of notification on or off, by email, by Slack and by
|
|
33
|
+
* Microsoft Teams, for the person behind this key or session; anything not named keeps its
|
|
34
34
|
* value. Like reading them, it needs no scope, and a signed-in session
|
|
35
35
|
* may change its own. `404` for a key whose maker has left.
|
|
36
36
|
*
|
|
@@ -142,8 +142,8 @@ class PlatformClient {
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
* Turn kinds of notification on or off, by email
|
|
146
|
-
* person behind this key or session; anything not named keeps its
|
|
145
|
+
* Turn kinds of notification on or off, by email, by Slack and by
|
|
146
|
+
* Microsoft Teams, for the person behind this key or session; anything not named keeps its
|
|
147
147
|
* value. Like reading them, it needs no scope, and a signed-in session
|
|
148
148
|
* may change its own. `404` for a key whose maker has left.
|
|
149
149
|
*
|
|
@@ -416,7 +416,7 @@ class PlatformClient {
|
|
|
416
416
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
417
417
|
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);
|
|
418
418
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
419
|
-
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)}`),
|
|
419
|
+
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)}`),
|
|
420
420
|
method: "PATCH",
|
|
421
421
|
headers: _headers,
|
|
422
422
|
contentType: "application/json",
|
|
@@ -610,7 +610,7 @@ class PlatformClient {
|
|
|
610
610
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
611
611
|
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);
|
|
612
612
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
613
|
-
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, `members/${core.url.encodePathParam(userId)}/app-roles/${core.url.encodePathParam(app)}`),
|
|
613
|
+
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, `members/${core.url.encodePathParam(userId, errors.TaktoriaError)}/app-roles/${core.url.encodePathParam(app, errors.TaktoriaError)}`),
|
|
614
614
|
method: "PUT",
|
|
615
615
|
headers: _headers,
|
|
616
616
|
contentType: "application/json",
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* How one kind of notification reaches you. Each is on until turned off.
|
|
3
|
-
* Slack
|
|
4
|
-
*
|
|
3
|
+
* Slack and Microsoft Teams are direct messages, each sent only in a
|
|
4
|
+
* workspace that has connected it, whatever this says.
|
|
5
5
|
*/
|
|
6
6
|
export interface NotificationChannels {
|
|
7
7
|
email: boolean;
|
|
8
8
|
/** Always `false` for `productTips`, which come by email only. */
|
|
9
9
|
slack: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* A Microsoft Teams chat with Taktoria's bot. Always `false` for
|
|
12
|
+
* `productTips`, which come by email only.
|
|
13
|
+
*/
|
|
14
|
+
teams: boolean;
|
|
10
15
|
}
|
|
@@ -13,7 +13,7 @@ export interface UpdateNotificationPreferencesRequest {
|
|
|
13
13
|
doryHostReminder?: Taktoria.UpdateNotificationChannels;
|
|
14
14
|
trialEnding?: Taktoria.UpdateNotificationChannels;
|
|
15
15
|
seatsAddedSummary?: Taktoria.UpdateNotificationChannels;
|
|
16
|
-
/** `slack`
|
|
16
|
+
/** `slack` and `teams` are refused here: tips come by email only. */
|
|
17
17
|
productTips?: Taktoria.UpdateNotificationChannels;
|
|
18
18
|
waitingListSeats?: Taktoria.UpdateNotificationChannels;
|
|
19
19
|
}
|
|
@@ -4,8 +4,8 @@ import type * as Taktoria from "../../../index.js";
|
|
|
4
4
|
* was taken, and seats were not growing as people join. Seats freed (one
|
|
5
5
|
* taken away, somebody leaving) or bought (more seats, a trial starting)
|
|
6
6
|
* go to the first on the list by themselves, never past the seats paid
|
|
7
|
-
* for; they are told, by email
|
|
8
|
-
* `waitingListSeats`. Taking somebody's seat away never puts them on it.
|
|
7
|
+
* for; they are told, by email, Slack or Microsoft Teams as they choose,
|
|
8
|
+
* as `waitingListSeats`. Taking somebody's seat away never puts them on it.
|
|
9
9
|
*/
|
|
10
10
|
export interface WaitingForSeat {
|
|
11
11
|
appSlug: string;
|
|
@@ -52,8 +52,10 @@ export declare class PostsClient {
|
|
|
52
52
|
private __create;
|
|
53
53
|
/**
|
|
54
54
|
* Change a post's body, and an update's health. Only its author may:
|
|
55
|
-
* through an API key, the person the key belongs to.
|
|
56
|
-
* `
|
|
55
|
+
* through an API key, the person the key belongs to. A post a ticketing
|
|
56
|
+
* sync brought in (one with a `source`) is that system's: changing it
|
|
57
|
+
* here is a `409 conflict`; change it there, and the next sync brings
|
|
58
|
+
* it across. Needs `launches:write`.
|
|
57
59
|
*
|
|
58
60
|
* @param {string} launchId
|
|
59
61
|
* @param {string} postId
|
|
@@ -62,6 +64,7 @@ export declare class PostsClient {
|
|
|
62
64
|
*
|
|
63
65
|
* @throws {@link Taktoria.NotFoundError}
|
|
64
66
|
* @throws {@link Taktoria.ForbiddenError}
|
|
67
|
+
* @throws {@link Taktoria.ConflictError}
|
|
65
68
|
* @throws {@link Taktoria.ValidationError}
|
|
66
69
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
67
70
|
* @throws {@link errors.TaktoriaError}
|