@platforma-sdk/ui-vue 1.29.22 → 1.29.23

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/lib.js +4801 -4779
  3. package/dist/lib.js.map +1 -1
  4. package/dist/lib.umd.cjs +16 -16
  5. package/dist/lib.umd.cjs.map +1 -1
  6. package/dist/src/plugins/Monetization/EndOfPeriod.vue.d.ts +6 -0
  7. package/dist/src/plugins/Monetization/EndOfPeriod.vue.d.ts.map +1 -0
  8. package/dist/src/plugins/Monetization/LimitCard.vue.d.ts +1 -0
  9. package/dist/src/plugins/Monetization/LimitCard.vue.d.ts.map +1 -1
  10. package/dist/src/plugins/Monetization/MonetizationSidebar.vue.d.ts.map +1 -1
  11. package/dist/src/plugins/Monetization/RunStatus.vue.d.ts +1 -0
  12. package/dist/src/plugins/Monetization/RunStatus.vue.d.ts.map +1 -1
  13. package/dist/src/plugins/Monetization/UserCabinetCard.vue.d.ts +1 -1
  14. package/dist/src/plugins/Monetization/UserCabinetCard.vue.d.ts.map +1 -1
  15. package/dist/src/plugins/Monetization/useInfo.d.ts +16 -3
  16. package/dist/src/plugins/Monetization/useInfo.d.ts.map +1 -1
  17. package/dist/src/plugins/Monetization/validation.d.ts +144 -54
  18. package/dist/src/plugins/Monetization/validation.d.ts.map +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  21. package/package.json +3 -3
  22. package/src/plugins/Monetization/EndOfPeriod.vue +43 -0
  23. package/src/plugins/Monetization/LimitCard.vue +27 -11
  24. package/src/plugins/Monetization/MonetizationSidebar.vue +33 -201
  25. package/src/plugins/Monetization/RunStatus.vue +28 -15
  26. package/src/plugins/Monetization/UserCabinetCard.vue +27 -126
  27. package/src/plugins/Monetization/useInfo.ts +9 -0
  28. package/src/plugins/Monetization/validation.ts +13 -3
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ endOfPeriod: string | null;
3
+ };
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ export default _default;
6
+ //# sourceMappingURL=EndOfPeriod.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EndOfPeriod.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/EndOfPeriod.vue"],"names":[],"mappings":"AA+CA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;;AAuEF,wBAOG"}
@@ -1,4 +1,5 @@
1
1
  type __VLS_Props = {
2
+ type: 'unique_launches' | 'volume_limit';
2
3
  label: string;
3
4
  used: number;
4
5
  toSpend: number;
@@ -1 +1 @@
1
- {"version":3,"file":"LimitCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/LimitCard.vue"],"names":[],"mappings":"AAwKA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;AAuGF,wBAOG"}
1
+ {"version":3,"file":"LimitCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/LimitCard.vue"],"names":[],"mappings":"AAwLA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,iBAAiB,GAAG,cAAc,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;AAsHF,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"MonetizationSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/MonetizationSidebar.vue"],"names":[],"mappings":";AAyfA,wBAKG"}
1
+ {"version":3,"file":"MonetizationSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/MonetizationSidebar.vue"],"names":[],"mappings":";AA2UA,wBAKG"}
@@ -1,5 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  canRun: boolean | undefined;
3
+ statusText: string | undefined;
3
4
  };
4
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
5
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"RunStatus.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/RunStatus.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B,CAAC;;AAsGF,wBAOG"}
1
+ {"version":3,"file":"RunStatus.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/RunStatus.vue"],"names":[],"mappings":"AAoHA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;;AA2GF,wBAOG"}
@@ -1,6 +1,6 @@
1
1
  type __VLS_Props = {
2
2
  userCabinetUrl: string;
3
3
  };
