@supernova-studio/client 1.44.6 → 1.44.8

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.mjs CHANGED
@@ -436,6 +436,7 @@ var Subscription = z12.object({
436
436
  internalStatus: nullishToOptional(InternalStatusSchema),
437
437
  stripeSubscriptionId: nullishToOptional(z12.string()),
438
438
  stripeCustomerId: nullishToOptional(z12.string()),
439
+ stripeScheduleId: nullishToOptional(z12.string()),
439
440
  product: ProductCodeSchema,
440
441
  planPriceId: z12.string(),
441
442
  planInterval: BillingIntervalSchema,
@@ -7445,6 +7446,7 @@ var DTOCreditsPrices = z248.object({
7445
7446
  var DTOSubscription = z248.object({
7446
7447
  stripeSubscriptionId: z248.string().optional(),
7447
7448
  stripeCustomerId: z248.string().optional(),
7449
+ stripeScheduleId: z248.string().optional(),
7448
7450
  status: InternalStatusSchema.optional(),
7449
7451
  subscriptionStatus: StripeSubscriptionStatusSchema.optional(),
7450
7452
  internalStatus: InternalStatusSchema.optional(),
@@ -7482,8 +7484,15 @@ var DTOSubscription = z248.object({
7482
7484
  builderSeatPriceId: z248.string().optional(),
7483
7485
  additionalCreditsPriceId: z248.string().optional()
7484
7486
  });
7487
+ var DTOSubscriptionUpcomingChange = z248.object({
7488
+ effectiveAt: z248.string(),
7489
+ fullSeatLimit: z248.number().optional(),
7490
+ builderSeatLimit: z248.number().optional(),
7491
+ additionalCredits: z248.number().optional()
7492
+ });
7485
7493
  var DTOSubscriptionResponse = z248.object({
7486
7494
  subscription: DTOSubscription,
7495
+ subscriptionUpcomingChange: DTOSubscriptionUpcomingChange.optional(),
7487
7496
  creditBalance: DTOCreditBalance.optional(),
7488
7497
  creditsPrices: DTOCreditsPrices
7489
7498
  });
@@ -19132,7 +19141,9 @@ var ForgeProjectContentRepository = class {
19132
19141
  artifacts: state.artifacts,
19133
19142
  features: state.features,
19134
19143
  artifactSections: state.artifactSections,
19135
- featureSections: state.featureSections
19144
+ featureSections: state.featureSections,
19145
+ // we don't apply local actions to relations, so we can just use the Yjs state
19146
+ relations: yState.relations
19136
19147
  };
19137
19148
  }
19138
19149
  onYUpdate() {
@@ -19761,6 +19772,7 @@ export {
19761
19772
  DTOStorybookUploadUrlResponse,
19762
19773
  DTOSubscription,
19763
19774
  DTOSubscriptionResponse,
19775
+ DTOSubscriptionUpcomingChange,
19764
19776
  DTOSubscriptionUpdateInput,
19765
19777
  DTOSubscriptionUpdatePreview,
19766
19778
  DTOSubscriptionUpdatePreviewResponse,