@mac777/project-pinecone-schema 1.0.3 → 1.0.4

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.
@@ -841,7 +841,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
841
841
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
842
842
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
843
843
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
844
+ tier: z.ZodDefault<z.ZodString>;
845
845
  }, "strip", z.ZodTypeAny, {
846
846
  name: string;
847
847
  price: {
@@ -849,7 +849,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
849
849
  currency: string;
850
850
  };
851
851
  quantity: number;
852
- tier: "early_bird" | "regular" | "vip";
852
+ tier: string;
853
853
  status?: "active" | "inactive" | undefined;
854
854
  _id?: string | undefined;
855
855
  description?: string | undefined;
@@ -889,7 +889,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
889
889
  reserved?: number | undefined;
890
890
  visibility?: "public" | "hidden" | "invite_only" | undefined;
891
891
  benefits?: string[] | undefined;
892
- tier?: "early_bird" | "regular" | "vip" | undefined;
892
+ tier?: string | undefined;
893
893
  }>, "many">;
894
894
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
895
895
  tickets: z.ZodArray<z.ZodObject<{
@@ -933,7 +933,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
933
933
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
934
934
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
935
935
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
936
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
936
+ tier: z.ZodDefault<z.ZodString>;
937
937
  }, "strip", z.ZodTypeAny, {
938
938
  name: string;
939
939
  price: {
@@ -941,7 +941,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
941
941
  currency: string;
942
942
  };
943
943
  quantity: number;
944
- tier: "early_bird" | "regular" | "vip";
944
+ tier: string;
945
945
  status?: "active" | "inactive" | undefined;
946
946
  _id?: string | undefined;
947
947
  description?: string | undefined;
@@ -981,7 +981,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
981
981
  reserved?: number | undefined;
982
982
  visibility?: "public" | "hidden" | "invite_only" | undefined;
983
983
  benefits?: string[] | undefined;
984
- tier?: "early_bird" | "regular" | "vip" | undefined;
984
+ tier?: string | undefined;
985
985
  }>, "many">;
986
986
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
987
987
  tickets: z.ZodArray<z.ZodObject<{
@@ -1025,7 +1025,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1025
1025
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1026
1026
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1027
1027
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1028
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1028
+ tier: z.ZodDefault<z.ZodString>;
1029
1029
  }, "strip", z.ZodTypeAny, {
1030
1030
  name: string;
1031
1031
  price: {
@@ -1033,7 +1033,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1033
1033
  currency: string;
1034
1034
  };
1035
1035
  quantity: number;
1036
- tier: "early_bird" | "regular" | "vip";
1036
+ tier: string;
1037
1037
  status?: "active" | "inactive" | undefined;
1038
1038
  _id?: string | undefined;
1039
1039
  description?: string | undefined;
@@ -1073,7 +1073,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1073
1073
  reserved?: number | undefined;
1074
1074
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1075
1075
  benefits?: string[] | undefined;
1076
- tier?: "early_bird" | "regular" | "vip" | undefined;
1076
+ tier?: string | undefined;
1077
1077
  }>, "many">;
1078
1078
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1079
1079
  tickets: z.ZodArray<z.ZodObject<{
@@ -1117,7 +1117,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1117
1117
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1118
1118
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1119
1119
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1120
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1120
+ tier: z.ZodDefault<z.ZodString>;
1121
1121
  }, "strip", z.ZodTypeAny, {
1122
1122
  name: string;
1123
1123
  price: {
@@ -1125,7 +1125,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1125
1125
  currency: string;
1126
1126
  };
1127
1127
  quantity: number;
1128
- tier: "early_bird" | "regular" | "vip";
1128
+ tier: string;
1129
1129
  status?: "active" | "inactive" | undefined;
1130
1130
  _id?: string | undefined;
1131
1131
  description?: string | undefined;
@@ -1165,7 +1165,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1165
1165
  reserved?: number | undefined;
1166
1166
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1167
1167
  benefits?: string[] | undefined;
1168
- tier?: "early_bird" | "regular" | "vip" | undefined;
1168
+ tier?: string | undefined;
1169
1169
  }>, "many">;
