@supernova-studio/model 1.10.18 → 1.10.20
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.d.mts +543 -9973
- package/dist/index.d.ts +543 -9973
- package/dist/index.js +14 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -249,35 +249,21 @@ var StripeSubscriptionStatus = StripeSubscriptionStatusSchema.enum;
|
|
|
249
249
|
var InternalStatus = InternalStatusSchema.enum;
|
|
250
250
|
var BillingType = BillingTypeSchema.enum;
|
|
251
251
|
var Subscription = _zod.z.object({
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
internalStatus: InternalStatusSchema
|
|
258
|
-
|
|
252
|
+
card: nullishToOptional(CardSchema),
|
|
253
|
+
seats: _zod.z.number(),
|
|
254
|
+
seatLimit: _zod.z.number(),
|
|
255
|
+
status: nullishToOptional(InternalStatusSchema),
|
|
256
|
+
subscriptionStatus: nullishToOptional(StripeSubscriptionStatusSchema),
|
|
257
|
+
internalStatus: nullishToOptional(InternalStatusSchema),
|
|
258
|
+
stripeSubscriptionId: nullishToOptional(_zod.z.string()),
|
|
259
|
+
stripeCustomerId: nullishToOptional(_zod.z.string()),
|
|
259
260
|
product: ProductCodeSchema,
|
|
260
|
-
featuresSummary: FeaturesSummary.optional(),
|
|
261
|
-
stripeProductDescription: _zod.z.string().optional(),
|
|
262
|
-
stripeProductFeatures: _zod.z.array(_zod.z.string()).optional(),
|
|
263
|
-
stripeProductAdditionalFeatures: _zod.z.array(_zod.z.string()).optional(),
|
|
264
|
-
stripeSubscriptionMainItemId: _zod.z.string().optional(),
|
|
265
261
|
planPriceId: _zod.z.string(),
|
|
266
262
|
planInterval: BillingIntervalSchema,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
currentPeriodStart: _zod.z.string().optional(),
|
|
272
|
-
currentPeriodEnd: _zod.z.string().optional(),
|
|
273
|
-
subscriptionStatusUpdatedAt: _zod.z.string().optional(),
|
|
274
|
-
cancelAt: _zod.z.string().nullish(),
|
|
275
|
-
card: CardSchema.optional(),
|
|
276
|
-
// New
|
|
277
|
-
amount: _zod.z.number().nullish(),
|
|
278
|
-
isTrial: _zod.z.boolean().optional(),
|
|
279
|
-
billingType: BillingTypeSchema.optional(),
|
|
280
|
-
daysUntilDue: _zod.z.number().optional()
|
|
263
|
+
currentPeriodStart: nullishToOptional(_zod.z.string()),
|
|
264
|
+
currentPeriodEnd: nullishToOptional(_zod.z.string()),
|
|
265
|
+
cancelAt: nullishToOptional(_zod.z.string()),
|
|
266
|
+
subscriptionStatusUpdatedAt: nullishToOptional(_zod.z.string())
|
|
281
267
|
});
|
|
282
268
|
|
|
283
269
|
// src/chat-threads/chat-message.ts
|
|
@@ -6374,7 +6360,8 @@ var ForgeProject = _zod.z.object({
|
|
|
6374
6360
|
tags: ForgeProjectTag,
|
|
6375
6361
|
updatedAt: _zod.z.coerce.date().optional(),
|
|
6376
6362
|
workspaceId: _zod.z.string(),
|
|
6377
|
-
accessMode: ForgeProjectAccessMode
|
|
6363
|
+
accessMode: ForgeProjectAccessMode,
|
|
6364
|
+
isArchived: _zod.z.boolean().optional()
|
|
6378
6365
|
});
|
|
6379
6366
|
|
|
6380
6367
|
// src/integrations/external-oauth-request.ts
|