@plyaz/types 1.14.11 → 1.15.0

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.cjs CHANGED
@@ -800,6 +800,19 @@ var ERROR_CODES = {
800
800
  DB_INVALID_BETWEEN_OPERATOR: "DB_INVALID_BETWEEN_OPERATOR",
801
801
  DB_INVALID_IN_OPERATOR: "DB_INVALID_IN_OPERATOR",
802
802
  DB_INVALID_COUNT: "DB_INVALID_COUNT",
803
+ // Connection & Network
804
+ DB_CONNECTION_FAILED: "DB_CONNECTION_FAILED",
805
+ DB_TIMEOUT: "DB_TIMEOUT",
806
+ // Constraints & Integrity
807
+ DB_CONSTRAINT_VIOLATION: "DB_CONSTRAINT_VIOLATION",
808
+ DB_DEADLOCK: "DB_DEADLOCK",
809
+ DB_DUPLICATE_ENTRY: "DB_DUPLICATE_ENTRY",
810
+ // Entity Operations
811
+ DB_ENTITY_NOT_FOUND: "DB_ENTITY_NOT_FOUND",
812
+ // Migration & Schema
813
+ DB_MIGRATION_FAILED: "DB_MIGRATION_FAILED",
814
+ // General
815
+ DB_UNKNOWN_ERROR: "DB_UNKNOWN_ERROR",
803
816
  // ===== Payments Package Errors =====
804
817
  // Refund
805
818
  PAYMENT_REFUND_FAILED: "payment.refund.failed",
@@ -1133,7 +1146,15 @@ var DATABASE_ERROR_CODES = {
1133
1146
  INVALID_SHELL_ARG: ERROR_CODES.DB_INVALID_SHELL_ARG,
1134
1147
  INVALID_BETWEEN_OPERATOR: ERROR_CODES.DB_INVALID_BETWEEN_OPERATOR,
1135
1148
  INVALID_IN_OPERATOR: ERROR_CODES.DB_INVALID_IN_OPERATOR,
1136
- INVALID_COUNT: ERROR_CODES.DB_INVALID_COUNT
1149
+ INVALID_COUNT: ERROR_CODES.DB_INVALID_COUNT,
1150
+ CONNECTION_FAILED: ERROR_CODES.DB_CONNECTION_FAILED,
1151
+ CONSTRAINT_VIOLATION: ERROR_CODES.DB_CONSTRAINT_VIOLATION,
1152
+ TIMEOUT: ERROR_CODES.DB_TIMEOUT,
1153
+ DEADLOCK: ERROR_CODES.DB_DEADLOCK,
1154
+ ENTITY_NOT_FOUND: ERROR_CODES.DB_ENTITY_NOT_FOUND,
1155
+ DUPLICATE_ENTRY: ERROR_CODES.DB_DUPLICATE_ENTRY,
1156
+ MIGRATION_FAILED: ERROR_CODES.DB_MIGRATION_FAILED,
1157
+ UNKNOWN_ERROR: ERROR_CODES.DB_UNKNOWN_ERROR
1137
1158
  };
1138
1159
  var ERROR_DEFINITIONS = {
1139
1160
  // ===== API Package Error Definitions =====
@@ -2986,6 +3007,75 @@ var ERROR_DEFINITIONS = {
2986
3007
  severity: ERROR_SEVERITY.Medium,
2987
3008
  retryable: false
2988
3009
  },
3010
+ // Connection & Network
3011
+ [ERROR_CODES.DB_CONNECTION_FAILED]: {
3012
+ code: ERROR_CODES.DB_CONNECTION_FAILED,
3013
+ status: HTTP_STATUS.INTERNAL_SERVER_ERROR,
3014
+ category: ERROR_CATEGORY.Network,
3015
+ userMessage: "db.connection.failed",
3016
+ severity: ERROR_SEVERITY.High,
3017
+ retryable: true
3018
+ },
3019
+ [ERROR_CODES.DB_TIMEOUT]: {
3020
+ code: ERROR_CODES.DB_TIMEOUT,
3021
+ status: HTTP_STATUS.REQUEST_TIMEOUT,
3022
+ category: ERROR_CATEGORY.Timeout,
3023
+ userMessage: "db.connection.timeout",
3024
+ severity: ERROR_SEVERITY.High,
3025
+ retryable: true
3026
+ },
3027
+ // Constraints & Integrity
3028
+ [ERROR_CODES.DB_CONSTRAINT_VIOLATION]: {
3029
+ code: ERROR_CODES.DB_CONSTRAINT_VIOLATION,
3030
+ status: HTTP_STATUS.CONFLICT,
3031
+ category: ERROR_CATEGORY.Validation,
3032
+ userMessage: "db.constraint.violation",
3033
+ severity: ERROR_SEVERITY.Medium,
3034
+ retryable: false
3035
+ },
3036
+ [ERROR_CODES.DB_DEADLOCK]: {
3037
+ code: ERROR_CODES.DB_DEADLOCK,
3038
+ status: HTTP_STATUS.CONFLICT,
3039
+ category: ERROR_CATEGORY.Server,
3040
+ userMessage: "db.constraint.deadlock",
3041
+ severity: ERROR_SEVERITY.High,
3042
+ retryable: true
3043
+ },
3044
+ [ERROR_CODES.DB_DUPLICATE_ENTRY]: {
3045
+ code: ERROR_CODES.DB_DUPLICATE_ENTRY,
3046
+ status: HTTP_STATUS.CONFLICT,
3047
+ category: ERROR_CATEGORY.Validation,
3048
+ userMessage: "db.constraint.duplicate_entry",
3049
+ severity: ERROR_SEVERITY.Medium,
3050
+ retryable: false
3051
+ },
3052
+ // Entity Operations
3053
+ [ERROR_CODES.DB_ENTITY_NOT_FOUND]: {
3054
+ code: ERROR_CODES.DB_ENTITY_NOT_FOUND,
3055
+ status: HTTP_STATUS.NOT_FOUND,
3056
+ category: ERROR_CATEGORY.NotFound,
3057
+ userMessage: "db.entity.not_found",
3058
+ severity: ERROR_SEVERITY.Medium,
3059
+ retryable: false
3060
+ },
3061
+ // Migration & Schema
3062
+ [ERROR_CODES.DB_MIGRATION_FAILED]: {
3063
+ code: ERROR_CODES.DB_MIGRATION_FAILED,
3064
+ status: HTTP_STATUS.INTERNAL_SERVER_ERROR,
3065
+ category: ERROR_CATEGORY.Server,
3066
+ userMessage: "db.migration.failed",
3067
+ severity: ERROR_SEVERITY.Critical,
3068
+ retryable: false
3069
+ },
3070
+ // General
3071
+ [ERROR_CODES.DB_UNKNOWN_ERROR]: {
3072
+ code: ERROR_CODES.DB_UNKNOWN_ERROR,
3073
+ status: HTTP_STATUS.INTERNAL_SERVER_ERROR,
3074
+ category: ERROR_CATEGORY.Unknown,
3075
+ userMessage: "db.unknown_error",
3076
+ severity: ERROR_SEVERITY.Medium,
3077
+ retryable: false
3078
+ },
2989
3079
  [ERROR_CODES.PAYMENT_ROUTING_RETRY_EXCEEDED]: {
2990
3080
  code: ERROR_CODES.PAYMENT_ROUTING_RETRY_EXCEEDED,
2991
3081
  status: HTTP_STATUS.TOO_MANY_REQUESTS,
@@ -3329,6 +3419,184 @@ var CHAIN_ID = {
3329
3419
  BaseSepolia: 84532
3330
3420
  };
3331
3421
 
3422
+ // src/user/enums.ts
3423
+ var COUNTRIES = {
3424
+ unitedKingdom: "unitedKingdom",
3425
+ germany: "germany",
3426
+ france: "france",
3427
+ spain: "spain",
3428
+ italy: "italy",
3429
+ netherlands: "netherlands",
3430
+ belgium: "belgium",
3431
+ austria: "austria",
3432
+ switzerland: "switzerland",
3433
+ sweden: "sweden",
3434
+ norway: "norway",
3435
+ denmark: "denmark",
3436
+ finland: "finland",
3437
+ portugal: "portugal",
3438
+ ireland: "ireland",
3439
+ poland: "poland",
3440
+ czechRepublic: "czechRepublic",
3441
+ hungary: "hungary",
3442
+ romania: "romania",
3443
+ bulgaria: "bulgaria",
3444
+ croatia: "croatia",
3445
+ slovenia: "slovenia",
3446
+ slovakia: "slovakia",
3447
+ estonia: "estonia",
3448
+ latvia: "latvia",
3449
+ lithuania: "lithuania",
3450
+ greece: "greece",
3451
+ cyprus: "cyprus",
3452
+ malta: "malta",
3453
+ luxembourg: "luxembourg",
3454
+ other: "other"
3455
+ };
3456
+ var BASIC_PROFILE_ERRORS = /* @__PURE__ */ ((BASIC_PROFILE_ERRORS2) => {
3457
+ BASIC_PROFILE_ERRORS2["NameMin"] = "components.BasicProfileForm.errors.nameMin";
3458
+ BASIC_PROFILE_ERRORS2["NameMax"] = "components.BasicProfileForm.errors.nameMax";
3459
+ BASIC_PROFILE_ERRORS2["EmailValid"] = "components.BasicProfileForm.errors.emailValid";
3460
+ BASIC_PROFILE_ERRORS2["EmailRequired"] = "components.BasicProfileForm.errors.emailRequired";
3461
+ BASIC_PROFILE_ERRORS2["CountryRequired"] = "components.BasicProfileForm.errors.countryRequired";
3462
+ BASIC_PROFILE_ERRORS2["BioMax"] = "components.BasicProfileForm.errors.bioMax";
3463
+ BASIC_PROFILE_ERRORS2["ProfileImageSize"] = "components.BasicProfileForm.errors.profileImageSize";
3464
+ BASIC_PROFILE_ERRORS2["ProfileImageTypes"] = "components.BasicProfileForm.errors.profileImageTypes";
3465
+ return BASIC_PROFILE_ERRORS2;
3466
+ })(BASIC_PROFILE_ERRORS || {});
3467
+ var ATHLETE_PROFILE_ERRORS = /* @__PURE__ */ ((ATHLETE_PROFILE_ERRORS2) => {
3468
+ ATHLETE_PROFILE_ERRORS2["DobMax"] = "components.AthleteProfileForm.errors.dobMax";
3469
+ ATHLETE_PROFILE_ERRORS2["DobMin"] = "components.AthleteProfileForm.errors.dobMin";
3470
+ ATHLETE_PROFILE_ERRORS2["HeightMin"] = "components.AthleteProfileForm.errors.heightMin";
3471
+ ATHLETE_PROFILE_ERRORS2["HeightMax"] = "components.AthleteProfileForm.errors.heightMax";
3472
+ ATHLETE_PROFILE_ERRORS2["HeightInvalid"] = "components.AthleteProfileForm.errors.heightInvalid";
3473
+ ATHLETE_PROFILE_ERRORS2["WeightMin"] = "components.AthleteProfileForm.errors.weightMin";
3474
+ ATHLETE_PROFILE_ERRORS2["WeightMax"] = "components.AthleteProfileForm.errors.weightMax";
3475
+ ATHLETE_PROFILE_ERRORS2["WeightInvalid"] = "components.AthleteProfileForm.errors.weightInvalid";
3476
+ ATHLETE_PROFILE_ERRORS2["PositionMin"] = "components.AthleteProfileForm.errors.positionMin";
3477
+ ATHLETE_PROFILE_ERRORS2["PositionMax"] = "components.AthleteProfileForm.errors.positionMax";
3478
+ ATHLETE_PROFILE_ERRORS2["TeamMin"] = "components.AthleteProfileForm.errors.teamMin";
3479
+ ATHLETE_PROFILE_ERRORS2["TeamMax"] = "components.AthleteProfileForm.errors.teamMax";
3480
+ ATHLETE_PROFILE_ERRORS2["InstagramInvalid"] = "components.AthleteProfileForm.errors.instagramInvalid";
3481
+ ATHLETE_PROFILE_ERRORS2["TiktokInvalid"] = "components.AthleteProfileForm.errors.tiktokInvalid";
3482
+ ATHLETE_PROFILE_ERRORS2["HighlightImageSize"] = "components.AthleteProfileForm.errors.highlightImageSize";
3483
+ ATHLETE_PROFILE_ERRORS2["HighlightImageTypes"] = "components.AthleteProfileForm.errors.highlightImageTypes";
3484
+ return ATHLETE_PROFILE_ERRORS2;
3485
+ })(ATHLETE_PROFILE_ERRORS || {});
3486
+ var MIN_NAME_LENGTH = 2;
3487
+ var MAX_NAME_LENGTH = 50;
3488
+ var MAX_BIO_LENGTH = 275;
3489
+ var basicProfileSchema = zod.z.object({
3490
+ name: zod.z.string().min(MIN_NAME_LENGTH, "components.BasicProfileForm.errors.nameMin" /* NameMin */).max(MAX_NAME_LENGTH, "components.BasicProfileForm.errors.nameMax" /* NameMax */),
3491
+ email: zod.z.string().email("components.BasicProfileForm.errors.emailValid" /* EmailValid */).min(1, "components.BasicProfileForm.errors.emailRequired" /* EmailRequired */),
3492
+ country: zod.z.string().min(1, "components.BasicProfileForm.errors.countryRequired" /* CountryRequired */),
3493
+ bio: zod.z.string().max(MAX_BIO_LENGTH, "components.BasicProfileForm.errors.bioMax" /* BioMax */).optional(),
3494
+ profileImage: zod.z.union([
3495
+ zod.z.instanceof(File).refine(
3496
+ (file) => file.size <= 5 * 1024 * 1024,
3497
+ // 5MB
3498
+ "components.BasicProfileForm.errors.profileImageSize" /* ProfileImageSize */
3499
+ ).refine(
3500
+ (file) => ["image/png", "image/jpeg", "image/jpg", "image/webp"].includes(file.type),
3501
+ "components.BasicProfileForm.errors.profileImageTypes" /* ProfileImageTypes */
3502
+ ),
3503
+ zod.z.string(),
3504
+ zod.z.null()
3505
+ ]).optional()
3506
+ });
3507
+ var fanProfileSchema = basicProfileSchema.extend({});
3508
+ var athleteProfileSchema = basicProfileSchema.extend({
3509
+ dateOfBirth: zod.z.date().max(/* @__PURE__ */ new Date(), "components.AthleteProfileForm.errors.dobMax" /* DobMax */).min(new Date(1900, 0, 1), "components.AthleteProfileForm.errors.dobMin" /* DobMin */).optional(),
3510
+ height: zod.z.number().min(50, "components.AthleteProfileForm.errors.heightMin" /* HeightMin */).max(300, "components.AthleteProfileForm.errors.heightMax" /* HeightMax */).optional(),
3511
+ weight: zod.z.number().min(10, "components.AthleteProfileForm.errors.weightMin" /* WeightMin */).max(500, "components.AthleteProfileForm.errors.weightMax" /* WeightMax */).optional(),
3512
+ position: zod.z.string().min(2, "components.AthleteProfileForm.errors.positionMin" /* PositionMin */).max(50, "components.AthleteProfileForm.errors.positionMax" /* PositionMax */).optional(),
3513
+ teamName: zod.z.string().min(2, "components.AthleteProfileForm.errors.teamMin" /* TeamMin */).max(100, "components.AthleteProfileForm.errors.teamMax" /* TeamMax */).optional(),
3514
+ instagramHandle: zod.z.string().regex(/^@?[a-zA-Z0-9._]{1,30}$/, "components.AthleteProfileForm.errors.instagramInvalid" /* InstagramInvalid */).optional(),
3515
+ tiktokHandle: zod.z.string().regex(/^@?[a-zA-Z0-9._]{1,24}$/, "components.AthleteProfileForm.errors.tiktokInvalid" /* TiktokInvalid */).optional(),
3516
+ highlightImage: zod.z.union([
3517
+ zod.z.instanceof(File).refine(
3518
+ (file) => file.size <= 5 * 1024 * 1024,
3519
+ // 5MB
3520
+ "components.AthleteProfileForm.errors.highlightImageSize" /* HighlightImageSize */
3521
+ ).refine(
3522
+ (file) => ["image/png", "image/jpeg", "image/jpg"].includes(file.type),
3523
+ "components.AthleteProfileForm.errors.highlightImageTypes" /* HighlightImageTypes */
3524
+ ),
3525
+ zod.z.string(),
3526
+ zod.z.null()
3527
+ ]).optional()
3528
+ });
3529
+
3530
+ // src/campaign/enums.ts
3531
+ var CREATE_CAMPAIGN_ERRORS = /* @__PURE__ */ ((CREATE_CAMPAIGN_ERRORS2) => {
3532
+ CREATE_CAMPAIGN_ERRORS2["TitleRequired"] = "components.CreateCampaign.Form.errors.titleRequired";
3533
+ CREATE_CAMPAIGN_ERRORS2["TitleMax"] = "components.CreateCampaign.Form.errors.titleMax";
3534
+ CREATE_CAMPAIGN_ERRORS2["SubtitleRequired"] = "components.CreateCampaign.Form.errors.subtitleRequired";
3535
+ CREATE_CAMPAIGN_ERRORS2["SubtitleMax"] = "components.CreateCampaign.Form.errors.subtitleMax";
3536
+ CREATE_CAMPAIGN_ERRORS2["CampaignImageRequired"] = "components.CreateCampaign.Form.errors.campaignImageRequired";
3537
+ CREATE_CAMPAIGN_ERRORS2["StartDateRequired"] = "components.CreateCampaign.Form.errors.startDateRequired";
3538
+ CREATE_CAMPAIGN_ERRORS2["StartDateInvalid"] = "components.CreateCampaign.Form.errors.startDateInvalid";
3539
+ CREATE_CAMPAIGN_ERRORS2["StartDateFuture"] = "components.CreateCampaign.Form.errors.startDateFuture";
3540
+ CREATE_CAMPAIGN_ERRORS2["DurationRequired"] = "components.CreateCampaign.Form.errors.durationRequired";
3541
+ CREATE_CAMPAIGN_ERRORS2["StoryRequired"] = "components.CreateCampaign.Form.errors.storyRequired";
3542
+ CREATE_CAMPAIGN_ERRORS2["StoryMax"] = "components.CreateCampaign.Form.errors.storyMax";
3543
+ CREATE_CAMPAIGN_ERRORS2["VideoInvalidProvider"] = "components.CreateCampaign.Form.errors.videoInvalidProvider";
3544
+ CREATE_CAMPAIGN_ERRORS2["FundingRequired"] = "components.CreateCampaign.Form.errors.fundingRequired";
3545
+ CREATE_CAMPAIGN_ERRORS2["FundingRange"] = "components.CreateCampaign.Form.errors.fundingRange";
3546
+ CREATE_CAMPAIGN_ERRORS2["InstagramMax"] = "components.CreateCampaign.Form.errors.instagramMax";
3547
+ CREATE_CAMPAIGN_ERRORS2["InstagramInvalid"] = "components.CreateCampaign.Form.errors.instagramInvalid";
3548
+ CREATE_CAMPAIGN_ERRORS2["TiktokMax"] = "components.CreateCampaign.Form.errors.tiktokMax";
3549
+ CREATE_CAMPAIGN_ERRORS2["TiktokInvalid"] = "components.CreateCampaign.Form.errors.tiktokInvalid";
3550
+ CREATE_CAMPAIGN_ERRORS2["YoutubeMax"] = "components.CreateCampaign.Form.errors.youtubeMax";
3551
+ CREATE_CAMPAIGN_ERRORS2["YoutubeInvalid"] = "components.CreateCampaign.Form.errors.youtubeInvalid";
3552
+ return CREATE_CAMPAIGN_ERRORS2;
3553
+ })(CREATE_CAMPAIGN_ERRORS || {});
3554
+ var formCampaignSchema = /* @__PURE__ */ __name(({ maxFunding }) => zod.z.object({
3555
+ title: zod.z.string().min(1, "components.CreateCampaign.Form.errors.titleRequired" /* TitleRequired */).max(60, "components.CreateCampaign.Form.errors.titleMax" /* TitleMax */),
3556
+ subtitle: zod.z.string().min(1, "components.CreateCampaign.Form.errors.subtitleRequired" /* SubtitleRequired */).max(200, "components.CreateCampaign.Form.errors.subtitleMax" /* SubtitleMax */),
3557
+ campaignImage: zod.z.any().refine((val) => val instanceof File, {
3558
+ message: "components.CreateCampaign.Form.errors.campaignImageRequired" /* CampaignImageRequired */
3559
+ }),
3560
+ startDate: zod.z.date({
3561
+ error: "components.CreateCampaign.Form.errors.startDateRequired" /* StartDateRequired */
3562
+ }).refine((date) => date instanceof Date && !isNaN(date.getTime()), {
3563
+ message: "components.CreateCampaign.Form.errors.startDateInvalid" /* StartDateInvalid */
3564
+ }).refine((date) => date >= /* @__PURE__ */ new Date(), {
3565
+ message: "components.CreateCampaign.Form.errors.startDateFuture" /* StartDateFuture */
3566
+ }),
3567
+ duration: zod.z.union([zod.z.literal(30), zod.z.literal(60), zod.z.literal(90)]).nullable().refine((val) => val !== null, {
3568
+ message: "components.CreateCampaign.Form.errors.durationRequired" /* DurationRequired */
3569
+ }),
3570
+ story: zod.z.string().min(1, "components.CreateCampaign.Form.errors.storyRequired" /* StoryRequired */).max(1e4, "components.CreateCampaign.Form.errors.storyMax" /* StoryMax */),
3571
+ videoHighlight: zod.z.string().refine(
3572
+ (url) => {
3573
+ if (!url || url.trim() === "") return true;
3574
+ try {
3575
+ const urlObj = new URL(url);
3576
+ const hostname = urlObj.hostname.toLowerCase();
3577
+ return hostname.includes("youtube.com") || hostname.includes("youtu.be") || hostname.includes("tiktok.com") || hostname.includes("vimeo.com");
3578
+ } catch {
3579
+ return false;
3580
+ }
3581
+ },
3582
+ {
3583
+ message: "components.CreateCampaign.Form.errors.videoInvalidProvider" /* VideoInvalidProvider */
3584
+ }
3585
+ ).optional(),
3586
+ fundingTarget: zod.z.string().min(1, "components.CreateCampaign.Form.errors.fundingRequired" /* FundingRequired */).refine(
3587
+ (val) => {
3588
+ const num = Number.parseFloat(val ?? "");
3589
+ return !isNaN(num) && num > 0 && num <= maxFunding;
3590
+ },
3591
+ {
3592
+ message: "components.CreateCampaign.Form.errors.fundingRange" /* FundingRange */
3593
+ }
3594
+ ),
3595
+ instagramHandle: zod.z.string().max(30, "components.CreateCampaign.Form.errors.instagramMax" /* InstagramMax */).regex(/^@?[a-zA-Z0-9._]{1,30}$/, "components.CreateCampaign.Form.errors.instagramInvalid" /* InstagramInvalid */).optional(),
3596
+ tiktokHandle: zod.z.string().max(24, "components.CreateCampaign.Form.errors.tiktokMax" /* TiktokMax */).regex(/^@?[a-zA-Z0-9._]{1,24}$/, "components.CreateCampaign.Form.errors.tiktokInvalid" /* TiktokInvalid */).optional(),
3597
+ youtubeHandle: zod.z.string().max(50, "components.CreateCampaign.Form.errors.youtubeMax" /* YoutubeMax */).regex(/^@?[a-zA-Z0-9._]{1,50}$/, "components.CreateCampaign.Form.errors.youtubeInvalid" /* YoutubeInvalid */).optional()
3598
+ }), "formCampaignSchema");
3599
+
3332
3600
  // src/logger/enums.ts
3333
3601
  var LOGGER_SERVICES = {
3334
3602
  // API Package Services
@@ -4606,9 +4874,11 @@ exports.ALERT_SOURCE = ALERT_SOURCE;
4606
4874
  exports.ALERT_TYPES = ALERT_TYPES;
4607
4875
  exports.ALL_EVENTS = ALL_EVENTS;
4608
4876
  exports.API_ERROR_CODES = API_ERROR_CODES;
4877
+ exports.ATHLETE_PROFILE_ERRORS = ATHLETE_PROFILE_ERRORS;
4609
4878
  exports.AUDIT_OPERATION = AUDIT_OPERATION;
4610
4879
  exports.AUTH_PROVIDER = AUTH_PROVIDER;
4611
4880
  exports.AUTH_PROVIDER_TYPE = AUTH_PROVIDER_TYPE;
4881
+ exports.BASIC_PROFILE_ERRORS = BASIC_PROFILE_ERRORS;
4612
4882
  exports.CACHE_DURATION_MS = CACHE_DURATION_MS;
4613
4883
  exports.CACHE_EVENTS = CACHE_EVENTS;
4614
4884
  exports.CHAIN_ID = CHAIN_ID;
@@ -4623,6 +4893,8 @@ exports.CONFIG_EVENTS = CONFIG_EVENTS;
4623
4893
  exports.COORDINATES = COORDINATES;
4624
4894
  exports.CORRELATION_TYPE = CORRELATION_TYPE;
4625
4895
  exports.COSTOPTIMIZATIONSTRATEGY = COSTOPTIMIZATIONSTRATEGY;
4896
+ exports.COUNTRIES = COUNTRIES;
4897
+ exports.CREATE_CAMPAIGN_ERRORS = CREATE_CAMPAIGN_ERRORS;
4626
4898
  exports.CURRENCY_CODES = CURRENCY_CODES;
4627
4899
  exports.ContactUsFormSchema = ContactUsFormSchema;
4628
4900
  exports.CorrelationIdSchema = CorrelationIdSchema;
@@ -4739,6 +5011,10 @@ exports.VALIDATION_RANGES = VALIDATION_RANGES;
4739
5011
  exports.WEBHOOK_ENCRYPTION_METHOD = WEBHOOK_ENCRYPTION_METHOD;
4740
5012
  exports.WEBHOOK_EVENT_TYPE = WEBHOOK_EVENT_TYPE;
4741
5013
  exports.WEBHOOK_VERIFICATION_REASON = WEBHOOK_VERIFICATION_REASON;
5014
+ exports.athleteProfileSchema = athleteProfileSchema;
5015
+ exports.basicProfileSchema = basicProfileSchema;
5016
+ exports.fanProfileSchema = fanProfileSchema;
5017
+ exports.formCampaignSchema = formCampaignSchema;
4742
5018
  exports.isValidConfigSource = isValidConfigSource;
4743
5019
  exports.isValidHistoryType = isValidHistoryType;
4744
5020
  exports.isValidOperation = isValidOperation;