@thinkai/tai-api-contract 2.50.0-pr.877.6ff333f6 → 2.51.0-pr.877.dd26e497
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 +251 -45
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +272 -86
- package/package.json +1 -1
- package/src/generated/openapi.ts +251 -45
|
@@ -3128,6 +3128,25 @@ export interface components {
|
|
|
3128
3128
|
githubActionsCiEnabled?: boolean;
|
|
3129
3129
|
items: components["schemas"]["ProductivityInsightsNeedsAttentionItemDto"][];
|
|
3130
3130
|
};
|
|
3131
|
+
/**
|
|
3132
|
+
* @description Echo of the resolved time bucket for this response. `day` when the request used an `Nd`/`cr:`/`from`+`to` window; `week` for legacy weekly rangeIds.
|
|
3133
|
+
* @enum {string}
|
|
3134
|
+
*/
|
|
3135
|
+
AiUsageSpendGranularity: "day" | "week";
|
|
3136
|
+
/** @description Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. */
|
|
3137
|
+
AiUsageSpendRangeId: string;
|
|
3138
|
+
AiUsageSpendDailyBucketDto: {
|
|
3139
|
+
/**
|
|
3140
|
+
* Format: date
|
|
3141
|
+
* @description UTC calendar day (`YYYY-MM-DD`).
|
|
3142
|
+
*/
|
|
3143
|
+
date: string;
|
|
3144
|
+
/** @description Short label for table headers (e.g. MM/DD). */
|
|
3145
|
+
dayLabel?: string;
|
|
3146
|
+
tokenCount: number;
|
|
3147
|
+
spendCents: number;
|
|
3148
|
+
activeUsers: number;
|
|
3149
|
+
};
|
|
3131
3150
|
AiUsageSpendAggregatedTeamWeekDto: {
|
|
3132
3151
|
/** Format: date-time */
|
|
3133
3152
|
bucketStart: string;
|
|
@@ -3147,7 +3166,9 @@ export interface components {
|
|
|
3147
3166
|
teamName: string;
|
|
3148
3167
|
headcount: number;
|
|
3149
3168
|
managerLabel?: string;
|
|
3150
|
-
|
|
3169
|
+
/** @description Present in day-mode responses — daily token, spend, and active-user counts. */
|
|
3170
|
+
days?: components["schemas"]["AiUsageSpendDailyBucketDto"][];
|
|
3171
|
+
weeks?: components["schemas"]["AiUsageSpendAggregatedTeamWeekDto"][];
|
|
3151
3172
|
};
|
|
3152
3173
|
AiUsageSpendAggregatedTeamsSummaryDto: {
|
|
3153
3174
|
totalTokenCount: number;
|
|
@@ -3162,8 +3183,18 @@ export interface components {
|
|
|
3162
3183
|
AiUsageSpendAggregatedTeamsDto: {
|
|
3163
3184
|
/** Format: uuid */
|
|
3164
3185
|
workspaceId: string;
|
|
3165
|
-
|
|
3166
|
-
|
|
3186
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3187
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3188
|
+
/**
|
|
3189
|
+
* Format: date
|
|
3190
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3191
|
+
*/
|
|
3192
|
+
from?: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* Format: date
|
|
3195
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3196
|
+
*/
|
|
3197
|
+
to?: string;
|
|
3167
3198
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3168
3199
|
/** Format: date-time */
|
|
3169
3200
|
generatedAt: string;
|
|
@@ -3177,13 +3208,25 @@ export interface components {
|
|
|
3177
3208
|
title?: string;
|
|
3178
3209
|
team?: string;
|
|
3179
3210
|
department?: string;
|
|
3180
|
-
|
|
3211
|
+
/** @description Present in day-mode responses — daily token, spend, and active-user counts. */
|
|
3212
|
+
days?: components["schemas"]["AiUsageSpendDailyBucketDto"][];
|
|
3213
|
+
weeks?: components["schemas"]["AiUsageSpendAggregatedTeamWeekDto"][];
|
|
3181
3214
|
};
|
|
3182
3215
|
AiUsageSpendAggregatedContributorsDto: {
|
|
3183
3216
|
/** Format: uuid */
|
|
3184
3217
|
workspaceId: string;
|
|
3185
|
-
|
|
3186
|
-
|
|
3218
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3219
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3220
|
+
/**
|
|
3221
|
+
* Format: date
|
|
3222
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3223
|
+
*/
|
|
3224
|
+
from?: string;
|
|
3225
|
+
/**
|
|
3226
|
+
* Format: date
|
|
3227
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3228
|
+
*/
|
|
3229
|
+
to?: string;
|
|
3187
3230
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3188
3231
|
/** Format: date-time */
|
|
3189
3232
|
generatedAt: string;
|
|
@@ -3193,8 +3236,18 @@ export interface components {
|
|
|
3193
3236
|
AiUsageSpendContributorToolHeatmapDto: {
|
|
3194
3237
|
/** Format: uuid */
|
|
3195
3238
|
workspaceId: string;
|
|
3196
|
-
|
|
3197
|
-
|
|
3239
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3240
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3241
|
+
/**
|
|
3242
|
+
* Format: date
|
|
3243
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3244
|
+
*/
|
|
3245
|
+
from?: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* Format: date
|
|
3248
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3249
|
+
*/
|
|
3250
|
+
to?: string;
|
|
3198
3251
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3199
3252
|
/** Format: date-time */
|
|
3200
3253
|
generatedAt: string;
|
|
@@ -3211,8 +3264,18 @@ export interface components {
|
|
|
3211
3264
|
AiUsageSpendKeyInsightsDto: {
|
|
3212
3265
|
/** Format: uuid */
|
|
3213
3266
|
workspaceId: string;
|
|
3214
|
-
|
|
3215
|
-
|
|
3267
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3268
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3269
|
+
/**
|
|
3270
|
+
* Format: date
|
|
3271
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3272
|
+
*/
|
|
3273
|
+
from?: string;
|
|
3274
|
+
/**
|
|
3275
|
+
* Format: date
|
|
3276
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3277
|
+
*/
|
|
3278
|
+
to?: string;
|
|
3216
3279
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3217
3280
|
/** Format: date-time */
|
|
3218
3281
|
generatedAt: string;
|
|
@@ -3228,6 +3291,16 @@ export interface components {
|
|
|
3228
3291
|
* @enum {string}
|
|
3229
3292
|
*/
|
|
3230
3293
|
AiAssistedCodeEstimationSource: "ingest" | "token_volume" | "spend_proxy" | "adoption" | "unavailable";
|
|
3294
|
+
AiUsageSpendAiAssistedCodeDayDto: {
|
|
3295
|
+
/** Format: date */
|
|
3296
|
+
date: string;
|
|
3297
|
+
dayLabel?: string;
|
|
3298
|
+
aiAssistedCodePercent: number;
|
|
3299
|
+
totalLoc: number;
|
|
3300
|
+
aiLoc: number;
|
|
3301
|
+
humanLoc: number;
|
|
3302
|
+
dataQuality: components["schemas"]["AiAssistedCodeDataQuality"];
|
|
3303
|
+
};
|
|
3231
3304
|
AiUsageSpendAiAssistedCodeWeekDto: {
|
|
3232
3305
|
/** Format: date-time */
|
|
3233
3306
|
bucketStart: string;
|
|
@@ -3243,8 +3316,18 @@ export interface components {
|
|
|
3243
3316
|
AiUsageSpendAiAssistedCodePercentageDto: {
|
|
3244
3317
|
/** Format: uuid */
|
|
3245
3318
|
workspaceId: string;
|
|
3246
|
-
|
|
3247
|
-
|
|
3319
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3320
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3321
|
+
/**
|
|
3322
|
+
* Format: date
|
|
3323
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3324
|
+
*/
|
|
3325
|
+
from?: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* Format: date
|
|
3328
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3329
|
+
*/
|
|
3330
|
+
to?: string;
|
|
3248
3331
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3249
3332
|
/** Format: date-time */
|
|
3250
3333
|
generatedAt: string;
|
|
@@ -3266,7 +3349,9 @@ export interface components {
|
|
|
3266
3349
|
totalTokenCount?: number;
|
|
3267
3350
|
/** @description Scoped AI-tool spend in cents for the selected period. */
|
|
3268
3351
|
totalSpendCents?: number;
|
|
3269
|
-
|
|
3352
|
+
/** @description Present in day-mode responses — daily AI-assisted code share series. */
|
|
3353
|
+
days?: components["schemas"]["AiUsageSpendAiAssistedCodeDayDto"][];
|
|
3354
|
+
weeks?: components["schemas"]["AiUsageSpendAiAssistedCodeWeekDto"][];
|
|
3270
3355
|
};
|
|
3271
3356
|
/** @enum {string} */
|
|
3272
3357
|
ProviderEngagementInsightAvailability: "measured" | "not_applicable";
|
|
@@ -3287,8 +3372,18 @@ export interface components {
|
|
|
3287
3372
|
AiUsageSpendProviderEngagementInsightsDto: {
|
|
3288
3373
|
/** Format: uuid */
|
|
3289
3374
|
workspaceId: string;
|
|
3290
|
-
|
|
3291
|
-
|
|
3375
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3376
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3377
|
+
/**
|
|
3378
|
+
* Format: date
|
|
3379
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3380
|
+
*/
|
|
3381
|
+
from?: string;
|
|
3382
|
+
/**
|
|
3383
|
+
* Format: date
|
|
3384
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3385
|
+
*/
|
|
3386
|
+
to?: string;
|
|
3292
3387
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3293
3388
|
/** Format: date-time */
|
|
3294
3389
|
generatedAt: string;
|
|
@@ -3311,8 +3406,18 @@ export interface components {
|
|
|
3311
3406
|
AiUsageSpendAiToolUsageSpendDto: {
|
|
3312
3407
|
/** Format: uuid */
|
|
3313
3408
|
workspaceId: string;
|
|
3314
|
-
|
|
3315
|
-
|
|
3409
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3410
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3411
|
+
/**
|
|
3412
|
+
* Format: date
|
|
3413
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3414
|
+
*/
|
|
3415
|
+
from?: string;
|
|
3416
|
+
/**
|
|
3417
|
+
* Format: date
|
|
3418
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3419
|
+
*/
|
|
3420
|
+
to?: string;
|
|
3316
3421
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3317
3422
|
/** Format: date-time */
|
|
3318
3423
|
generatedAt: string;
|
|
@@ -3323,13 +3428,30 @@ export interface components {
|
|
|
3323
3428
|
AiUsageSpendTeamToolHeatmapDto: {
|
|
3324
3429
|
/** Format: uuid */
|
|
3325
3430
|
workspaceId: string;
|
|
3326
|
-
|
|
3327
|
-
|
|
3431
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3432
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3433
|
+
/**
|
|
3434
|
+
* Format: date
|
|
3435
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3436
|
+
*/
|
|
3437
|
+
from?: string;
|
|
3438
|
+
/**
|
|
3439
|
+
* Format: date
|
|
3440
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3441
|
+
*/
|
|
3442
|
+
to?: string;
|
|
3328
3443
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3329
3444
|
/** Format: date-time */
|
|
3330
3445
|
generatedAt: string;
|
|
3331
3446
|
teams: components["schemas"]["AiUsageSpendAggregatedTeamRowDto"][];
|
|
3332
3447
|
};
|
|
3448
|
+
AiUsageSpendRoiProductivitySignalDayDto: {
|
|
3449
|
+
/** Format: date */
|
|
3450
|
+
date: string;
|
|
3451
|
+
dayLabel?: string;
|
|
3452
|
+
mergedPrCount: number;
|
|
3453
|
+
tokenCount: number;
|
|
3454
|
+
};
|
|
3333
3455
|
AiUsageSpendRoiProductivitySignalWeekDto: {
|
|
3334
3456
|
/** Format: date-time */
|
|
3335
3457
|
bucketStart: string;
|
|
@@ -3344,8 +3466,18 @@ export interface components {
|
|
|
3344
3466
|
AiUsageSpendRoiProductivitySignalDto: {
|
|
3345
3467
|
/** Format: uuid */
|
|
3346
3468
|
workspaceId: string;
|
|
3347
|
-
|
|
3348
|
-
|
|
3469
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3470
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3471
|
+
/**
|
|
3472
|
+
* Format: date
|
|
3473
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3474
|
+
*/
|
|
3475
|
+
from?: string;
|
|
3476
|
+
/**
|
|
3477
|
+
* Format: date
|
|
3478
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3479
|
+
*/
|
|
3480
|
+
to?: string;
|
|
3349
3481
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3350
3482
|
/** Format: date-time */
|
|
3351
3483
|
generatedAt: string;
|
|
@@ -3359,7 +3491,16 @@ export interface components {
|
|
|
3359
3491
|
prThroughputDeltaPercent: number;
|
|
3360
3492
|
/** @description Percent change in token usage (recent half vs prior half of range). */
|
|
3361
3493
|
usageDeltaPercent: number;
|
|
3362
|
-
|
|
3494
|
+
/** @description Present in day-mode responses — daily merged PR and token counts. */
|
|
3495
|
+
days?: components["schemas"]["AiUsageSpendRoiProductivitySignalDayDto"][];
|
|
3496
|
+
weeks?: components["schemas"]["AiUsageSpendRoiProductivitySignalWeekDto"][];
|
|
3497
|
+
};
|
|
3498
|
+
AiUsageSpendUsageTrendsProviderDayDto: {
|
|
3499
|
+
providerId: string;
|
|
3500
|
+
providerName: string;
|
|
3501
|
+
spendCents: number;
|
|
3502
|
+
tokenCount: number;
|
|
3503
|
+
activeUsers: number;
|
|
3363
3504
|
};
|
|
3364
3505
|
AiUsageSpendUsageTrendsProviderWeekDto: {
|
|
3365
3506
|
providerId: string;
|
|
@@ -3368,6 +3509,12 @@ export interface components {
|
|
|
3368
3509
|
tokenCount: number;
|
|
3369
3510
|
activeUsers: number;
|
|
3370
3511
|
};
|
|
3512
|
+
AiUsageSpendUsageTrendsDayDto: {
|
|
3513
|
+
/** Format: date */
|
|
3514
|
+
date: string;
|
|
3515
|
+
dayLabel?: string;
|
|
3516
|
+
providers: components["schemas"]["AiUsageSpendUsageTrendsProviderDayDto"][];
|
|
3517
|
+
};
|
|
3371
3518
|
AiUsageSpendUsageTrendsWeekDto: {
|
|
3372
3519
|
/** Format: date-time */
|
|
3373
3520
|
bucketStart: string;
|
|
@@ -3379,12 +3526,24 @@ export interface components {
|
|
|
3379
3526
|
AiUsageSpendUsageTrendsDto: {
|
|
3380
3527
|
/** Format: uuid */
|
|
3381
3528
|
workspaceId: string;
|
|
3382
|
-
|
|
3383
|
-
|
|
3529
|
+
range: components["schemas"]["AiUsageSpendRangeId"];
|
|
3530
|
+
granularity?: components["schemas"]["AiUsageSpendGranularity"];
|
|
3531
|
+
/**
|
|
3532
|
+
* Format: date
|
|
3533
|
+
* @description Inclusive start day when `granularity` is `day`.
|
|
3534
|
+
*/
|
|
3535
|
+
from?: string;
|
|
3536
|
+
/**
|
|
3537
|
+
* Format: date
|
|
3538
|
+
* @description Inclusive end day when `granularity` is `day`.
|
|
3539
|
+
*/
|
|
3540
|
+
to?: string;
|
|
3384
3541
|
scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
|
|
3385
3542
|
/** Format: date-time */
|
|
3386
3543
|
generatedAt: string;
|
|
3387
|
-
|
|
3544
|
+
/** @description Present in day-mode responses — per-provider spend and usage by day. */
|
|
3545
|
+
days?: components["schemas"]["AiUsageSpendUsageTrendsDayDto"][];
|
|
3546
|
+
weeks?: components["schemas"]["AiUsageSpendUsageTrendsWeekDto"][];
|
|
3388
3547
|
};
|
|
3389
3548
|
AiToolMemberSummaryDto: {
|
|
3390
3549
|
externalId: string;
|
|
@@ -5245,6 +5404,9 @@ export type ProductivityInsightsContributorActivitySummaryDto = components['sche
|
|
|
5245
5404
|
export type ProductivityInsightsContributorDetailDto = components['schemas']['ProductivityInsightsContributorDetailDto'];
|
|
5246
5405
|
export type ProductivityInsightsNeedsAttentionItemDto = components['schemas']['ProductivityInsightsNeedsAttentionItemDto'];
|
|
5247
5406
|
export type ProductivityInsightsNeedsAttentionDto = components['schemas']['ProductivityInsightsNeedsAttentionDto'];
|
|
5407
|
+
export type AiUsageSpendGranularity = components['schemas']['AiUsageSpendGranularity'];
|
|
5408
|
+
export type AiUsageSpendRangeId = components['schemas']['AiUsageSpendRangeId'];
|
|
5409
|
+
export type AiUsageSpendDailyBucketDto = components['schemas']['AiUsageSpendDailyBucketDto'];
|
|
5248
5410
|
export type AiUsageSpendAggregatedTeamWeekDto = components['schemas']['AiUsageSpendAggregatedTeamWeekDto'];
|
|
5249
5411
|
export type AiUsageSpendAggregatedTeamRowDto = components['schemas']['AiUsageSpendAggregatedTeamRowDto'];
|
|
5250
5412
|
export type AiUsageSpendAggregatedTeamsSummaryDto = components['schemas']['AiUsageSpendAggregatedTeamsSummaryDto'];
|
|
@@ -5256,6 +5418,7 @@ export type AiUsageSpendKeyInsightItemDto = components['schemas']['AiUsageSpendK
|
|
|
5256
5418
|
export type AiUsageSpendKeyInsightsDto = components['schemas']['AiUsageSpendKeyInsightsDto'];
|
|
5257
5419
|
export type AiAssistedCodeDataQuality = components['schemas']['AiAssistedCodeDataQuality'];
|
|
5258
5420
|
export type AiAssistedCodeEstimationSource = components['schemas']['AiAssistedCodeEstimationSource'];
|
|
5421
|
+
export type AiUsageSpendAiAssistedCodeDayDto = components['schemas']['AiUsageSpendAiAssistedCodeDayDto'];
|
|
5259
5422
|
export type AiUsageSpendAiAssistedCodeWeekDto = components['schemas']['AiUsageSpendAiAssistedCodeWeekDto'];
|
|
5260
5423
|
export type AiUsageSpendAiAssistedCodePercentageDto = components['schemas']['AiUsageSpendAiAssistedCodePercentageDto'];
|
|
5261
5424
|
export type ProviderEngagementInsightAvailability = components['schemas']['ProviderEngagementInsightAvailability'];
|
|
@@ -5266,9 +5429,12 @@ export type AiUsageSpendAiToolUsageSpendProviderItemDto = components['schemas'][
|
|
|
5266
5429
|
export type AiUsageSpendAiToolUsageSpendModelItemDto = components['schemas']['AiUsageSpendAiToolUsageSpendModelItemDto'];
|
|
5267
5430
|
export type AiUsageSpendAiToolUsageSpendDto = components['schemas']['AiUsageSpendAiToolUsageSpendDto'];
|
|
5268
5431
|
export type AiUsageSpendTeamToolHeatmapDto = components['schemas']['AiUsageSpendTeamToolHeatmapDto'];
|
|
5432
|
+
export type AiUsageSpendRoiProductivitySignalDayDto = components['schemas']['AiUsageSpendRoiProductivitySignalDayDto'];
|
|
5269
5433
|
export type AiUsageSpendRoiProductivitySignalWeekDto = components['schemas']['AiUsageSpendRoiProductivitySignalWeekDto'];
|
|
5270
5434
|
export type AiUsageSpendRoiProductivitySignalDto = components['schemas']['AiUsageSpendRoiProductivitySignalDto'];
|
|
5435
|
+
export type AiUsageSpendUsageTrendsProviderDayDto = components['schemas']['AiUsageSpendUsageTrendsProviderDayDto'];
|
|
5271
5436
|
export type AiUsageSpendUsageTrendsProviderWeekDto = components['schemas']['AiUsageSpendUsageTrendsProviderWeekDto'];
|
|
5437
|
+
export type AiUsageSpendUsageTrendsDayDto = components['schemas']['AiUsageSpendUsageTrendsDayDto'];
|
|
5272
5438
|
export type AiUsageSpendUsageTrendsWeekDto = components['schemas']['AiUsageSpendUsageTrendsWeekDto'];
|
|
5273
5439
|
export type AiUsageSpendUsageTrendsDto = components['schemas']['AiUsageSpendUsageTrendsDto'];
|
|
5274
5440
|
export type AiToolMemberSummaryDto = components['schemas']['AiToolMemberSummaryDto'];
|
|
@@ -7307,8 +7473,12 @@ export interface operations {
|
|
|
7307
7473
|
getAiUsageSpendAggregatedTeams: {
|
|
7308
7474
|
parameters: {
|
|
7309
7475
|
query?: {
|
|
7310
|
-
/** @description
|
|
7311
|
-
rangeId?: "
|
|
7476
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7477
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7478
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7479
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7480
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7481
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7312
7482
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7313
7483
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7314
7484
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7359,8 +7529,12 @@ export interface operations {
|
|
|
7359
7529
|
getAiUsageSpendAggregatedContributors: {
|
|
7360
7530
|
parameters: {
|
|
7361
7531
|
query?: {
|
|
7362
|
-
/** @description
|
|
7363
|
-
rangeId?: "
|
|
7532
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7533
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7534
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7535
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7536
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7537
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7364
7538
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7365
7539
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7366
7540
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7411,8 +7585,12 @@ export interface operations {
|
|
|
7411
7585
|
getAiUsageSpendContributorToolHeatmap: {
|
|
7412
7586
|
parameters: {
|
|
7413
7587
|
query?: {
|
|
7414
|
-
/** @description
|
|
7415
|
-
rangeId?: "
|
|
7588
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7589
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7590
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7591
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7592
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7593
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7416
7594
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7417
7595
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7418
7596
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7463,8 +7641,12 @@ export interface operations {
|
|
|
7463
7641
|
getAiUsageSpendKeyInsights: {
|
|
7464
7642
|
parameters: {
|
|
7465
7643
|
query?: {
|
|
7466
|
-
/** @description
|
|
7467
|
-
rangeId?: "
|
|
7644
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7645
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7646
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7647
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7648
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7649
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7468
7650
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7469
7651
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7470
7652
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7515,8 +7697,12 @@ export interface operations {
|
|
|
7515
7697
|
getAiUsageSpendAiAssistedCodePercentage: {
|
|
7516
7698
|
parameters: {
|
|
7517
7699
|
query?: {
|
|
7518
|
-
/** @description
|
|
7519
|
-
rangeId?: "
|
|
7700
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7701
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7702
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7703
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7704
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7705
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7520
7706
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7521
7707
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7522
7708
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7567,8 +7753,12 @@ export interface operations {
|
|
|
7567
7753
|
getAiUsageSpendProviderEngagementInsights: {
|
|
7568
7754
|
parameters: {
|
|
7569
7755
|
query?: {
|
|
7570
|
-
/** @description
|
|
7571
|
-
rangeId?: "
|
|
7756
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7757
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7758
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7759
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7760
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7761
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7572
7762
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7573
7763
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7574
7764
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7619,8 +7809,12 @@ export interface operations {
|
|
|
7619
7809
|
getAiUsageSpendAiToolUsageSpend: {
|
|
7620
7810
|
parameters: {
|
|
7621
7811
|
query?: {
|
|
7622
|
-
/** @description
|
|
7623
|
-
rangeId?: "
|
|
7812
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7813
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7814
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7815
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7816
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7817
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7624
7818
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7625
7819
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7626
7820
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7671,8 +7865,12 @@ export interface operations {
|
|
|
7671
7865
|
getAiUsageSpendTeamToolHeatmap: {
|
|
7672
7866
|
parameters: {
|
|
7673
7867
|
query?: {
|
|
7674
|
-
/** @description
|
|
7675
|
-
rangeId?: "
|
|
7868
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7869
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7870
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7871
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7872
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7873
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7676
7874
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7677
7875
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7678
7876
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7723,8 +7921,12 @@ export interface operations {
|
|
|
7723
7921
|
getAiUsageSpendRoiProductivitySignal: {
|
|
7724
7922
|
parameters: {
|
|
7725
7923
|
query?: {
|
|
7726
|
-
/** @description
|
|
7727
|
-
rangeId?: "
|
|
7924
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7925
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7926
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7927
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7928
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7929
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7728
7930
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7729
7931
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7730
7932
|
/** @description Team name filter; send `All teams` to include every team. */
|
|
@@ -7775,8 +7977,12 @@ export interface operations {
|
|
|
7775
7977
|
getAiUsageSpendUsageTrends: {
|
|
7776
7978
|
parameters: {
|
|
7777
7979
|
query?: {
|
|
7778
|
-
/** @description
|
|
7779
|
-
rangeId?: "
|
|
7980
|
+
/** @description Productivity insights time range. Daily windows: `7d`, `30d`, `90d`, `180d`, or custom `cr:YYYY-MM-DD:YYYY-MM-DD`. Weekly legacy: `4w`, `8w`, `q` (12 weeks), `12w`, `16w`. Omit when using explicit `from`/`to` day bounds. */
|
|
7981
|
+
rangeId?: components["parameters"]["InsightsProductivityRangeId"];
|
|
7982
|
+
/** @description Inclusive start of a daily window (`YYYY-MM-DD`). When set with `to`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7983
|
+
from?: components["parameters"]["InsightsProductivityFrom"];
|
|
7984
|
+
/** @description Inclusive end of a daily window (`YYYY-MM-DD`). When set with `from`, overrides `rangeId` for day-mode responses (max 180 days). */
|
|
7985
|
+
to?: components["parameters"]["InsightsProductivityTo"];
|
|
7780
7986
|
/** @description Department filter; send `All departments` to include every department. Scoped using imported `thinkai_org_structure` members when present, otherwise SPA org chart `department` nodes and their descendant teams. When neither source defines the requested department, insights return no scoped teams or contributors (not org-wide data). */
|
|
7781
7987
|
department?: components["parameters"]["InsightsDepartmentFilter"];
|
|
7782
7988
|
/** @description Team name filter; send `All teams` to include every team. */
|