@cofondateurauchomage/libs 1.1.139 → 1.1.140

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,6 +29,7 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
29
29
  plan: TPlan;
30
30
  };
31
31
  updateMetaStripe: {
32
+ apiSecretKey: string;
32
33
  stripeId: string;
33
34
  stripeFirstPaidAt?: number;
34
35
  stripeLastPaymentAt?: number;
@@ -166,12 +166,15 @@ 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
171
  stripeFirstPaidAt: zod_1.z.number().optional(),
171
172
  stripeLastPaymentAt: zod_1.z.number().optional(),
172
173
  stripeSubscriptionEndedAt: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
173
174
  stripeCurrentPeriodEnd: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
174
175
  stripeNetSpendDeltaCents: zod_1.z.number().int().optional(),
176
+ subscriptionCancellationFeedback: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
177
+ subscriptionCancellationComment: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
175
178
  }),
176
179
  addStatsAssociation: zod_1.z.object({}),
177
180
  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.140",
4
4
  "description": "",
5
5
  "main": "build/index",
6
6
  "scripts": {