lancer-shared 1.2.288 → 1.2.290

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.
@@ -6,14 +6,17 @@ export declare const planStripeMetadataSchema: z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  nickname: z.ZodString;
8
8
  lookup_key: z.ZodString;
9
+ billing_interval: z.ZodEnum<["monthly", "quarterly", "yearly"]>;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  id: string;
11
12
  nickname: string;
12
13
  lookup_key: string;
14
+ billing_interval: "monthly" | "quarterly" | "yearly";
13
15
  }, {
14
16
  id: string;
15
17
  nickname: string;
16
18
  lookup_key: string;
19
+ billing_interval: "monthly" | "quarterly" | "yearly";
17
20
  }>, "many">;
18
21
  }, "strip", z.ZodTypeAny, {
19
22
  id: string;
@@ -22,6 +25,7 @@ export declare const planStripeMetadataSchema: z.ZodObject<{
22
25
  id: string;
23
26
  nickname: string;
24
27
  lookup_key: string;
28
+ billing_interval: "monthly" | "quarterly" | "yearly";
25
29
  }[];
26
30
  }, {
27
31
  id: string;
@@ -30,6 +34,7 @@ export declare const planStripeMetadataSchema: z.ZodObject<{
30
34
  id: string;
31
35
  nickname: string;
32
36
  lookup_key: string;
37
+ billing_interval: "monthly" | "quarterly" | "yearly";
33
38
  }[];
34
39
  }>;
35
40
  export declare const planFeatureSchema: z.ZodObject<{
@@ -47,166 +52,114 @@ export declare const planFeatureSchema: z.ZodObject<{
47
52
  }>;
48
53
  export declare const planPricingIntervalSchema: z.ZodObject<{
49
54
  amount: z.ZodNumber;
50
- currency: z.ZodString;
55
+ label: z.ZodString;
51
56
  priceId: z.ZodString;
52
57
  lookupKey: z.ZodString;
53
- isLegacyPricing: z.ZodBoolean;
54
58
  }, "strip", z.ZodTypeAny, {
55
- currency: string;
59
+ label: string;
56
60
  amount: number;
57
61
  priceId: string;
58
62
  lookupKey: string;
59
- isLegacyPricing: boolean;
60
63
  }, {
61
- currency: string;
64
+ label: string;
62
65
  amount: number;
63
66
  priceId: string;
64
67
  lookupKey: string;
65
- isLegacyPricing: boolean;
66
68
  }>;
67
69
  export declare const planPricingSchema: z.ZodObject<{
68
- monthly: z.ZodObject<{
70
+ monthly: z.ZodArray<z.ZodObject<{
69
71
  amount: z.ZodNumber;
70
- currency: z.ZodString;
72
+ label: z.ZodString;
71
73
  priceId: z.ZodString;
72
74
  lookupKey: z.ZodString;
73
- isLegacyPricing: z.ZodBoolean;
74
75
  }, "strip", z.ZodTypeAny, {
75
- currency: string;
76
+ label: string;
76
77
  amount: number;
77
78
  priceId: string;
78
79
  lookupKey: string;
79
- isLegacyPricing: boolean;
80
80
  }, {
81
- currency: string;
81
+ label: string;
82
82
  amount: number;
83
83
  priceId: string;
84
84
  lookupKey: string;
85
- isLegacyPricing: boolean;
86
- }>;
87
- quarterly: z.ZodOptional<z.ZodObject<{
85
+ }>, "many">;
86
+ quarterly: z.ZodOptional<z.ZodArray<z.ZodObject<{
88
87
  amount: z.ZodNumber;
89
- currency: z.ZodString;
88
+ label: z.ZodString;
90
89
  priceId: z.ZodString;
91
90
  lookupKey: z.ZodString;
92
- isLegacyPricing: z.ZodBoolean;
93
91
  }, "strip", z.ZodTypeAny, {
94
- currency: string;
92
+ label: string;
95
93
  amount: number;
96
94
  priceId: string;
97
95
  lookupKey: string;
98
- isLegacyPricing: boolean;
99
96
  }, {
100
- currency: string;
97
+ label: string;
101
98
  amount: number;
102
99
  priceId: string;
103
100
  lookupKey: string;
104
- isLegacyPricing: boolean;
105
- }>>;
106
- yearly: z.ZodOptional<z.ZodObject<{
101
+ }>, "many">>;
102
+ yearly: z.ZodOptional<z.ZodArray<z.ZodObject<{
107
103
  amount: z.ZodNumber;
108
- currency: z.ZodString;
104
+ label: z.ZodString;
109
105
  priceId: z.ZodString;
110
106
  lookupKey: z.ZodString;
111
- isLegacyPricing: z.ZodBoolean;
112
107
  }, "strip", z.ZodTypeAny, {
113
- currency: string;
108
+ label: string;
114
109
  amount: number;
115
110
  priceId: string;
116
111
  lookupKey: string;
117
- isLegacyPricing: boolean;
118
112
  }, {
119
- currency: string;
113
+ label: string;
120
114
  amount: number;
121
115
  priceId: string;
122
116
  lookupKey: string;
123
- isLegacyPricing: boolean;
124
- }>>;
117
+ }>, "many">>;
125
118
  }, "strip", z.ZodTypeAny, {
126
119
  monthly: {
127
- currency: string;
120
+ label: string;
128
121
  amount: number;
129
122
  priceId: string;
130
123
  lookupKey: string;
131
- isLegacyPricing: boolean;
132
- };
124
+ }[];
133
125
  quarterly?: {
134
- currency: string;
126
+ label: string;
135
127
  amount: number;
136
128
  priceId: string;
137
129
  lookupKey: string;
138
- isLegacyPricing: boolean;
139
- } | undefined;
130
+ }[] | undefined;
140
131
  yearly?: {
141
- currency: string;
132
+ label: string;
142
133
  amount: number;
143
134
  priceId: string;
144
135
  lookupKey: string;
145
- isLegacyPricing: boolean;
146
- } | undefined;
136
+ }[] | undefined;
147
137
  }, {
148
138
  monthly: {
149
- currency: string;
139
+ label: string;
150
140
  amount: number;
151
141
  priceId: string;
152
142
  lookupKey: string;
153
- isLegacyPricing: boolean;
154
- };
143
+ }[];
155
144
  quarterly?: {
156
- currency: string;
145
+ label: string;
157
146
  amount: number;
158
147
  priceId: string;
159
148
  lookupKey: string;
160
- isLegacyPricing: boolean;
161
- } | undefined;
149
+ }[] | undefined;
162
150
  yearly?: {
163
- currency: string;
151
+ label: string;
164
152
  amount: number;
165
153
  priceId: string;
166
154
  lookupKey: string;
167
- isLegacyPricing: boolean;
168
- } | undefined;
155
+ }[] | undefined;
169
156
  }>;
