@goodparty_org/contracts 0.1.0 → 0.3.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.d.mts CHANGED
@@ -383,7 +383,7 @@ declare const UpdatePasswordSchema: z.ZodObject<{
383
383
  }>;
384
384
  type UpdatePasswordInput = z.infer<typeof UpdatePasswordSchema>;
385
385
 
386
- declare const USER_SORT_KEYS: readonly ["id", "createdAt", "updatedAt", "firstName", "lastName", "name", "avatar", "password", "hasPassword", "email", "phone", "zip", "roles", "metaData", "passwordResetToken"];
386
+ declare const USER_SORT_KEYS: readonly ["id", "createdAt", "updatedAt", "firstName", "lastName", "name", "avatar", "password", "hasPassword", "email", "clerkId", "phone", "zip", "roles", "metaData", "passwordResetToken"];
387
387
  declare const ListUsersPaginationSchema: z.ZodObject<{
388
388
  offset: z.ZodOptional<z.ZodNumber>;
389
389
  limit: z.ZodOptional<z.ZodNumber>;
@@ -394,6 +394,7 @@ declare const ListUsersPaginationSchema: z.ZodObject<{
394
394
  firstName: z.ZodOptional<z.ZodString>;
395
395
  lastName: z.ZodOptional<z.ZodString>;
396
396
  email: z.ZodOptional<z.ZodString>;
397
+ isPro: z.ZodOptional<z.ZodEffects<z.ZodEnum<["true", "false"]>, boolean, "true" | "false">>;
397
398
  }, "strip", z.ZodTypeAny, {
398
399
  email?: string | undefined;
399
400
  offset?: number | undefined;
@@ -402,6 +403,7 @@ declare const ListUsersPaginationSchema: z.ZodObject<{
402
403
  sortBy?: string | undefined;
403
404
  firstName?: string | undefined;
404
405
  lastName?: string | undefined;
406
+ isPro?: boolean | undefined;
405
407
  }, {
406
408
  email?: string | undefined;
407
409
  offset?: number | undefined;
@@ -410,6 +412,7 @@ declare const ListUsersPaginationSchema: z.ZodObject<{
410
412
  sortBy?: string | undefined;
411
413
  firstName?: string | undefined;
412
414
  lastName?: string | undefined;
415
+ isPro?: "true" | "false" | undefined;
413
416
  }>;
414
417
  type ListUsersPagination = z.infer<typeof ListUsersPaginationSchema>;
415
418
 
@@ -672,8 +675,6 @@ type CampaignDetails = {
672
675
  city?: string | null;
673
676
  county?: string | null;
674
677
  normalizedOffice?: string | null;
675
- otherOffice?: string;
676
- office?: string;
677
678
  party?: string;
678
679
  otherParty?: string;
679
680
  district?: string;
@@ -695,7 +696,6 @@ type CampaignDetails = {
695
696
  officeTermLength?: string;
696
697
  partisanType?: string;
697
698
  priorElectionDates?: string[];
698
- positionId?: string | null;
699
699
  electionId?: string | null;
700
700
  tier?: string;
701
701
  einNumber?: string | null;
@@ -750,7 +750,6 @@ type CampaignData = {
750
750
  campaignPlan?: CampaignPlan;
751
751
  hasVoterFile?: string;
752
752
  campaignPlanStatus?: Record<string, CampaignPlanStatus>;
753
- path_to_victory_status?: string;
754
753
  } | null;
755
754
  type CampaignAiContent = {
756
755
  generationStatus?: Record<string, AiContentGenerationStatus>;
@@ -910,6 +909,294 @@ declare const ReadCampaignOutputSchema: zod.ZodObject<Omit<{
910
909
  derp?: string | undefined;
911
910
  }>;
912
911
 
912
+ declare const SetDistrictOutputSchema: z.ZodObject<Omit<{
913
+ id: z.ZodNumber;
914
+ createdAt: z.ZodDate;
915
+ updatedAt: z.ZodDate;
916
+ slug: z.ZodString;
917
+ isActive: z.ZodBoolean;
918
+ isVerified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
919
+ isPro: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
920
+ isDemo: z.ZodBoolean;
921
+ didWin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
922
+ dateVerified: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
923
+ tier: z.ZodOptional<z.ZodNullable<z.ZodEnum<["WIN", "LOSE", "TOSSUP"]>>>;
924
+ formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
925
+ placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
926
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
927
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
928
+ aiContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
929
+ vendorTsData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
930
+ userId: z.ZodNumber;
931
+ canDownloadFederal: z.ZodBoolean;
932
+ completedTaskIds: z.ZodArray<z.ZodString, "many">;
933
+ hasFreeTextsOffer: z.ZodBoolean;
934
+ freeTextsOfferRedeemedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
935
+ derp: z.ZodOptional<z.ZodString>;
936
+ }, "vendorTsData">, "strip", z.ZodTypeAny, {
937
+ id: number;
938
+ createdAt: Date;
939
+ updatedAt: Date;
940
+ slug: string;
941
+ isActive: boolean;
942
+ isDemo: boolean;
943
+ data: Record<string, unknown>;
944
+ details: Record<string, unknown>;
945
+ aiContent: Record<string, unknown>;
946
+ userId: number;
947
+ canDownloadFederal: boolean;
948
+ completedTaskIds: string[];
949
+ hasFreeTextsOffer: boolean;
950
+ isVerified?: boolean | null | undefined;
951
+ isPro?: boolean | null | undefined;
952
+ didWin?: boolean | null | undefined;
953
+ dateVerified?: Date | null | undefined;
954
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
955
+ formattedAddress?: string | null | undefined;
956
+ placeId?: string | null | undefined;
957
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
958
+ derp?: string | undefined;
959
+ }, {
960
+ id: number;
961
+ createdAt: Date;
962
+ updatedAt: Date;
963
+ slug: string;
964
+ isActive: boolean;
965
+ isDemo: boolean;
966
+ data: Record<string, unknown>;
967
+ details: Record<string, unknown>;
968
+ aiContent: Record<string, unknown>;
969
+ userId: number;
970
+ canDownloadFederal: boolean;
971
+ completedTaskIds: string[];
972
+ hasFreeTextsOffer: boolean;
973
+ isVerified?: boolean | null | undefined;
974
+ isPro?: boolean | null | undefined;
975
+ didWin?: boolean | null | undefined;
976
+ dateVerified?: Date | null | undefined;
977
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
978
+ formattedAddress?: string | null | undefined;
979
+ placeId?: string | null | undefined;
980
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
981
+ derp?: string | undefined;
982
+ }>;
983
+ type SetDistrictOutput = z.infer<typeof SetDistrictOutputSchema>;
984
+
985
+ /**
986
+ * Live race-target metrics for a single campaign, computed on-demand from the
987
+ * elections service. Returned alongside the full campaign read shape (e.g.
988
+ * `GET /v1/campaigns/:id`).
989
+ */
990
+ declare const RaceTargetMetricsSchema: z.ZodObject<{
991
+ winNumber: z.ZodNumber;
992
+ voterContactGoal: z.ZodNumber;
993
+ projectedTurnout: z.ZodNumber;
994
+ }, "strip", z.ZodTypeAny, {
995
+ winNumber: number;
996
+ voterContactGoal: number;
997
+ projectedTurnout: number;
998
+ }, {
999
+ winNumber: number;
1000
+ voterContactGoal: number;
1001
+ projectedTurnout: number;
1002
+ }>;
1003
+ type RaceTargetMetrics = z.infer<typeof RaceTargetMetricsSchema>;
1004
+
1005
+ /**
1006
+ * Campaign list items are enriched with `positionName` (resolved from the
1007
+ * campaign's organization) so admin/M2M consumers can render the
1008
+ * human-readable position without a per-row roundtrip.
1009
+ *
1010
+ * `raceTargetMetrics` is intentionally NOT included here — it requires
1011
+ * per-campaign external lookups and would be too expensive for list
1012
+ * endpoints. Use `CampaignWithLiveContextSchema` for the single-campaign
1013
+ * read shape that includes those metrics.
1014
+ */
1015
+ declare const CampaignWithPositionNameSchema: z.ZodObject<Omit<{
1016
+ id: z.ZodNumber;
1017
+ createdAt: z.ZodDate;
1018
+ updatedAt: z.ZodDate;
1019
+ slug: z.ZodString;
1020
+ isActive: z.ZodBoolean;
1021
+ isVerified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1022
+ isPro: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1023
+ isDemo: z.ZodBoolean;
1024
+ didWin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1025
+ dateVerified: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1026
+ tier: z.ZodOptional<z.ZodNullable<z.ZodEnum<["WIN", "LOSE", "TOSSUP"]>>>;
1027
+ formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1029
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1030
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1031
+ aiContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1032
+ vendorTsData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1033
+ userId: z.ZodNumber;
1034
+ canDownloadFederal: z.ZodBoolean;
1035
+ completedTaskIds: z.ZodArray<z.ZodString, "many">;
1036
+ hasFreeTextsOffer: z.ZodBoolean;
1037
+ freeTextsOfferRedeemedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1038
+ derp: z.ZodOptional<z.ZodString>;
1039
+ }, "vendorTsData"> & {
1040
+ positionName: z.ZodNullable<z.ZodString>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ id: number;
1043
+ createdAt: Date;
1044
+ updatedAt: Date;
1045
+ slug: string;
1046
+ isActive: boolean;
1047
+ isDemo: boolean;
1048
+ data: Record<string, unknown>;
1049
+ details: Record<string, unknown>;
1050
+ aiContent: Record<string, unknown>;
1051
+ userId: number;
1052
+ canDownloadFederal: boolean;
1053
+ completedTaskIds: string[];
1054
+ hasFreeTextsOffer: boolean;
1055
+ positionName: string | null;
1056
+ isVerified?: boolean | null | undefined;
1057
+ isPro?: boolean | null | undefined;
1058
+ didWin?: boolean | null | undefined;
1059
+ dateVerified?: Date | null | undefined;
1060
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
1061
+ formattedAddress?: string | null | undefined;
1062
+ placeId?: string | null | undefined;
1063
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
1064
+ derp?: string | undefined;
1065
+ }, {
1066
+ id: number;
1067
+ createdAt: Date;
1068
+ updatedAt: Date;
1069
+ slug: string;
1070
+ isActive: boolean;
1071
+ isDemo: boolean;
1072
+ data: Record<string, unknown>;
1073
+ details: Record<string, unknown>;
1074
+ aiContent: Record<string, unknown>;
1075
+ userId: number;
1076
+ canDownloadFederal: boolean;
1077
+ completedTaskIds: string[];
1078
+ hasFreeTextsOffer: boolean;
1079
+ positionName: string | null;
1080
+ isVerified?: boolean | null | undefined;
1081
+ isPro?: boolean | null | undefined;
1082
+ didWin?: boolean | null | undefined;
1083
+ dateVerified?: Date | null | undefined;
1084
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
1085
+ formattedAddress?: string | null | undefined;
1086
+ placeId?: string | null | undefined;
1087
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
1088
+ derp?: string | undefined;
1089
+ }>;
1090
+ type CampaignWithPositionName = z.infer<typeof CampaignWithPositionNameSchema>;
1091
+
1092
+ /**
1093
+ * The full single-campaign read shape (e.g. `GET /v1/campaigns/:id` over
1094
+ * M2M), enriched with both `positionName` and live race-target metrics.
1095
+ *
1096
+ * For list endpoints, prefer `CampaignWithPositionNameSchema` to avoid the
1097
+ * expensive per-row metrics lookup.
1098
+ */
1099
+ declare const CampaignWithLiveContextSchema: z.ZodObject<Omit<{
1100
+ id: z.ZodNumber;
1101
+ createdAt: z.ZodDate;
1102
+ updatedAt: z.ZodDate;
1103
+ slug: z.ZodString;
1104
+ isActive: z.ZodBoolean;
1105
+ isVerified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1106
+ isPro: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1107
+ isDemo: z.ZodBoolean;
1108
+ didWin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1109
+ dateVerified: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1110
+ tier: z.ZodOptional<z.ZodNullable<z.ZodEnum<["WIN", "LOSE", "TOSSUP"]>>>;
1111
+ formattedAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1112
+ placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1114
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1115
+ aiContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1116
+ vendorTsData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1117
+ userId: z.ZodNumber;
1118
+ canDownloadFederal: z.ZodBoolean;
1119
+ completedTaskIds: z.ZodArray<z.ZodString, "many">;
1120
+ hasFreeTextsOffer: z.ZodBoolean;
1121
+ freeTextsOfferRedeemedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1122
+ derp: z.ZodOptional<z.ZodString>;
1123
+ }, "vendorTsData"> & {
1124
+ positionName: z.ZodNullable<z.ZodString>;
1125
+ } & {
1126
+ raceTargetMetrics: z.ZodNullable<z.ZodObject<{
1127
+ winNumber: z.ZodNumber;
1128
+ voterContactGoal: z.ZodNumber;
1129
+ projectedTurnout: z.ZodNumber;
1130
+ }, "strip", z.ZodTypeAny, {
1131
+ winNumber: number;
1132
+ voterContactGoal: number;
1133
+ projectedTurnout: number;
1134
+ }, {
1135
+ winNumber: number;
1136
+ voterContactGoal: number;
1137
+ projectedTurnout: number;
1138
+ }>>;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ id: number;
1141
+ createdAt: Date;
1142
+ updatedAt: Date;
1143
+ slug: string;
1144
+ isActive: boolean;
1145
+ isDemo: boolean;
1146
+ data: Record<string, unknown>;
1147
+ details: Record<string, unknown>;
1148
+ aiContent: Record<string, unknown>;
1149
+ userId: number;
1150
+ canDownloadFederal: boolean;
1151
+ completedTaskIds: string[];
1152
+ hasFreeTextsOffer: boolean;
1153
+ positionName: string | null;
1154
+ raceTargetMetrics: {
1155
+ winNumber: number;
1156
+ voterContactGoal: number;
1157
+ projectedTurnout: number;
1158
+ } | null;
1159
+ isVerified?: boolean | null | undefined;
1160
+ isPro?: boolean | null | undefined;
1161
+ didWin?: boolean | null | undefined;
1162
+ dateVerified?: Date | null | undefined;
1163
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
1164
+ formattedAddress?: string | null | undefined;
1165
+ placeId?: string | null | undefined;
1166
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
1167
+ derp?: string | undefined;
1168
+ }, {
1169
+ id: number;
1170
+ createdAt: Date;
1171
+ updatedAt: Date;
1172
+ slug: string;
1173
+ isActive: boolean;
1174
+ isDemo: boolean;
1175
+ data: Record<string, unknown>;
1176
+ details: Record<string, unknown>;
1177
+ aiContent: Record<string, unknown>;
1178
+ userId: number;
1179
+ canDownloadFederal: boolean;
1180
+ completedTaskIds: string[];
1181
+ hasFreeTextsOffer: boolean;
1182
+ positionName: string | null;
1183
+ raceTargetMetrics: {
1184
+ winNumber: number;
1185
+ voterContactGoal: number;
1186
+ projectedTurnout: number;
1187
+ } | null;
1188
+ isVerified?: boolean | null | undefined;
1189
+ isPro?: boolean | null | undefined;
1190
+ didWin?: boolean | null | undefined;
1191
+ dateVerified?: Date | null | undefined;
1192
+ tier?: "WIN" | "LOSE" | "TOSSUP" | null | undefined;
1193
+ formattedAddress?: string | null | undefined;
1194
+ placeId?: string | null | undefined;
1195
+ freeTextsOfferRedeemedAt?: Date | null | undefined;
1196
+ derp?: string | undefined;
1197
+ }>;
1198
+ type CampaignWithLiveContext = z.infer<typeof CampaignWithLiveContextSchema>;
1199
+
913
1200
  declare const CAMPAIGN_SORT_KEYS: readonly ["id", "organizationSlug", "createdAt", "updatedAt", "slug", "isActive", "isVerified", "isPro", "isDemo", "didWin", "dateVerified", "tier", "formattedAddress", "placeId", "data", "details", "aiContent", "vendorTsData", "userId", "canDownloadFederal", "completedTaskIds", "hasFreeTextsOffer", "freeTextsOfferRedeemedAt"];
914
1201
  declare const ListCampaignsPaginationSchema: z.ZodObject<{
915
1202
  offset: z.ZodOptional<z.ZodNumber>;
@@ -1136,4 +1423,4 @@ declare const UpdateSurveyQuestionInputSchema: z.ZodObject<{
1136
1423
  }>;
1137
1424
  type UpdateSurveyQuestionInput = z.infer<typeof UpdateSurveyQuestionInputSchema>;
1138
1425
 
1139
- export { type AiChatMessage, type AiContentData, type AiContentGenerationStatus, type AiContentInputValues, BALLOT_READY_POSITION_LEVEL_VALUES, BallotReadyPositionLevel, BallotReadyPositionLevelSchema, CAMPAIGN_CREATED_BY_VALUES, CAMPAIGN_LAUNCH_STATUS_VALUES, CAMPAIGN_SORT_KEYS, CAMPAIGN_STATUS_VALUES, CAMPAIGN_TIER_VALUES, CAMPAIGN_UPDATE_HISTORY_TYPE_VALUES, COMMITTEE_TYPE_VALUES, CONTENT_TYPE_VALUES, type CampaignAiContent, CampaignCreatedBy, CampaignCreatedBySchema, type CampaignData, type CampaignDetails, type CampaignFinance, CampaignLaunchStatus, CampaignLaunchStatusSchema, type CampaignPlan, type CampaignPlanStatus, CampaignSchema, CampaignStatus, CampaignStatusSchema, type CampaignTier, CampaignTierSchema, type CampaignUpdateHistoryType, CampaignUpdateHistoryTypeSchema, type CommitteeType, CommitteeTypeSchema, type ContentType, ContentTypeSchema, type CreateEcanvasserInput, CreateEcanvasserInputSchema, type CreateSurveyInput, CreateSurveyInputSchema, type CreateSurveyQuestionInput, CreateSurveyQuestionInputSchema, type CreateUserInput, CreateUserInputSchema, type CustomIssue, type CustomVoterFile, DOMAIN_STATUS_VALUES, type DomainStatus, DomainStatusSchema, ELECTION_LEVEL_VALUES, type Ecanvasser, type EcanvasserSummary, ElectionLevel, ElectionLevelSchema, EmailSchema, FilterablePaginationSchema, GENERATION_STATUS_VALUES, GenerationStatus, GenerationStatusSchema, type GeoLocation, type HubSpotUpdates, ISSUE_CHANNEL_VALUES, ISSUE_STATUS_VALUES, type IssueChannel, IssueChannelSchema, type IssueStatus, IssueStatusSchema, type ListCampaignsPagination, ListCampaignsPaginationSchema, type ListUsersPagination, ListUsersPaginationSchema, OFFICE_LEVEL_VALUES, ONBOARDING_STEP_VALUES, OUTREACH_STATUS_VALUES, OUTREACH_TYPE_VALUES, type OfficeLevel, OfficeLevelSchema, OnboardingStep, OnboardingStepSchema, type Opponent, type OutreachStatus, OutreachStatusSchema, type OutreachType, OutreachTypeSchema, POLL_CONFIDENCE_VALUES, POLL_INDIVIDUAL_MESSAGE_SENDER_VALUES, POLL_STATUS_VALUES, type PaginatedList, type PaginationMeta, PaginationMetaSchema, type PaginationOptions, PaginationOptionsSchema, PaginationSchema, PasswordSchema, PhoneSchema, type PollConfidence, PollConfidenceSchema, type PollIndividualMessageSender, PollIndividualMessageSenderSchema, type PollStatus, PollStatusSchema, type ReadCampaignOutput, ReadCampaignOutputSchema, type ReadUserOutput, ReadUserOutputSchema, RolesSchema, SIGN_UP_MODE, SURVEY_STATUS_VALUES, SortablePaginationSchema, type SurveyStatus, SurveyStatusSchema, TCR_COMPLIANCE_STATUS_VALUES, type TcrComplianceStatus, TcrComplianceStatusSchema, type TopIssuePosition, USER_ROLE_VALUES, USER_SORT_KEYS, type UpdateCampaignM2MInput, UpdateCampaignM2MSchema, type UpdateEcanvasserInput, UpdateEcanvasserInputSchema, type UpdatePasswordInput, UpdatePasswordSchema, type UpdateSurveyInput, UpdateSurveyInputSchema, type UpdateSurveyQuestionInput, UpdateSurveyQuestionInputSchema, type UpdateUserInput, UpdateUserInputSchema, type UserMetaData, UserMetaDataObjectSchema, UserMetaDataSchema, type UserRole, UserRoleSchema, type VoterGoals, WEBSITE_STATUS_VALUES, WHY_BROWSING_VALUES, type WebsiteStatus, WebsiteStatusSchema, type WhyBrowsing, WhyBrowsingSchema, ZipSchema, makeOptional, paginationFilter };
1426
+ export { type AiChatMessage, type AiContentData, type AiContentGenerationStatus, type AiContentInputValues, BALLOT_READY_POSITION_LEVEL_VALUES, BallotReadyPositionLevel, BallotReadyPositionLevelSchema, CAMPAIGN_CREATED_BY_VALUES, CAMPAIGN_LAUNCH_STATUS_VALUES, CAMPAIGN_SORT_KEYS, CAMPAIGN_STATUS_VALUES, CAMPAIGN_TIER_VALUES, CAMPAIGN_UPDATE_HISTORY_TYPE_VALUES, COMMITTEE_TYPE_VALUES, CONTENT_TYPE_VALUES, type CampaignAiContent, CampaignCreatedBy, CampaignCreatedBySchema, type CampaignData, type CampaignDetails, type CampaignFinance, CampaignLaunchStatus, CampaignLaunchStatusSchema, type CampaignPlan, type CampaignPlanStatus, CampaignSchema, CampaignStatus, CampaignStatusSchema, type CampaignTier, CampaignTierSchema, type CampaignUpdateHistoryType, CampaignUpdateHistoryTypeSchema, type CampaignWithLiveContext, CampaignWithLiveContextSchema, type CampaignWithPositionName, CampaignWithPositionNameSchema, type CommitteeType, CommitteeTypeSchema, type ContentType, ContentTypeSchema, type CreateEcanvasserInput, CreateEcanvasserInputSchema, type CreateSurveyInput, CreateSurveyInputSchema, type CreateSurveyQuestionInput, CreateSurveyQuestionInputSchema, type CreateUserInput, CreateUserInputSchema, type CustomIssue, type CustomVoterFile, DOMAIN_STATUS_VALUES, type DomainStatus, DomainStatusSchema, ELECTION_LEVEL_VALUES, type Ecanvasser, type EcanvasserSummary, ElectionLevel, ElectionLevelSchema, EmailSchema, FilterablePaginationSchema, GENERATION_STATUS_VALUES, GenerationStatus, GenerationStatusSchema, type GeoLocation, type HubSpotUpdates, ISSUE_CHANNEL_VALUES, ISSUE_STATUS_VALUES, type IssueChannel, IssueChannelSchema, type IssueStatus, IssueStatusSchema, type ListCampaignsPagination, ListCampaignsPaginationSchema, type ListUsersPagination, ListUsersPaginationSchema, OFFICE_LEVEL_VALUES, ONBOARDING_STEP_VALUES, OUTREACH_STATUS_VALUES, OUTREACH_TYPE_VALUES, type OfficeLevel, OfficeLevelSchema, OnboardingStep, OnboardingStepSchema, type Opponent, type OutreachStatus, OutreachStatusSchema, type OutreachType, OutreachTypeSchema, POLL_CONFIDENCE_VALUES, POLL_INDIVIDUAL_MESSAGE_SENDER_VALUES, POLL_STATUS_VALUES, type PaginatedList, type PaginationMeta, PaginationMetaSchema, type PaginationOptions, PaginationOptionsSchema, PaginationSchema, PasswordSchema, PhoneSchema, type PollConfidence, PollConfidenceSchema, type PollIndividualMessageSender, PollIndividualMessageSenderSchema, type PollStatus, PollStatusSchema, type RaceTargetMetrics, RaceTargetMetricsSchema, type ReadCampaignOutput, ReadCampaignOutputSchema, type ReadUserOutput, ReadUserOutputSchema, RolesSchema, SIGN_UP_MODE, SURVEY_STATUS_VALUES, type SetDistrictOutput, SetDistrictOutputSchema, SortablePaginationSchema, type SurveyStatus, SurveyStatusSchema, TCR_COMPLIANCE_STATUS_VALUES, type TcrComplianceStatus, TcrComplianceStatusSchema, type TopIssuePosition, USER_ROLE_VALUES, USER_SORT_KEYS, type UpdateCampaignM2MInput, UpdateCampaignM2MSchema, type UpdateEcanvasserInput, UpdateEcanvasserInputSchema, type UpdatePasswordInput, UpdatePasswordSchema, type UpdateSurveyInput, UpdateSurveyInputSchema, type UpdateSurveyQuestionInput, UpdateSurveyQuestionInputSchema, type UpdateUserInput, UpdateUserInputSchema, type UserMetaData, UserMetaDataObjectSchema, UserMetaDataSchema, type UserRole, UserRoleSchema, type VoterGoals, WEBSITE_STATUS_VALUES, WHY_BROWSING_VALUES, type WebsiteStatus, WebsiteStatusSchema, type WhyBrowsing, WhyBrowsingSchema, ZipSchema, makeOptional, paginationFilter };