4
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=UserCabinetCard.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserCabinetCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/UserCabinetCard.vue"],"names":[],"mappings":"AA0MA,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;;AAoGF,wBAMG"}
1
+ {"version":3,"file":"UserCabinetCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/UserCabinetCard.vue"],"names":[],"mappings":"AAuGA,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;;AA+HF,wBAOG"}
@@ -7,16 +7,29 @@ export declare function useInfo(): {
7
7
  canRun: boolean;
8
8
  mnz: {
9
9
  details: {
10
- spentRuns: number;
11
- runsToSpend: number;
12
- willRemainAfterRun: number | null;
13
10
  subscription?: unknown;
14
11
  };
15
12
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
13
+ endOfBillingPeriod?: string | null | undefined;
14
+ limits?: {
15
+ type: "unique_launches" | "volume_limit";
16
+ used: number;
17
+ toSpend: number;
18
+ available: number | null;
19
+ }[] | undefined;
16
20
  };
21
+ customerEmail?: string | undefined;
17
22
  } | undefined>;
18
23
  error: import("vue").ComputedRef<unknown>;
19
24
  canRun: import("vue").ComputedRef<boolean>;
20
25
  status: import("vue").ComputedRef<"select-tariff" | "active" | "payment_required" | "limits_exceeded" | undefined>;
26
+ customerEmail: import("vue").ComputedRef<string | undefined>;
27
+ endOfBillingPeriod: import("vue").ComputedRef<string | null | undefined>;
28
+ limits: import("vue").ComputedRef<{
29
+ type: "unique_launches" | "volume_limit";
30
+ used: number;
31
+ toSpend: number;
32
+ available: number | null;
33
+ }[] | undefined>;
21
34
  };
22
35
  //# sourceMappingURL=useInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInfo.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/useInfo.ts"],"names":[],"mappings":"AAKA,wBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;EA8CtB"}
1
+ {"version":3,"file":"useInfo.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/useInfo.ts"],"names":[],"mappings":"AAKA,wBAAgB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDtB"}
@@ -1,44 +1,77 @@
1
1
  import { z } from 'zod';
2
2
  declare const MonetizationType: z.ZodUnion<[z.ZodLiteral<"trial">, z.ZodLiteral<"free">, z.ZodLiteral<"single_payment">, z.ZodLiteral<"subscription">, z.ZodLiteral<"base">]>;
3
+ export declare const Limit: z.ZodObject<{
4
+ type: z.ZodUnion<[z.ZodLiteral<"unique_launches">, z.ZodLiteral<"volume_limit">]>;
5
+ used: z.ZodNumber;
6
+ toSpend: z.ZodNumber;
7
+ available: z.ZodNullable<z.ZodNumber>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ type: "unique_launches" | "volume_limit";
10
+ used: number;
11
+ toSpend: number;
12
+ available: number | null;
13
+ }, {
14
+ type: "unique_launches" | "volume_limit";
15
+ used: number;
16
+ toSpend: number;
17
+ available: number | null;
18
+ }>;
3
19
  declare const DryRunResult: z.ZodObject<{
4
20
  productKey: z.ZodString;
5
21
  productName: z.ZodDefault<z.ZodString>;
22
+ customerEmail: z.ZodOptional<z.ZodString>;
6
23
  canRun: z.ZodBoolean;
7
24
  status: z.ZodUnion<[z.ZodLiteral<"select-tariff">, z.ZodLiteral<"active">, z.ZodLiteral<"payment_required">, z.ZodLiteral<"limits_exceeded">]>;
8
25
  mnz: z.ZodObject<{
9
26
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"trial">, z.ZodLiteral<"free">, z.ZodLiteral<"single_payment">, z.ZodLiteral<"subscription">, z.ZodLiteral<"base">]>>;
10
27
  details: z.ZodObject<{
11
- spentRuns: z.ZodNumber;
12
- runsToSpend: z.ZodNumber;
13
- willRemainAfterRun: z.ZodNullable<z.ZodNumber>;
14
28
  subscription: z.ZodUnknown;
15
29
  }, "strip", z.ZodTypeAny, {
16
- spentRuns: number;
17
- runsToSpend: number;
18
- willRemainAfterRun: number | null;
19
30
  subscription?: unknown;
20
31
  }, {
21
- spentRuns: number;
22
- runsToSpend: number;
23
- willRemainAfterRun: number | null;
24
32
  subscription?: unknown;
25
33
  }>;
34
+ endOfBillingPeriod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ limits: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
+ type: z.ZodUnion<[z.ZodLiteral<"unique_launches">, z.ZodLiteral<"volume_limit">]>;
37
+ used: z.ZodNumber;
38
+ toSpend: z.ZodNumber;
39
+ available: z.ZodNullable<z.ZodNumber>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ type: "unique_launches" | "volume_limit";
42
+ used: number;
43
+ toSpend: number;
44
+ available: number | null;
45
+ }, {
46
+ type: "unique_launches" | "volume_limit";
47
+ used: number;
48
+ toSpend: number;
49
+ available: number | null;
50
+ }>, "many">>;
26
51
  }, "strip", z.ZodTypeAny, {
27
52
  details: {
28
- spentRuns: number;
29
- runsToSpend: number;
30
- willRemainAfterRun: number | null;
31
53
  subscription?: unknown;
32
54
  };
33
55
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
56
+ endOfBillingPeriod?: string | null | undefined;
57
+ limits?: {
58
+ type: "unique_launches" | "volume_limit";
59
+ used: number;
60
+ toSpend: number;
61
+ available: number | null;
62
+ }[] | undefined;
34
63
  }, {
35
64
  details: {
36
- spentRuns: number;
37
- runsToSpend: number;
38
- willRemainAfterRun: number | null;
39
65
  subscription?: unknown;
40
66
  };
41
67
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
68
+ endOfBillingPeriod?: string | null | undefined;
69
+ limits?: {
70
+ type: "unique_launches" | "volume_limit";
71
+ used: number;
72
+ toSpend: number;
73
+ available: number | null;
74
+ }[] | undefined;
42
75
  }>;
