@thinkai/tai-api-contract 2.43.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.
|
@@ -841,7 +841,7 @@ export interface paths {
|
|
|
841
841
|
put?: never;
|
|
842
842
|
/**
|
|
843
843
|
* Refresh AI tool integration snapshots
|
|
844
|
-
* @description Provider-agnostic refresh. Returns 409 when an advisory-lock refresh is already in progress. On upstream auth/rate/network failures, returns `200` with `{ ok:false, error }` so the SPA can render inline error.
|
|
844
|
+
* @description Provider-agnostic refresh. Returns 409 when an advisory-lock refresh is already in progress. On upstream auth/rate/network failures, returns `200` with `{ ok:false, error }` so the SPA can render inline error. Pass `full=true` to force a full re-sync that ignores the incremental daily-usage watermark and re-pulls the full initial window (six calendar months for Claude Enterprise) — used to backfill historical months after an ingestion-granularity change. Omitted/false performs a normal incremental refresh.
|
|
845
845
|
*/
|
|
846
846
|
post: operations["refreshWorkspaceAiTool"];
|
|
847
847
|
delete?: never;
|
|
@@ -3268,6 +3268,19 @@ export interface components {
|
|
|
3268
3268
|
*/
|
|
3269
3269
|
pendingSince: string;
|
|
3270
3270
|
};
|
|
3271
|
+
GithubSetupInProgressDto: {
|
|
3272
|
+
/**
|
|
3273
|
+
* @description install_started — user opened GitHub App install but callback not completed; account_picker_ready — user OAuth completed and org picker session is active.
|
|
3274
|
+
* @enum {string}
|
|
3275
|
+
*/
|
|
3276
|
+
kind: "install_started" | "account_picker_ready";
|
|
3277
|
+
/** Format: date-time */
|
|
3278
|
+
startedAt: string;
|
|
3279
|
+
/** Format: date-time */
|
|
3280
|
+
expiresAt: string;
|
|
3281
|
+
/** @description Present when kind is account_picker_ready; use with GET connectable-accounts. */
|
|
3282
|
+
pickerSessionId?: string;
|
|
3283
|
+
};
|
|
3271
3284
|
GithubActionsWorkflowPreviewDto: {
|
|
3272
3285
|
/** @description Approximate workflow count from recent API sample (best effort). */
|
|
3273
3286
|
workflows?: number;
|
|
@@ -3311,6 +3324,8 @@ export interface components {
|
|
|
3311
3324
|
permissionsUpgradeRequired: boolean;
|
|
3312
3325
|
/** @description Present when an org admin must approve the GitHub App install request. */
|
|
3313
3326
|
pendingApproval?: components["schemas"]["GithubPendingApprovalDto"] | null;
|
|
3327
|
+
/** @description Present when GitHub connect was started but not completed (install OAuth state or account-picker session still active). Omitted when pendingApproval is set. */
|
|
3328
|
+
setupInProgress?: components["schemas"]["GithubSetupInProgressDto"] | null;
|
|
3314
3329
|
installationId?: string | null;
|
|
3315
3330
|
account?: components["schemas"]["GithubAccountDto"] | null;
|
|
3316
3331
|
/** @description Paginated merged installation repositories when `installed` is true. */
|
|
@@ -4703,6 +4718,7 @@ export type RepoEligibilityLimitsDto = components['schemas']['RepoEligibilityLim
|
|
|
4703
4718
|
export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
|
|
4704
4719
|
export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
|
|
4705
4720
|
export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
|
|
4721
|
+
export type GithubSetupInProgressDto = components['schemas']['GithubSetupInProgressDto'];
|
|
4706
4722
|
export type GithubActionsWorkflowPreviewDto = components['schemas']['GithubActionsWorkflowPreviewDto'];
|
|
4707
4723
|
export type GithubActionsIntegrationStatusDto = components['schemas']['GithubActionsIntegrationStatusDto'];
|
|
4708
4724
|
export type GithubActionsEnableResponseDto = components['schemas']['GithubActionsEnableResponseDto'];
|
|
@@ -7083,7 +7099,10 @@ export interface operations {
|
|
|
7083
7099
|
};
|
|
7084
7100
|
refreshWorkspaceAiTool: {
|
|
7085
7101
|
parameters: {
|
|
7086
|
-
query?:
|
|
7102
|
+
query?: {
|
|
7103
|
+
/** @description Force a full re-sync (ignore the daily-usage watermark, re-pull the full initial window). Truthy only for `true` or `1`. */
|
|
7104
|
+
full?: "true" | "1";
|
|
7105
|
+
};
|
|
7087
7106
|
header?: never;
|
|
7088
7107
|
path: {
|
|
7089
7108
|
workspaceId: components["parameters"]["WorkspaceId"];
|