@cofondateurauchomage/libs 1.1.139 → 1.1.141

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/build/api.d.ts CHANGED
@@ -29,8 +29,8 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
29
29
  plan: TPlan;
30
30
  };
31
31
  updateMetaStripe: {
32
+ apiSecretKey: string;
32
33
  stripeId: string;
33
- stripeFirstPaidAt?: number;
34
34
  stripeLastPaymentAt?: number;
35
35
  stripeSubscriptionEndedAt?: number | null;
36
36
  stripeCurrentPeriodEnd?: number | null;
@@ -166,12 +166,14 @@ const schemasForAllRoutes = {
166
166
  plan: zod_1.z.enum(["free", "pro", "premium"]),
167
167
  }),
168
168
  updateMetaStripe: zod_1.z.object({
169
+ apiSecretKey: zod_1.z.string(),
169
170
  stripeId: zStrMax50,
170
- stripeFirstPaidAt: zod_1.z.number().optional(),
171
171
  stripeLastPaymentAt: zod_1.z.number().optional(),
172
172
  stripeSubscriptionEndedAt: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
173
173
  stripeCurrentPeriodEnd: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
174
174
  stripeNetSpendDeltaCents: zod_1.z.number().int().optional(),
175
+ subscriptionCancellationFeedback: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
176
+ subscriptionCancellationComment: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
175
177
  }),
176
178
  addStatsAssociation: zod_1.z.object({}),
177
179
  updateNewsletter: zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofondateurauchomage/libs",
3
- "version": "1.1.139",
3
+ "version": "1.1.141",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {