controlresell 2.8.53 → 2.8.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "controlresell",
3
- "version": "2.8.53",
3
+ "version": "2.8.55",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "dependencies": {
@@ -2,6 +2,7 @@ import { z } from "zod";
2
2
  export declare const SubscriptionStatusSchema: z.ZodObject<{
3
3
  state: z.ZodUnknown;
4
4
  isEligibleToTrial: z.ZodBoolean;
5
+ trialDaysRemaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5
6
  history: z.ZodArray<z.ZodObject<{
6
7
  id: z.ZodString;
7
8
  userId: z.ZodNumber;
@@ -55,6 +56,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
55
56
  requestId?: string | null | undefined;
56
57
  }[];
57
58
  state?: unknown;
59
+ trialDaysRemaining?: number | null | undefined;
58
60
  }, {
59
61
  isEligibleToTrial: boolean;
60
62
  history: {
@@ -71,6 +73,7 @@ export declare const SubscriptionStatusSchema: z.ZodObject<{
71
73
  requestId?: string | null | undefined;
72
74
  }[];
73
75
  state?: unknown;
76
+ trialDaysRemaining?: number | null | undefined;
74
77
  }>;
75
78
  export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
76
79
  //# sourceMappingURL=SubscriptionStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionStatus.d.ts","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAInC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
1
+ {"version":3,"file":"SubscriptionStatus.d.ts","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
@@ -6,6 +6,7 @@ const SubscriptionHistory_1 = require("../../../subscriptions/models/Subscriptio
6
6
  exports.SubscriptionStatusSchema = zod_1.z.object({
7
7
  state: zod_1.z.unknown(),
8
8
  isEligibleToTrial: zod_1.z.boolean(),
9
+ trialDaysRemaining: zod_1.z.number().int().nullish(),
9
10
  history: zod_1.z.array(SubscriptionHistory_1.SubscriptionHistorySchema)
10
11
  });
11
12
  //# sourceMappingURL=SubscriptionStatus.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,2FAA2F;AAE9E,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE;IAClB,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE;IAC9B,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAyB,CAAC;CAC9C,CAAC,CAAA"}
1
+ {"version":3,"file":"SubscriptionStatus.js","sourceRoot":"","sources":["SubscriptionStatus.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,2FAA2F;AAE9E,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE;IAClB,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE;IAC9B,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE;IAC9C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAyB,CAAC;CAC9C,CAAC,CAAA"}
@@ -4,6 +4,7 @@ import {SubscriptionHistorySchema} from "../../../subscriptions/models/Subscript
4
4
  export const SubscriptionStatusSchema = z.object({
5
5
  state: z.unknown(),
6
6
  isEligibleToTrial: z.boolean(),
7
+ trialDaysRemaining: z.number().int().nullish(),
7
8
  history: z.array(SubscriptionHistorySchema)
8
9
  })
9
10
  export type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>