@supernova-studio/model 1.10.19 → 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 +540 -9973
- package/dist/index.d.ts +540 -9973
- package/dist/index.js +12 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
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 = z13.object({
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
internalStatus: InternalStatusSchema
|
|
258
|
-
|
|
252
|
+
card: nullishToOptional(CardSchema),
|
|
253
|
+
seats: z13.number(),
|
|
254
|
+
seatLimit: z13.number(),
|
|
255
|
+
status: nullishToOptional(InternalStatusSchema),
|
|
256
|
+
subscriptionStatus: nullishToOptional(StripeSubscriptionStatusSchema),
|
|
257
|
+
internalStatus: nullishToOptional(InternalStatusSchema),
|
|
258
|
+
stripeSubscriptionId: nullishToOptional(z13.string()),
|
|
259
|
+
stripeCustomerId: nullishToOptional(z13.string()),
|
|
259
260
|
product: ProductCodeSchema,
|
|
260
|
-
featuresSummary: FeaturesSummary.optional(),
|
|
261
|
-
stripeProductDescription: z13.string().optional(),
|
|
262
|
-
stripeProductFeatures: z13.array(z13.string()).optional(),
|
|
263
|
-
stripeProductAdditionalFeatures: z13.array(z13.string()).optional(),
|
|
264
|
-
stripeSubscriptionMainItemId: z13.string().optional(),
|
|
265
261
|
planPriceId: z13.string(),
|
|
266
262
|
planInterval: BillingIntervalSchema,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
currentPeriodStart: z13.string().optional(),
|
|
272
|
-
currentPeriodEnd: z13.string().optional(),
|
|
273
|
-
subscriptionStatusUpdatedAt: z13.string().optional(),
|
|
274
|
-
cancelAt: z13.string().nullish(),
|
|
275
|
-
card: CardSchema.optional(),
|
|
276
|
-
// New
|
|
277
|
-
amount: z13.number().nullish(),
|
|
278
|
-
isTrial: z13.boolean().optional(),
|
|
279
|
-
billingType: BillingTypeSchema.optional(),
|
|
280
|
-
daysUntilDue: z13.number().optional()
|
|
263
|
+
currentPeriodStart: nullishToOptional(z13.string()),
|
|
264
|
+
currentPeriodEnd: nullishToOptional(z13.string()),
|
|
265
|
+
cancelAt: nullishToOptional(z13.string()),
|
|
266
|
+
subscriptionStatusUpdatedAt: nullishToOptional(z13.string())
|
|
281
267
|
});
|
|
282
268
|
|
|
283
269
|
// src/chat-threads/chat-message.ts
|