import { Serialize } from "../utils/Base.js"; import { RecResponse } from "../utils/zodSchemas.js"; import * as bson_objectid0 from "bson-objectid"; import { z } from "zod"; //#region src/apis/APIs.d.ts declare enum DevicePlatform { ios = "ios", android = "android", browser = "browser" } declare enum Gender { male = "male", female = "female" } declare namespace APIs { namespace bluxUsersInitialize { const name = "bluxUsersInitialize"; const path = "/applications/{application_id}/blux-users/initialize"; const method = HttpMethod.POST; const bodySchema: z.ZodObject<{ session_id: z.ZodOptional; device_id: z.ZodOptional, bson_objectid0.default, string>>; custom_device_id: z.ZodOptional; country_code: z.ZodOptional, z.ZodUnion<[z.ZodLiteral<"419">, z.ZodEnum<["AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "GY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "KZ" | "RW" | "RE" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "SS" | "ES" | "LK" | "SD" | "SR" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "CA" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "YE" | "ZM" | "ZW", ...("AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "GY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "KZ" | "RW" | "RE" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "SS" | "ES" | "LK" | "SD" | "SR" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "CA" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "YE" | "ZM" | "ZW")[]]>]>>, "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "GY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "KZ" | "RW" | "RE" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "SS" | "ES" | "LK" | "SD" | "SR" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "CA" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "YE" | "ZM" | "ZW" | undefined, string>>; device_model: z.ZodString; language_code: z.ZodString; os_version: z.ZodString; platform: z.ZodNativeEnum; sdk_type: z.ZodString; sdk_version: z.ZodString; timezone: z.ZodString; blux_user_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { device_model: string; language_code: string; os_version: string; platform: DevicePlatform; sdk_type: string; sdk_version: string; timezone: string; session_id?: string | undefined; device_id?: bson_objectid0.default | undefined; custom_device_id?: string | undefined; country_code?: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "GY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "RO" | "RU" | "KZ" | "RW" | "RE" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "SS" | "ES" | "LK" | "SD" | "SR" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "CA" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "YE" | "ZM" | "ZW" | undefined; blux_user_id?: string | undefined; }, { device_model: string; language_code: string; os_version: string; platform: DevicePlatform; sdk_type: string; sdk_version: string; timezone: string; session_id?: string | undefined; device_id?: string | undefined; custom_device_id?: string | undefined; country_code?: string | undefined; blux_user_id?: string | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { application_id?: string | undefined; }, { application_id?: string | undefined; }>; type PathParam = Serialize>; type ResponseData = { blux_user_id: string; device_id: string; }; } namespace bluxUsersSignIn { const name = "bluxUsersSignIn"; const path = "/applications/{application_id}/blux-users/{blux_user_id}/sign-in"; const method = HttpMethod.PUT; const bodySchema: z.ZodObject<{ user_id: z.ZodString; device_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { user_id: string; device_id?: string | undefined; }, { user_id: string; device_id?: string | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodOptional; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id?: string | undefined; }, { blux_user_id: string; application_id?: string | undefined; }>; type PathParam = Serialize>; type ResponseData = { blux_user_id: string; }; } namespace bluxUsersSignOut { const name = "bluxUsersSignOut"; const path = "/applications/{application_id}/blux-users/{blux_user_id}/sign-out"; const method = HttpMethod.PUT; const bodySchema: z.ZodObject<{ device_id: z.ZodOptional, bson_objectid0.default, string>>; }, "strip", z.ZodTypeAny, { device_id?: bson_objectid0.default | undefined; }, { device_id?: string | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodOptional; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id?: string | undefined; }, { blux_user_id: string; application_id?: string | undefined; }>; type PathParam = Serialize>; type ResponseData = { blux_user_id: string; }; } namespace bluxUsersCollectEventsV2 { const name = "bluxUsersCollectEventsV2"; const path = "/v2/applications/{application_id}/blux-users/{blux_user_id}/collect-events"; const method = HttpMethod.POST; const pathSchema: z.ZodObject<{ application_id: z.ZodEffects, bson_objectid0.default, string>; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id: bson_objectid0.default; }, { blux_user_id: string; application_id: string; }>; type PathParam = Serialize>; const bodySchema: z.ZodObject<{ device_id: z.ZodEffects, bson_objectid0.default, string>; events: z.ZodArray; prev_section: z.ZodOptional; recommendation_id: z.ZodOptional; price: z.ZodOptional; order_id: z.ZodOptional; rating: z.ZodOptional; prev_page: z.ZodOptional; page: z.ZodOptional; position: z.ZodOptional; item_id: z.ZodOptional; items: z.ZodOptional; custom_event_properties: z.ZodOptional, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray, z.ZodArray, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUndefined]>>>; }, "strip", z.ZodTypeAny, { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }, { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }>, "many">>; search_query: z.ZodOptional; order_amount: z.ZodOptional; paid_amount: z.ZodOptional; tracking: z.ZodOptional>; click_target: z.ZodOptional; }, "strip", z.ZodTypeAny, { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; }, { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; }>>; custom_event_properties: z.ZodOptional, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray, z.ZodArray, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUndefined]>>>; internal_event_properties: z.ZodOptional; ref: z.ZodOptional; click_target: z.ZodOptional; }, "strip", z.ZodTypeAny, { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; }, { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; }>>; captured_at: z.ZodEffects, Date, string>; }, "strip", z.ZodTypeAny, { event_type: string; captured_at: Date; custom_event_properties?: Record | undefined; event_properties?: { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; } | undefined; internal_event_properties?: { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; } | undefined; }, { event_type: string; captured_at: string; custom_event_properties?: Record | undefined; event_properties?: { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; } | undefined; internal_event_properties?: { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { device_id: bson_objectid0.default; events: { event_type: string; captured_at: Date; custom_event_properties?: Record | undefined; event_properties?: { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; } | undefined; internal_event_properties?: { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; } | undefined; }[]; }, { device_id: string; events: { event_type: string; captured_at: string; custom_event_properties?: Record | undefined; event_properties?: { section?: string | undefined; prev_section?: string | undefined; recommendation_id?: string | undefined; price?: number | undefined; order_id?: string | undefined; rating?: number | undefined; prev_page?: string | undefined; page?: string | undefined; position?: number | undefined; item_id?: string | undefined; items?: { id: string; price: number; quantity?: number | undefined; custom_event_properties?: Record | undefined; }[] | undefined; search_query?: string | undefined; order_amount?: number | undefined; paid_amount?: number | undefined; tracking?: { id: string; type: string; } | undefined; click_target?: string | undefined; } | undefined; internal_event_properties?: { click_target?: string | undefined; url?: string | undefined; ref?: string | undefined; } | undefined; }[]; }>; type Body = Serialize>; type ResponseData = { nextPollDelayMs: number; inapp?: { notificationId: string; inappId: string; htmlString: string; baseUrl: string; }; }; } namespace bluxUsersUpdateProperties { const name = "bluxUsersUpdateProperties"; const path = "/applications/{application_id}/blux-users/{blux_user_id}/update-properties"; const method = HttpMethod.PUT; const bodySchema: z.ZodObject<{ user_properties: z.ZodOptional>; email_address: z.ZodOptional>; nighttime_notification_consent: z.ZodOptional>; marketing_notification_consent: z.ZodOptional>; marketing_notification_sms_consent: z.ZodOptional>; marketing_notification_email_consent: z.ZodOptional>; marketing_notification_kakao_consent: z.ZodOptional>; marketing_notification_push_consent: z.ZodOptional>; is_all_notification_blocked: z.ZodOptional>; gender: z.ZodOptional>>; age: z.ZodOptional>; }, "strip", z.ZodTypeAny, { phone_number?: string | null | undefined; email_address?: string | null | undefined; nighttime_notification_consent?: boolean | null | undefined; marketing_notification_consent?: boolean | null | undefined; marketing_notification_sms_consent?: boolean | null | undefined; marketing_notification_email_consent?: boolean | null | undefined; marketing_notification_kakao_consent?: boolean | null | undefined; marketing_notification_push_consent?: boolean | null | undefined; is_all_notification_blocked?: boolean | null | undefined; gender?: Gender | null | undefined; age?: number | null | undefined; }, { phone_number?: string | null | undefined; email_address?: string | null | undefined; nighttime_notification_consent?: boolean | null | undefined; marketing_notification_consent?: boolean | null | undefined; marketing_notification_sms_consent?: boolean | null | undefined; marketing_notification_email_consent?: boolean | null | undefined; marketing_notification_kakao_consent?: boolean | null | undefined; marketing_notification_push_consent?: boolean | null | undefined; is_all_notification_blocked?: boolean | null | undefined; gender?: Gender | null | undefined; age?: number | null | undefined; }>>; custom_user_properties: z.ZodOptional, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray, z.ZodArray, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodNull, z.ZodUndefined]>>>; }, "strip", z.ZodTypeAny, { user_properties?: { phone_number?: string | null | undefined; email_address?: string | null | undefined; nighttime_notification_consent?: boolean | null | undefined; marketing_notification_consent?: boolean | null | undefined; marketing_notification_sms_consent?: boolean | null | undefined; marketing_notification_email_consent?: boolean | null | undefined; marketing_notification_kakao_consent?: boolean | null | undefined; marketing_notification_push_consent?: boolean | null | undefined; is_all_notification_blocked?: boolean | null | undefined; gender?: Gender | null | undefined; age?: number | null | undefined; } | undefined; custom_user_properties?: Record | undefined; }, { user_properties?: { phone_number?: string | null | undefined; email_address?: string | null | undefined; nighttime_notification_consent?: boolean | null | undefined; marketing_notification_consent?: boolean | null | undefined; marketing_notification_sms_consent?: boolean | null | undefined; marketing_notification_email_consent?: boolean | null | undefined; marketing_notification_kakao_consent?: boolean | null | undefined; marketing_notification_push_consent?: boolean | null | undefined; is_all_notification_blocked?: boolean | null | undefined; gender?: Gender | null | undefined; age?: number | null | undefined; } | undefined; custom_user_properties?: Record | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodString; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id: string; }, { blux_user_id: string; application_id: string; }>; type PathParam = Serialize>; type ResponseData = { blux_user_id: string; }; } namespace bluxUsersGetItemRecommendationsV2 { const name = "bluxUsersGetItemRecommendationsV2"; const path = "/v2/applications/{application_id}/blux-users/{blux_user_id}/item-recommendations"; const method = HttpMethod.POST; const bodySchema: z.ZodObject, bson_objectid0.default, string>; blux_user_id: z.ZodOptional, bson_objectid0.default, string>>>; pipeline: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; kwargs: Record; }, { name: string; kwargs: Record; }>, "many">; item_id: z.ZodOptional>; item_ids: z.ZodOptional>>; limit: z.ZodNumber; offset: z.ZodDefault>>; options: z.ZodOptional>>; }, "item_id" | "item_ids" | "limit" | "offset">, { call_type: z.ZodString; category_id: z.ZodOptional>; }>, "strip", z.ZodTypeAny, { limit: number; offset: number | null; call_type: string; item_id?: string | null | undefined; item_ids?: string[] | null | undefined; category_id?: string | null | undefined; }, { limit: number; call_type: string; item_id?: string | null | undefined; item_ids?: string[] | null | undefined; offset?: number | null | undefined; category_id?: string | null | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodEffects, bson_objectid0.default, string>; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id: bson_objectid0.default; }, { blux_user_id: string; application_id: string; }>; type PathParam = Serialize>; type ResponseData = RecResponse; } namespace crmEventsCreate { const name = "crmEventsCreate"; const path = "/applications/{application_id}/crm-events"; const method = HttpMethod.POST; const bodySchema: z.ZodObject<{ notification_id: z.ZodEffects, bson_objectid0.default, string>; crm_event_type: z.ZodUnion<[z.ZodLiteral<"push_opened">, z.ZodLiteral<"button_clicked">, z.ZodLiteral<"landing_clicked">, z.ZodLiteral<"inapp_opened">]>; captured_at: z.ZodEffects, Date, string>; item_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { captured_at: Date; notification_id: bson_objectid0.default; crm_event_type: "push_opened" | "button_clicked" | "landing_clicked" | "inapp_opened"; item_id?: string | undefined; }, { captured_at: string; notification_id: string; crm_event_type: "push_opened" | "button_clicked" | "landing_clicked" | "inapp_opened"; item_id?: string | undefined; }>; type Body = Serialize>; const pathSchema: z.ZodObject<{ application_id: z.ZodString; }, "strip", z.ZodTypeAny, { application_id: string; }, { application_id: string; }>; type PathParam = Serialize>; type ResponseData = boolean; } namespace notificationsUpdate { const name = "notificationsUpdate"; const path = "/applications/{application_id}/notifications/{notification_id}"; const method = HttpMethod.POST; const pathSchema: z.ZodObject<{ application_id: z.ZodEffects, bson_objectid0.default, string>; notification_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { application_id: bson_objectid0.default; notification_id: bson_objectid0.default; }, { application_id: string; notification_id: string; }>; type PathParam = Serialize>; const bodySchema: z.ZodObject<{ status: z.ZodLiteral<"received">; }, "strip", z.ZodTypeAny, { status: "received"; }, { status: "received"; }>; type Body = Serialize>; type ResponseData = boolean; } namespace notificationsReadList { const name = "notificationsReadList"; const path = "/applications/{application_id}/blux-users/{blux_user_id}/notifications"; const method = HttpMethod.GET; const pathSchema: z.ZodObject<{ application_id: z.ZodEffects, bson_objectid0.default, string>; blux_user_id: z.ZodEffects, bson_objectid0.default, string>; }, "strip", z.ZodTypeAny, { blux_user_id: bson_objectid0.default; application_id: bson_objectid0.default; }, { blux_user_id: string; application_id: string; }>; type PathParam = Serialize>; type Query = { limit?: number; from_sent_at?: string; to_sent_at?: string; cursor?: string; }; type ResponseData = { notifications: { id: string; title: string; body: string; image_url?: string; url?: string; sent_at: string; }[]; next_cursor?: string; }; } } //#endregion export { APIs }; //# sourceMappingURL=APIs.d.ts.map