shred-api-client 2.4.1 → 2.4.3

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.ts CHANGED
@@ -551,18 +551,18 @@ declare const SubscriptionSchema: z.ZodObject<{
551
551
  } | undefined;
552
552
  }>;
553
553
  declare const SubscriptionSummarySchema: z.ZodObject<{
554
- tenantId: z.ZodBoolean;
554
+ tenantId: z.ZodString;
555
555
  productId: z.ZodString;
556
556
  productName: z.ZodString;
557
557
  email: z.ZodString;
558
558
  }, "strip", z.ZodTypeAny, {
559
559
  email: string;
560
- tenantId: boolean;
560
+ tenantId: string;
561
561
  productId: string;
562
562
  productName: string;
563
563
  }, {
564
564
  email: string;
565
- tenantId: boolean;
565
+ tenantId: string;
566
566
  productId: string;
567
567
  productName: string;
568
568
  }>;
package/dist/index.js CHANGED
@@ -4598,7 +4598,7 @@ var SubscriptionAPI = class {
4598
4598
  null,
4599
4599
  ctx
4600
4600
  );
4601
- return data.url;
4601
+ return data;
4602
4602
  }
4603
4603
  async createCheckout(planId, ctx) {
4604
4604
  const endpointInfo = subscription_exports.Endpoints.Checkout;
@@ -5897,7 +5897,7 @@ var SubscriptionSchema = external_exports.object({
5897
5897
  plan: PlanSchema.optional()
5898
5898
  });
5899
5899
  var SubscriptionSummarySchema = external_exports.object({
5900
- tenantId: external_exports.boolean(),
5900
+ tenantId: external_exports.string(),
5901
5901
  productId: external_exports.string(),
5902
5902
  productName: external_exports.string(),
5903
5903
  email: external_exports.string()