@cofondateurauchomage/libs 1.1.157 → 1.1.159
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 +2 -3
- package/build/api.validate.js +2 -2
- package/build/db.model.d.ts +4 -2
- package/build/utils/index.d.ts +0 -1
- package/build/utils/index.js +0 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -35,9 +35,8 @@ export type BodyForO<O extends CloudFunctionNames | RouteNames> = {
|
|
|
35
35
|
stripeLastPaymentAt?: number;
|
|
36
36
|
stripeSubscriptionEndedAt?: number | null;
|
|
37
37
|
stripeCurrentPeriodEnd?: number | null;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
stripeNetSpendDeltaCents?: number;
|
|
38
|
+
stripeSpentCents?: number;
|
|
39
|
+
stripeRefundedCents?: number;
|
|
41
40
|
subscriptionCancellationFeedback?: string | null;
|
|
42
41
|
subscriptionCancellationComment?: string | null;
|
|
43
42
|
};
|
package/build/api.validate.js
CHANGED
|
@@ -172,8 +172,8 @@ const schemasForAllRoutes = {
|
|
|
172
172
|
stripeLastPaymentAt: zod_1.z.number().optional(),
|
|
173
173
|
stripeSubscriptionEndedAt: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
|
|
174
174
|
stripeCurrentPeriodEnd: zod_1.z.union([zod_1.z.number(), zod_1.z.null()]).optional(),
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
stripeSpentCents: zod_1.z.number().int().optional(),
|
|
176
|
+
stripeRefundedCents: zod_1.z.number().int().optional(),
|
|
177
177
|
subscriptionCancellationFeedback: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
|
|
178
178
|
subscriptionCancellationComment: zod_1.z.union([zod_1.z.string(), zod_1.z.null()]).optional(),
|
|
179
179
|
}),
|
package/build/db.model.d.ts
CHANGED
|
@@ -95,8 +95,10 @@ export interface IStripeMeta {
|
|
|
95
95
|
stripeSubscriptionEndedAt?: number;
|
|
96
96
|
/** Stripe `current_period_end` for the active subscription (unix ms); cleared when no active sub. */
|
|
97
97
|
stripeCurrentPeriodEnd?: number;
|
|
98
|
-
/** Lifetime
|
|
99
|
-
|
|
98
|
+
/** Lifetime total spent cents. */
|
|
99
|
+
stripeTotalSpentCents?: number;
|
|
100
|
+
/** Lifetime total refunded cents. */
|
|
101
|
+
stripeTotalRefundedCents?: number;
|
|
100
102
|
/** Stripe `cancellation_details.feedback`. */
|
|
101
103
|
subscriptionCancellationFeedback?: string;
|
|
102
104
|
subscriptionCancellationComment?: string;
|
package/build/utils/index.d.ts
CHANGED
package/build/utils/index.js
CHANGED
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./arrayUtils"), exports);
|
|
18
|
-
__exportStar(require("./crmSearchText"), exports);
|
|
19
18
|
__exportStar(require("./errorUtils"), exports);
|
|
20
19
|
__exportStar(require("./objectUtils"), exports);
|
|
21
20
|
__exportStar(require("./stringUtils"), exports);
|