@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
|
@@ -286,7 +286,7 @@ export class MemegenClient {
|
|
|
286
286
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
287
287
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
288
288
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
289
|
-
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)}`),
|
|
289
|
+
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)}`),
|
|
290
290
|
method: "GET",
|
|
291
291
|
headers: _headers,
|
|
292
292
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -366,7 +366,7 @@ export class MemegenClient {
|
|
|
366
366
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
367
367
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
368
368
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
369
|
-
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`),
|
|
369
|
+
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`),
|
|
370
370
|
method: "PUT",
|
|
371
371
|
headers: _headers,
|
|
372
372
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -460,7 +460,7 @@ export class MemegenClient {
|
|
|
460
460
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
461
461
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
462
462
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
463
|
-
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`),
|
|
463
|
+
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`),
|
|
464
464
|
method: "DELETE",
|
|
465
465
|
headers: _headers,
|
|
466
466
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -556,7 +556,7 @@ export class MemegenClient {
|
|
|
556
556
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
557
557
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
558
558
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
559
|
-
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`),
|
|
559
|
+
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`),
|
|
560
560
|
method: "GET",
|
|
561
561
|
headers: _headers,
|
|
562
562
|
queryString: core.url
|
|
@@ -769,7 +769,7 @@ export class MemegenClient {
|
|
|
769
769
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
770
770
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
771
771
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
772
|
-
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)}`),
|
|
772
|
+
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)}`),
|
|
773
773
|
method: "DELETE",
|
|
774
774
|
headers: _headers,
|
|
775
775
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1605,7 +1605,7 @@ export class MemegenClient {
|
|
|
1605
1605
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1606
1606
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1607
1607
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1608
|
-
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)}`),
|
|
1608
|
+
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)}`),
|
|
1609
1609
|
method: "GET",
|
|
1610
1610
|
headers: _headers,
|
|
1611
1611
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1689,7 +1689,7 @@ export class MemegenClient {
|
|
|
1689
1689
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1690
1690
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1691
1691
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1692
|
-
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)}`),
|
|
1692
|
+
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)}`),
|
|
1693
1693
|
method: "PATCH",
|
|
1694
1694
|
headers: _headers,
|
|
1695
1695
|
contentType: "application/json",
|
|
@@ -1809,7 +1809,7 @@ export class MemegenClient {
|
|
|
1809
1809
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1810
1810
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1811
1811
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1812
|
-
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)}`),
|
|
1812
|
+
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)}`),
|
|
1813
1813
|
method: "DELETE",
|
|
1814
1814
|
headers: _headers,
|
|
1815
1815
|
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.
|
|
@@ -272,7 +272,7 @@ export class OkrClient {
|
|
|
272
272
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
273
273
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
274
274
|
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, `objectives/${core.url.encodePathParam(objectiveId)}`),
|
|
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}`),
|
|
276
276
|
method: "GET",
|
|
277
277
|
headers: _headers,
|
|
278
278
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -354,7 +354,7 @@ export class OkrClient {
|
|
|
354
354
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
355
355
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
356
356
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
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, `objectives/${core.url.encodePathParam(objectiveId)}`),
|
|
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, `objectives/${core.url.encodePathParam(objectiveId, errors.TaktoriaError)}`),
|
|
358
358
|
method: "PATCH",
|
|
359
359
|
headers: _headers,
|
|
360
360
|
contentType: "application/json",
|
|
@@ -457,7 +457,7 @@ export class OkrClient {
|
|
|
457
457
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
458
458
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
459
459
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
460
|
-
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)}`),
|
|
460
|
+
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)}`),
|
|
461
461
|
method: "DELETE",
|
|
462
462
|
headers: _headers,
|
|
463
463
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -535,7 +535,7 @@ export class OkrClient {
|
|
|
535
535
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
536
536
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
537
537
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
538
|
-
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`),
|
|
538
|
+
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`),
|
|
539
539
|
method: "GET",
|
|
540
540
|
headers: _headers,
|
|
541
541
|
queryString: core.url
|
|
@@ -619,7 +619,7 @@ export class OkrClient {
|
|
|
619
619
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
620
620
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
621
621
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
622
|
-
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`),
|
|
622
|
+
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`),
|
|
623
623
|
method: "POST",
|
|
624
624
|
headers: _headers,
|
|
625
625
|
contentType: "application/json",
|
|
@@ -716,7 +716,7 @@ export class OkrClient {
|
|
|
716
716
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
717
717
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
718
718
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
719
|
-
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)}`),
|
|
719
|
+
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)}`),
|
|
720
720
|
method: "GET",
|
|
721
721
|
headers: _headers,
|
|
722
722
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -802,7 +802,7 @@ export class OkrClient {
|
|
|
802
802
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
803
803
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
804
804
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
805
|
-
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)}`),
|
|
805
|
+
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)}`),
|
|
806
806
|
method: "PATCH",
|
|
807
807
|
headers: _headers,
|
|
808
808
|
contentType: "application/json",
|
|
@@ -901,7 +901,7 @@ export class OkrClient {
|
|
|
901
901
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
902
902
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
903
903
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
904
|
-
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)}`),
|
|
904
|
+
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)}`),
|
|
905
905
|
method: "DELETE",
|
|
906
906
|
headers: _headers,
|
|
907
907
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -953,6 +953,9 @@ export class OkrClient {
|
|
|
953
953
|
}
|
|
954
954
|
/**
|
|
955
955
|
* The history behind a key result's current grade, most recent first.
|
|
956
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
957
|
+
* result), the metric's own check-ins carry `metric`, and a person's
|
|
958
|
+
* stands only until the metric next moves.
|
|
956
959
|
*
|
|
957
960
|
* @param {string} keyResultId
|
|
958
961
|
* @param {Taktoria.ListCheckInsRequest} request
|
|
@@ -980,7 +983,7 @@ export class OkrClient {
|
|
|
980
983
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
981
984
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
982
985
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
983
|
-
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`),
|
|
986
|
+
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`),
|
|
984
987
|
method: "GET",
|
|
985
988
|
headers: _headers,
|
|
986
989
|
queryString: core.url
|
|
@@ -1053,6 +1056,11 @@ export class OkrClient {
|
|
|
1053
1056
|
* With `checkpoint`, it is also the key result's grade at that
|
|
1054
1057
|
* scorecard checkpoint, as the dashboard's check-in form makes it.
|
|
1055
1058
|
*
|
|
1059
|
+
* On a key result a connected metric drives (`metric` on the key
|
|
1060
|
+
* result), a check-in stands only until the metric next moves: the
|
|
1061
|
+
* metric's next check-in is then the latest. A **Final** grade on the
|
|
1062
|
+
* scorecard is the score whatever the metric does.
|
|
1063
|
+
*
|
|
1056
1064
|
* @param {string} keyResultId
|
|
1057
1065
|
* @param {Taktoria.CreateCheckInRequest} request
|
|
1058
1066
|
* @param {OkrClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1080,7 +1088,7 @@ export class OkrClient {
|
|
|
1080
1088
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1081
1089
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1082
1090
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1083
|
-
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`),
|
|
1091
|
+
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`),
|
|
1084
1092
|
method: "POST",
|
|
1085
1093
|
headers: _headers,
|
|
1086
1094
|
contentType: "application/json",
|
|
@@ -1279,7 +1287,7 @@ export class OkrClient {
|
|
|
1279
1287
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1280
1288
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1281
1289
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1282
|
-
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`),
|
|
1290
|
+
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`),
|
|
1283
1291
|
method: "GET",
|
|
1284
1292
|
headers: _headers,
|
|
1285
1293
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
@@ -1370,7 +1378,7 @@ export class OkrClient {
|
|
|
1370
1378
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1371
1379
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1372
1380
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1373
|
-
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 }))}`),
|
|
1381
|
+
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)}`),
|
|
1374
1382
|
method: "PUT",
|
|
1375
1383
|
headers: _headers,
|
|
1376
1384
|
contentType: "application/json",
|
|
@@ -1472,7 +1480,7 @@ export class OkrClient {
|
|
|
1472
1480
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1473
1481
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1474
1482
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1475
|
-
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`),
|
|
1483
|
+
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`),
|
|
1476
1484
|
method: "GET",
|
|
1477
1485
|
headers: _headers,
|
|
1478
1486
|
queryString: core.url
|
|
@@ -1791,7 +1799,7 @@ export class OkrClient {
|
|
|
1791
1799
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1792
1800
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1793
1801
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1794
|
-
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`),
|
|
1802
|
+
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`),
|
|
1795
1803
|
method: "POST",
|
|
1796
1804
|
headers: _headers,
|
|
1797
1805
|
contentType: "application/json",
|
|
@@ -2454,7 +2462,7 @@ export class OkrClient {
|
|
|
2454
2462
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2455
2463
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2456
2464
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
2457
|
-
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)}`),
|
|
2465
|
+
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)}`),
|
|
2458
2466
|
method: "GET",
|
|
2459
2467
|
headers: _headers,
|
|
2460
2468
|
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.mjs";
|
|
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,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** How a metric hears its number. */
|
|
3
|
+
export const MetricSourceKind = {
|
|
4
|
+
/**
|
|
5
|
+
* A system posts it to the metric's own address, with its secret. */
|
|
6
|
+
Webhook: "WEBHOOK",
|
|
7
|
+
/**
|
|
8
|
+
* OKR Hub fetches it from an https address on a schedule. */
|
|
9
|
+
Pull: "PULL",
|
|
10
|
+
};
|
|
@@ -19,6 +19,8 @@ export * from "./KeyResultDetail.mjs";
|
|
|
19
19
|
export * from "./KeyResultGrade.mjs";
|
|
20
20
|
export * from "./KeyResultGradeList.mjs";
|
|
21
21
|
export * from "./KeyResultList.mjs";
|
|
22
|
+
export * from "./KeyResultMetric.mjs";
|
|
23
|
+
export * from "./MetricSourceKind.mjs";
|
|
22
24
|
export * from "./Objective.mjs";
|
|
23
25
|
export * from "./ObjectiveDetail.mjs";
|
|
24
26
|
export * from "./ObjectivePage.mjs";
|
|
@@ -19,6 +19,8 @@ export * from "./KeyResultDetail.mjs";
|
|
|
19
19
|
export * from "./KeyResultGrade.mjs";
|
|
20
20
|
export * from "./KeyResultGradeList.mjs";
|
|
21
21
|
export * from "./KeyResultList.mjs";
|
|
22
|
+
export * from "./KeyResultMetric.mjs";
|
|
23
|
+
export * from "./MetricSourceKind.mjs";
|
|
22
24
|
export * from "./Objective.mjs";
|
|
23
25
|
export * from "./ObjectiveDetail.mjs";
|
|
24
26
|
export * from "./ObjectivePage.mjs";
|
|
@@ -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
|
*
|
|
@@ -105,8 +105,11 @@ export class OrganizationClient {
|
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Rename the workspace, move its slug, set its fiscal year, the years
|
|
108
|
-
* OKR Hub offers, the default time zone, LaunchCal's holiday markets
|
|
109
|
-
* whether seats grow as people join (`autoGrowSeats`)
|
|
108
|
+
* OKR Hub offers, the default time zone, LaunchCal's holiday markets,
|
|
109
|
+
* whether seats grow as people join (`autoGrowSeats`), whether
|
|
110
|
+
* LaunchCal's calendar feeds are allowed (`allowCalendarFeeds`) or
|
|
111
|
+
* whether Slack commands take Slack's word while Google is required
|
|
112
|
+
* (`slackCommandsWithoutGoogle`). Requires
|
|
110
113
|
* `organization:write`, which a signed-in session never has: this takes
|
|
111
114
|
* a key. Everything is checked before anything is written.
|
|
112
115
|
*
|
|
@@ -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
|
}
|
|
@@ -243,7 +243,7 @@ export class PartnerDomainsClient {
|
|
|
243
243
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
244
244
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
245
245
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
246
|
-
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)}`),
|
|
246
|
+
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)}`),
|
|
247
247
|
method: "DELETE",
|
|
248
248
|
headers: _headers,
|
|
249
249
|
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
|
*
|
|
@@ -106,8 +106,8 @@ export class PlatformClient {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
|
-
* Turn kinds of notification on or off, by email
|
|
110
|
-
* person behind this key or session; anything not named keeps its
|
|
109
|
+
* Turn kinds of notification on or off, by email, by Slack and by
|
|
110
|
+
* Microsoft Teams, for the person behind this key or session; anything not named keeps its
|
|
111
111
|
* value. Like reading them, it needs no scope, and a signed-in session
|
|
112
112
|
* may change its own. `404` for a key whose maker has left.
|
|
113
113
|
*
|
|
@@ -380,7 +380,7 @@ export class PlatformClient {
|
|
|
380
380
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
381
381
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
382
382
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
383
|
-
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)}`),
|
|
383
|
+
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)}`),
|
|
384
384
|
method: "PATCH",
|
|
385
385
|
headers: _headers,
|
|
386
386
|
contentType: "application/json",
|
|
@@ -574,7 +574,7 @@ export class PlatformClient {
|
|
|
574
574
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
575
575
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
576
576
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
577
|
-
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)}`),
|
|
577
|
+
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)}`),
|
|
578
578
|
method: "PUT",
|
|
579
579
|
headers: _headers,
|
|
580
580
|
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.mjs";
|
|
|
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}
|