@thinkai/tai-api-contract 2.222.0 → 2.224.0
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/generated/openapi.d.ts +396 -12
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +354 -9
- package/package.json +1 -1
- package/src/generated/openapi.ts +396 -12
|
@@ -1727,7 +1727,7 @@ export interface paths {
|
|
|
1727
1727
|
cookie?: never;
|
|
1728
1728
|
};
|
|
1729
1729
|
/**
|
|
1730
|
-
* DevEx survey aggregates (SurveyMonkey)
|
|
1730
|
+
* DevEx survey aggregates (SurveyMonkey or Google Forms)
|
|
1731
1731
|
* @description Persisted DevEx aggregates (`devex-score`) for a workspace. Aggregates only — never email or free text. Returns 404 when `backend-api.teamEfficiency.enabled` is false (unless the workspace is on the optional allowlist).
|
|
1732
1732
|
*/
|
|
1733
1733
|
get: operations["getDevexResults"];
|
|
@@ -1769,8 +1769,8 @@ export interface paths {
|
|
|
1769
1769
|
get?: never;
|
|
1770
1770
|
put?: never;
|
|
1771
1771
|
/**
|
|
1772
|
-
* Sync DevEx aggregates from
|
|
1773
|
-
* @description Pull SurveyMonkey
|
|
1772
|
+
* Sync DevEx aggregates from the connected survey
|
|
1773
|
+
* @description Pull responses from the workspace's connected survey (SurveyMonkey or Google Forms; a workspace uses one at a time), score dimensions (% favourable after reverse-score), apply team min-response rollup and response-rate flags, and persist aggregates only. Admin only. 404 when Team Efficiency is disabled.
|
|
1774
1774
|
*/
|
|
1775
1775
|
post: operations["syncDevexSurvey"];
|
|
1776
1776
|
delete?: never;
|
|
@@ -1799,6 +1799,90 @@ export interface paths {
|
|
|
1799
1799
|
patch?: never;
|
|
1800
1800
|
trace?: never;
|
|
1801
1801
|
};
|
|
1802
|
+
"/workspaces/{workspaceId}/connectors/googleforms/verify": {
|
|
1803
|
+
parameters: {
|
|
1804
|
+
query?: never;
|
|
1805
|
+
header?: never;
|
|
1806
|
+
path?: never;
|
|
1807
|
+
cookie?: never;
|
|
1808
|
+
};
|
|
1809
|
+
get?: never;
|
|
1810
|
+
put?: never;
|
|
1811
|
+
/**
|
|
1812
|
+
* Re-verify Google Forms connection
|
|
1813
|
+
* @description Re-reads the saved form with the workspace's Google connection and returns an anonymity warning when the form collects respondent email addresses. 404 when flag off. Workspace admin only.
|
|
1814
|
+
*/
|
|
1815
|
+
post: operations["verifyGoogleFormsConnector"];
|
|
1816
|
+
delete?: never;
|
|
1817
|
+
options?: never;
|
|
1818
|
+
head?: never;
|
|
1819
|
+
patch?: never;
|
|
1820
|
+
trace?: never;
|
|
1821
|
+
};
|
|
1822
|
+
"/workspaces/{workspaceId}/connectors/googleforms/install-url": {
|
|
1823
|
+
parameters: {
|
|
1824
|
+
query?: never;
|
|
1825
|
+
header?: never;
|
|
1826
|
+
path?: never;
|
|
1827
|
+
cookie?: never;
|
|
1828
|
+
};
|
|
1829
|
+
/**
|
|
1830
|
+
* Google sign-in URL for the Google Forms DevEx survey
|
|
1831
|
+
* @description Workspace admin only. Returns the Google OAuth authorize URL (offline access, read-only Forms scopes). State is stored server-side, single-use, and names this workspace and the signed-in admin. Editor or viewer is `403` with `code` `workspace_admin_required`. Missing Google client settings are `503` with `code` `googleforms_not_configured`. `404` when Team Efficiency is disabled.
|
|
1832
|
+
*/
|
|
1833
|
+
get: operations["getGoogleFormsInstallUrl"];
|
|
1834
|
+
put?: never;
|
|
1835
|
+
post?: never;
|
|
1836
|
+
delete?: never;
|
|
1837
|
+
options?: never;
|
|
1838
|
+
head?: never;
|
|
1839
|
+
patch?: never;
|
|
1840
|
+
trace?: never;
|
|
1841
|
+
};
|
|
1842
|
+
"/connectors/googleforms/callback": {
|
|
1843
|
+
parameters: {
|
|
1844
|
+
query?: never;
|
|
1845
|
+
header?: never;
|
|
1846
|
+
path?: never;
|
|
1847
|
+
cookie?: never;
|
|
1848
|
+
};
|
|
1849
|
+
/**
|
|
1850
|
+
* Google Forms OAuth callback
|
|
1851
|
+
* @description Browser return from Google. The provider redirect carries no API bearer token. `state` was issued by `getGoogleFormsInstallUrl` to a signed-in admin and is single-use (30 minute lifetime). The refresh token is stored encrypted only when that user is still a workspace admin and both Forms scopes were granted. Success redirects to `{spa}/workspace/connectors/googleforms?googleforms=connected`. Failures redirect to the same page with `googleformsError=<code>`, one of `invalid_or_expired_state`, `workspace_admin_required`, `not_found`, `access_denied`, `oauth_error`, `invalid_callback`, `callback_failed`, `missing_scopes`, `no_refresh_token`. No token is ever in the redirect.
|
|
1852
|
+
*/
|
|
1853
|
+
get: operations["getGoogleFormsOauthCallback"];
|
|
1854
|
+
put?: never;
|
|
1855
|
+
post?: never;
|
|
1856
|
+
delete?: never;
|
|
1857
|
+
options?: never;
|
|
1858
|
+
head?: never;
|
|
1859
|
+
patch?: never;
|
|
1860
|
+
trace?: never;
|
|
1861
|
+
};
|
|
1862
|
+
"/workspaces/{workspaceId}/connectors/googleforms": {
|
|
1863
|
+
parameters: {
|
|
1864
|
+
query?: never;
|
|
1865
|
+
header?: never;
|
|
1866
|
+
path?: never;
|
|
1867
|
+
cookie?: never;
|
|
1868
|
+
};
|
|
1869
|
+
/**
|
|
1870
|
+
* Google Forms connection status
|
|
1871
|
+
* @description Any workspace member. `connected` is true when a Google grant is stored. `needsReauth` is true after Google rejected the refresh token (revoked access, password change, or an unpublished consent screen); the admin must reconnect. Tokens are never returned. `404` when Team Efficiency is disabled.
|
|
1872
|
+
*/
|
|
1873
|
+
get: operations["getGoogleFormsConnection"];
|
|
1874
|
+
put?: never;
|
|
1875
|
+
post?: never;
|
|
1876
|
+
/**
|
|
1877
|
+
* Disconnect Google Forms
|
|
1878
|
+
* @description Workspace **admin** only. Revokes the grant at Google (best effort) and deletes the stored tokens. The saved Google Forms source and past DevEx aggregates are kept.
|
|
1879
|
+
*/
|
|
1880
|
+
delete: operations["deleteGoogleFormsConnection"];
|
|
1881
|
+
options?: never;
|
|
1882
|
+
head?: never;
|
|
1883
|
+
patch?: never;
|
|
1884
|
+
trace?: never;
|
|
1885
|
+
};
|
|
1802
1886
|
"/workspaces/{workspaceId}/insights/sdlc/overview": {
|
|
1803
1887
|
parameters: {
|
|
1804
1888
|
query?: never;
|
|
@@ -6930,6 +7014,69 @@ export interface components {
|
|
|
6930
7014
|
}[];
|
|
6931
7015
|
userName?: string;
|
|
6932
7016
|
};
|
|
7017
|
+
/** @description Google Forms DevEx survey source for Team Efficiency (`devex-score`). Authentication is the workspace's Google connection (see `getGoogleFormsInstallUrl`), so there is no token on the source. `formId` accepts the editor id or a pasted `/forms/d/<id>/edit` link; the server stores the bare id. Published-form links (`/forms/d/e/...`) are rejected. A workspace holds one survey source: PUT returns `409` `survey_source_conflict` while a SurveyMonkey source exists, and the reverse. Hidden when `backend-api.teamEfficiency.enabled` is false (404 on PUT/test). */
|
|
7018
|
+
GoogleFormsSourceDto: {
|
|
7019
|
+
/** @enum {string} */
|
|
7020
|
+
type: "googleforms";
|
|
7021
|
+
/** @description Google Form editor id, or a pasted form link. */
|
|
7022
|
+
formId: string;
|
|
7023
|
+
/** @description Required multiple-choice question whose options map to org-chart teams. */
|
|
7024
|
+
teamQuestionId?: string;
|
|
7025
|
+
/** @description Google Forms option text → org-chart team id. */
|
|
7026
|
+
teamOptionMap?: {
|
|
7027
|
+
[key: string]: string;
|
|
7028
|
+
};
|
|
7029
|
+
/** @description Google Forms option text → department id (for <5 response rollup). */
|
|
7030
|
+
teamDepartmentMap?: {
|
|
7031
|
+
[key: string]: string;
|
|
7032
|
+
};
|
|
7033
|
+
questions?: {
|
|
7034
|
+
questionId: string;
|
|
7035
|
+
/** @enum {string} */
|
|
7036
|
+
dimension: "feedback_loops" | "cognitive_load" | "flow_state";
|
|
7037
|
+
/** @description Negatively worded questions are reverse-scored before % favourable. */
|
|
7038
|
+
reverse?: boolean;
|
|
7039
|
+
}[];
|
|
7040
|
+
};
|
|
7041
|
+
/** @description Redacted Google Forms source returned by `GET /workspaces/{workspaceId}/config` when Team Efficiency is enabled. Omitted from sources when the feature flag is off. Whether Google is connected comes from `getGoogleFormsConnection`, not from this entry. */
|
|
7042
|
+
GoogleFormsSourceConfigDto: {
|
|
7043
|
+
/** @enum {string} */
|
|
7044
|
+
type: "googleforms";
|
|
7045
|
+
formId?: string;
|
|
7046
|
+
teamQuestionId?: string;
|
|
7047
|
+
teamOptionMap?: {
|
|
7048
|
+
[key: string]: string;
|
|
7049
|
+
};
|
|
7050
|
+
teamDepartmentMap?: {
|
|
7051
|
+
[key: string]: string;
|
|
7052
|
+
};
|
|
7053
|
+
questions?: {
|
|
7054
|
+
questionId: string;
|
|
7055
|
+
/** @enum {string} */
|
|
7056
|
+
dimension: "feedback_loops" | "cognitive_load" | "flow_state";
|
|
7057
|
+
reverse?: boolean;
|
|
7058
|
+
}[];
|
|
7059
|
+
};
|
|
7060
|
+
GoogleFormsInstallUrlDto: {
|
|
7061
|
+
/** @description Google OAuth authorize URL to open in the browser. */
|
|
7062
|
+
url: string;
|
|
7063
|
+
};
|
|
7064
|
+
GoogleFormsConnectionDto: {
|
|
7065
|
+
connected: boolean;
|
|
7066
|
+
/** @description Google account that authorized the connection, when Google returned it. */
|
|
7067
|
+
googleEmail: string | null;
|
|
7068
|
+
/** @description Google rejected the stored grant; an admin must reconnect. */
|
|
7069
|
+
needsReauth: boolean;
|
|
7070
|
+
};
|
|
7071
|
+
/** @description Sync did not run (HTTP 422) or failed upstream (HTTP 502). */
|
|
7072
|
+
DevexSyncSkippedDto: {
|
|
7073
|
+
/** @enum {string} */
|
|
7074
|
+
status: "skipped" | "error";
|
|
7075
|
+
/** @description `survey_not_connected`, `surveymonkey_mapping_incomplete`, `googleforms_mapping_incomplete`, `googleforms_not_connected`, `googleforms_reauthorize_required`, `surveymonkey_sync_failed`, or `googleforms_sync_failed`. */
|
|
7076
|
+
code?: string;
|
|
7077
|
+
reason?: string;
|
|
7078
|
+
error?: string;
|
|
7079
|
+
};
|
|
6933
7080
|
/** @description One persisted DevEx aggregate row (never email / free text). */
|
|
6934
7081
|
DevexResultDto: {
|
|
6935
7082
|
teamId?: string | null;
|
|
@@ -6957,7 +7104,7 @@ export interface components {
|
|
|
6957
7104
|
};
|
|
6958
7105
|
TeamEfficiencyDataQualityDto: {
|
|
6959
7106
|
/** @enum {string} */
|
|
6960
|
-
code: "low_data" | "missing_start" | "batch_closed" | "no_roster" | "not_configured" | "no_bug_data" | "no_survey" | "unattributed_failures" | "excluded_incidents" | "unlinked_incidents" | "unknown_review_comments" | "no_linked_deploys" | "no_deployments" | "six_month_window";
|
|
7107
|
+
code: "low_data" | "missing_start" | "batch_closed" | "no_roster" | "not_configured" | "no_bug_data" | "no_survey" | "unattributed_failures" | "excluded_incidents" | "unlinked_incidents" | "unknown_review_comments" | "no_linked_deploys" | "no_deployments" | "deploys_without_commit" | "six_month_window";
|
|
6961
7108
|
message: string;
|
|
6962
7109
|
percent?: number;
|
|
6963
7110
|
count?: number;
|
|
@@ -7078,6 +7225,13 @@ export interface components {
|
|
|
7078
7225
|
setup: {
|
|
7079
7226
|
items: components["schemas"]["TeamEfficiencySetupItemDto"][];
|
|
7080
7227
|
complete: boolean;
|
|
7228
|
+
/**
|
|
7229
|
+
* @description Connected DevEx survey connector, or null. SurveyMonkey wins when an older workspace holds both.
|
|
7230
|
+
* @enum {string|null}
|
|
7231
|
+
*/
|
|
7232
|
+
surveySource: "surveymonkey" | "googleforms" | null;
|
|
7233
|
+
/** @description Connected workspace sources that can report production deployments. A release reported by several of them counts once. */
|
|
7234
|
+
deploySources: ("datadog" | "newrelic" | "sentry" | "github")[];
|
|
7081
7235
|
};
|
|
7082
7236
|
/** Format: date-time */
|
|
7083
7237
|
generatedAt: string;
|
|
@@ -7393,7 +7547,7 @@ export interface components {
|
|
|
7393
7547
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
7394
7548
|
};
|
|
7395
7549
|
WorkspaceConfigDto: {
|
|
7396
|
-
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["SurveyMonkeySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["GitHubIssuesSourceConfigDto"] | components["schemas"]["AzureBoardsSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
7550
|
+
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["SurveyMonkeySourceConfigDto"] | components["schemas"]["GoogleFormsSourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["GitHubIssuesSourceConfigDto"] | components["schemas"]["AzureBoardsSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
7397
7551
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
7398
7552
|
/** @enum {string|null} */
|
|
7399
7553
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -7755,11 +7909,15 @@ export interface components {
|
|
|
7755
7909
|
keyName?: string;
|
|
7756
7910
|
/** @description Present for incident.io verify success — organization dashboard URL from `GET /v1/identity`. */
|
|
7757
7911
|
dashboardUrl?: string;
|
|
7912
|
+
/** @description Present for Google Forms verify success — the form's title. */
|
|
7913
|
+
formTitle?: string;
|
|
7914
|
+
/** @description Present for Google Forms verify failure when the Google grant must be re-authorized. */
|
|
7915
|
+
reauthorizeRequired?: boolean;
|
|
7758
7916
|
/** @description Present for Prometheus verify success — Alertmanager cluster name. */
|
|
7759
7917
|
clusterName?: string;
|
|
7760
7918
|
/** @description Present for Prometheus verify success — Alertmanager version when available. */
|
|
7761
7919
|
version?: string;
|
|
7762
|
-
/** @description Present for SurveyMonkey
|
|
7920
|
+
/** @description Present for SurveyMonkey or Google Forms test success. Question and choice labels only (never answers), so the connect screen can pick the team question and rating questions. */
|
|
7763
7921
|
survey?: {
|
|
7764
7922
|
title: string;
|
|
7765
7923
|
questions: {
|
|
@@ -7773,7 +7931,7 @@ export interface components {
|
|
|
7773
7931
|
}[];
|
|
7774
7932
|
}[];
|
|
7775
7933
|
};
|
|
7776
|
-
/** @description Present for SurveyMonkey
|
|
7934
|
+
/** @description Present for SurveyMonkey or Google Forms test success when the request carried `teamQuestionId`. How many survey choices matched an org-chart team by name. */
|
|
7777
7935
|
teamMatch?: {
|
|
7778
7936
|
matched: number;
|
|
7779
7937
|
total: number;
|
|
@@ -14657,6 +14815,11 @@ export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
|
14657
14815
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
14658
14816
|
export type SurveyMonkeySourceDto = components['schemas']['SurveyMonkeySourceDto'];
|
|
14659
14817
|
export type SurveyMonkeySourceConfigDto = components['schemas']['SurveyMonkeySourceConfigDto'];
|
|
14818
|
+
export type GoogleFormsSourceDto = components['schemas']['GoogleFormsSourceDto'];
|
|
14819
|
+
export type GoogleFormsSourceConfigDto = components['schemas']['GoogleFormsSourceConfigDto'];
|
|
14820
|
+
export type GoogleFormsInstallUrlDto = components['schemas']['GoogleFormsInstallUrlDto'];
|
|
14821
|
+
export type GoogleFormsConnectionDto = components['schemas']['GoogleFormsConnectionDto'];
|
|
14822
|
+
export type DevexSyncSkippedDto = components['schemas']['DevexSyncSkippedDto'];
|
|
14660
14823
|
export type DevexResultDto = components['schemas']['DevexResultDto'];
|
|
14661
14824
|
export type DevexResultsResponseDto = components['schemas']['DevexResultsResponseDto'];
|
|
14662
14825
|
export type TeamEfficiencyDataQualityDto = components['schemas']['TeamEfficiencyDataQualityDto'];
|
|
@@ -18987,7 +19150,7 @@ export interface operations {
|
|
|
18987
19150
|
requestBody: {
|
|
18988
19151
|
content: {
|
|
18989
19152
|
"application/json": {
|
|
18990
|
-
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
19153
|
+
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["GoogleFormsSourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
18991
19154
|
};
|
|
18992
19155
|
};
|
|
18993
19156
|
};
|
|
@@ -19028,6 +19191,21 @@ export interface operations {
|
|
|
19028
19191
|
};
|
|
19029
19192
|
content?: never;
|
|
19030
19193
|
};
|
|
19194
|
+
/** @description A workspace holds one DevEx survey source. Saving `googleforms` while a `surveymonkey` source exists (or the reverse) is rejected; disconnect the other first. */
|
|
19195
|
+
409: {
|
|
19196
|
+
headers: {
|
|
19197
|
+
[name: string]: unknown;
|
|
19198
|
+
};
|
|
19199
|
+
content: {
|
|
19200
|
+
/**
|
|
19201
|
+
* @example {
|
|
19202
|
+
* "error": "A workspace uses one DevEx survey source at a time. Disconnect the current survey source before connecting another.",
|
|
19203
|
+
* "code": "survey_source_conflict"
|
|
19204
|
+
* }
|
|
19205
|
+
*/
|
|
19206
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19207
|
+
};
|
|
19208
|
+
};
|
|
19031
19209
|
};
|
|
19032
19210
|
};
|
|
19033
19211
|
postTenantSourceTest: {
|
|
@@ -19041,7 +19219,7 @@ export interface operations {
|
|
|
19041
19219
|
};
|
|
19042
19220
|
requestBody: {
|
|
19043
19221
|
content: {
|
|
19044
|
-
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
19222
|
+
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["SurveyMonkeySourceDto"] | components["schemas"]["GoogleFormsSourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["GitHubIssuesSourceDto"] | components["schemas"]["AzureBoardsSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
19045
19223
|
};
|
|
19046
19224
|
};
|
|
19047
19225
|
responses: {
|
|
@@ -20506,14 +20684,16 @@ export interface operations {
|
|
|
20506
20684
|
};
|
|
20507
20685
|
content?: never;
|
|
20508
20686
|
};
|
|
20509
|
-
/** @description
|
|
20687
|
+
/** @description No survey connected (`survey_not_connected`), mapping incomplete (`surveymonkey_mapping_incomplete` or `googleforms_mapping_incomplete`), or Google access needs attention (`googleforms_not_connected`, `googleforms_reauthorize_required`, also returned when Google rejects the saved sign-in with 401 mid-sync; the connection then reports `needsReauth`). */
|
|
20510
20688
|
422: {
|
|
20511
20689
|
headers: {
|
|
20512
20690
|
[name: string]: unknown;
|
|
20513
20691
|
};
|
|
20514
|
-
content
|
|
20692
|
+
content: {
|
|
20693
|
+
"application/json": components["schemas"]["DevexSyncSkippedDto"];
|
|
20694
|
+
};
|
|
20515
20695
|
};
|
|
20516
|
-
/** @description
|
|
20696
|
+
/** @description Survey API failure (`surveymonkey_sync_failed` or `googleforms_sync_failed`). */
|
|
20517
20697
|
502: {
|
|
20518
20698
|
headers: {
|
|
20519
20699
|
[name: string]: unknown;
|
|
@@ -20560,6 +20740,210 @@ export interface operations {
|
|
|
20560
20740
|
};
|
|
20561
20741
|
};
|
|
20562
20742
|
};
|
|
20743
|
+
verifyGoogleFormsConnector: {
|
|
20744
|
+
parameters: {
|
|
20745
|
+
query?: never;
|
|
20746
|
+
header?: never;
|
|
20747
|
+
path: {
|
|
20748
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
20749
|
+
};
|
|
20750
|
+
cookie?: never;
|
|
20751
|
+
};
|
|
20752
|
+
requestBody?: never;
|
|
20753
|
+
responses: {
|
|
20754
|
+
/** @description Connection test result */
|
|
20755
|
+
200: {
|
|
20756
|
+
headers: {
|
|
20757
|
+
[name: string]: unknown;
|
|
20758
|
+
};
|
|
20759
|
+
content: {
|
|
20760
|
+
"application/json": components["schemas"]["TestConnectionResponseDto"];
|
|
20761
|
+
};
|
|
20762
|
+
};
|
|
20763
|
+
401: components["responses"]["Unauthorized"];
|
|
20764
|
+
403: components["responses"]["Forbidden"];
|
|
20765
|
+
/** @description Feature flag off */
|
|
20766
|
+
404: {
|
|
20767
|
+
headers: {
|
|
20768
|
+
[name: string]: unknown;
|
|
20769
|
+
};
|
|
20770
|
+
content?: never;
|
|
20771
|
+
};
|
|
20772
|
+
/** @description Google Forms not connected (`googleforms_not_connected`) or the Google grant was revoked or expired (`googleforms_reauthorize_required`, also on a Forms API 401; the connection then reports `needsReauth`). */
|
|
20773
|
+
422: {
|
|
20774
|
+
headers: {
|
|
20775
|
+
[name: string]: unknown;
|
|
20776
|
+
};
|
|
20777
|
+
content?: never;
|
|
20778
|
+
};
|
|
20779
|
+
};
|
|
20780
|
+
};
|
|
20781
|
+
getGoogleFormsInstallUrl: {
|
|
20782
|
+
parameters: {
|
|
20783
|
+
query?: never;
|
|
20784
|
+
header?: never;
|
|
20785
|
+
path: {
|
|
20786
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
20787
|
+
};
|
|
20788
|
+
cookie?: never;
|
|
20789
|
+
};
|
|
20790
|
+
requestBody?: never;
|
|
20791
|
+
responses: {
|
|
20792
|
+
/** @description Google authorize URL */
|
|
20793
|
+
200: {
|
|
20794
|
+
headers: {
|
|
20795
|
+
[name: string]: unknown;
|
|
20796
|
+
};
|
|
20797
|
+
content: {
|
|
20798
|
+
"application/json": components["schemas"]["GoogleFormsInstallUrlDto"];
|
|
20799
|
+
};
|
|
20800
|
+
};
|
|
20801
|
+
401: components["responses"]["Unauthorized"];
|
|
20802
|
+
/** @description Caller is not a workspace admin */
|
|
20803
|
+
403: {
|
|
20804
|
+
headers: {
|
|
20805
|
+
[name: string]: unknown;
|
|
20806
|
+
};
|
|
20807
|
+
content: {
|
|
20808
|
+
/**
|
|
20809
|
+
* @example {
|
|
20810
|
+
* "error": "Forbidden",
|
|
20811
|
+
* "code": "workspace_admin_required"
|
|
20812
|
+
* }
|
|
20813
|
+
*/
|
|
20814
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
20815
|
+
};
|
|
20816
|
+
};
|
|
20817
|
+
/** @description Feature flag off or workspace not found */
|
|
20818
|
+
404: {
|
|
20819
|
+
headers: {
|
|
20820
|
+
[name: string]: unknown;
|
|
20821
|
+
};
|
|
20822
|
+
content?: never;
|
|
20823
|
+
};
|
|
20824
|
+
/** @description Google client id or secret is unset */
|
|
20825
|
+
503: {
|
|
20826
|
+
headers: {
|
|
20827
|
+
[name: string]: unknown;
|
|
20828
|
+
};
|
|
20829
|
+
content: {
|
|
20830
|
+
/**
|
|
20831
|
+
* @example {
|
|
20832
|
+
* "error": "Google sign-in is not configured",
|
|
20833
|
+
* "code": "googleforms_not_configured"
|
|
20834
|
+
* }
|
|
20835
|
+
*/
|
|
20836
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
20837
|
+
};
|
|
20838
|
+
};
|
|
20839
|
+
};
|
|
20840
|
+
};
|
|
20841
|
+
getGoogleFormsOauthCallback: {
|
|
20842
|
+
parameters: {
|
|
20843
|
+
query: {
|
|
20844
|
+
code?: string;
|
|
20845
|
+
state: string;
|
|
20846
|
+
error?: string;
|
|
20847
|
+
};
|
|
20848
|
+
header?: never;
|
|
20849
|
+
path?: never;
|
|
20850
|
+
cookie?: never;
|
|
20851
|
+
};
|
|
20852
|
+
requestBody?: never;
|
|
20853
|
+
responses: {
|
|
20854
|
+
/** @description Redirect to the integrations step */
|
|
20855
|
+
302: {
|
|
20856
|
+
headers: {
|
|
20857
|
+
Location?: string;
|
|
20858
|
+
[name: string]: unknown;
|
|
20859
|
+
};
|
|
20860
|
+
content?: never;
|
|
20861
|
+
};
|
|
20862
|
+
/** @description No SPA origin is available */
|
|
20863
|
+
503: {
|
|
20864
|
+
headers: {
|
|
20865
|
+
[name: string]: unknown;
|
|
20866
|
+
};
|
|
20867
|
+
content: {
|
|
20868
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
20869
|
+
};
|
|
20870
|
+
};
|
|
20871
|
+
};
|
|
20872
|
+
};
|
|
20873
|
+
getGoogleFormsConnection: {
|
|
20874
|
+
parameters: {
|
|
20875
|
+
query?: never;
|
|
20876
|
+
header?: never;
|
|
20877
|
+
path: {
|
|
20878
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
20879
|
+
};
|
|
20880
|
+
cookie?: never;
|
|
20881
|
+
};
|
|
20882
|
+
requestBody?: never;
|
|
20883
|
+
responses: {
|
|
20884
|
+
/** @description Connection status */
|
|
20885
|
+
200: {
|
|
20886
|
+
headers: {
|
|
20887
|
+
[name: string]: unknown;
|
|
20888
|
+
};
|
|
20889
|
+
content: {
|
|
20890
|
+
"application/json": components["schemas"]["GoogleFormsConnectionDto"];
|
|
20891
|
+
};
|
|
20892
|
+
};
|
|
20893
|
+
401: components["responses"]["Unauthorized"];
|
|
20894
|
+
403: components["responses"]["Forbidden"];
|
|
20895
|
+
/** @description Feature flag off or workspace not found */
|
|
20896
|
+
404: {
|
|
20897
|
+
headers: {
|
|
20898
|
+
[name: string]: unknown;
|
|
20899
|
+
};
|
|
20900
|
+
content?: never;
|
|
20901
|
+
};
|
|
20902
|
+
};
|
|
20903
|
+
};
|
|
20904
|
+
deleteGoogleFormsConnection: {
|
|
20905
|
+
parameters: {
|
|
20906
|
+
query?: never;
|
|
20907
|
+
header?: never;
|
|
20908
|
+
path: {
|
|
20909
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
20910
|
+
};
|
|
20911
|
+
cookie?: never;
|
|
20912
|
+
};
|
|
20913
|
+
requestBody?: never;
|
|
20914
|
+
responses: {
|
|
20915
|
+
/** @description Disconnected */
|
|
20916
|
+
204: {
|
|
20917
|
+
headers: {
|
|
20918
|
+
[name: string]: unknown;
|
|
20919
|
+
};
|
|
20920
|
+
content?: never;
|
|
20921
|
+
};
|
|
20922
|
+
401: components["responses"]["Unauthorized"];
|
|
20923
|
+
/** @description Editor or viewer */
|
|
20924
|
+
403: {
|
|
20925
|
+
headers: {
|
|
20926
|
+
[name: string]: unknown;
|
|
20927
|
+
};
|
|
20928
|
+
content: {
|
|
20929
|
+
/**
|
|
20930
|
+
* @example {
|
|
20931
|
+
* "error": "Forbidden",
|
|
20932
|
+
* "code": "workspace_admin_required"
|
|
20933
|
+
* }
|
|
20934
|
+
*/
|
|
20935
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
20936
|
+
};
|
|
20937
|
+
};
|
|
20938
|
+
/** @description Feature flag off or workspace not found */
|
|
20939
|
+
404: {
|
|
20940
|
+
headers: {
|
|
20941
|
+
[name: string]: unknown;
|
|
20942
|
+
};
|
|
20943
|
+
content?: never;
|
|
20944
|
+
};
|
|
20945
|
+
};
|
|
20946
|
+
};
|
|
20563
20947
|
getSdlcInsightsOverview: {
|
|
20564
20948
|
parameters: {
|
|
20565
20949
|
query?: {
|