@open-loyalty/mcp-server 1.14.0 → 1.16.1
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/dist/index.js +6 -0
- package/dist/instructions.d.ts +1 -1
- package/dist/instructions.js +1 -1
- package/dist/server.js +1 -1
- package/dist/tools/analytics/handlers.js +2 -2
- package/dist/tools/analytics/index.d.ts +4 -4
- package/dist/tools/analytics/schemas.d.ts +4 -4
- package/dist/tools/analytics/schemas.js +7 -5
- package/dist/tools/apps/dashboard/handlers.d.ts +21 -6
- package/dist/tools/apps/dashboard/handlers.js +70 -13
- package/dist/tools/campaign/handlers.js +24 -5
- package/dist/tools/campaign/index.d.ts +227 -116
- package/dist/tools/campaign/index.js +4 -1
- package/dist/tools/campaign/normalizers.d.ts +5 -0
- package/dist/tools/campaign/normalizers.js +50 -0
- package/dist/tools/campaign/schemas.d.ts +227 -116
- package/dist/tools/campaign/schemas.js +34 -20
- package/dist/tools/campaign/types.d.ts +9 -7
- package/dist/types/schemas/analytics.d.ts +38 -6
- package/dist/types/schemas/analytics.js +6 -2
- package/dist/types/schemas/campaign.d.ts +120 -120
- package/dist/types/schemas/campaign.js +3 -3
- package/dist/ui/campaign-builder.html +45 -28
- package/dist/ui/dashboard.html +124 -133
- package/dist/ui/member-profile.html +50 -33
- package/dist/ui/rewards-catalog.html +36 -19
- package/dist/ui/tier-visualizer.html +38 -21
- package/dist/ui/transaction-timeline.html +44 -27
- package/dist/utils/errors.js +4 -3
- package/package.json +3 -3
|
@@ -125,15 +125,15 @@ export declare const CampaignUpdateInputSchema: {
|
|
|
125
125
|
target?: "self" | "referrer" | undefined;
|
|
126
126
|
}>, "many">;
|
|
127
127
|
visibility: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
target: z.ZodEnum<["
|
|
128
|
+
target: z.ZodEnum<["none", "tier", "segment"]>;
|
|
129
129
|
tiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
130
130
|
segments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
target: "
|
|
132
|
+
target: "none" | "tier" | "segment";
|
|
133
133
|
tiers?: string[] | undefined;
|
|
134
134
|
segments?: string[] | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
target: "
|
|
136
|
+
target: "none" | "tier" | "segment";
|
|
137
137
|
tiers?: string[] | undefined;
|
|
138
138
|
segments?: string[] | undefined;
|
|
139
139
|
}>>;
|
|
@@ -154,120 +154,120 @@ export declare const CampaignUpdateInputSchema: {
|
|
|
154
154
|
points: z.ZodOptional<z.ZodObject<{
|
|
155
155
|
value: z.ZodNumber;
|
|
156
156
|
interval: z.ZodOptional<z.ZodObject<{
|
|
157
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
158
|
-
value: z.
|
|
157
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
158
|
+
value: z.ZodNumber;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
value: number;
|
|
161
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
162
162
|
}, {
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
value: number;
|
|
164
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
165
165
|
}>>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
value: number;
|
|
168
168
|
interval?: {
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
value: number;
|
|
170
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
171
171
|
} | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
value: number;
|
|
174
174
|
interval?: {
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
value: number;
|
|
176
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
177
177
|
} | undefined;
|
|
178
178
|
}>>;
|
|
179
179
|
pointsPerMember: z.ZodOptional<z.ZodObject<{
|
|
180
180
|
value: z.ZodNumber;
|
|
181
181
|
interval: z.ZodOptional<z.ZodObject<{
|
|
182
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
183
|
-
value: z.
|
|
182
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
183
|
+
value: z.ZodNumber;
|
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
value: number;
|
|
186
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
187
187
|
}, {
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
value: number;
|
|
189
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
190
190
|
}>>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
value: number;
|
|
193
193
|
interval?: {
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
value: number;
|
|
195
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
196
196
|
} | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
value: number;
|
|
199
199
|
interval?: {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
value: number;
|
|
201
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
202
202
|
} | undefined;
|
|
203
203
|
}>>;
|
|
204
204
|
executionsPerMember: z.ZodOptional<z.ZodObject<{
|
|
205
205
|
value: z.ZodNumber;
|
|
206
206
|
interval: z.ZodOptional<z.ZodObject<{
|
|
207
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
208
|
-
value: z.
|
|
207
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
208
|
+
value: z.ZodNumber;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
value: number;
|
|
211
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
212
212
|
}, {
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
value: number;
|
|
214
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
215
215
|
}>>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
217
|
value: number;
|
|
218
218
|
interval?: {
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
value: number;
|
|
220
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
221
221
|
} | undefined;
|
|
222
222
|
}, {
|
|
223
223
|
value: number;
|
|
224
224
|
interval?: {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
value: number;
|
|
226
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
227
227
|
} | undefined;
|
|
228
228
|
}>>;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
points?: {
|
|
231
231
|
value: number;
|
|
232
232
|
interval?: {
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
value: number;
|
|
234
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
235
235
|
} | undefined;
|
|
236
236
|
} | undefined;
|
|
237
237
|
pointsPerMember?: {
|
|
238
238
|
value: number;
|
|
239
239
|
interval?: {
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
value: number;
|
|
241
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
242
242
|
} | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
executionsPerMember?: {
|
|
245
245
|
value: number;
|
|
246
246
|
interval?: {
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
value: number;
|
|
248
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
249
249
|
} | undefined;
|
|
250
250
|
} | undefined;
|
|
251
251
|
}, {
|
|
252
252
|
points?: {
|
|
253
253
|
value: number;
|
|
254
254
|
interval?: {
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
value: number;
|
|
256
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
257
257
|
} | undefined;
|
|
258
258
|
} | undefined;
|
|
259
259
|
pointsPerMember?: {
|
|
260
260
|
value: number;
|
|
261
261
|
interval?: {
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
value: number;
|
|
263
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
264
264
|
} | undefined;
|
|
265
265
|
} | undefined;
|
|
266
266
|
executionsPerMember?: {
|
|
267
267
|
value: number;
|
|
268
268
|
interval?: {
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
value: number;
|
|
270
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
271
271
|
} | undefined;
|
|
272
272
|
} | undefined;
|
|
273
273
|
}>>;
|
|
@@ -535,7 +535,7 @@ export declare const CampaignCreateInputSchema: {
|
|
|
535
535
|
target: z.ZodOptional<z.ZodEnum<["self", "referrer"]>>;
|
|
536
536
|
effects: z.ZodArray<z.ZodObject<{
|
|
537
537
|
effect: z.ZodEnum<["give_points", "give_reward", "deduct_unit", "assign_member_custom_attribute", "remove_member_custom_attribute"]>;
|
|
538
|
-
pointsRule: z.ZodOptional<z.ZodString
|
|
538
|
+
pointsRule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
539
539
|
walletCode: z.ZodOptional<z.ZodString>;
|
|
540
540
|
rewardId: z.ZodOptional<z.ZodString>;
|
|
541
541
|
customAttributeKey: z.ZodOptional<z.ZodString>;
|
|
@@ -544,14 +544,14 @@ export declare const CampaignCreateInputSchema: {
|
|
|
544
544
|
effect: "give_points" | "give_reward" | "deduct_unit" | "assign_member_custom_attribute" | "remove_member_custom_attribute";
|
|
545
545
|
walletCode?: string | undefined;
|
|
546
546
|
rewardId?: string | undefined;
|
|
547
|
-
pointsRule?: string | undefined;
|
|
547
|
+
pointsRule?: string | number | undefined;
|
|
548
548
|
customAttributeKey?: string | undefined;
|
|
549
549
|
customAttributeValueRule?: string | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
effect: "give_points" | "give_reward" | "deduct_unit" | "assign_member_custom_attribute" | "remove_member_custom_attribute";
|
|
552
552
|
walletCode?: string | undefined;
|
|
553
553
|
rewardId?: string | undefined;
|
|
554
|
-
pointsRule?: string | undefined;
|
|
554
|
+
pointsRule?: string | number | undefined;
|
|
555
555
|
customAttributeKey?: string | undefined;
|
|
556
556
|
customAttributeValueRule?: string | undefined;
|
|
557
557
|
}>, "many">;
|
|
@@ -574,7 +574,7 @@ export declare const CampaignCreateInputSchema: {
|
|
|
574
574
|
effect: "give_points" | "give_reward" | "deduct_unit" | "assign_member_custom_attribute" | "remove_member_custom_attribute";
|
|
575
575
|
walletCode?: string | undefined;
|
|
576
576
|
rewardId?: string | undefined;
|
|
577
|
-
pointsRule?: string | undefined;
|
|
577
|
+
pointsRule?: string | number | undefined;
|
|
578
578
|
customAttributeKey?: string | undefined;
|
|
579
579
|
customAttributeValueRule?: string | undefined;
|
|
580
580
|
}[];
|
|
@@ -591,7 +591,7 @@ export declare const CampaignCreateInputSchema: {
|
|
|
591
591
|
effect: "give_points" | "give_reward" | "deduct_unit" | "assign_member_custom_attribute" | "remove_member_custom_attribute";
|
|
592
592
|
walletCode?: string | undefined;
|
|
593
593
|
rewardId?: string | undefined;
|
|
594
|
-
pointsRule?: string | undefined;
|
|
594
|
+
pointsRule?: string | number | undefined;
|
|
595
595
|
customAttributeKey?: string | undefined;
|
|
596
596
|
customAttributeValueRule?: string | undefined;
|
|
597
597
|
}[];
|
|
@@ -604,15 +604,15 @@ export declare const CampaignCreateInputSchema: {
|
|
|
604
604
|
target?: "self" | "referrer" | undefined;
|
|
605
605
|
}>, "many">;
|
|
606
606
|
visibility: z.ZodOptional<z.ZodObject<{
|
|
607
|
-
target: z.ZodEnum<["
|
|
607
|
+
target: z.ZodEnum<["none", "tier", "segment", "all"]>;
|
|
608
608
|
tiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
609
609
|
segments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
target: "all" | "tier" | "segment";
|
|
611
|
+
target: "all" | "none" | "tier" | "segment";
|
|
612
612
|
tiers?: string[] | undefined;
|
|
613
613
|
segments?: string[] | undefined;
|
|
614
614
|
}, {
|
|
615
|
-
target: "all" | "tier" | "segment";
|
|
615
|
+
target: "all" | "none" | "tier" | "segment";
|
|
616
616
|
tiers?: string[] | undefined;
|
|
617
617
|
segments?: string[] | undefined;
|
|
618
618
|
}>>;
|
|
@@ -630,126 +630,237 @@ export declare const CampaignCreateInputSchema: {
|
|
|
630
630
|
segments?: string[] | undefined;
|
|
631
631
|
}>>;
|
|
632
632
|
limits: z.ZodOptional<z.ZodObject<{
|
|
633
|
-
points: z.ZodOptional<z.ZodObject<{
|
|
633
|
+
points: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
634
634
|
value: z.ZodNumber;
|
|
635
635
|
interval: z.ZodOptional<z.ZodObject<{
|
|
636
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
637
|
-
value: z.
|
|
636
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
637
|
+
value: z.ZodNumber;
|
|
638
638
|
}, "strip", z.ZodTypeAny, {
|
|
639
|
-
|
|
640
|
-
|
|
639
|
+
value: number;
|
|
640
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
641
641
|
}, {
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
value: number;
|
|
643
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
644
644
|
}>>;
|
|
645
645
|
}, "strip", z.ZodTypeAny, {
|
|
646
646
|
value: number;
|
|
647
647
|
interval?: {
|
|
648
|
-
|
|
649
|
-
|
|
648
|
+
value: number;
|
|
649
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
650
650
|
} | undefined;
|
|
651
651
|
}, {
|
|
652
652
|
value: number;
|
|
653
653
|
interval?: {
|
|
654
|
-
|
|
655
|
-
|
|
654
|
+
value: number;
|
|
655
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
656
656
|
} | undefined;
|
|
657
|
-
}>>;
|
|
658
|
-
pointsPerMember: z.ZodOptional<z.ZodObject<{
|
|
657
|
+
}>, z.ZodNumber]>>;
|
|
658
|
+
pointsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
659
659
|
value: z.ZodNumber;
|
|
660
660
|
interval: z.ZodOptional<z.ZodObject<{
|
|
661
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
662
|
-
value: z.
|
|
661
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
662
|
+
value: z.ZodNumber;
|
|
663
663
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
|
|
665
|
-
|
|
664
|
+
value: number;
|
|
665
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
666
666
|
}, {
|
|
667
|
-
|
|
668
|
-
|
|
667
|
+
value: number;
|
|
668
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
669
669
|
}>>;
|
|
670
670
|
}, "strip", z.ZodTypeAny, {
|
|
671
671
|
value: number;
|
|
672
672
|
interval?: {
|
|
673
|
-
|
|
674
|
-
|
|
673
|
+
value: number;
|
|
674
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
675
675
|
} | undefined;
|
|
676
676
|
}, {
|
|
677
677
|
value: number;
|
|
678
678
|
interval?: {
|
|
679
|
-
|
|
680
|
-
|
|
679
|
+
value: number;
|
|
680
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
681
681
|
} | undefined;
|
|
682
|
-
}>>;
|
|
683
|
-
executionsPerMember: z.ZodOptional<z.ZodObject<{
|
|
682
|
+
}>, z.ZodNumber]>>;
|
|
683
|
+
executionsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
684
684
|
value: z.ZodNumber;
|
|
685
685
|
interval: z.ZodOptional<z.ZodObject<{
|
|
686
|
-
type: z.ZodEnum<["calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
687
|
-
value: z.
|
|
686
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
687
|
+
value: z.ZodNumber;
|
|
688
688
|
}, "strip", z.ZodTypeAny, {
|
|
689
|
-
|
|
690
|
-
|
|
689
|
+
value: number;
|
|
690
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
691
691
|
}, {
|
|
692
|
-
|
|
693
|
-
|
|
692
|
+
value: number;
|
|
693
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
694
694
|
}>>;
|
|
695
695
|
}, "strip", z.ZodTypeAny, {
|
|
696
696
|
value: number;
|
|
697
697
|
interval?: {
|
|
698
|
-
|
|
699
|
-
|
|
698
|
+
value: number;
|
|
699
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
700
700
|
} | undefined;
|
|
701
701
|
}, {
|
|
702
702
|
value: number;
|
|
703
703
|
interval?: {
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
value: number;
|
|
705
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
706
706
|
} | undefined;
|
|
707
|
-
}>>;
|
|
708
|
-
|
|
709
|
-
|
|
707
|
+
}>, z.ZodNumber]>>;
|
|
708
|
+
perTransaction: z.ZodOptional<z.ZodUnknown>;
|
|
709
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
710
|
+
points: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
711
|
+
value: z.ZodNumber;
|
|
712
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
713
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
714
|
+
value: z.ZodNumber;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
value: number;
|
|
717
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
718
|
+
}, {
|
|
719
|
+
value: number;
|
|
720
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
721
|
+
}>>;
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
710
723
|
value: number;
|
|
711
724
|
interval?: {
|
|
712
|
-
|
|
713
|
-
|
|
725
|
+
value: number;
|
|
726
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
714
727
|
} | undefined;
|
|
715
|
-
}
|
|
716
|
-
pointsPerMember?: {
|
|
728
|
+
}, {
|
|
717
729
|
value: number;
|
|
718
730
|
interval?: {
|
|
719
|
-
|
|
720
|
-
|
|
731
|
+
value: number;
|
|
732
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
721
733
|
} | undefined;
|
|
722
|
-
}
|
|
723
|
-
|
|
734
|
+
}>, z.ZodNumber]>>;
|
|
735
|
+
pointsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
736
|
+
value: z.ZodNumber;
|
|
737
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
739
|
+
value: z.ZodNumber;
|
|
740
|
+
}, "strip", z.ZodTypeAny, {
|
|
741
|
+
value: number;
|
|
742
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
743
|
+
}, {
|
|
744
|
+
value: number;
|
|
745
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
746
|
+
}>>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
748
|
value: number;
|
|
725
749
|
interval?: {
|
|
726
|
-
|
|
727
|
-
|
|
750
|
+
value: number;
|
|
751
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
728
752
|
} | undefined;
|
|
729
|
-
}
|
|
730
|
-
}, {
|
|
731
|
-
points?: {
|
|
753
|
+
}, {
|
|
732
754
|
value: number;
|
|
733
755
|
interval?: {
|
|
734
|
-
|
|
735
|
-
|
|
756
|
+
value: number;
|
|
757
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
736
758
|
} | undefined;
|
|
737
|
-
}
|
|
738
|
-
|
|
759
|
+
}>, z.ZodNumber]>>;
|
|
760
|
+
executionsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
761
|
+
value: z.ZodNumber;
|
|
762
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
764
|
+
value: z.ZodNumber;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
value: number;
|
|
767
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
768
|
+
}, {
|
|
769
|
+
value: number;
|
|
770
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
771
|
+
}>>;
|
|
772
|
+
}, "strip", z.ZodTypeAny, {
|
|
739
773
|
value: number;
|
|
740
774
|
interval?: {
|
|
741
|
-
|
|
742
|
-
|
|
775
|
+
value: number;
|
|
776
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
743
777
|
} | undefined;
|
|
744
|
-
}
|
|
745
|
-
executionsPerMember?: {
|
|
778
|
+
}, {
|
|
746
779
|
value: number;
|
|
747
780
|
interval?: {
|
|
748
|
-
|
|
749
|
-
|
|
781
|
+
value: number;
|
|
782
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
750
783
|
} | undefined;
|
|
751
|
-
}
|
|
752
|
-
|
|
784
|
+
}>, z.ZodNumber]>>;
|
|
785
|
+
perTransaction: z.ZodOptional<z.ZodUnknown>;
|
|
786
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
787
|
+
points: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
788
|
+
value: z.ZodNumber;
|
|
789
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
790
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
791
|
+
value: z.ZodNumber;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
value: number;
|
|
794
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
795
|
+
}, {
|
|
796
|
+
value: number;
|
|
797
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
798
|
+
}>>;
|
|
799
|
+
}, "strip", z.ZodTypeAny, {
|
|
800
|
+
value: number;
|
|
801
|
+
interval?: {
|
|
802
|
+
value: number;
|
|
803
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
804
|
+
} | undefined;
|
|
805
|
+
}, {
|
|
806
|
+
value: number;
|
|
807
|
+
interval?: {
|
|
808
|
+
value: number;
|
|
809
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
810
|
+
} | undefined;
|
|
811
|
+
}>, z.ZodNumber]>>;
|
|
812
|
+
pointsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
813
|
+
value: z.ZodNumber;
|
|
814
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
815
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
816
|
+
value: z.ZodNumber;
|
|
817
|
+
}, "strip", z.ZodTypeAny, {
|
|
818
|
+
value: number;
|
|
819
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
820
|
+
}, {
|
|
821
|
+
value: number;
|
|
822
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
823
|
+
}>>;
|
|
824
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
|
+
value: number;
|
|
826
|
+
interval?: {
|
|
827
|
+
value: number;
|
|
828
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
829
|
+
} | undefined;
|
|
830
|
+
}, {
|
|
831
|
+
value: number;
|
|
832
|
+
interval?: {
|
|
833
|
+
value: number;
|
|
834
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
835
|
+
} | undefined;
|
|
836
|
+
}>, z.ZodNumber]>>;
|
|
837
|
+
executionsPerMember: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
838
|
+
value: z.ZodNumber;
|
|
839
|
+
interval: z.ZodOptional<z.ZodObject<{
|
|
840
|
+
type: z.ZodEnum<["calendarHours", "calendarDays", "calendarWeeks", "calendarMonths", "calendarYears"]>;
|
|
841
|
+
value: z.ZodNumber;
|
|
842
|
+
}, "strip", z.ZodTypeAny, {
|
|
843
|
+
value: number;
|
|
844
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
845
|
+
}, {
|
|
846
|
+
value: number;
|
|
847
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
848
|
+
}>>;
|
|
849
|
+
}, "strip", z.ZodTypeAny, {
|
|
850
|
+
value: number;
|
|
851
|
+
interval?: {
|
|
852
|
+
value: number;
|
|
853
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
854
|
+
} | undefined;
|
|
855
|
+
}, {
|
|
856
|
+
value: number;
|
|
857
|
+
interval?: {
|
|
858
|
+
value: number;
|
|
859
|
+
type: "calendarHours" | "calendarDays" | "calendarWeeks" | "calendarMonths" | "calendarYears";
|
|
860
|
+
} | undefined;
|
|
861
|
+
}>, z.ZodNumber]>>;
|
|
862
|
+
perTransaction: z.ZodOptional<z.ZodUnknown>;
|
|
863
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
753
864
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
754
865
|
displayOrder: z.ZodOptional<z.ZodNumber>;
|
|
755
866
|
labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|