170
157
  export declare const planSchema: z.ZodObject<{
171
158
  id: z.ZodString;
172
159
  name: z.ZodString;
173
- displayName: z.ZodString;
174
160
  slug: z.ZodString;
175
161
  description: z.ZodString;
176
162
  price: z.ZodNumber;
177
- stripe: z.ZodObject<{
178
- id: z.ZodString;
179
- name: z.ZodString;
180
- prices: z.ZodArray<z.ZodObject<{
181
- id: z.ZodString;
182
- nickname: z.ZodString;
183
- lookup_key: z.ZodString;
184
- }, "strip", z.ZodTypeAny, {
185
- id: string;
186
- nickname: string;
187
- lookup_key: string;
188
- }, {
189
- id: string;
190
- nickname: string;
191
- lookup_key: string;
192
- }>, "many">;
193
- }, "strip", z.ZodTypeAny, {
194
- id: string;
195
- name: string;
196
- prices: {
197
- id: string;
198
- nickname: string;
199
- lookup_key: string;
200
- }[];
201
- }, {
202
- id: string;
203
- name: string;
204
- prices: {
205
- id: string;
206
- nickname: string;
207
- lookup_key: string;
208
- }[];
209
- }>;
210
163
  version: z.ZodNumber;
211
164
  features: z.ZodArray<z.ZodObject<{
212
165
  id: z.ZodString;
@@ -225,108 +178,94 @@ export declare const planSchema: z.ZodObject<{
225
178
  isActive: z.ZodBoolean;
226
179
  createdAt: z.ZodNumber;
227
180
  archivedAt: z.ZodNullable<z.ZodNumber>;
181
+ hasFreeTrial: z.ZodBoolean;
228
182
  pricing: z.ZodObject<{
229
- monthly: z.ZodObject<{
183
+ monthly: z.ZodArray<z.ZodObject<{
230
184
  amount: z.ZodNumber;
231
- currency: z.ZodString;
185
+ label: z.ZodString;
232
186
  priceId: z.ZodString;
233
187
  lookupKey: z.ZodString;
234
- isLegacyPricing: z.ZodBoolean;
235
188
  }, "strip", z.ZodTypeAny, {
236
- currency: string;
189
+ label: string;
237
190
  amount: number;
238
191
  priceId: string;
239
192
  lookupKey: string;
240
- isLegacyPricing: boolean;
241
193
  }, {
242
- currency: string;
194
+ label: string;
243
195
  amount: number;
244
196
  priceId: string;
245
197
  lookupKey: string;
246
- isLegacyPricing: boolean;
247
- }>;
248
- quarterly: z.ZodOptional<z.ZodObject<{
198
+ }>, "many">;
199
+ quarterly: z.ZodOptional<z.ZodArray<z.ZodObject<{
249
200
  amount: z.ZodNumber;
250
- currency: z.ZodString;
201
+ label: z.ZodString;
251
202
  priceId: z.ZodString;
252
203
  lookupKey: z.ZodString;
253
- isLegacyPricing: z.ZodBoolean;
254
204
  }, "strip", z.ZodTypeAny, {
255
- currency: string;
205
+ label: string;
256
206
  amount: number;
257
207
  priceId: string;
258
208
  lookupKey: string;
259
- isLegacyPricing: boolean;
260
209
  }, {
261
- currency: string;
210
+ label: string;
262
211
  amount: number;
263
212
  priceId: string;
264
213
  lookupKey: string;
265
- isLegacyPricing: boolean;
266
- }>>;
267
- yearly: z.ZodOptional<z.ZodObject<{
214
+ }>, "many">>;
215
+ yearly: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
216
  amount: z.ZodNumber;
269
- currency: z.ZodString;
217
+ label: z.ZodString;
270
218
  priceId: z.ZodString;
271
219
  lookupKey: z.ZodString;
272
- isLegacyPricing: z.ZodBoolean;
273
220
  }, "strip", z.ZodTypeAny, {
274
- currency: string;
221
+ label: string;
275
222
  amount: number;
276
223
  priceId: string;
277
224
  lookupKey: string;
278
- isLegacyPricing: boolean;
279
225
  }, {
280
- currency: string;
226
+ label: string;
281
227
  amount: number;
282
228
  priceId: string;
283
229
  lookupKey: string;
284
- isLegacyPricing: boolean;
285
- }>>;
230
+ }>, "many">>;
286
231
  }, "strip", z.ZodTypeAny, {
287
232
  monthly: {
288
- currency: string;
233
+ label: string;
289
234
  amount: number;
290
235
  priceId: string;
291
236
  lookupKey: string;
292
- isLegacyPricing: boolean;
293
- };
237
+ }[];
294
238
  quarterly?: {
295
- currency: string;
239
+ label: string;
296
240
  amount: number;
297
241
  priceId: string;
298
242
  lookupKey: string;
299
- isLegacyPricing: boolean;
300
- } | undefined;
243
+ }[] | undefined;
301
244
  yearly?: {
302
- currency: string;
245
+ label: string;
303
246
  amount: number;
304
247
  priceId: string;
305
248
  lookupKey: string;
306
- isLegacyPricing: boolean;
307
- } | undefined;
249
+ }[] | undefined;
308
250
  }, {
309
251
  monthly: {
310
- currency: string;
252
+ label: string;
311
253
  amount: number;
312
254
  priceId: string;
313
255
  lookupKey: string;
314
- isLegacyPricing: boolean;
315
- };
256
+ }[];
316
257
  quarterly?: {
317
- currency: string;
258
+ label: string;
318
259
  amount: number;
319
260
  priceId: string;
320
261
  lookupKey: string;
321
- isLegacyPricing: boolean;
322
- } | undefined;
262
+ }[] | undefined;
323
263
  yearly?: {
324
- currency: string;
264
+ label: string;
325
265
  amount: number;
326
266
  priceId: string;
327
267
  lookupKey: string;
328
- isLegacyPricing: boolean;
329
- } | undefined;
268
+ }[] | undefined;
330
269
  }>;