1170
1170
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1171
1171
  tickets: z.ZodArray<z.ZodObject<{
@@ -1209,7 +1209,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1209
1209
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1210
1210
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1211
1211
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1212
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1212
+ tier: z.ZodDefault<z.ZodString>;
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
1214
  name: string;
1215
1215
  price: {
@@ -1217,7 +1217,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1217
1217
  currency: string;
1218
1218
  };
1219
1219
  quantity: number;
1220
- tier: "early_bird" | "regular" | "vip";
1220
+ tier: string;
1221
1221
  status?: "active" | "inactive" | undefined;
1222
1222
  _id?: string | undefined;
1223
1223
  description?: string | undefined;
@@ -1257,7 +1257,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1257
1257
  reserved?: number | undefined;
1258
1258
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1259
1259
  benefits?: string[] | undefined;
1260
- tier?: "early_bird" | "regular" | "vip" | undefined;
1260
+ tier?: string | undefined;
1261
1261
  }>, "many">;
1262
1262
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
1263
1263
  tickets: z.ZodArray<z.ZodObject<{
@@ -1301,7 +1301,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1301
1301
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1302
1302
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1303
1303
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1304
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1304
+ tier: z.ZodDefault<z.ZodString>;
1305
1305
  }, "strip", z.ZodTypeAny, {
1306
1306
  name: string;
1307
1307
  price: {
@@ -1309,7 +1309,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1309
1309
  currency: string;
1310
1310
  };
1311
1311
  quantity: number;
1312
- tier: "early_bird" | "regular" | "vip";
1312
+ tier: string;
1313
1313
  status?: "active" | "inactive" | undefined;
1314
1314
  _id?: string | undefined;
1315
1315
  description?: string | undefined;
@@ -1349,7 +1349,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1349
1349
  reserved?: number | undefined;
1350
1350
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1351
1351
  benefits?: string[] | undefined;
1352
- tier?: "early_bird" | "regular" | "vip" | undefined;
1352
+ tier?: string | undefined;
1353
1353
  }>, "many">;
1354
1354
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1355
1355
  tickets: z.ZodArray<z.ZodObject<{
@@ -1393,7 +1393,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1393
1393
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1394
1394
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1395
1395
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1396
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1396
+ tier: z.ZodDefault<z.ZodString>;
1397
1397
  }, "strip", z.ZodTypeAny, {
1398
1398
  name: string;
1399
1399
  price: {
@@ -1401,7 +1401,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1401
1401
  currency: string;
1402
1402
  };
1403
1403
  quantity: number;
1404
- tier: "early_bird" | "regular" | "vip";
1404
+ tier: string;
1405
1405
  status?: "active" | "inactive" | undefined;
1406
1406
  _id?: string | undefined;
1407
1407
  description?: string | undefined;
@@ -1441,7 +1441,7 @@ export declare const stepTicketsSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1441
1441
  reserved?: number | undefined;
1442
1442
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1443
1443
  benefits?: string[] | undefined;
1444
- tier?: "early_bird" | "regular" | "vip" | undefined;
1444
+ tier?: string | undefined;
1445
1445
  }>, "many">;
1446
1446
  }, z.ZodTypeAny, "passthrough">>;
1447
1447
  export declare const stepReviewSchema: z.ZodObject<{
@@ -1656,7 +1656,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1656
1656
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
1657
1657
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
1658
1658
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1659
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
1659
+ tier: z.ZodDefault<z.ZodString>;
1660
1660
  }, "strip", z.ZodTypeAny, {
1661
1661
  name: string;
1662
1662
  price: {
@@ -1664,7 +1664,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1664
1664
  currency: string;
1665
1665
  };
1666
1666
  quantity: number;
1667
- tier: "early_bird" | "regular" | "vip";
1667
+ tier: string;
1668
1668
  status?: "active" | "inactive" | undefined;
1669
1669
  _id?: string | undefined;
1670
1670
  description?: string | undefined;
@@ -1704,7 +1704,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1704
1704
  reserved?: number | undefined;
1705
1705
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1706
1706
  benefits?: string[] | undefined;
1707
- tier?: "early_bird" | "regular" | "vip" | undefined;
1707
+ tier?: string | undefined;
1708
1708
  }>, "many">;
