@agentrix/shared 2.23.0 → 2.24.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/index.cjs +49 -10
- package/dist/index.d.cts +133 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1467,12 +1467,13 @@ const GitServerSchema = zod.z.object({
|
|
|
1467
1467
|
const ListGitServersResponseSchema = zod.z.array(GitServerSchema);
|
|
1468
1468
|
const GetGitServerResponseSchema = GitServerSchema;
|
|
1469
1469
|
|
|
1470
|
+
const CurrentSubscriptionPlanTypeSchema = zod.z.enum(["free", "plus", "pro", "enterprise"]);
|
|
1471
|
+
const SubscriptionPlanTypeSchema = zod.z.enum(["free", "plus", "pro", "enterprise", "lite", "max"]);
|
|
1470
1472
|
const SubscriptionPlanSchema = zod.z.object({
|
|
1471
1473
|
id: IdSchema,
|
|
1472
1474
|
name: zod.z.string(),
|
|
1473
|
-
type:
|
|
1474
|
-
|
|
1475
|
-
stripePriceId: zod.z.string(),
|
|
1475
|
+
type: SubscriptionPlanTypeSchema,
|
|
1476
|
+
stripePriceId: zod.z.string().nullable(),
|
|
1476
1477
|
price: zod.z.number(),
|
|
1477
1478
|
credits: zod.z.number(),
|
|
1478
1479
|
features: zod.z.array(zod.z.string()),
|
|
@@ -1482,6 +1483,18 @@ const SubscriptionPlanSchema = zod.z.object({
|
|
|
1482
1483
|
maxPrivateClouds: zod.z.number().int().nonnegative(),
|
|
1483
1484
|
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative(),
|
|
1484
1485
|
maxPrivateCloudMembers: zod.z.number().int().nonnegative(),
|
|
1486
|
+
maxOnlineLocalMachines: zod.z.number().int().nonnegative(),
|
|
1487
|
+
createdAt: DateSchema,
|
|
1488
|
+
updatedAt: DateSchema
|
|
1489
|
+
});
|
|
1490
|
+
const UserEntitlementSourceSchema = zod.z.enum(["free_plan", "subscription", "manual"]);
|
|
1491
|
+
const UserEntitlementSchema = zod.z.object({
|
|
1492
|
+
id: IdSchema,
|
|
1493
|
+
userId: IdSchema,
|
|
1494
|
+
source: UserEntitlementSourceSchema,
|
|
1495
|
+
subscriptionId: IdSchema.nullable(),
|
|
1496
|
+
planId: IdSchema.nullable(),
|
|
1497
|
+
maxOnlineLocalMachines: zod.z.number().int().nonnegative(),
|
|
1485
1498
|
createdAt: DateSchema,
|
|
1486
1499
|
updatedAt: DateSchema
|
|
1487
1500
|
});
|
|
@@ -1503,7 +1516,9 @@ const SubscriptionSchema = zod.z.object({
|
|
|
1503
1516
|
// Associated plan info
|
|
1504
1517
|
});
|
|
1505
1518
|
const GetSubscriptionResponseSchema = zod.z.object({
|
|
1506
|
-
subscription: SubscriptionSchema.nullable()
|
|
1519
|
+
subscription: SubscriptionSchema.nullable(),
|
|
1520
|
+
effectivePlan: SubscriptionPlanSchema.nullable().optional(),
|
|
1521
|
+
effectiveEntitlement: UserEntitlementSchema.nullable().optional()
|
|
1507
1522
|
});
|
|
1508
1523
|
const CreateCheckoutRequestSchema = zod.z.object({
|
|
1509
1524
|
priceId: zod.z.string(),
|
|
@@ -1532,7 +1547,7 @@ const UpdateSubscriptionResponseSchema = zod.z.object({
|
|
|
1532
1547
|
const SubscriptionTierSchema = zod.z.object({
|
|
1533
1548
|
id: zod.z.string(),
|
|
1534
1549
|
name: zod.z.string(),
|
|
1535
|
-
priceId: zod.z.string(),
|
|
1550
|
+
priceId: zod.z.string().nullable(),
|
|
1536
1551
|
price: zod.z.number(),
|
|
1537
1552
|
credits: zod.z.number(),
|
|
1538
1553
|
popular: zod.z.boolean().optional(),
|
|
@@ -1544,15 +1559,34 @@ const GetSubscriptionTiersResponseSchema = zod.z.object({
|
|
|
1544
1559
|
});
|
|
1545
1560
|
const CreateSubscriptionPlanRequestSchema = zod.z.object({
|
|
1546
1561
|
name: zod.z.string(),
|
|
1547
|
-
type:
|
|
1548
|
-
price: zod.z.number().
|
|
1549
|
-
credits: zod.z.number().
|
|
1562
|
+
type: CurrentSubscriptionPlanTypeSchema,
|
|
1563
|
+
price: zod.z.number().nonnegative(),
|
|
1564
|
+
credits: zod.z.number().nonnegative(),
|
|
1550
1565
|
features: zod.z.array(zod.z.string()),
|
|
1551
1566
|
popular: zod.z.boolean().optional(),
|
|
1552
1567
|
privateCloudEnabled: zod.z.boolean().optional(),
|
|
1553
1568
|
maxPrivateClouds: zod.z.number().int().nonnegative().optional(),
|
|
1554
1569
|
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative().optional(),
|
|
1555
|
-
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional()
|
|
1570
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional(),
|
|
1571
|
+
maxOnlineLocalMachines: zod.z.number().int().nonnegative().optional()
|
|
1572
|
+
}).superRefine((data, ctx) => {
|
|
1573
|
+
if (data.type === "free") {
|
|
1574
|
+
if (data.price !== 0) {
|
|
1575
|
+
ctx.addIssue({
|
|
1576
|
+
code: "custom",
|
|
1577
|
+
path: ["price"],
|
|
1578
|
+
message: "Free plans must have a price of 0"
|
|
1579
|
+
});
|
|
1580
|
+
}
|
|
1581
|
+
return;
|
|
1582
|
+
}
|
|
1583
|
+
if (data.price <= 0) {
|
|
1584
|
+
ctx.addIssue({
|
|
1585
|
+
code: "custom",
|
|
1586
|
+
path: ["price"],
|
|
1587
|
+
message: "Paid plans must have a price greater than 0"
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1556
1590
|
});
|
|
1557
1591
|
const UpdateSubscriptionPlanRequestSchema = zod.z.object({
|
|
1558
1592
|
name: zod.z.string().optional(),
|
|
@@ -1562,7 +1596,8 @@ const UpdateSubscriptionPlanRequestSchema = zod.z.object({
|
|
|
1562
1596
|
privateCloudEnabled: zod.z.boolean().optional(),
|
|
1563
1597
|
maxPrivateClouds: zod.z.number().int().nonnegative().optional(),
|
|
1564
1598
|
maxMachinesPerPrivateCloud: zod.z.number().int().nonnegative().optional(),
|
|
1565
|
-
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional()
|
|
1599
|
+
maxPrivateCloudMembers: zod.z.number().int().nonnegative().optional(),
|
|
1600
|
+
maxOnlineLocalMachines: zod.z.number().int().nonnegative().optional()
|
|
1566
1601
|
});
|
|
1567
1602
|
const ListSubscriptionPlansResponseSchema = zod.z.object({
|
|
1568
1603
|
plans: zod.z.array(SubscriptionPlanSchema)
|
|
@@ -3808,6 +3843,7 @@ exports.CreateTaskShareSchema = CreateTaskShareSchema;
|
|
|
3808
3843
|
exports.CreditExhaustedEventSchema = CreditExhaustedEventSchema;
|
|
3809
3844
|
exports.CreditsBucketSchema = CreditsBucketSchema;
|
|
3810
3845
|
exports.CreditsPackageSchema = CreditsPackageSchema;
|
|
3846
|
+
exports.CurrentSubscriptionPlanTypeSchema = CurrentSubscriptionPlanTypeSchema;
|
|
3811
3847
|
exports.DEFAULT_WORKER_EXECUTION_MODE = DEFAULT_WORKER_EXECUTION_MODE;
|
|
3812
3848
|
exports.DaemonGitlabOperationSchema = DaemonGitlabOperationSchema;
|
|
3813
3849
|
exports.DaemonGitlabRequestSchema = DaemonGitlabRequestSchema;
|
|
@@ -4038,6 +4074,7 @@ exports.SubTaskAskUserEventSchema = SubTaskAskUserEventSchema;
|
|
|
4038
4074
|
exports.SubTaskResultUpdatedEventSchema = SubTaskResultUpdatedEventSchema;
|
|
4039
4075
|
exports.SubTaskSummarySchema = SubTaskSummarySchema;
|
|
4040
4076
|
exports.SubscriptionPlanSchema = SubscriptionPlanSchema;
|
|
4077
|
+
exports.SubscriptionPlanTypeSchema = SubscriptionPlanTypeSchema;
|
|
4041
4078
|
exports.SubscriptionSchema = SubscriptionSchema;
|
|
4042
4079
|
exports.SubscriptionTierSchema = SubscriptionTierSchema;
|
|
4043
4080
|
exports.SyncCloudMachineResponseSchema = SyncCloudMachineResponseSchema;
|
|
@@ -4094,6 +4131,8 @@ exports.UpdateUserProfileResponseSchema = UpdateUserProfileResponseSchema;
|
|
|
4094
4131
|
exports.UploadUrlResultSchema = UploadUrlResultSchema;
|
|
4095
4132
|
exports.UserBalanceResponseSchema = UserBalanceResponseSchema;
|
|
4096
4133
|
exports.UserBasicInfoSchema = UserBasicInfoSchema;
|
|
4134
|
+
exports.UserEntitlementSchema = UserEntitlementSchema;
|
|
4135
|
+
exports.UserEntitlementSourceSchema = UserEntitlementSourceSchema;
|
|
4097
4136
|
exports.UserInboxItemSchema = UserInboxItemSchema;
|
|
4098
4137
|
exports.UserInboxStatusSchema = UserInboxStatusSchema;
|
|
4099
4138
|
exports.UserInboxSubjectTypeSchema = UserInboxSubjectTypeSchema;
|
package/dist/index.d.cts
CHANGED
|
@@ -3154,11 +3154,34 @@ type GetGitServerResponse = z.infer<typeof GetGitServerResponseSchema>;
|
|
|
3154
3154
|
/**
|
|
3155
3155
|
* Subscription Plan schema (defined first, used by SubscriptionSchema)
|
|
3156
3156
|
*/
|
|
3157
|
+
declare const CurrentSubscriptionPlanTypeSchema: z.ZodEnum<{
|
|
3158
|
+
free: "free";
|
|
3159
|
+
plus: "plus";
|
|
3160
|
+
pro: "pro";
|
|
3161
|
+
enterprise: "enterprise";
|
|
3162
|
+
}>;
|
|
3163
|
+
declare const SubscriptionPlanTypeSchema: z.ZodEnum<{
|
|
3164
|
+
free: "free";
|
|
3165
|
+
plus: "plus";
|
|
3166
|
+
pro: "pro";
|
|
3167
|
+
enterprise: "enterprise";
|
|
3168
|
+
lite: "lite";
|
|
3169
|
+
max: "max";
|
|
3170
|
+
}>;
|
|
3171
|
+
type CurrentSubscriptionPlanType = z.infer<typeof CurrentSubscriptionPlanTypeSchema>;
|
|
3172
|
+
type SubscriptionPlanType = z.infer<typeof SubscriptionPlanTypeSchema>;
|
|
3157
3173
|
declare const SubscriptionPlanSchema: z.ZodObject<{
|
|
3158
3174
|
id: z.ZodString;
|
|
3159
3175
|
name: z.ZodString;
|
|
3160
|
-
type: z.
|
|
3161
|
-
|
|
3176
|
+
type: z.ZodEnum<{
|
|
3177
|
+
free: "free";
|
|
3178
|
+
plus: "plus";
|
|
3179
|
+
pro: "pro";
|
|
3180
|
+
enterprise: "enterprise";
|
|
3181
|
+
lite: "lite";
|
|
3182
|
+
max: "max";
|
|
3183
|
+
}>;
|
|
3184
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3162
3185
|
price: z.ZodNumber;
|
|
3163
3186
|
credits: z.ZodNumber;
|
|
3164
3187
|
features: z.ZodArray<z.ZodString>;
|
|
@@ -3168,10 +3191,31 @@ declare const SubscriptionPlanSchema: z.ZodObject<{
|
|
|
3168
3191
|
maxPrivateClouds: z.ZodNumber;
|
|
3169
3192
|
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3170
3193
|
maxPrivateCloudMembers: z.ZodNumber;
|
|
3194
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3171
3195
|
createdAt: z.ZodString;
|
|
3172
3196
|
updatedAt: z.ZodString;
|
|
3173
3197
|
}, z.core.$strip>;
|
|
3174
3198
|
type SubscriptionPlan = z.infer<typeof SubscriptionPlanSchema>;
|
|
3199
|
+
declare const UserEntitlementSourceSchema: z.ZodEnum<{
|
|
3200
|
+
free_plan: "free_plan";
|
|
3201
|
+
subscription: "subscription";
|
|
3202
|
+
manual: "manual";
|
|
3203
|
+
}>;
|
|
3204
|
+
declare const UserEntitlementSchema: z.ZodObject<{
|
|
3205
|
+
id: z.ZodString;
|
|
3206
|
+
userId: z.ZodString;
|
|
3207
|
+
source: z.ZodEnum<{
|
|
3208
|
+
free_plan: "free_plan";
|
|
3209
|
+
subscription: "subscription";
|
|
3210
|
+
manual: "manual";
|
|
3211
|
+
}>;
|
|
3212
|
+
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
3213
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
3214
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3215
|
+
createdAt: z.ZodString;
|
|
3216
|
+
updatedAt: z.ZodString;
|
|
3217
|
+
}, z.core.$strip>;
|
|
3218
|
+
type UserEntitlement = z.infer<typeof UserEntitlementSchema>;
|
|
3175
3219
|
/**
|
|
3176
3220
|
* Subscription model schema
|
|
3177
3221
|
*/
|
|
@@ -3191,8 +3235,15 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
3191
3235
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3192
3236
|
id: z.ZodString;
|
|
3193
3237
|
name: z.ZodString;
|
|
3194
|
-
type: z.
|
|
3195
|
-
|
|
3238
|
+
type: z.ZodEnum<{
|
|
3239
|
+
free: "free";
|
|
3240
|
+
plus: "plus";
|
|
3241
|
+
pro: "pro";
|
|
3242
|
+
enterprise: "enterprise";
|
|
3243
|
+
lite: "lite";
|
|
3244
|
+
max: "max";
|
|
3245
|
+
}>;
|
|
3246
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3196
3247
|
price: z.ZodNumber;
|
|
3197
3248
|
credits: z.ZodNumber;
|
|
3198
3249
|
features: z.ZodArray<z.ZodString>;
|
|
@@ -3202,6 +3253,7 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
3202
3253
|
maxPrivateClouds: z.ZodNumber;
|
|
3203
3254
|
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3204
3255
|
maxPrivateCloudMembers: z.ZodNumber;
|
|
3256
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3205
3257
|
createdAt: z.ZodString;
|
|
3206
3258
|
updatedAt: z.ZodString;
|
|
3207
3259
|
}, z.core.$strip>>>;
|
|
@@ -3227,8 +3279,15 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3227
3279
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3228
3280
|
id: z.ZodString;
|
|
3229
3281
|
name: z.ZodString;
|
|
3230
|
-
type: z.
|
|
3231
|
-
|
|
3282
|
+
type: z.ZodEnum<{
|
|
3283
|
+
free: "free";
|
|
3284
|
+
plus: "plus";
|
|
3285
|
+
pro: "pro";
|
|
3286
|
+
enterprise: "enterprise";
|
|
3287
|
+
lite: "lite";
|
|
3288
|
+
max: "max";
|
|
3289
|
+
}>;
|
|
3290
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3232
3291
|
price: z.ZodNumber;
|
|
3233
3292
|
credits: z.ZodNumber;
|
|
3234
3293
|
features: z.ZodArray<z.ZodString>;
|
|
@@ -3238,10 +3297,50 @@ declare const GetSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3238
3297
|
maxPrivateClouds: z.ZodNumber;
|
|
3239
3298
|
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3240
3299
|
maxPrivateCloudMembers: z.ZodNumber;
|
|
3300
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3241
3301
|
createdAt: z.ZodString;
|
|
3242
3302
|
updatedAt: z.ZodString;
|
|
3243
3303
|
}, z.core.$strip>>>;
|
|
3244
3304
|
}, z.core.$strip>>;
|
|
3305
|
+
effectivePlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3306
|
+
id: z.ZodString;
|
|
3307
|
+
name: z.ZodString;
|
|
3308
|
+
type: z.ZodEnum<{
|
|
3309
|
+
free: "free";
|
|
3310
|
+
plus: "plus";
|
|
3311
|
+
pro: "pro";
|
|
3312
|
+
enterprise: "enterprise";
|
|
3313
|
+
lite: "lite";
|
|
3314
|
+
max: "max";
|
|
3315
|
+
}>;
|
|
3316
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3317
|
+
price: z.ZodNumber;
|
|
3318
|
+
credits: z.ZodNumber;
|
|
3319
|
+
features: z.ZodArray<z.ZodString>;
|
|
3320
|
+
popular: z.ZodBoolean;
|
|
3321
|
+
enabled: z.ZodBoolean;
|
|
3322
|
+
privateCloudEnabled: z.ZodBoolean;
|
|
3323
|
+
maxPrivateClouds: z.ZodNumber;
|
|
3324
|
+
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3325
|
+
maxPrivateCloudMembers: z.ZodNumber;
|
|
3326
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3327
|
+
createdAt: z.ZodString;
|
|
3328
|
+
updatedAt: z.ZodString;
|
|
3329
|
+
}, z.core.$strip>>>;
|
|
3330
|
+
effectiveEntitlement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3331
|
+
id: z.ZodString;
|
|
3332
|
+
userId: z.ZodString;
|
|
3333
|
+
source: z.ZodEnum<{
|
|
3334
|
+
free_plan: "free_plan";
|
|
3335
|
+
subscription: "subscription";
|
|
3336
|
+
manual: "manual";
|
|
3337
|
+
}>;
|
|
3338
|
+
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
3339
|
+
planId: z.ZodNullable<z.ZodString>;
|
|
3340
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3341
|
+
createdAt: z.ZodString;
|
|
3342
|
+
updatedAt: z.ZodString;
|
|
3343
|
+
}, z.core.$strip>>>;
|
|
3245
3344
|
}, z.core.$strip>;
|
|
3246
3345
|
type GetSubscriptionResponse = z.infer<typeof GetSubscriptionResponseSchema>;
|
|
3247
3346
|
/**
|
|
@@ -3299,8 +3398,15 @@ declare const StopSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3299
3398
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3300
3399
|
id: z.ZodString;
|
|
3301
3400
|
name: z.ZodString;
|
|
3302
|
-
type: z.
|
|
3303
|
-
|
|
3401
|
+
type: z.ZodEnum<{
|
|
3402
|
+
free: "free";
|
|
3403
|
+
plus: "plus";
|
|
3404
|
+
pro: "pro";
|
|
3405
|
+
enterprise: "enterprise";
|
|
3406
|
+
lite: "lite";
|
|
3407
|
+
max: "max";
|
|
3408
|
+
}>;
|
|
3409
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3304
3410
|
price: z.ZodNumber;
|
|
3305
3411
|
credits: z.ZodNumber;
|
|
3306
3412
|
features: z.ZodArray<z.ZodString>;
|
|
@@ -3310,6 +3416,7 @@ declare const StopSubscriptionResponseSchema: z.ZodObject<{
|
|
|
3310
3416
|
maxPrivateClouds: z.ZodNumber;
|
|
3311
3417
|
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3312
3418
|
maxPrivateCloudMembers: z.ZodNumber;
|
|
3419
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3313
3420
|
createdAt: z.ZodString;
|
|
3314
3421
|
updatedAt: z.ZodString;
|
|
3315
3422
|
}, z.core.$strip>>>;
|
|
@@ -3336,7 +3443,7 @@ type UpdateSubscriptionResponse = z.infer<typeof UpdateSubscriptionResponseSchem
|
|
|
3336
3443
|
declare const SubscriptionTierSchema: z.ZodObject<{
|
|
3337
3444
|
id: z.ZodString;
|
|
3338
3445
|
name: z.ZodString;
|
|
3339
|
-
priceId: z.ZodString
|
|
3446
|
+
priceId: z.ZodNullable<z.ZodString>;
|
|
3340
3447
|
price: z.ZodNumber;
|
|
3341
3448
|
credits: z.ZodNumber;
|
|
3342
3449
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3351,7 +3458,7 @@ declare const GetSubscriptionTiersResponseSchema: z.ZodObject<{
|
|
|
3351
3458
|
tiers: z.ZodArray<z.ZodObject<{
|
|
3352
3459
|
id: z.ZodString;
|
|
3353
3460
|
name: z.ZodString;
|
|
3354
|
-
priceId: z.ZodString
|
|
3461
|
+
priceId: z.ZodNullable<z.ZodString>;
|
|
3355
3462
|
price: z.ZodNumber;
|
|
3356
3463
|
credits: z.ZodNumber;
|
|
3357
3464
|
popular: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3365,9 +3472,9 @@ type GetSubscriptionTiersResponse = z.infer<typeof GetSubscriptionTiersResponseS
|
|
|
3365
3472
|
declare const CreateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
3366
3473
|
name: z.ZodString;
|
|
3367
3474
|
type: z.ZodEnum<{
|
|
3368
|
-
|
|
3475
|
+
free: "free";
|
|
3476
|
+
plus: "plus";
|
|
3369
3477
|
pro: "pro";
|
|
3370
|
-
max: "max";
|
|
3371
3478
|
enterprise: "enterprise";
|
|
3372
3479
|
}>;
|
|
3373
3480
|
price: z.ZodNumber;
|
|
@@ -3378,6 +3485,7 @@ declare const CreateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
|
3378
3485
|
maxPrivateClouds: z.ZodOptional<z.ZodNumber>;
|
|
3379
3486
|
maxMachinesPerPrivateCloud: z.ZodOptional<z.ZodNumber>;
|
|
3380
3487
|
maxPrivateCloudMembers: z.ZodOptional<z.ZodNumber>;
|
|
3488
|
+
maxOnlineLocalMachines: z.ZodOptional<z.ZodNumber>;
|
|
3381
3489
|
}, z.core.$strip>;
|
|
3382
3490
|
type CreateSubscriptionPlanRequest = z.infer<typeof CreateSubscriptionPlanRequestSchema>;
|
|
3383
3491
|
/**
|
|
@@ -3392,6 +3500,7 @@ declare const UpdateSubscriptionPlanRequestSchema: z.ZodObject<{
|
|
|
3392
3500
|
maxPrivateClouds: z.ZodOptional<z.ZodNumber>;
|
|
3393
3501
|
maxMachinesPerPrivateCloud: z.ZodOptional<z.ZodNumber>;
|
|
3394
3502
|
maxPrivateCloudMembers: z.ZodOptional<z.ZodNumber>;
|
|
3503
|
+
maxOnlineLocalMachines: z.ZodOptional<z.ZodNumber>;
|
|
3395
3504
|
}, z.core.$strip>;
|
|
3396
3505
|
type UpdateSubscriptionPlanRequest = z.infer<typeof UpdateSubscriptionPlanRequestSchema>;
|
|
3397
3506
|
/**
|
|
@@ -3401,8 +3510,15 @@ declare const ListSubscriptionPlansResponseSchema: z.ZodObject<{
|
|
|
3401
3510
|
plans: z.ZodArray<z.ZodObject<{
|
|
3402
3511
|
id: z.ZodString;
|
|
3403
3512
|
name: z.ZodString;
|
|
3404
|
-
type: z.
|
|
3405
|
-
|
|
3513
|
+
type: z.ZodEnum<{
|
|
3514
|
+
free: "free";
|
|
3515
|
+
plus: "plus";
|
|
3516
|
+
pro: "pro";
|
|
3517
|
+
enterprise: "enterprise";
|
|
3518
|
+
lite: "lite";
|
|
3519
|
+
max: "max";
|
|
3520
|
+
}>;
|
|
3521
|
+
stripePriceId: z.ZodNullable<z.ZodString>;
|
|
3406
3522
|
price: z.ZodNumber;
|
|
3407
3523
|
credits: z.ZodNumber;
|
|
3408
3524
|
features: z.ZodArray<z.ZodString>;
|
|
@@ -3412,6 +3528,7 @@ declare const ListSubscriptionPlansResponseSchema: z.ZodObject<{
|
|
|
3412
3528
|
maxPrivateClouds: z.ZodNumber;
|
|
3413
3529
|
maxMachinesPerPrivateCloud: z.ZodNumber;
|
|
3414
3530
|
maxPrivateCloudMembers: z.ZodNumber;
|
|
3531
|
+
maxOnlineLocalMachines: z.ZodNumber;
|
|
3415
3532
|
createdAt: z.ZodString;
|
|
3416
3533
|
updatedAt: z.ZodString;
|
|
3417
3534
|
}, z.core.$strip>>;
|
|
@@ -4525,5 +4642,5 @@ declare function detectPreview(fs: FileSystemAdapter): Promise<PreviewMetadata |
|
|
|
4525
4642
|
*/
|
|
4526
4643
|
declare function decodeGitPath(rawPath: string): string;
|
|
4527
4644
|
|
|
4528
|
-
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4529
|
-
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|
|
4645
|
+
export { AcceptPrivateCloudInviteRequestSchema, AcceptPrivateCloudInviteResponseSchema, AddChatMemberRequestSchema, AddChatMemberResponseSchema, AdminResourceItemSchema, AgentCustomConfigSchema, AgentPermissionsSchema, AgentSchema, AgentTypeSchema, ApiErrorSchema, ApiKeySchema, ApprovalStatusResponseSchema, BillingStatsResponseSchema, BranchSchema, CONFIG_FILES, CancelCiRunResponseSchema, ChargeTransactionSchema, ChatMemberInputSchema, ChatMemberSchema, ChatSchema, ChatTypeSchema, ChatWithMembersSchema, CiProviderSchema, CiRunContextSchema, CiRunExecutionSchema, CiRunGitSchema, CiRunRepoSchema, CiRunStatusResponseSchema, CiRunStatusSchema, CloudJoinApprovalRequestSchema, CloudJoinRequestSchema, CloudJoinResultQuerySchema, CloudJoinStatusQuerySchema, CloudMachineSchema, CloudSchema, CompanionEnsureResponseSchema, CompanionWorkspaceFileSchema, ConfirmUploadRequestSchema, ConfirmUploadResponseSchema, ConsumeTransactionSchema, ContactCandidateSchema, ContactSchema, ContactTargetTypeSchema, CreateAgentRequestSchema, CreateAgentResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, CreateChatRequestSchema, CreateChatResponseSchema, CreateCheckoutRequestSchema, CreateCheckoutResponseSchema, CreateCiRunRequestSchema, CreateCiRunResponseSchema, CreateCloudRequestSchema, CreateCloudResponseSchema, CreateContactRequestSchema, CreateContactResponseSchema, CreateDirectRechargeCheckoutRequestSchema, CreateDirectRechargeCheckoutResponseSchema, CreateDraftAgentRequestSchema, CreateOAuthServerRequestSchema, CreateOAuthServerResponseSchema, CreatePortalRequestSchema, CreatePortalResponseSchema, CreatePrivateCloudInviteRequestSchema, CreatePrivateCloudInviteResponseSchema, CreatePrivateCloudRequestSchema, CreatePrivateCloudResponseSchema, CreateResourceRequestSchema, CreateSubscriptionPlanRequestSchema, CreditsBucketSchema, CreditsPackageSchema, CurrentSubscriptionPlanTypeSchema, DateSchema, DeleteAgentResponseSchema, DeleteApiKeyResponseSchema, DeleteContactResponseSchema, DeleteOAuthServerResponseSchema, DevCreateUserRequestSchema, DevCreateUserResponseSchema, DisplayConfigKeysSchema, DisplayConfigSchema, DraftAgentConfigSchema, DraftAgentSchema, ENTRY_FILE_PATTERNS, EmailLoginCodeRequestSchema, EmailLoginCodeResponseSchema, EmailLoginVerifyRequestSchema, EmailLoginVerifyResponseSchema, EmailPasswordLoginRequestSchema, EmailPasswordLoginResponseSchema, EnsureRepoChatRequestSchema, EnsureRepoChatResponseSchema, EnvironmentVariableSchema, FileItemSchema, FileStatsSchema, FileVisibilitySchema, GetAgentGitUrlResponseSchema, GetAgentResponseSchema, GetChatResponseSchema, GetEnvironmentVariablesResponseSchema, GetGitServerResponseSchema, GetGitUrlQuerySchema, GetGitUrlResponseSchema, GetInstallUrlResponseSchema, GetOAuthServerResponseSchema, GetPrivateCloudRunnerSecretResponseSchema, GetReferenceQuerySchema, GetRepositoryResponseSchema, GetSubscriptionResponseSchema, GetSubscriptionTiersResponseSchema, GetUploadUrlsRequestSchema, GetUploadUrlsResponseSchema, GetUserAgentsResponseSchema, GitHubIssueListItemSchema, GitHubIssueSchema, GitServerAccountInfoSchema, GitServerSchema, IGNORED_DIRECTORIES, IdSchema, JsonSchemaDocumentSchema, ListAdminResourcesResponseSchema, ListAgentsResponseSchema, ListApiKeysQuerySchema, ListApiKeysResponseSchema, ListBranchesResponseSchema, ListChatMembersResponseSchema, ListChatTasksResponseSchema, ListChatsQuerySchema, ListChatsResponseSchema, ListContactsResponseSchema, ListFilesQuerySchema, ListFilesResponseSchema, ListGitServersResponseSchema, ListIssuesQuerySchema, ListIssuesResponseSchema, ListMachineModelsResponseSchema, ListMachinesResponseSchema, ListOAuthServersPublicResponseSchema, ListOAuthServersQuerySchema, ListOAuthServersResponseSchema, ListPackagesQuerySchema, ListPackagesResponseSchema, ListPrivateCloudMembersResponseSchema, ListPrivateCloudsResponseSchema, ListPublicResourcesQuerySchema, ListPublicResourcesResponseSchema, ListReferencesQuerySchema, ListReferencesResponseSchema, ListRepositoriesResponseSchema, ListSubscriptionPlansResponseSchema, ListTransactionsQuerySchema, ListTransactionsResponseSchema, ListUserInboxResponseSchema, LocalMachineSchema, LogoutResponseSchema, MachineApprovalRequestSchema, MachineApprovalStatusQuerySchema, MachineAuthAuthorizedResponseSchema, MachineAuthRequestSchema, MachineAuthResultQuerySchema, MachineUnbindRequestSchema, MachineUnbindResponseSchema, OAuthAccountInfoSchema, OAuthBindCallbackResponseSchema, OAuthBindQuerySchema, OAuthBindResponseSchema, OAuthCallbackQuerySchema, OAuthCallbackResponseSchema, OAuthLoginQuerySchema, OAuthServerPublicSchema, OAuthServerSchema, OAuthUnbindResponseSchema, PaginatedResponseSchema, PreviewMetadata, PrivateCloudEntitlementSchema, PrivateCloudInviteSchema, PrivateCloudMemberSchema, PrivateCloudSummarySchema, ProfileEmailCodeRequestSchema, ProfileEmailCodeResponseSchema, PublicResourceItemSchema, PublishDraftAgentRequestSchema, PublishDraftAgentResponseSchema, RELEVANT_DEPENDENCIES, RTC_CHUNK_HEADER_SIZE, RechargeResponseSchema, RegisterCompanionRequestSchema, RegisterCompanionResponseSchema, RemoveChatMemberRequestSchema, RemovePrivateCloudMemberResponseSchema, RepositoryActorIdentitySchema, RepositoryReferenceCommentSchema, RepositoryReferenceCommentsResponseSchema, RepositoryReferenceDiffSchema, RepositoryReferenceKindSchema, RepositoryReferenceListItemSchema, RepositoryReferenceSchema, RepositorySchema, ResetSecretRequestSchema, ResetSecretResponseSchema, ResolveUserInboxItemResponseSchema, ResourceMetadataSchema, RtcChunkFlags, STATIC_FILE_EXTENSIONS, SearchContactCandidatesQuerySchema, SearchContactCandidatesResponseSchema, SenderTypeSchema, SetEnvironmentVariablesRequestSchema, ShareAuthQuerySchema, ShareAuthResponseSchema, SimpleSuccessSchema, StatsQuerySchema, StopSubscriptionResponseSchema, StripeCheckoutClientSchema, SubscriptionPlanSchema, SubscriptionPlanTypeSchema, SubscriptionSchema, SubscriptionTierSchema, SyncCloudMachineResponseSchema, SyncLocalMachineResponseSchema, SyncMachineModelsRequestSchema, SyncMachineModelsResponseSchema, SyncMachineRequestSchema, TaskSharePermissionsSchema, TaskTransactionsResponseSchema, ToggleApiKeyRequestSchema, ToggleOAuthServerRequestSchema, ToggleOAuthServerResponseSchema, TransactionSchema, UpdateAgentRequestSchema, UpdateAgentResponseSchema, UpdateApiKeyRequestSchema, UpdateDraftAgentRequestSchema, UpdateDraftAgentResponseSchema, UpdateOAuthServerRequestSchema, UpdateOAuthServerResponseSchema, UpdateResourceRequestSchema, UpdateSecretRequestSchema, UpdateSecretResponseSchema, UpdateSubscriptionPlanRequestSchema, UpdateSubscriptionRequestSchema, UpdateSubscriptionResponseSchema, UpdateUserProfileRequestSchema, UpdateUserProfileResponseSchema, UploadUrlResultSchema, UserBalanceResponseSchema, UserBasicInfoSchema, UserEntitlementSchema, UserEntitlementSourceSchema, UserInboxItemSchema, UserInboxStatusSchema, UserInboxSubjectTypeSchema, UserProfileResponseSchema, UserWithOAuthAccountsSchema, ValidateMachineResponseSchema, buildRtcChunkFrame, createKeyPair, createKeyPairWithUit8Array, createTaskEncryptionPayload, decodeBase64, decodeGitPath, decodeRtcChunkHeader, decryptAES, decryptFileContent, decryptMachineEncryptionKey, decryptSdkMessage, decryptWithEphemeralKey, detectPreview, encodeBase64, encodeBase64Url, encodeRtcChunkHeader, encryptAES, encryptFileContent, encryptMachineEncryptionKey, encryptSdkMessage, encryptWithEphemeralKey, generateAESKey, generateAESKeyBase64, getRandomBytes, machineAuth, splitRtcChunkFrame, userAuth, workerAuth };
|
|
4646
|
+
export type { AcceptPrivateCloudInviteRequest, AcceptPrivateCloudInviteResponse, AddChatMemberRequest, AddChatMemberResponse, AdminResourceItem, Agent, AgentCustomConfig, AgentPermissions, AgentType, ApiError, ApiKey, ApprovalStatusResponse, AuthPayload, BillingStatsResponse, Branch, CancelCiRunResponse, ChargeTransaction, Chat, ChatMember, ChatMemberInput, ChatType, ChatWithMembers, CiProvider, CiRunContext, CiRunExecution, CiRunGit, CiRunRepo, CiRunStatus, CiRunStatusResponse, ClientType, Cloud, CloudJoinApprovalRequest, CloudJoinRequest, CloudJoinResultQuery, CloudJoinStatusQuery, CloudMachine, CompanionEnsureResponse, CompanionWorkspaceFile, ConfirmUploadRequest, ConfirmUploadResponse, ConsumeTransaction, Contact, ContactCandidate, ContactTargetType, CreateAgentRequest, CreateAgentResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateChatRequest, CreateChatResponse, CreateCheckoutRequest, CreateCheckoutResponse, CreateCiRunRequest, CreateCiRunResponse, CreateCloudRequest, CreateCloudResponse, CreateContactRequest, CreateContactResponse, CreateDirectRechargeCheckoutRequest, CreateDirectRechargeCheckoutResponse, CreateDraftAgentRequest, CreateOAuthServerRequest, CreateOAuthServerResponse, CreatePortalRequest, CreatePortalResponse, CreatePrivateCloudInviteRequest, CreatePrivateCloudInviteResponse, CreatePrivateCloudRequest, CreatePrivateCloudResponse, CreateResourceRequest, CreateSubscriptionPlanRequest, CreditsBucket, CreditsPackage, CurrentSubscriptionPlanType, DeleteAgentResponse, DeleteApiKeyResponse, DeleteContactResponse, DeleteOAuthServerResponse, DevCreateUserRequest, DevCreateUserResponse, DisplayConfig, DisplayConfigKeys, DraftAgent, DraftAgentConfig, EmailLoginCodeRequest, EmailLoginCodeResponse, EmailLoginVerifyRequest, EmailLoginVerifyResponse, EmailPasswordLoginRequest, EmailPasswordLoginResponse, EnsureRepoChatRequest, EnsureRepoChatResponse, EnvironmentVariable, FileItem, FileStats, FileSystemAdapter, FileVisibility, GetAgentGitUrlResponse, GetAgentResponse, GetChatResponse, GetEnvironmentVariablesResponse, GetGitServerResponse, GetGitUrlQuery, GetGitUrlResponse, GetInstallUrlResponse, GetOAuthServerResponse, GetPrivateCloudRunnerSecretResponse, GetReferenceQuery, GetRepositoryResponse, GetSubscriptionResponse, GetSubscriptionTiersResponse, GetUploadUrlsRequest, GetUploadUrlsResponse, GetUserAgentsResponse, GitHubIssue, GitHubIssueListItem, GitServer, GitServerAccountInfo, JsonSchemaDocument, ListAdminResourcesResponse, ListAgentsResponse, ListApiKeysQuery, ListApiKeysResponse, ListBranchesResponse, ListChatMembersResponse, ListChatTasksResponse, ListChatsQuery, ListChatsResponse, ListContactsResponse, ListFilesQuery, ListFilesResponse, ListGitServersResponse, ListIssuesQuery, ListIssuesResponse, ListMachineModelsResponse, ListMachinesResponse, ListOAuthServersPublicResponse, ListOAuthServersQuery, ListOAuthServersResponse, ListPackagesQuery, ListPackagesResponse, ListPrivateCloudMembersResponse, ListPrivateCloudsResponse, ListPublicResourcesQuery, ListPublicResourcesResponse, ListReferencesQuery, ListReferencesResponse, ListRepositoriesResponse, ListSubscriptionPlansResponse, ListTransactionsQuery, ListTransactionsResponse, ListUserInboxResponse, LocalMachine, LogoutResponse, MachineApprovalRequest, MachineApprovalStatusQuery, MachineAuthAuthorizedResponse, MachineAuthRequest, MachineAuthResultQuery, MachineEncryptionKey, MachineUnbindRequest, MachineUnbindResponse, OAuthAccountInfo, OAuthBindCallbackResponse, OAuthBindQuery, OAuthBindResponse, OAuthCallbackQuery, OAuthCallbackResponse, OAuthLoginQuery, OAuthServer, OAuthServerPublic, OAuthUnbindResponse, PrivateCloudEntitlement, PrivateCloudInvite, PrivateCloudMember, PrivateCloudSummary, ProfileEmailCodeRequest, ProfileEmailCodeResponse, PublicResourceItem, PublishDraftAgentRequest, PublishDraftAgentResponse, RechargeResponse, RegisterCompanionRequest, RegisterCompanionResponse, RemoveChatMemberRequest, RemovePrivateCloudMemberResponse, Repository, RepositoryActorIdentity, RepositoryReference, RepositoryReferenceComment, RepositoryReferenceCommentsResponse, RepositoryReferenceDiff, RepositoryReferenceKind, RepositoryReferenceListItem, ResetSecretRequest, ResetSecretResponse, ResolveUserInboxItemResponse, ResourceMetadata, RtcChunkFrame, RtcChunkHeader, RtcControlChannel, RtcControlMessage, SearchContactCandidatesQuery, SearchContactCandidatesResponse, SenderType, SetEnvironmentVariablesRequest, ShareAuthQuery, ShareAuthResponse, SimpleSuccess, StatsQuery, StopSubscriptionResponse, StripeCheckoutClient, Subscription, SubscriptionPlan, SubscriptionPlanType, SubscriptionTier, SyncCloudMachineResponse, SyncLocalMachineResponse, SyncMachineModelsRequest, SyncMachineModelsResponse, SyncMachineRequest, TaskEncryptionPayload, TaskSharePermissions, TaskTransactionsResponse, ToggleApiKeyRequest, ToggleOAuthServerRequest, ToggleOAuthServerResponse, Transaction, UpdateAgentRequest, UpdateAgentResponse, UpdateApiKeyRequest, UpdateDraftAgentRequest, UpdateDraftAgentResponse, UpdateOAuthServerRequest, UpdateOAuthServerResponse, UpdateResourceRequest, UpdateSecretRequest, UpdateSecretResponse, UpdateSubscriptionPlanRequest, UpdateSubscriptionRequest, UpdateSubscriptionResponse, UpdateUserProfileRequest, UpdateUserProfileResponse, UploadUrlResult, UserBalanceResponse, UserBasicInfo, UserEntitlement, UserInboxItem, UserInboxStatus, UserInboxSubjectType, UserProfileResponse, UserWithOAuthAccounts, ValidateMachineResponse };
|