331
270
  }, "strip", z.ZodTypeAny, {
332
271
  id: string;
@@ -336,47 +275,35 @@ export declare const planSchema: z.ZodObject<{
336
275
  sortOrder: number;
337
276
  pricing: {
338
277
  monthly: {
339
- currency: string;
278
+ label: string;
340
279
  amount: number;
341
280
  priceId: string;
342
281
  lookupKey: string;
343
- isLegacyPricing: boolean;
344
- };
282
+ }[];
345
283
  quarterly?: {
346
- currency: string;
284
+ label: string;
347
285
  amount: number;
348
286
  priceId: string;
349
287
  lookupKey: string;
350
- isLegacyPricing: boolean;
351
- } | undefined;
288
+ }[] | undefined;
352
289
  yearly?: {
353
- currency: string;
290
+ label: string;
354
291
  amount: number;
355
292
  priceId: string;
356
293
  lookupKey: string;
357
- isLegacyPricing: boolean;
358
- } | undefined;
294
+ }[] | undefined;
359
295
  };
360
296
  price: number;
361
297
  createdAt: number;
362
298
  isActive: boolean;
363
299
  archivedAt: number | null;
364
- stripe: {
365
- id: string;
366
- name: string;
367
- prices: {
368
- id: string;
369
- nickname: string;
370
- lookup_key: string;
371
- }[];
372
- };
373
- displayName: string;
374
300
  slug: string;
