@thinkai/tai-api-contract 2.223.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 +393 -11
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +345 -9
- package/package.json +1 -1
- package/src/generated/openapi.ts +393 -11
package/openapi/openapi.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ThinkAI API
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.224.0
|
|
5
5
|
description: >
|
|
6
6
|
Contract surface for the AI Driven SDLC backend used by ThinkAI.
|
|
7
7
|
Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
|
|
@@ -3624,6 +3624,7 @@ paths:
|
|
|
3624
3624
|
- $ref: "#/components/schemas/SonarQubeSourceDto"
|
|
3625
3625
|
- $ref: "#/components/schemas/PagerDutySourceDto"
|
|
3626
3626
|
- $ref: "#/components/schemas/SurveyMonkeySourceDto"
|
|
3627
|
+
- $ref: "#/components/schemas/GoogleFormsSourceDto"
|
|
3627
3628
|
- $ref: "#/components/schemas/IncidentIoSourceDto"
|
|
3628
3629
|
- $ref: "#/components/schemas/SentrySourceDto"
|
|
3629
3630
|
- $ref: "#/components/schemas/JiraSourceDto"
|
|
@@ -3712,6 +3713,17 @@ paths:
|
|
|
3712
3713
|
$ref: "#/components/responses/Forbidden"
|
|
3713
3714
|
"404":
|
|
3714
3715
|
description: Workspace does not exist or malformed workspaceId
|
|
3716
|
+
"409":
|
|
3717
|
+
description: >
|
|
3718
|
+
A workspace holds one DevEx survey source. Saving `googleforms` while a
|
|
3719
|
+
`surveymonkey` source exists (or the reverse) is rejected; disconnect the other first.
|
|
3720
|
+
content:
|
|
3721
|
+
application/json:
|
|
3722
|
+
schema:
|
|
3723
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
3724
|
+
example:
|
|
3725
|
+
error: A workspace uses one DevEx survey source at a time. Disconnect the current survey source before connecting another.
|
|
3726
|
+
code: survey_source_conflict
|
|
3715
3727
|
|
|
3716
3728
|
/workspaces/{workspaceId}/sources/test:
|
|
3717
3729
|
post:
|
|
@@ -3766,6 +3778,7 @@ paths:
|
|
|
3766
3778
|
- $ref: "#/components/schemas/SonarQubeSourceDto"
|
|
3767
3779
|
- $ref: "#/components/schemas/PagerDutySourceDto"
|
|
3768
3780
|
- $ref: "#/components/schemas/SurveyMonkeySourceDto"
|
|
3781
|
+
- $ref: "#/components/schemas/GoogleFormsSourceDto"
|
|
3769
3782
|
- $ref: "#/components/schemas/IncidentIoSourceDto"
|
|
3770
3783
|
- $ref: "#/components/schemas/SentrySourceDto"
|
|
3771
3784
|
- $ref: "#/components/schemas/JiraSourceDto"
|
|
@@ -5158,7 +5171,7 @@ paths:
|
|
|
5158
5171
|
/workspaces/{workspaceId}/insights/devex/results:
|
|
5159
5172
|
get:
|
|
5160
5173
|
tags: [TeamEfficiency]
|
|
5161
|
-
summary: DevEx survey aggregates (SurveyMonkey)
|
|
5174
|
+
summary: DevEx survey aggregates (SurveyMonkey or Google Forms)
|
|
5162
5175
|
description: >
|
|
5163
5176
|
Persisted DevEx aggregates (`devex-score`) for a workspace. Aggregates only —
|
|
5164
5177
|
never email or free text. Returns 404 when `backend-api.teamEfficiency.enabled`
|
|
@@ -5240,9 +5253,10 @@ paths:
|
|
|
5240
5253
|
/workspaces/{workspaceId}/insights/devex/sync:
|
|
5241
5254
|
post:
|
|
5242
5255
|
tags: [TeamEfficiency]
|
|
5243
|
-
summary: Sync DevEx aggregates from
|
|
5256
|
+
summary: Sync DevEx aggregates from the connected survey
|
|
5244
5257
|
description: >
|
|
5245
|
-
Pull
|
|
5258
|
+
Pull responses from the workspace's connected survey (SurveyMonkey or Google Forms; a
|
|
5259
|
+
workspace uses one at a time), score dimensions (% favourable after reverse-score),
|
|
5246
5260
|
apply team min-response rollup and response-rate flags, and persist aggregates only.
|
|
5247
5261
|
Admin only. 404 when Team Efficiency is disabled.
|
|
5248
5262
|
operationId: syncDevexSurvey
|
|
@@ -5268,9 +5282,19 @@ paths:
|
|
|
5268
5282
|
"404":
|
|
5269
5283
|
description: Feature flag off
|
|
5270
5284
|
"422":
|
|
5271
|
-
description:
|
|
5285
|
+
description: >
|
|
5286
|
+
No survey connected (`survey_not_connected`), mapping incomplete
|
|
5287
|
+
(`surveymonkey_mapping_incomplete` or `googleforms_mapping_incomplete`), or Google
|
|
5288
|
+
access needs attention (`googleforms_not_connected`,
|
|
5289
|
+
`googleforms_reauthorize_required`, also returned when Google rejects the saved
|
|
5290
|
+
sign-in with 401 mid-sync; the connection then reports `needsReauth`).
|
|
5291
|
+
content:
|
|
5292
|
+
application/json:
|
|
5293
|
+
schema:
|
|
5294
|
+
$ref: "#/components/schemas/DevexSyncSkippedDto"
|
|
5272
5295
|
"502":
|
|
5273
|
-
description:
|
|
5296
|
+
description: >
|
|
5297
|
+
Survey API failure (`surveymonkey_sync_failed` or `googleforms_sync_failed`).
|
|
5274
5298
|
|
|
5275
5299
|
/workspaces/{workspaceId}/connectors/surveymonkey/verify:
|
|
5276
5300
|
post:
|
|
@@ -5298,6 +5322,179 @@ paths:
|
|
|
5298
5322
|
"422":
|
|
5299
5323
|
description: SurveyMonkey not connected
|
|
5300
5324
|
|
|
5325
|
+
/workspaces/{workspaceId}/connectors/googleforms/verify:
|
|
5326
|
+
post:
|
|
5327
|
+
tags: [TeamEfficiency]
|
|
5328
|
+
summary: Re-verify Google Forms connection
|
|
5329
|
+
description: >
|
|
5330
|
+
Re-reads the saved form with the workspace's Google connection and returns an
|
|
5331
|
+
anonymity warning when the form collects respondent email addresses. 404 when flag off.
|
|
5332
|
+
Workspace admin only.
|
|
5333
|
+
operationId: verifyGoogleFormsConnector
|
|
5334
|
+
parameters:
|
|
5335
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
5336
|
+
responses:
|
|
5337
|
+
"200":
|
|
5338
|
+
description: Connection test result
|
|
5339
|
+
content:
|
|
5340
|
+
application/json:
|
|
5341
|
+
schema:
|
|
5342
|
+
$ref: "#/components/schemas/TestConnectionResponseDto"
|
|
5343
|
+
"401":
|
|
5344
|
+
$ref: "#/components/responses/Unauthorized"
|
|
5345
|
+
"403":
|
|
5346
|
+
$ref: "#/components/responses/Forbidden"
|
|
5347
|
+
"404":
|
|
5348
|
+
description: Feature flag off
|
|
5349
|
+
"422":
|
|
5350
|
+
description: >
|
|
5351
|
+
Google Forms not connected (`googleforms_not_connected`) or the Google grant was
|
|
5352
|
+
revoked or expired (`googleforms_reauthorize_required`, also on a Forms API 401; the
|
|
5353
|
+
connection then reports `needsReauth`).
|
|
5354
|
+
|
|
5355
|
+
/workspaces/{workspaceId}/connectors/googleforms/install-url:
|
|
5356
|
+
get:
|
|
5357
|
+
tags: [TeamEfficiency]
|
|
5358
|
+
summary: Google sign-in URL for the Google Forms DevEx survey
|
|
5359
|
+
operationId: getGoogleFormsInstallUrl
|
|
5360
|
+
description: >
|
|
5361
|
+
Workspace admin only. Returns the Google OAuth authorize URL (offline access, read-only
|
|
5362
|
+
Forms scopes). State is stored server-side, single-use, and names this workspace and the
|
|
5363
|
+
signed-in admin. Editor or viewer is `403` with `code` `workspace_admin_required`.
|
|
5364
|
+
Missing Google client settings are `503` with `code` `googleforms_not_configured`.
|
|
5365
|
+
`404` when Team Efficiency is disabled.
|
|
5366
|
+
security:
|
|
5367
|
+
- bearerAuth: []
|
|
5368
|
+
parameters:
|
|
5369
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
5370
|
+
responses:
|
|
5371
|
+
"200":
|
|
5372
|
+
description: Google authorize URL
|
|
5373
|
+
content:
|
|
5374
|
+
application/json:
|
|
5375
|
+
schema:
|
|
5376
|
+
$ref: "#/components/schemas/GoogleFormsInstallUrlDto"
|
|
5377
|
+
"401":
|
|
5378
|
+
$ref: "#/components/responses/Unauthorized"
|
|
5379
|
+
"403":
|
|
5380
|
+
description: Caller is not a workspace admin
|
|
5381
|
+
content:
|
|
5382
|
+
application/json:
|
|
5383
|
+
schema:
|
|
5384
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5385
|
+
example:
|
|
5386
|
+
error: Forbidden
|
|
5387
|
+
code: workspace_admin_required
|
|
5388
|
+
"404":
|
|
5389
|
+
description: Feature flag off or workspace not found
|
|
5390
|
+
"503":
|
|
5391
|
+
description: Google client id or secret is unset
|
|
5392
|
+
content:
|
|
5393
|
+
application/json:
|
|
5394
|
+
schema:
|
|
5395
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5396
|
+
example:
|
|
5397
|
+
error: Google sign-in is not configured
|
|
5398
|
+
code: googleforms_not_configured
|
|
5399
|
+
|
|
5400
|
+
/connectors/googleforms/callback:
|
|
5401
|
+
get:
|
|
5402
|
+
tags: [TeamEfficiency]
|
|
5403
|
+
summary: Google Forms OAuth callback
|
|
5404
|
+
operationId: getGoogleFormsOauthCallback
|
|
5405
|
+
description: >
|
|
5406
|
+
Browser return from Google. The provider redirect carries no API bearer token. `state`
|
|
5407
|
+
was issued by `getGoogleFormsInstallUrl` to a signed-in admin and is single-use (30
|
|
5408
|
+
minute lifetime). The refresh token is stored encrypted only when that user is still a
|
|
5409
|
+
workspace admin and both Forms scopes were granted. Success redirects to
|
|
5410
|
+
`{spa}/workspace/connectors/googleforms?googleforms=connected`. Failures
|
|
5411
|
+
redirect to the same page with `googleformsError=<code>`, one of
|
|
5412
|
+
`invalid_or_expired_state`, `workspace_admin_required`, `not_found`, `access_denied`,
|
|
5413
|
+
`oauth_error`, `invalid_callback`, `callback_failed`, `missing_scopes`,
|
|
5414
|
+
`no_refresh_token`. No token is ever in the redirect.
|
|
5415
|
+
parameters:
|
|
5416
|
+
- name: code
|
|
5417
|
+
in: query
|
|
5418
|
+
schema:
|
|
5419
|
+
type: string
|
|
5420
|
+
- name: state
|
|
5421
|
+
in: query
|
|
5422
|
+
required: true
|
|
5423
|
+
schema:
|
|
5424
|
+
type: string
|
|
5425
|
+
- name: error
|
|
5426
|
+
in: query
|
|
5427
|
+
schema:
|
|
5428
|
+
type: string
|
|
5429
|
+
responses:
|
|
5430
|
+
"302":
|
|
5431
|
+
description: Redirect to the integrations step
|
|
5432
|
+
headers:
|
|
5433
|
+
Location:
|
|
5434
|
+
schema:
|
|
5435
|
+
type: string
|
|
5436
|
+
"503":
|
|
5437
|
+
description: No SPA origin is available
|
|
5438
|
+
content:
|
|
5439
|
+
application/json:
|
|
5440
|
+
schema:
|
|
5441
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5442
|
+
|
|
5443
|
+
/workspaces/{workspaceId}/connectors/googleforms:
|
|
5444
|
+
get:
|
|
5445
|
+
tags: [TeamEfficiency]
|
|
5446
|
+
summary: Google Forms connection status
|
|
5447
|
+
operationId: getGoogleFormsConnection
|
|
5448
|
+
description: >
|
|
5449
|
+
Any workspace member. `connected` is true when a Google grant is stored. `needsReauth`
|
|
5450
|
+
is true after Google rejected the refresh token (revoked access, password change, or an
|
|
5451
|
+
unpublished consent screen); the admin must reconnect. Tokens are never returned.
|
|
5452
|
+
`404` when Team Efficiency is disabled.
|
|
5453
|
+
security:
|
|
5454
|
+
- bearerAuth: []
|
|
5455
|
+
parameters:
|
|
5456
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
5457
|
+
responses:
|
|
5458
|
+
"200":
|
|
5459
|
+
description: Connection status
|
|
5460
|
+
content:
|
|
5461
|
+
application/json:
|
|
5462
|
+
schema:
|
|
5463
|
+
$ref: "#/components/schemas/GoogleFormsConnectionDto"
|
|
5464
|
+
"401":
|
|
5465
|
+
$ref: "#/components/responses/Unauthorized"
|
|
5466
|
+
"403":
|
|
5467
|
+
$ref: "#/components/responses/Forbidden"
|
|
5468
|
+
"404":
|
|
5469
|
+
description: Feature flag off or workspace not found
|
|
5470
|
+
delete:
|
|
5471
|
+
tags: [TeamEfficiency]
|
|
5472
|
+
summary: Disconnect Google Forms
|
|
5473
|
+
operationId: deleteGoogleFormsConnection
|
|
5474
|
+
description: >
|
|
5475
|
+
Workspace **admin** only. Revokes the grant at Google (best effort) and deletes the
|
|
5476
|
+
stored tokens. The saved Google Forms source and past DevEx aggregates are kept.
|
|
5477
|
+
security:
|
|
5478
|
+
- bearerAuth: []
|
|
5479
|
+
parameters:
|
|
5480
|
+
- $ref: "#/components/parameters/WorkspaceId"
|
|
5481
|
+
responses:
|
|
5482
|
+
"204":
|
|
5483
|
+
description: Disconnected
|
|
5484
|
+
"401":
|
|
5485
|
+
$ref: "#/components/responses/Unauthorized"
|
|
5486
|
+
"403":
|
|
5487
|
+
description: Editor or viewer
|
|
5488
|
+
content:
|
|
5489
|
+
application/json:
|
|
5490
|
+
schema:
|
|
5491
|
+
$ref: "#/components/schemas/ErrorMessageDto"
|
|
5492
|
+
example:
|
|
5493
|
+
error: Forbidden
|
|
5494
|
+
code: workspace_admin_required
|
|
5495
|
+
"404":
|
|
5496
|
+
description: Feature flag off or workspace not found
|
|
5497
|
+
|
|
5301
5498
|
/workspaces/{workspaceId}/insights/sdlc/overview:
|
|
5302
5499
|
get:
|
|
5303
5500
|
tags: [SdlcInsights]
|
|
@@ -17751,6 +17948,131 @@ components:
|
|
|
17751
17948
|
reverse: { type: boolean }
|
|
17752
17949
|
userName: { type: string }
|
|
17753
17950
|
|
|
17951
|
+
GoogleFormsSourceDto:
|
|
17952
|
+
type: object
|
|
17953
|
+
description: >
|
|
17954
|
+
Google Forms DevEx survey source for Team Efficiency (`devex-score`). Authentication is
|
|
17955
|
+
the workspace's Google connection (see `getGoogleFormsInstallUrl`), so there is no token
|
|
17956
|
+
on the source. `formId` accepts the editor id or a pasted `/forms/d/<id>/edit` link;
|
|
17957
|
+
the server stores the bare id. Published-form links (`/forms/d/e/...`) are rejected.
|
|
17958
|
+
A workspace holds one survey source: PUT returns `409` `survey_source_conflict` while
|
|
17959
|
+
a SurveyMonkey source exists, and the reverse. Hidden when
|
|
17960
|
+
`backend-api.teamEfficiency.enabled` is false (404 on PUT/test).
|
|
17961
|
+
required: [type, formId]
|
|
17962
|
+
additionalProperties: false
|
|
17963
|
+
properties:
|
|
17964
|
+
type:
|
|
17965
|
+
type: string
|
|
17966
|
+
enum: [googleforms]
|
|
17967
|
+
formId:
|
|
17968
|
+
type: string
|
|
17969
|
+
minLength: 1
|
|
17970
|
+
maxLength: 512
|
|
17971
|
+
description: Google Form editor id, or a pasted form link.
|
|
17972
|
+
teamQuestionId:
|
|
17973
|
+
type: string
|
|
17974
|
+
description: Required multiple-choice question whose options map to org-chart teams.
|
|
17975
|
+
teamOptionMap:
|
|
17976
|
+
type: object
|
|
17977
|
+
additionalProperties:
|
|
17978
|
+
type: string
|
|
17979
|
+
description: Google Forms option text → org-chart team id.
|
|
17980
|
+
teamDepartmentMap:
|
|
17981
|
+
type: object
|
|
17982
|
+
additionalProperties:
|
|
17983
|
+
type: string
|
|
17984
|
+
description: Google Forms option text → department id (for <5 response rollup).
|
|
17985
|
+
questions:
|
|
17986
|
+
type: array
|
|
17987
|
+
items:
|
|
17988
|
+
type: object
|
|
17989
|
+
required: [questionId, dimension]
|
|
17990
|
+
additionalProperties: false
|
|
17991
|
+
properties:
|
|
17992
|
+
questionId: { type: string }
|
|
17993
|
+
dimension:
|
|
17994
|
+
type: string
|
|
17995
|
+
enum: [feedback_loops, cognitive_load, flow_state]
|
|
17996
|
+
reverse:
|
|
17997
|
+
type: boolean
|
|
17998
|
+
description: Negatively worded questions are reverse-scored before % favourable.
|
|
17999
|
+
|
|
18000
|
+
GoogleFormsSourceConfigDto:
|
|
18001
|
+
type: object
|
|
18002
|
+
description: >
|
|
18003
|
+
Redacted Google Forms source returned by `GET /workspaces/{workspaceId}/config` when
|
|
18004
|
+
Team Efficiency is enabled. Omitted from sources when the feature flag is off. Whether
|
|
18005
|
+
Google is connected comes from `getGoogleFormsConnection`, not from this entry.
|
|
18006
|
+
required: [type]
|
|
18007
|
+
additionalProperties: false
|
|
18008
|
+
properties:
|
|
18009
|
+
type:
|
|
18010
|
+
type: string
|
|
18011
|
+
enum: [googleforms]
|
|
18012
|
+
formId: { type: string }
|
|
18013
|
+
teamQuestionId: { type: string }
|
|
18014
|
+
teamOptionMap:
|
|
18015
|
+
type: object
|
|
18016
|
+
additionalProperties: { type: string }
|
|
18017
|
+
teamDepartmentMap:
|
|
18018
|
+
type: object
|
|
18019
|
+
additionalProperties: { type: string }
|
|
18020
|
+
questions:
|
|
18021
|
+
type: array
|
|
18022
|
+
items:
|
|
18023
|
+
type: object
|
|
18024
|
+
required: [questionId, dimension]
|
|
18025
|
+
additionalProperties: false
|
|
18026
|
+
properties:
|
|
18027
|
+
questionId: { type: string }
|
|
18028
|
+
dimension:
|
|
18029
|
+
type: string
|
|
18030
|
+
enum: [feedback_loops, cognitive_load, flow_state]
|
|
18031
|
+
reverse: { type: boolean }
|
|
18032
|
+
|
|
18033
|
+
GoogleFormsInstallUrlDto:
|
|
18034
|
+
type: object
|
|
18035
|
+
required: [url]
|
|
18036
|
+
additionalProperties: false
|
|
18037
|
+
properties:
|
|
18038
|
+
url:
|
|
18039
|
+
type: string
|
|
18040
|
+
description: Google OAuth authorize URL to open in the browser.
|
|
18041
|
+
|
|
18042
|
+
GoogleFormsConnectionDto:
|
|
18043
|
+
type: object
|
|
18044
|
+
required: [connected, googleEmail, needsReauth]
|
|
18045
|
+
additionalProperties: false
|
|
18046
|
+
properties:
|
|
18047
|
+
connected: { type: boolean }
|
|
18048
|
+
googleEmail:
|
|
18049
|
+
type: string
|
|
18050
|
+
nullable: true
|
|
18051
|
+
description: Google account that authorized the connection, when Google returned it.
|
|
18052
|
+
needsReauth:
|
|
18053
|
+
type: boolean
|
|
18054
|
+
description: Google rejected the stored grant; an admin must reconnect.
|
|
18055
|
+
|
|
18056
|
+
DevexSyncSkippedDto:
|
|
18057
|
+
type: object
|
|
18058
|
+
description: Sync did not run (HTTP 422) or failed upstream (HTTP 502).
|
|
18059
|
+
required: [status]
|
|
18060
|
+
properties:
|
|
18061
|
+
status:
|
|
18062
|
+
type: string
|
|
18063
|
+
enum: [skipped, error]
|
|
18064
|
+
code:
|
|
18065
|
+
type: string
|
|
18066
|
+
description: >
|
|
18067
|
+
`survey_not_connected`, `surveymonkey_mapping_incomplete`,
|
|
18068
|
+
`googleforms_mapping_incomplete`, `googleforms_not_connected`,
|
|
18069
|
+
`googleforms_reauthorize_required`, `surveymonkey_sync_failed`, or
|
|
18070
|
+
`googleforms_sync_failed`.
|
|
18071
|
+
reason:
|
|
18072
|
+
type: string
|
|
18073
|
+
error:
|
|
18074
|
+
type: string
|
|
18075
|
+
|
|
17754
18076
|
DevexResultDto:
|
|
17755
18077
|
type: object
|
|
17756
18078
|
description: One persisted DevEx aggregate row (never email / free text).
|
|
@@ -18038,7 +18360,7 @@ components:
|
|
|
18038
18360
|
$ref: "#/components/schemas/TeamEfficiencyMetricDto"
|
|
18039
18361
|
setup:
|
|
18040
18362
|
type: object
|
|
18041
|
-
required: [items, complete, deploySources]
|
|
18363
|
+
required: [items, complete, deploySources, surveySource]
|
|
18042
18364
|
additionalProperties: false
|
|
18043
18365
|
properties:
|
|
18044
18366
|
items:
|
|
@@ -18046,6 +18368,13 @@ components:
|
|
|
18046
18368
|
items:
|
|
18047
18369
|
$ref: "#/components/schemas/TeamEfficiencySetupItemDto"
|
|
18048
18370
|
complete: { type: boolean }
|
|
18371
|
+
surveySource:
|
|
18372
|
+
type: string
|
|
18373
|
+
nullable: true
|
|
18374
|
+
enum: [surveymonkey, googleforms]
|
|
18375
|
+
description: >-
|
|
18376
|
+
Connected DevEx survey connector, or null. SurveyMonkey wins when an older
|
|
18377
|
+
workspace holds both.
|
|
18049
18378
|
deploySources:
|
|
18050
18379
|
type: array
|
|
18051
18380
|
description: >-
|
|
@@ -18735,6 +19064,7 @@ components:
|
|
|
18735
19064
|
- $ref: "#/components/schemas/SonarQubeSourceConfigDto"
|
|
18736
19065
|
- $ref: "#/components/schemas/PagerDutySourceConfigDto"
|
|
18737
19066
|
- $ref: "#/components/schemas/SurveyMonkeySourceConfigDto"
|
|
19067
|
+
- $ref: "#/components/schemas/GoogleFormsSourceConfigDto"
|
|
18738
19068
|
- $ref: "#/components/schemas/IncidentIoSourceConfigDto"
|
|
18739
19069
|
- $ref: "#/components/schemas/SentrySourceConfigDto"
|
|
18740
19070
|
- $ref: "#/components/schemas/JiraSourceConfigDto"
|
|
@@ -19524,6 +19854,12 @@ components:
|
|
|
19524
19854
|
dashboardUrl:
|
|
19525
19855
|
type: string
|
|
19526
19856
|
description: Present for incident.io verify success — organization dashboard URL from `GET /v1/identity`.
|
|
19857
|
+
formTitle:
|
|
19858
|
+
type: string
|
|
19859
|
+
description: Present for Google Forms verify success — the form's title.
|
|
19860
|
+
reauthorizeRequired:
|
|
19861
|
+
type: boolean
|
|
19862
|
+
description: Present for Google Forms verify failure when the Google grant must be re-authorized.
|
|
19527
19863
|
clusterName:
|
|
19528
19864
|
type: string
|
|
19529
19865
|
description: Present for Prometheus verify success — Alertmanager cluster name.
|
|
@@ -19533,7 +19869,7 @@ components:
|
|
|
19533
19869
|
survey:
|
|
19534
19870
|
type: object
|
|
19535
19871
|
description: >
|
|
19536
|
-
Present for SurveyMonkey
|
|
19872
|
+
Present for SurveyMonkey or Google Forms test success. Question and choice labels only (never
|
|
19537
19873
|
answers), so the connect screen can pick the team question and rating questions.
|
|
19538
19874
|
required: [title, questions]
|
|
19539
19875
|
properties:
|
|
@@ -19565,7 +19901,7 @@ components:
|
|
|
19565
19901
|
teamMatch:
|
|
19566
19902
|
type: object
|
|
19567
19903
|
description: >
|
|
19568
|
-
Present for SurveyMonkey
|
|
19904
|
+
Present for SurveyMonkey or Google Forms test success when the request carried `teamQuestionId`.
|
|
19569
19905
|
How many survey choices matched an org-chart team by name.
|
|
19570
19906
|
required: [matched, total, unmatched]
|
|
19571
19907
|
properties:
|