@thinkai/tai-api-contract 2.176.0 → 2.177.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.
@@ -9144,7 +9144,7 @@ export interface components {
9144
9144
  };
9145
9145
  AssessmentDictionaryDto: {
9146
9146
  /** @enum {string} */
9147
- version: "2026-10-18.1";
9147
+ version: "2026-10-20.1";
9148
9148
  /** @enum {integer} */
9149
9149
  periodDays: 90;
9150
9150
  /** @enum {integer} */
@@ -9156,6 +9156,8 @@ export interface components {
9156
9156
  /** @enum {integer} */
9157
9157
  accessDaysAfterDelivery: 30;
9158
9158
  /** @enum {integer} */
9159
+ deliveryBusinessDays: 5;
9160
+ /** @enum {integer} */
9159
9161
  maxRepositories: 50;
9160
9162
  /** @enum {integer} */
9161
9163
  maxActiveEngineers: 500;
@@ -9185,15 +9187,90 @@ export interface components {
9185
9187
  status: "supported";
9186
9188
  providers: ("gitlab_self_managed" | "bitbucket_data_center")[];
9187
9189
  };
9190
+ rules: {
9191
+ /** @enum {number} */
9192
+ windowCoverageRatio: 1;
9193
+ /** @enum {integer} */
9194
+ repositoryMergedPullRequestsInBothWindows: 1;
9195
+ freshness: {
9196
+ /** @enum {integer} */
9197
+ gitHours: 24;
9198
+ /** @enum {integer} */
9199
+ jiraHours: 24;
9200
+ /** @enum {integer} */
9201
+ incidentHours: 24;
9202
+ /** @enum {integer} */
9203
+ aiUsageDays: 7;
9204
+ /** @enum {integer} */
9205
+ readinessScanDays: 30;
9206
+ };
9207
+ tolerances: {
9208
+ /** @enum {number} */
9209
+ moneyUsd: 0.01;
9210
+ /** @enum {number} */
9211
+ ratioPercentagePoints: 0.01;
9212
+ /** @enum {integer} */
9213
+ durationSeconds: 1;
9214
+ };
9215
+ /** @enum {string} */
9216
+ outputUnit: "normalized_ship_weight";
9217
+ /** @enum {string} */
9218
+ rolloutTimezone: "America/New_York";
9219
+ /** @enum {string} */
9220
+ rolloutBoundary: "midnight";
9221
+ /** @enum {string} */
9222
+ costAssessableCurrency: "USD";
9223
+ };
9188
9224
  unresolved: {
9189
9225
  baselinePrice: components["schemas"]["UnsetAssessmentDecisionDto"];
9190
9226
  premiumPrice: components["schemas"]["UnsetAssessmentDecisionDto"];
9191
- currency: components["schemas"]["UnsetAssessmentDecisionDto"];
9192
- creditWindowDays: components["schemas"]["UnsetAssessmentDecisionDto"];
9193
- jiraLinkageMinimum: components["schemas"]["UnsetAssessmentDecisionDto"];
9194
- confounderRules: components["schemas"]["UnsetAssessmentDecisionDto"];
9195
- activeEngineerRule: components["schemas"]["UnsetAssessmentDecisionDto"];
9196
- workingDayCalendar: components["schemas"]["UnsetAssessmentDecisionDto"];
9227
+ currency: {
9228
+ /** @enum {string} */
9229
+ status: "set";
9230
+ /** @enum {string} */
9231
+ code: "USD";
9232
+ };
9233
+ creditWindowDays: {
9234
+ /** @enum {string} */
9235
+ status: "set";
9236
+ /** @enum {integer} */
9237
+ days: 90;
9238
+ /** @enum {string} */
9239
+ eligibleSubscription: "annual";
9240
+ };
9241
+ jiraLinkageMinimum: {
9242
+ /** @enum {string} */
9243
+ status: "set";
9244
+ /** @enum {number} */
9245
+ ratio: 0.8;
9246
+ };
9247
+ confounderRules: {
9248
+ /** @enum {string} */
9249
+ status: "set";
9250
+ /** @enum {number} */
9251
+ headcountChangeRatio: 0.1;
9252
+ /** @enum {number} */
9253
+ repositoryScopeChangeRatio: 0.1;
9254
+ namedEvents: ("major_release" | "migration" | "acquisition" | "policy_change")[];
9255
+ };
9256
+ activeEngineerRule: {
9257
+ /** @enum {string} */
9258
+ status: "set";
9259
+ /** @enum {string} */
9260
+ activity: "authored_commit_or_merged_pr";
9261
+ /** @enum {string} */
9262
+ window: "measured_period";
9263
+ exclude: ("bot" | "service_account" | "unmapped" | "read_only")[];
9264
+ };
9265
+ workingDayCalendar: {
9266
+ /** @enum {string} */
9267
+ status: "set";
9268
+ /** @enum {string} */
9269
+ timezone: "America/New_York";
9270
+ weekdays: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday")[];
9271
+ /** @enum {string} */
9272
+ holidays: "none";
9273
+ };
9197
9274
  countryAllowList: components["schemas"]["UnsetAssessmentDecisionDto"];
9198
9275
  };
9199
9276
  };
@@ -12648,11 +12725,44 @@ export interface operations {
12648
12725
  shareMode: "internal" | "external";
12649
12726
  /** @enum {string|null} */
12650
12727
  watermark: "NOT VALIDATED" | "SAMPLE · SYNTHETIC DATA" | null;
12651
- scope: Record<string, never>;
12652
- windows: Record<string, never>;
12653
- sources: Record<string, never>[];
12654
- consent: Record<string, never>;
12655
- sections: Record<string, never>[];
12728
+ scope: {
12729
+ repositories: {
12730
+ id: string;
12731
+ name: string;
12732
+ }[];
12733
+ excluded: {
12734
+ id: string;
12735
+ name: string;
12736
+ reason: string;
12737
+ }[];
12738
+ };
12739
+ windows: {
12740
+ pre: {
12741
+ start: string;
12742
+ end: string;
12743
+ } | null;
12744
+ post: {
12745
+ start: string;
12746
+ end: string;
12747
+ } | null;
12748
+ transitionDays: number;
12749
+ };
12750
+ sources: {
12751
+ provider: string;
12752
+ status: string;
12753
+ freshAt: string | null;
12754
+ }[];
12755
+ consent: {
12756
+ /** @enum {string} */
12757
+ aggregateUse: "opt_in" | "opt_out" | "unset";
12758
+ recordedAt: string | null;
12759
+ };
12760
+ sections: {
12761
+ id: string;
12762
+ /** @enum {string} */
12763
+ status: "ok" | "failed" | "omitted";
12764
+ reason?: string;
12765
+ }[];
12656
12766
  };
12657
12767
  workspaceId: string;
12658
12768
  expectedWorkspaceId: string;