1709
1709
  }, "strip", z.ZodTypeAny, {
1710
1710
  description: string;
@@ -1727,7 +1727,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1727
1727
  currency: string;
1728
1728
  };
1729
1729
  quantity: number;
1730
- tier: "early_bird" | "regular" | "vip";
1730
+ tier: string;
1731
1731
  status?: "active" | "inactive" | undefined;
1732
1732
  _id?: string | undefined;
1733
1733
  description?: string | undefined;
@@ -1784,7 +1784,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1784
1784
  reserved?: number | undefined;
1785
1785
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1786
1786
  benefits?: string[] | undefined;
1787
- tier?: "early_bird" | "regular" | "vip" | undefined;
1787
+ tier?: string | undefined;
1788
1788
  }[];
1789
1789
  eventId: string;
1790
1790
  hostId: string;
@@ -1809,7 +1809,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1809
1809
  currency: string;
1810
1810
  };
1811
1811
  quantity: number;
1812
- tier: "early_bird" | "regular" | "vip";
1812
+ tier: string;
1813
1813
  status?: "active" | "inactive" | undefined;
1814
1814
  _id?: string | undefined;
1815
1815
  description?: string | undefined;
@@ -1866,7 +1866,7 @@ export declare const approvedEventEditSchema: z.ZodEffects<z.ZodObject<{
1866
1866
  reserved?: number | undefined;
1867
1867
  visibility?: "public" | "hidden" | "invite_only" | undefined;
1868
1868
  benefits?: string[] | undefined;
1869
- tier?: "early_bird" | "regular" | "vip" | undefined;
1869
+ tier?: string | undefined;
1870
1870
  }[];
1871
1871
  eventId: string;
1872
1872
  hostId: string;
