@thinkai/tai-api-contract 2.44.0 → 2.45.0-pr.855.c0f2ad3f
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/openapi/openapi.yaml
CHANGED
|
@@ -8137,6 +8137,29 @@ components:
|
|
|
8137
8137
|
format: date-time
|
|
8138
8138
|
description: When the pending install request was recorded.
|
|
8139
8139
|
|
|
8140
|
+
GithubSetupInProgressDto:
|
|
8141
|
+
type: object
|
|
8142
|
+
additionalProperties: false
|
|
8143
|
+
required: [kind, startedAt, expiresAt]
|
|
8144
|
+
properties:
|
|
8145
|
+
kind:
|
|
8146
|
+
type: string
|
|
8147
|
+
enum: [install_started, account_picker_ready]
|
|
8148
|
+
description: >
|
|
8149
|
+
install_started — user opened GitHub App install but callback not completed;
|
|
8150
|
+
account_picker_ready — user OAuth completed and org picker session is active.
|
|
8151
|
+
startedAt:
|
|
8152
|
+
type: string
|
|
8153
|
+
format: date-time
|
|
8154
|
+
expiresAt:
|
|
8155
|
+
type: string
|
|
8156
|
+
format: date-time
|
|
8157
|
+
pickerSessionId:
|
|
8158
|
+
type: string
|
|
8159
|
+
minLength: 8
|
|
8160
|
+
maxLength: 128
|
|
8161
|
+
description: Present when kind is account_picker_ready; use with GET connectable-accounts.
|
|
8162
|
+
|
|
8140
8163
|
GithubActionsWorkflowPreviewDto:
|
|
8141
8164
|
type: object
|
|
8142
8165
|
additionalProperties: false
|
|
@@ -8224,6 +8247,13 @@ components:
|
|
|
8224
8247
|
allOf:
|
|
8225
8248
|
- $ref: "#/components/schemas/GithubPendingApprovalDto"
|
|
8226
8249
|
description: Present when an org admin must approve the GitHub App install request.
|
|
8250
|
+
setupInProgress:
|
|
8251
|
+
nullable: true
|
|
8252
|
+
allOf:
|
|
8253
|
+
- $ref: "#/components/schemas/GithubSetupInProgressDto"
|
|
8254
|
+
description: >
|
|
8255
|
+
Present when GitHub connect was started but not completed (install OAuth state or
|
|
8256
|
+
account-picker session still active). Omitted when pendingApproval is set.
|
|
8227
8257
|
installationId:
|
|
8228
8258
|
type: string
|
|
8229
8259
|
nullable: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thinkai/tai-api-contract",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.45.0-pr.855.c0f2ad3f",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@stoplight/spectral-cli": "^6.16.
|
|
24
|
-
"@types/node": "^
|
|
23
|
+
"@stoplight/spectral-cli": "^6.16.1",
|
|
24
|
+
"@types/node": "^26.0.1",
|
|
25
25
|
"jsonpath-plus": "^10.3.0",
|
|
26
26
|
"openapi-typescript": "^7.13.0",
|
|
27
27
|
"typescript": "~6.0.3"
|
package/src/generated/openapi.ts
CHANGED
|
@@ -3269,6 +3269,19 @@ export interface components {
|
|
|
3269
3269
|
*/
|
|
3270
3270
|
pendingSince: string;
|
|
3271
3271
|
};
|
|
3272
|
+
GithubSetupInProgressDto: {
|
|
3273
|
+
/**
|
|
3274
|
+
* @description install_started — user opened GitHub App install but callback not completed; account_picker_ready — user OAuth completed and org picker session is active.
|
|
3275
|
+
* @enum {string}
|
|
3276
|
+
*/
|
|
3277
|
+
kind: "install_started" | "account_picker_ready";
|
|
3278
|
+
/** Format: date-time */
|
|
3279
|
+
startedAt: string;
|
|
3280
|
+
/** Format: date-time */
|
|
3281
|
+
expiresAt: string;
|
|
3282
|
+
/** @description Present when kind is account_picker_ready; use with GET connectable-accounts. */
|
|
3283
|
+
pickerSessionId?: string;
|
|
3284
|
+
};
|
|
3272
3285
|
GithubActionsWorkflowPreviewDto: {
|
|
3273
3286
|
/** @description Approximate workflow count from recent API sample (best effort). */
|
|
3274
3287
|
workflows?: number;
|
|
@@ -3312,6 +3325,8 @@ export interface components {
|
|
|
3312
3325
|
permissionsUpgradeRequired: boolean;
|
|
3313
3326
|
/** @description Present when an org admin must approve the GitHub App install request. */
|
|
3314
3327
|
pendingApproval?: components["schemas"]["GithubPendingApprovalDto"] | null;
|
|
3328
|
+
/** @description Present when GitHub connect was started but not completed (install OAuth state or account-picker session still active). Omitted when pendingApproval is set. */
|
|
3329
|
+
setupInProgress?: components["schemas"]["GithubSetupInProgressDto"] | null;
|
|
3315
3330
|
installationId?: string | null;
|
|
3316
3331
|
account?: components["schemas"]["GithubAccountDto"] | null;
|
|
3317
3332
|
/** @description Paginated merged installation repositories when `installed` is true. */
|
|
@@ -4704,6 +4719,7 @@ export type RepoEligibilityLimitsDto = components['schemas']['RepoEligibilityLim
|
|
|
4704
4719
|
export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
|
|
4705
4720
|
export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
|
|
4706
4721
|
export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
|
|
4722
|
+
export type GithubSetupInProgressDto = components['schemas']['GithubSetupInProgressDto'];
|
|
4707
4723
|
export type GithubActionsWorkflowPreviewDto = components['schemas']['GithubActionsWorkflowPreviewDto'];
|
|
4708
4724
|
export type GithubActionsIntegrationStatusDto = components['schemas']['GithubActionsIntegrationStatusDto'];
|
|
4709
4725
|
export type GithubActionsEnableResponseDto = components['schemas']['GithubActionsEnableResponseDto'];
|