43
76
  }, "strip", z.ZodTypeAny, {
44
77
  status: "select-tariff" | "active" | "payment_required" | "limits_exceeded";
@@ -47,27 +80,37 @@ declare const DryRunResult: z.ZodObject<{
47
80
  canRun: boolean;
48
81
  mnz: {
49
82
  details: {
50
- spentRuns: number;
51
- runsToSpend: number;
52
- willRemainAfterRun: number | null;
53
83
  subscription?: unknown;
54
84
  };
55
85
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
86
+ endOfBillingPeriod?: string | null | undefined;
87
+ limits?: {
88
+ type: "unique_launches" | "volume_limit";
89
+ used: number;
90
+ toSpend: number;
91
+ available: number | null;
92
+ }[] | undefined;
56
93
  };
94
+ customerEmail?: string | undefined;
57
95
  }, {
58
96
  status: "select-tariff" | "active" | "payment_required" | "limits_exceeded";
59
97
  productKey: string;
60
98
  canRun: boolean;
61
99
  mnz: {
62
100
  details: {
63
- spentRuns: number;
64
- runsToSpend: number;
65
- willRemainAfterRun: number | null;
66
101
  subscription?: unknown;
67
102
  };
68
103
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
104
+ endOfBillingPeriod?: string | null | undefined;
105
+ limits?: {
106
+ type: "unique_launches" | "volume_limit";
107
+ used: number;
108
+ toSpend: number;
109
+ available: number | null;
110
+ }[] | undefined;
69
111
  };
70
112
  productName?: string | undefined;
113
+ customerEmail?: string | undefined;
71
114
  }>;
72
115
  type DryRunResult = z.infer<typeof DryRunResult>;
73
116
  declare const Response: z.ZodOptional<z.ZodObject<{
@@ -76,42 +119,59 @@ declare const Response: z.ZodOptional<z.ZodObject<{
76
119
  result: z.ZodOptional<z.ZodObject<{
77
120
  productKey: z.ZodString;
78
121
  productName: z.ZodDefault<z.ZodString>;
122
+ customerEmail: z.ZodOptional<z.ZodString>;
79
123
  canRun: z.ZodBoolean;
80
124
  status: z.ZodUnion<[z.ZodLiteral<"select-tariff">, z.ZodLiteral<"active">, z.ZodLiteral<"payment_required">, z.ZodLiteral<"limits_exceeded">]>;
81
125
  mnz: z.ZodObject<{
82
126
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"trial">, z.ZodLiteral<"free">, z.ZodLiteral<"single_payment">, z.ZodLiteral<"subscription">, z.ZodLiteral<"base">]>>;
83
127
  details: z.ZodObject<{
84
- spentRuns: z.ZodNumber;
85
- runsToSpend: z.ZodNumber;
86
- willRemainAfterRun: z.ZodNullable<z.ZodNumber>;
87
128
  subscription: z.ZodUnknown;
88
129
  }, "strip", z.ZodTypeAny, {
89
- spentRuns: number;
90
- runsToSpend: number;
91
- willRemainAfterRun: number | null;
92
130
  subscription?: unknown;
93
131
  }, {
94
- spentRuns: number;
95
- runsToSpend: number;
96
- willRemainAfterRun: number | null;
97
132
  subscription?: unknown;
98
133
  }>;
134
+ endOfBillingPeriod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ limits: z.ZodOptional<z.ZodArray<z.ZodObject<{
136
+ type: z.ZodUnion<[z.ZodLiteral<"unique_launches">, z.ZodLiteral<"volume_limit">]>;
137
+ used: z.ZodNumber;
138
+ toSpend: z.ZodNumber;
139
+ available: z.ZodNullable<z.ZodNumber>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ type: "unique_launches" | "volume_limit";
142
+ used: number;
143
+ toSpend: number;
144
+ available: number | null;
145
+ }, {
146
+ type: "unique_launches" | "volume_limit";
147
+ used: number;
148
+ toSpend: number;
149
+ available: number | null;
150
+ }>, "many">>;
99
151
  }, "strip", z.ZodTypeAny, {
100
152
  details: {
101
- spentRuns: number;
102
- runsToSpend: number;
103
- willRemainAfterRun: number | null;
104
153
  subscription?: unknown;
105
154
  };
106
155
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
156
+ endOfBillingPeriod?: string | null | undefined;
157
+ limits?: {
158
+ type: "unique_launches" | "volume_limit";
159
+ used: number;
160
+ toSpend: number;
161
+ available: number | null;
162
+ }[] | undefined;
107
163
  }, {
108
164
  details: {
109
- spentRuns: number;
110
- runsToSpend: number;
111
- willRemainAfterRun: number | null;
112
165
  subscription?: unknown;
113
166
  };
114
167
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
168
+ endOfBillingPeriod?: string | null | undefined;
169
+ limits?: {
170
+ type: "unique_launches" | "volume_limit";
171
+ used: number;
172
+ toSpend: number;
173
+ available: number | null;
174
+ }[] | undefined;
115
175
  }>;
116
176
  }, "strip", z.ZodTypeAny, {
117
177
  status: "select-tariff" | "active" | "payment_required" | "limits_exceeded";
@@ -120,27 +180,37 @@ declare const Response: z.ZodOptional<z.ZodObject<{
120
180
  canRun: boolean;
121
181
  mnz: {
122
182
  details: {
123
- spentRuns: number;
124
- runsToSpend: number;
125
- willRemainAfterRun: number | null;
126
183
  subscription?: unknown;
127
184
  };
128
185
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
186
+ endOfBillingPeriod?: string | null | undefined;
187
+ limits?: {
188
+ type: "unique_launches" | "volume_limit";
189
+ used: number;
190
+ toSpend: number;
191
+ available: number | null;
192
+ }[] | undefined;
129
193
  };
194
+ customerEmail?: string | undefined;
130
195
  }, {
131
196
  status: "select-tariff" | "active" | "payment_required" | "limits_exceeded";
132
197
  productKey: string;
133
198
  canRun: boolean;
134
199
  mnz: {
135
200
  details: {
136
- spentRuns: number;
137
- runsToSpend: number;
138
- willRemainAfterRun: number | null;
139
201
  subscription?: unknown;
140
202
  };
141
203
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
204
+ endOfBillingPeriod?: string | null | undefined;
205
+ limits?: {
206
+ type: "unique_launches" | "volume_limit";
207
+ used: number;
208
+ toSpend: number;
209
+ available: number | null;
210
+ }[] | undefined;
142
211
  };
143
212
  productName?: string | undefined;
213
+ customerEmail?: string | undefined;
144
214
  }>>;
145
215
  error: z.ZodOptional<z.ZodUnknown>;
146
216
  }, "strip", z.ZodTypeAny, {
@@ -152,13 +222,18 @@ declare const Response: z.ZodOptional<z.ZodObject<{
152
222
  canRun: boolean;
153
223
  mnz: {
154
224
  details: {
155
- spentRuns: number;
156
- runsToSpend: number;
157
- willRemainAfterRun: number | null;
158
225
  subscription?: unknown;
159
226
  };
160
227
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
228
+ endOfBillingPeriod?: string | null | undefined;
229
+ limits?: {
230
+ type: "unique_launches" | "volume_limit";
231
+ used: number;
232
+ toSpend: number;
233
+ available: number | null;
234
+ }[] | undefined;
161
235
  };
236
+ customerEmail?: string | undefined;
162
237
  } | undefined;
163
238
  }, {
164
239
  error?: unknown;
@@ -168,14 +243,19 @@ declare const Response: z.ZodOptional<z.ZodObject<{
168
243
  canRun: boolean;
169
244
  mnz: {
170
245
  details: {
171
- spentRuns: number;
172
- runsToSpend: number;
173
- willRemainAfterRun: number | null;
174
246
  subscription?: unknown;
175
247
  };
176
248
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
249
+ endOfBillingPeriod?: string | null | undefined;
250
+ limits?: {
251
+ type: "unique_launches" | "volume_limit";
252
+ used: number;
253
+ toSpend: number;
254
+ available: number | null;
255
+ }[] | undefined;
177
256
  };
178
257
  productName?: string | undefined;
258
+ customerEmail?: string | undefined;
179
259
  } | undefined;
180
260
  }>>;
181
261
  }, "strip", z.ZodTypeAny, {
@@ -189,13 +269,18 @@ declare const Response: z.ZodOptional<z.ZodObject<{
189
269
  canRun: boolean;
190
270
  mnz: {
191
271
  details: {
192
- spentRuns: number;
193
- runsToSpend: number;
194
- willRemainAfterRun: number | null;
195
272
  subscription?: unknown;
196
273
  };
197
274
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
275
+ endOfBillingPeriod?: string | null | undefined;
276
+ limits?: {
277
+ type: "unique_launches" | "volume_limit";
278
+ used: number;
279
+ toSpend: number;
280
+ available: number | null;
281
+ }[] | undefined;
198
282
  };
283
+ customerEmail?: string | undefined;
199
284
  } | undefined;
200
285
  } | undefined;
201
286
  }, {
@@ -208,14 +293,19 @@ declare const Response: z.ZodOptional<z.ZodObject<{
208
293
  canRun: boolean;
209
294
  mnz: {
210
295
  details: {
211
- spentRuns: number;
212
- runsToSpend: number;
213
- willRemainAfterRun: number | null;
214
296
  subscription?: unknown;
215
297
  };
216
298
  type?: "base" | "trial" | "free" | "single_payment" | "subscription" | undefined;
299
+ endOfBillingPeriod?: string | null | undefined;
300
+ limits?: {
301
+ type: "unique_launches" | "volume_limit";
302
+ used: number;
303
+ toSpend: number;
304
+ available: number | null;
305
+ }[] | undefined;
217
306
  };
218
307
  productName?: string | undefined;
308
+ customerEmail?: string | undefined;
219
309
  } | undefined;
220
310
  } | undefined;
221
311
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,gBAAgB,+IAMpB,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBgC,CAAC;AAEnD,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMD,CAAC;AAEd,KAAK,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,QAAQ,GACT,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/plugins/Monetization/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,gBAAgB,+IAMpB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;EAQhB,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBgC,CAAC;AAEnD,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMD,CAAC;AAEd,KAAK,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,QAAQ,GACT,CAAC"}