@@ -2125,7 +2125,7 @@ export declare const submitEventSchema: z.ZodObject<{
2125
2125
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
2126
2126
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
2127
2127
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2128
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
2128
+ tier: z.ZodDefault<z.ZodString>;
2129
2129
  }, "strip", z.ZodTypeAny, {
2130
2130
  name: string;
2131
2131
  price: {
@@ -2133,7 +2133,7 @@ export declare const submitEventSchema: z.ZodObject<{
2133
2133
  currency: string;
2134
2134
  };
2135
2135
  quantity: number;
2136
- tier: "early_bird" | "regular" | "vip";
2136
+ tier: string;
2137
2137
  status?: "active" | "inactive" | undefined;
2138
2138
  _id?: string | undefined;
2139
2139
  description?: string | undefined;
@@ -2173,7 +2173,7 @@ export declare const submitEventSchema: z.ZodObject<{
2173
2173
  reserved?: number | undefined;
2174
2174
  visibility?: "public" | "hidden" | "invite_only" | undefined;
2175
2175
  benefits?: string[] | undefined;
2176
- tier?: "early_bird" | "regular" | "vip" | undefined;
2176
+ tier?: string | undefined;
2177
2177
  }>, "many">;
2178
2178
  } & {
2179
2179
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -2436,7 +2436,7 @@ export declare const submitEventSchema: z.ZodObject<{
2436
2436
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
2437
2437
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
2438
2438
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2439
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
2439
+ tier: z.ZodDefault<z.ZodString>;
2440
2440
  }, "strip", z.ZodTypeAny, {
2441
2441
  name: string;
2442
2442
  price: {
@@ -2444,7 +2444,7 @@ export declare const submitEventSchema: z.ZodObject<{
2444
2444
  currency: string;
2445
2445
  };
2446
2446
  quantity: number;
2447
- tier: "early_bird" | "regular" | "vip";
2447
+ tier: string;
2448
2448
  status?: "active" | "inactive" | undefined;
2449
2449
  _id?: string | undefined;
2450
2450
  description?: string | undefined;
@@ -2484,7 +2484,7 @@ export declare const submitEventSchema: z.ZodObject<{
2484
2484
  reserved?: number | undefined;
2485
2485
  visibility?: "public" | "hidden" | "invite_only" | undefined;
2486
2486
  benefits?: string[] | undefined;
2487
- tier?: "early_bird" | "regular" | "vip" | undefined;
2487
+ tier?: string | undefined;
2488
2488
  }>, "many">;
2489
2489
  } & {
2490
2490
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -2747,7 +2747,7 @@ export declare const submitEventSchema: z.ZodObject<{
2747
2747
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
2748
2748
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
2749
2749
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2750
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
2750
+ tier: z.ZodDefault<z.ZodString>;
2751
2751
  }, "strip", z.ZodTypeAny, {
2752
2752
  name: string;
2753
2753
  price: {
@@ -2755,7 +2755,7 @@ export declare const submitEventSchema: z.ZodObject<{
2755
2755
  currency: string;
2756
2756
  };
2757
2757
  quantity: number;
2758
- tier: "early_bird" | "regular" | "vip";
2758
+ tier: string;
2759
2759
  status?: "active" | "inactive" | undefined;
2760
2760
  _id?: string | undefined;
2761
2761
  description?: string | undefined;
@@ -2795,7 +2795,7 @@ export declare const submitEventSchema: z.ZodObject<{
2795
2795
  reserved?: number | undefined;
2796
2796
  visibility?: "public" | "hidden" | "invite_only" | undefined;
2797
2797
  benefits?: string[] | undefined;
2798
- tier?: "early_bird" | "regular" | "vip" | undefined;
2798
+ tier?: string | undefined;
2799
2799
  }>, "many">;
2800
2800
  } & {
2801
2801
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -3059,7 +3059,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3059
3059
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
3060
3060
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
3061
3061
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3062
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
3062
+ tier: z.ZodDefault<z.ZodString>;
3063
3063
  }, "strip", z.ZodTypeAny, {
3064
3064
  name: string;
3065
3065
  price: {
@@ -3067,7 +3067,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3067
3067
  currency: string;
3068
3068
  };
3069
3069
  quantity: number;
3070
- tier: "early_bird" | "regular" | "vip";
3070
+ tier: string;
3071
3071
  status?: "active" | "inactive" | undefined;
3072
3072
  _id?: string | undefined;
3073
3073
  description?: string | undefined;
@@ -3107,7 +3107,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3107
3107
  reserved?: number | undefined;
3108
3108
  visibility?: "public" | "hidden" | "invite_only" | undefined;
3109
3109
  benefits?: string[] | undefined;
3110
- tier?: "early_bird" | "regular" | "vip" | undefined;
3110
+ tier?: string | undefined;
3111
3111
  }>, "many">;
3112
3112
  } & {
3113
3113
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -3370,7 +3370,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3370
3370
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
3371
3371
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
3372
3372
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3373
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
3373
+ tier: z.ZodDefault<z.ZodString>;
3374
3374
  }, "strip", z.ZodTypeAny, {
3375
3375
  name: string;
3376
3376
  price: {
@@ -3378,7 +3378,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3378
3378
  currency: string;
3379
3379
  };
3380
3380
  quantity: number;
3381
- tier: "early_bird" | "regular" | "vip";
3381
+ tier: string;
3382
3382
  status?: "active" | "inactive" | undefined;
3383
3383
  _id?: string | undefined;
3384
3384
  description?: string | undefined;
@@ -3418,7 +3418,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3418
3418
  reserved?: number | undefined;
3419
3419
  visibility?: "public" | "hidden" | "invite_only" | undefined;
3420
3420
  benefits?: string[] | undefined;
3421
- tier?: "early_bird" | "regular" | "vip" | undefined;
3421
+ tier?: string | undefined;
3422
3422
  }>, "many">;
3423
3423
  } & {
3424
3424
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -3681,7 +3681,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3681
3681
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
3682
3682
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
3683
3683
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3684
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
3684
+ tier: z.ZodDefault<z.ZodString>;
3685
3685
  }, "strip", z.ZodTypeAny, {
3686
3686
  name: string;
3687
3687
  price: {
@@ -3689,7 +3689,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3689
3689
  currency: string;
3690
3690
  };
3691
3691
  quantity: number;
3692
- tier: "early_bird" | "regular" | "vip";
3692
+ tier: string;
3693
3693
  status?: "active" | "inactive" | undefined;
3694
3694
  _id?: string | undefined;
3695
3695
  description?: string | undefined;
@@ -3729,7 +3729,7 @@ export declare const clientGetEventSchema: z.ZodObject<{
3729
3729
  reserved?: number | undefined;
3730
3730
  visibility?: "public" | "hidden" | "invite_only" | undefined;
3731
3731
  benefits?: string[] | undefined;
3732
- tier?: "early_bird" | "regular" | "vip" | undefined;
3732
+ tier?: string | undefined;
3733
3733
  }>, "many">;
3734
3734
  } & {
3735
3735
  termsAccepted: z.ZodEffects<z.ZodBoolean, boolean, boolean>;
@@ -3988,7 +3988,7 @@ export declare const draftEventSchema: z.ZodObject<{
3988
3988
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
3989
3989
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
3990
3990
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3991
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
3991
+ tier: z.ZodDefault<z.ZodString>;
3992
3992
  }, "strip", z.ZodTypeAny, {
3993
3993
  name: string;
3994
3994
  price: {
@@ -3996,7 +3996,7 @@ export declare const draftEventSchema: z.ZodObject<{
3996
3996
  currency: string;
3997
3997
  };
3998
3998
  quantity: number;
3999
- tier: "early_bird" | "regular" | "vip";
3999
+ tier: string;
4000
4000
  status?: "active" | "inactive" | undefined;
4001
4001
  _id?: string | undefined;
4002
4002
  description?: string | undefined;
@@ -4036,7 +4036,7 @@ export declare const draftEventSchema: z.ZodObject<{
4036
4036
  reserved?: number | undefined;
4037
4037
  visibility?: "public" | "hidden" | "invite_only" | undefined;
4038
4038
  benefits?: string[] | undefined;
4039
- tier?: "early_bird" | "regular" | "vip" | undefined;
4039
+ tier?: string | undefined;
4040
4040
  }>, "many">>;
4041
4041
  termsAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
4042
4042
  legalPermissionAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
@@ -4294,7 +4294,7 @@ export declare const draftEventSchema: z.ZodObject<{
4294
4294
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
4295
4295
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
4296
4296
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4297
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
4297
+ tier: z.ZodDefault<z.ZodString>;
4298
4298
  }, "strip", z.ZodTypeAny, {
4299
4299
  name: string;
4300
4300
  price: {
@@ -4302,7 +4302,7 @@ export declare const draftEventSchema: z.ZodObject<{
4302
4302
  currency: string;
4303
4303
  };
4304
4304
  quantity: number;
4305
- tier: "early_bird" | "regular" | "vip";
4305
+ tier: string;
4306
4306
  status?: "active" | "inactive" | undefined;
4307
4307
  _id?: string | undefined;
4308
4308
  description?: string | undefined;
@@ -4342,7 +4342,7 @@ export declare const draftEventSchema: z.ZodObject<{
4342
4342
  reserved?: number | undefined;
4343
4343
  visibility?: "public" | "hidden" | "invite_only" | undefined;
4344
4344
  benefits?: string[] | undefined;
4345
- tier?: "early_bird" | "regular" | "vip" | undefined;
4345
+ tier?: string | undefined;
4346
4346
  }>, "many">>;
4347
4347
  termsAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
4348
4348
  legalPermissionAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
@@ -4600,7 +4600,7 @@ export declare const draftEventSchema: z.ZodObject<{
4600
4600
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
4601
4601
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
4602
4602
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4603
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
4603
+ tier: z.ZodDefault<z.ZodString>;
4604
4604
  }, "strip", z.ZodTypeAny, {
4605
4605
  name: string;
4606
4606
  price: {
@@ -4608,7 +4608,7 @@ export declare const draftEventSchema: z.ZodObject<{
4608
4608
  currency: string;
4609
4609
  };
4610
4610
  quantity: number;
4611
- tier: "early_bird" | "regular" | "vip";
4611
+ tier: string;
4612
4612
  status?: "active" | "inactive" | undefined;
4613
4613
  _id?: string | undefined;
4614
4614
  description?: string | undefined;
@@ -4648,7 +4648,7 @@ export declare const draftEventSchema: z.ZodObject<{
4648
4648
  reserved?: number | undefined;
4649
4649
  visibility?: "public" | "hidden" | "invite_only" | undefined;
4650
4650
  benefits?: string[] | undefined;
4651
- tier?: "early_bird" | "regular" | "vip" | undefined;
4651
+ tier?: string | undefined;
4652
4652
  }>, "many">>;
4653
4653
  termsAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
4654
4654
  legalPermissionAccepted: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, boolean>>;
@@ -70,7 +70,7 @@ export declare const displayTicketSchema: z.ZodObject<{
70
70
  visibility: z.ZodOptional<z.ZodDefault<z.ZodEnum<["public", "hidden", "invite_only"]>>>;
71
71
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "inactive"]>>>;
72
72
  benefits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
73
- tier: z.ZodDefault<z.ZodEnum<["early_bird", "regular", "vip"]>>;
73
+ tier: z.ZodDefault<z.ZodString>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  name: string;
76
76
  price: {
@@ -78,7 +78,7 @@ export declare const displayTicketSchema: z.ZodObject<{
78
78
  currency: string;
79
79
  };
80
80
  quantity: number;
81
- tier: "early_bird" | "regular" | "vip";
81
+ tier: string;
82
82
  status?: "active" | "inactive" | undefined;
83
83
  _id?: string | undefined;
84
84
  description?: string | undefined;
@@ -118,5 +118,5 @@ export declare const displayTicketSchema: z.ZodObject<{
118
118
  reserved?: number | undefined;
119
119
  visibility?: "public" | "hidden" | "invite_only" | undefined;
120
120
  benefits?: string[] | undefined;
121
- tier?: "early_bird" | "regular" | "vip" | undefined;
121
+ tier?: string | undefined;
122
122
  }>;
@@ -28,5 +28,5 @@ exports.displayTicketSchema = zod_1.z.object({
28
28
  visibility: zod_1.z.enum(['public', 'hidden', 'invite_only'], { required_error: 'Ticket visibility must be public, hidden, or invite_only' }).default('public').optional(),
29
29
  status: zod_1.z.enum(['active', 'inactive'], { required_error: 'Ticket status must be active or inactive' }).default('active').optional(),
30
30
  benefits: zod_1.z.array(zod_1.z.string(), { required_error: 'Benefits must be an array of strings' }).optional(),
31
- tier: zod_1.z.enum(['early_bird', 'regular', 'vip'], { required_error: 'Ticket tier must be early_bird, regular or vip' }).default('regular')
31
+ tier: zod_1.z.string({ required_error: 'Ticket tier is required' }).default('regular')
32
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mac777/project-pinecone-schema",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -29,5 +29,5 @@ export const displayTicketSchema = z.object({
29
29
  visibility: z.enum(['public', 'hidden', 'invite_only'], { required_error: 'Ticket visibility must be public, hidden, or invite_only' }).default('public').optional(),
30
30
  status: z.enum(['active', 'inactive'], { required_error: 'Ticket status must be active or inactive' }).default('active').optional(),
31
31
  benefits: z.array(z.string(), { required_error: 'Benefits must be an array of strings' }).optional(),
32
- tier: z.enum(['early_bird', 'regular', 'vip'], { required_error: 'Ticket tier must be early_bird, regular or vip' }).default('regular')
32
+ tier: z.string({ required_error: 'Ticket tier is required' }).default('regular')
33
33
  });