375
301
  features: {
376
302
  id: string;
377
303
  description: string;
378
304
  tooltipContent: string | null;
379
305
  }[];
306
+ hasFreeTrial: boolean;
380
307
  }, {
381
308
  id: string;
382
309
  name: string;
@@ -385,47 +312,35 @@ export declare const planSchema: z.ZodObject<{
385
312
  sortOrder: number;
386
313
  pricing: {
387
314
  monthly: {
388
- currency: string;
315
+ label: string;
389
316
  amount: number;
390
317
  priceId: string;
391
318
  lookupKey: string;
392
- isLegacyPricing: boolean;
393
- };
319
+ }[];
394
320
  quarterly?: {
395
- currency: string;
321
+ label: string;
396
322
  amount: number;
397
323
  priceId: string;
398
324
  lookupKey: string;
399
- isLegacyPricing: boolean;
400
- } | undefined;
325
+ }[] | undefined;
401
326
  yearly?: {
402
- currency: string;
327
+ label: string;
403
328
  amount: number;
404
329
  priceId: string;
405
330
  lookupKey: string;
406
- isLegacyPricing: boolean;
407
- } | undefined;
331
+ }[] | undefined;
408
332
  };
409
333
  price: number;
410
334
  createdAt: number;
411
335
  isActive: boolean;
412
336
  archivedAt: number | null;
413
- stripe: {
414
- id: string;
415
- name: string;
416
- prices: {
417
- id: string;
418
- nickname: string;
419
- lookup_key: string;
420
- }[];
421
- };
422
- displayName: string;
423
337
  slug: string;
424
338
  features: {
425
339
  id: string;
426
340
  description: string;
427
341
  tooltipContent: string | null;
428
342
  }[];
343
+ hasFreeTrial: boolean;
429
344
  }>;
430
345
  export declare const planSlugEnum: z.ZodEnum<["lancer-unlimited-launch-offer"]>;
431
346
  export interface PlanStripeMetadata extends infer<typeof planStripeMetadataSchema> {
@@ -2171,6 +2171,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2171
2171
  specializedProfiles: string[];
2172
2172
  }>, "many">;
2173
2173
  organizationId: z.ZodString;
2174
+ agencyId: z.ZodNullable<z.ZodString>;
2174
2175
  }, "strip", z.ZodTypeAny, {
2175
2176
  name: string;
2176
2177
  organizationId: string;
@@ -2179,6 +2180,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2179
2180
  name: string;
2180
2181
  specializedProfiles: string[];
2181
2182
  }[];
2183
+ agencyId: string | null;
2182
2184
  }, {
2183
2185
  name: string;
2184
2186
  organizationId: string;
@@ -2187,6 +2189,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2187
2189
  name: string;
2188
2190
  specializedProfiles: string[];
2189
2191
  }[];
2192
+ agencyId: string | null;
2190
2193
  }>, "many">>;
2191
2194
  instanceId: z.ZodNullable<z.ZodString>;
2192
2195
  createdAt: z.ZodNumber;
@@ -2219,6 +2222,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2219
2222
  name: string;
2220
2223
  specializedProfiles: string[];
2221
2224
  }[];
2225
+ agencyId: string | null;
2222
2226
  }[] | null;
2223
2227
  instanceId: string | null;
2224
2228
  createdAt: number;
@@ -2250,6 +2254,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2250
2254
  name: string;
2251
2255
  specializedProfiles: string[];
2252
2256
  }[];
2257
+ agencyId: string | null;
2253
2258
  }[] | null;
2254
2259
  instanceId: string | null;
2255
2260
  createdAt: number;
@@ -2640,6 +2645,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
2640
2645
  name: string;
2641
2646
  specializedProfiles: string[];
2642
2647
  }[];
2648
+ agencyId: string | null;
2643
2649
  }[] | null;
2644
2650
  instanceId: string | null;
2645
2651
  createdAt: number;
@@ -3030,6 +3036,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
3030
3036
  name: string;
3031
3037
  specializedProfiles: string[];
3032
3038
  }[];
3039
+ agencyId: string | null;
3033
3040
  }[] | null;
3034
3041
  instanceId: string | null;
3035
3042
  createdAt: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.288",
3
+ "version": "1.2.290",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",