@blux.ai/web-sdk 2.2.29 → 2.2.31

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.
Files changed (92) hide show
  1. package/dist/BluxClient.d.ts +9 -18
  2. package/dist/BluxClient.js +13 -5
  3. package/dist/BluxClient.js.map +1 -1
  4. package/dist/apis/APIs.d.ts +291 -455
  5. package/dist/apis/APIs.js +10 -17
  6. package/dist/apis/APIs.js.map +1 -1
  7. package/dist/apis/createCrmEvent.js.map +1 -1
  8. package/dist/apis/createEvent.js.map +1 -1
  9. package/dist/apis/getItemRecommendations.js.map +1 -1
  10. package/dist/apis/getNotifications.js.map +1 -1
  11. package/dist/apis/initialize.js.map +1 -1
  12. package/dist/apis/notificationsUpdate.js.map +1 -1
  13. package/dist/apis/signIn.js.map +1 -1
  14. package/dist/apis/signOut.js.map +1 -1
  15. package/dist/apis/updateProperties.js.map +1 -1
  16. package/dist/bridges/AndroidBridge.js.map +1 -1
  17. package/dist/bridges/Bridge.d.ts +0 -1
  18. package/dist/bridges/Bridge.js.map +1 -1
  19. package/dist/bridges/FlutterBridge.js.map +1 -1
  20. package/dist/bridges/IosBridge.js.map +1 -1
  21. package/dist/bridges/RNBridge.js.map +1 -1
  22. package/dist/constants/BLUX_ATTRIBUTES.js.map +1 -1
  23. package/dist/constants/COUNTRIES.js +1 -1
  24. package/dist/constants/COUNTRIES.js.map +1 -1
  25. package/dist/constants/PAGE_VISIT_ENABLED_APPLICATION_IDS.js +1 -3
  26. package/dist/constants/PAGE_VISIT_ENABLED_APPLICATION_IDS.js.map +1 -1
  27. package/dist/events/AddCartaddEvent.d.ts +1 -6
  28. package/dist/events/AddCartaddEvent.js +2 -2
  29. package/dist/events/AddCartaddEvent.js.map +1 -1
  30. package/dist/events/AddClickEvent.d.ts +1 -6
  31. package/dist/events/AddClickEvent.js +2 -2
  32. package/dist/events/AddClickEvent.js.map +1 -1
  33. package/dist/events/AddCustomEvent.d.ts +1 -6
  34. package/dist/events/AddCustomEvent.js.map +1 -1
  35. package/dist/events/AddInstantImpressionEvent.d.ts +1 -9
  36. package/dist/events/AddInstantImpressionEvent.js +2 -2
  37. package/dist/events/AddInstantImpressionEvent.js.map +1 -1
  38. package/dist/events/AddLikeEvent.d.ts +1 -6
  39. package/dist/events/AddLikeEvent.js +2 -2
  40. package/dist/events/AddLikeEvent.js.map +1 -1
  41. package/dist/events/AddOrderEvent.d.ts +1 -8
  42. package/dist/events/AddOrderEvent.js +2 -2
  43. package/dist/events/AddOrderEvent.js.map +1 -1
  44. package/dist/events/AddPageViewEvent.d.ts +1 -6
  45. package/dist/events/AddPageViewEvent.js +2 -2
  46. package/dist/events/AddPageViewEvent.js.map +1 -1
  47. package/dist/events/AddPageVisitEvent.d.ts +1 -5
  48. package/dist/events/AddPageVisitEvent.js +2 -2
  49. package/dist/events/AddPageVisitEvent.js.map +1 -1
  50. package/dist/events/AddPersistentImpressionEvent.d.ts +1 -9
  51. package/dist/events/AddPersistentImpressionEvent.js +2 -2
  52. package/dist/events/AddPersistentImpressionEvent.js.map +1 -1
  53. package/dist/events/AddProductDetailViewEvent.d.ts +1 -6
  54. package/dist/events/AddProductDetailViewEvent.js +2 -2
  55. package/dist/events/AddProductDetailViewEvent.js.map +1 -1
  56. package/dist/events/AddRateEvent.d.ts +1 -7
  57. package/dist/events/AddRateEvent.js +2 -2
  58. package/dist/events/AddRateEvent.js.map +1 -1
  59. package/dist/events/AddSearchEvent.d.ts +1 -6
  60. package/dist/events/AddSearchEvent.js +2 -2
  61. package/dist/events/AddSearchEvent.js.map +1 -1
  62. package/dist/events/AddSectionViewEvent.d.ts +1 -6
  63. package/dist/events/AddSectionViewEvent.js +2 -2
  64. package/dist/events/AddSectionViewEvent.js.map +1 -1
  65. package/dist/events/Event.d.ts +0 -1
  66. package/dist/events/Event.js +1 -24
  67. package/dist/events/Event.js.map +1 -1
  68. package/dist/events/VisitEvent.d.ts +1 -5
  69. package/dist/events/VisitEvent.js +2 -2
  70. package/dist/events/VisitEvent.js.map +1 -1
  71. package/dist/events/index.d.ts +2 -1
  72. package/dist/events/index.js +2 -0
  73. package/dist/events/types.d.ts +0 -1
  74. package/dist/package.js +1 -1
  75. package/dist/recs/ItemRec.d.ts +4 -24
  76. package/dist/recs/ItemRec.js.map +1 -1
  77. package/dist/recs/Rec.d.ts +0 -1
  78. package/dist/recs/Rec.js.map +1 -1
  79. package/dist/recs/types.d.ts +1 -1
  80. package/dist/utils/Base.d.ts +1 -2
  81. package/dist/utils/LocalStorage.js.map +1 -1
  82. package/dist/utils/Logger.d.ts +1 -0
  83. package/dist/utils/Logger.js.map +1 -1
  84. package/dist/utils/SessionStorage.js.map +1 -1
  85. package/dist/utils/getPath.js +4 -4
  86. package/dist/utils/getPath.js.map +1 -1
  87. package/dist/utils/observables.js.map +1 -1
  88. package/dist/utils/operators.js.map +1 -1
  89. package/dist/utils/zodSchemas.d.ts +10 -83
  90. package/dist/utils/zodSchemas.js +6 -10
  91. package/dist/utils/zodSchemas.js.map +1 -1
  92. package/package.json +6 -5
@@ -1,8 +1,6 @@
1
+ import { CustomProperties, RecResponse } from "../utils/zodSchemas.js";
1
2
  import { Serialize } from "../utils/Base.js";
2
- import { RecResponse } from "../utils/zodSchemas.js";
3
- import * as bson_objectid0 from "bson-objectid";
4
3
  import { z } from "zod";
5
-
6
4
  //#region src/apis/APIs.d.ts
7
5
  declare enum DevicePlatform {
8
6
  ios = "ios",
@@ -20,52 +18,254 @@ declare namespace APIs {
20
18
  const method = HttpMethod.POST;
21
19
  const bodySchema: z.ZodObject<{
22
20
  session_id: z.ZodOptional<z.ZodString>;
23
- device_id: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>>;
21
+ device_id: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>>;
24
22
  custom_device_id: z.ZodOptional<z.ZodString>;
25
- country_code: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, 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>>;
23
+ country_code: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodUnion<readonly [z.ZodLiteral<"419">, z.ZodEnum<{
24
+ AF: "AF";
25
+ AL: "AL";
26
+ DZ: "DZ";
27
+ AS: "AS";
28
+ AD: "AD";
29
+ AO: "AO";
30
+ AI: "AI";
31
+ AG: "AG";
32
+ AR: "AR";
33
+ AM: "AM";
34
+ AW: "AW";
35
+ AU: "AU";
36
+ AT: "AT";
37
+ AZ: "AZ";
38
+ BS: "BS";
39
+ BH: "BH";
40
+ BD: "BD";
41
+ BB: "BB";
42
+ BY: "BY";
43
+ BE: "BE";
44
+ BZ: "BZ";
45
+ BJ: "BJ";
46
+ BM: "BM";
47
+ BT: "BT";
48
+ BO: "BO";
49
+ BA: "BA";
50
+ BW: "BW";
51
+ BR: "BR";
52
+ IO: "IO";
53
+ BN: "BN";
54
+ BG: "BG";
55
+ BF: "BF";
56
+ BI: "BI";
57
+ KH: "KH";
58
+ CM: "CM";
59
+ CV: "CV";
60
+ KY: "KY";
61
+ CF: "CF";
62
+ TD: "TD";
63
+ CL: "CL";
64
+ CN: "CN";
65
+ CO: "CO";
66
+ KM: "KM";
67
+ CG: "CG";
68
+ CD: "CD";
69
+ CK: "CK";
70
+ CR: "CR";
71
+ CI: "CI";
72
+ HR: "HR";
73
+ CU: "CU";
74
+ CY: "CY";
75
+ CZ: "CZ";
76
+ DK: "DK";
77
+ DJ: "DJ";
78
+ DM: "DM";
79
+ DO: "DO";
80
+ EC: "EC";
81
+ EG: "EG";
82
+ SV: "SV";
83
+ GQ: "GQ";
84
+ ER: "ER";
85
+ EE: "EE";
86
+ ET: "ET";
87
+ FK: "FK";
88
+ FO: "FO";
89
+ FJ: "FJ";
90
+ FI: "FI";
91
+ FR: "FR";
92
+ GF: "GF";
93
+ PF: "PF";
94
+ GA: "GA";
95
+ GM: "GM";
96
+ GE: "GE";
97
+ DE: "DE";
98
+ GH: "GH";
99
+ GI: "GI";
100
+ GR: "GR";
101
+ GL: "GL";
102
+ GD: "GD";
103
+ GP: "GP";
104
+ GU: "GU";
105
+ GT: "GT";
106
+ GN: "GN";
107
+ GW: "GW";
108
+ HT: "HT";
109
+ VA: "VA";
110
+ HN: "HN";
111
+ HK: "HK";
112
+ HU: "HU";
113
+ IS: "IS";
114
+ IN: "IN";
115
+ ID: "ID";
116
+ IR: "IR";
117
+ IQ: "IQ";
118
+ IE: "IE";
119
+ IL: "IL";
120
+ IT: "IT";
121
+ JM: "JM";
122
+ JP: "JP";
123
+ JO: "JO";
124
+ KE: "KE";
125
+ KI: "KI";
126
+ KP: "KP";
127
+ KR: "KR";
128
+ KW: "KW";
129
+ KG: "KG";
130
+ LA: "LA";
131
+ LV: "LV";
132
+ LB: "LB";
133
+ LS: "LS";
134
+ LR: "LR";
135
+ LY: "LY";
136
+ LI: "LI";
137
+ LT: "LT";
138
+ LU: "LU";
139
+ MO: "MO";
140
+ MK: "MK";
141
+ MG: "MG";
142
+ MW: "MW";
143
+ MY: "MY";
144
+ MV: "MV";
145
+ ML: "ML";
146
+ MT: "MT";
147
+ MH: "MH";
148
+ MQ: "MQ";
149
+ MR: "MR";
150
+ MU: "MU";
151
+ YT: "YT";
152
+ MX: "MX";
153
+ FM: "FM";
154
+ MD: "MD";
155
+ MC: "MC";
156
+ MN: "MN";
157
+ ME: "ME";
158
+ MS: "MS";
159
+ MA: "MA";
160
+ MZ: "MZ";
161
+ MM: "MM";
162
+ NA: "NA";
163
+ NR: "NR";
164
+ NP: "NP";
165
+ NL: "NL";
166
+ NC: "NC";
167
+ NZ: "NZ";
168
+ NI: "NI";
169
+ NE: "NE";
170
+ NG: "NG";
171
+ NU: "NU";
172
+ NF: "NF";
173
+ MP: "MP";
174
+ NO: "NO";
175
+ OM: "OM";
176
+ PK: "PK";
177
+ PW: "PW";
178
+ PS: "PS";
179
+ PA: "PA";
180
+ PG: "PG";
181
+ PY: "PY";
182
+ GY: "GY";
183
+ PE: "PE";
184
+ PH: "PH";
185
+ PL: "PL";
186
+ PT: "PT";
187
+ PR: "PR";
188
+ QA: "QA";
189
+ RO: "RO";
190
+ RU: "RU";
191
+ KZ: "KZ";
192
+ RW: "RW";
193
+ RE: "RE";
194
+ BL: "BL";
195
+ SH: "SH";
196
+ KN: "KN";
197
+ LC: "LC";
198
+ MF: "MF";
199
+ PM: "PM";
200
+ VC: "VC";
201
+ WS: "WS";
202
+ SM: "SM";
203
+ ST: "ST";
204
+ SA: "SA";
205
+ SN: "SN";
206
+ RS: "RS";
207
+ SC: "SC";
208
+ SL: "SL";
209
+ SG: "SG";
210
+ SK: "SK";
211
+ SI: "SI";
212
+ SB: "SB";
213
+ SO: "SO";
214
+ ZA: "ZA";
215
+ SS: "SS";
216
+ ES: "ES";
217
+ LK: "LK";
218
+ SD: "SD";
219
+ SR: "SR";
220
+ SZ: "SZ";
221
+ SE: "SE";
222
+ CH: "CH";
223
+ SY: "SY";
224
+ TW: "TW";
225
+ TJ: "TJ";
226
+ TZ: "TZ";
227
+ TH: "TH";
228
+ TL: "TL";
229
+ TG: "TG";
230
+ TK: "TK";
231
+ TO: "TO";
232
+ TT: "TT";
233
+ TN: "TN";
234
+ TR: "TR";
235
+ TM: "TM";
236
+ TC: "TC";
237
+ TV: "TV";
238
+ UG: "UG";
239
+ UA: "UA";
240
+ AE: "AE";
241
+ GB: "GB";
242
+ US: "US";
243
+ CA: "CA";
244
+ UY: "UY";
245
+ UZ: "UZ";
246
+ VU: "VU";
247
+ VE: "VE";
248
+ VN: "VN";
249
+ VG: "VG";
250
+ VI: "VI";
251
+ WF: "WF";
252
+ YE: "YE";
253
+ ZM: "ZM";
254
+ ZW: "ZW";
255
+ }>]>>, z.ZodTransform<"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, "419" | "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">>>;
26
256
  device_model: z.ZodString;
27
257
  language_code: z.ZodString;
28
258
  os_version: z.ZodString;
29
- platform: z.ZodNativeEnum<typeof DevicePlatform>;
259
+ platform: z.ZodEnum<typeof DevicePlatform>;
30
260
  sdk_type: z.ZodString;
31
261
  sdk_version: z.ZodString;
32
262
  timezone: z.ZodString;
33
263
  blux_user_id: z.ZodOptional<z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- device_model: string;
36
- language_code: string;
37
- os_version: string;
38
- platform: DevicePlatform;
39
- sdk_type: string;
40
- sdk_version: string;
41
- timezone: string;
42
- session_id?: string | undefined;
43
- device_id?: bson_objectid0.default | undefined;
44
- custom_device_id?: string | undefined;
45
- 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;
46
- blux_user_id?: string | undefined;
47
- }, {
48
- device_model: string;
49
- language_code: string;
50
- os_version: string;
51
- platform: DevicePlatform;
52
- sdk_type: string;
53
- sdk_version: string;
54
- timezone: string;
55
- session_id?: string | undefined;
56
- device_id?: string | undefined;
57
- custom_device_id?: string | undefined;
58
- country_code?: string | undefined;
59
- blux_user_id?: string | undefined;
60
- }>;
264
+ }, z.core.$strip>;
61
265
  type Body = Serialize<z.input<typeof bodySchema>>;
62
266
  const pathSchema: z.ZodObject<{
63
267
  application_id: z.ZodOptional<z.ZodString>;
64
- }, "strip", z.ZodTypeAny, {
65
- application_id?: string | undefined;
66
- }, {
67
- application_id?: string | undefined;
68
- }>;
268
+ }, z.core.$strip>;
69
269
  type PathParam = Serialize<z.input<typeof pathSchema>>;
70
270
  type ResponseData = {
71
271
  blux_user_id: string;
@@ -79,24 +279,12 @@ declare namespace APIs {
79
279
  const bodySchema: z.ZodObject<{
80
280
  user_id: z.ZodString;
81
281
  device_id: z.ZodOptional<z.ZodString>;
82
- }, "strip", z.ZodTypeAny, {
83
- user_id: string;
84
- device_id?: string | undefined;
85
- }, {
86
- user_id: string;
87
- device_id?: string | undefined;
88
- }>;
282
+ }, z.core.$strip>;
89
283
  type Body = Serialize<z.input<typeof bodySchema>>;
90
284
  const pathSchema: z.ZodObject<{
91
285
  application_id: z.ZodOptional<z.ZodString>;
92
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
93
- }, "strip", z.ZodTypeAny, {
94
- blux_user_id: bson_objectid0.default;
95
- application_id?: string | undefined;
96
- }, {
97
- blux_user_id: string;
98
- application_id?: string | undefined;
99
- }>;
286
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
287
+ }, z.core.$strip>;
100
288
  type PathParam = Serialize<z.input<typeof pathSchema>>;
101
289
  type ResponseData = {
102
290
  blux_user_id: string;
@@ -107,23 +295,13 @@ declare namespace APIs {
107
295
  const path = "/applications/{application_id}/blux-users/{blux_user_id}/sign-out";
108
296
  const method = HttpMethod.PUT;
109
297
  const bodySchema: z.ZodObject<{
110
- device_id: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>>;
111
- }, "strip", z.ZodTypeAny, {
112
- device_id?: bson_objectid0.default | undefined;
113
- }, {
114
- device_id?: string | undefined;
115
- }>;
298
+ device_id: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>>;
299
+ }, z.core.$strip>;
116
300
  type Body = Serialize<z.input<typeof bodySchema>>;
117
301
  const pathSchema: z.ZodObject<{
118
302
  application_id: z.ZodOptional<z.ZodString>;
119
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
120
- }, "strip", z.ZodTypeAny, {
121
- blux_user_id: bson_objectid0.default;
122
- application_id?: string | undefined;
123
- }, {
124
- blux_user_id: string;
125
- application_id?: string | undefined;
126
- }>;
303
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
304
+ }, z.core.$strip>;
127
305
  type PathParam = Serialize<z.input<typeof pathSchema>>;
128
306
  type ResponseData = {
129
307
  blux_user_id: string;
@@ -134,18 +312,12 @@ declare namespace APIs {
134
312
  const path = "/v2/applications/{application_id}/blux-users/{blux_user_id}/collect-events";
135
313
  const method = HttpMethod.POST;
136
314
  const pathSchema: z.ZodObject<{
137
- application_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
138
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
139
- }, "strip", z.ZodTypeAny, {
140
- blux_user_id: bson_objectid0.default;
141
- application_id: bson_objectid0.default;
142
- }, {
143
- blux_user_id: string;
144
- application_id: string;
145
- }>;
315
+ application_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
316
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
317
+ }, z.core.$strip>;
146
318
  type PathParam = Serialize<z.input<typeof pathSchema>>;
147
319
  const bodySchema: z.ZodObject<{
148
- device_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
320
+ device_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
149
321
  events: z.ZodArray<z.ZodObject<{
150
322
  event_type: z.ZodString;
151
323
  event_properties: z.ZodOptional<z.ZodObject<{
@@ -163,246 +335,34 @@ declare namespace APIs {
163
335
  id: z.ZodString;
164
336
  price: z.ZodNumber;
165
337
  quantity: z.ZodOptional<z.ZodNumber>;
166
- custom_event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUndefined]>>>;
167
- }, "strip", z.ZodTypeAny, {
168
- id: string;
169
- price: number;
170
- quantity?: number | undefined;
171
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
172
- }, {
173
- id: string;
174
- price: number;
175
- quantity?: number | undefined;
176
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
177
- }>, "many">>;
338
+ custom_event_properties: z.ZodOptional<z.ZodType<CustomProperties, {
339
+ [x: string]: string | number | boolean | {} | Date | string[] | {}[] | null | undefined;
340
+ }, z.core.$ZodTypeInternals<CustomProperties, {
341
+ [x: string]: string | number | boolean | {} | Date | string[] | {}[] | null | undefined;
342
+ }>>>;
343
+ }, z.core.$strip>>>;
178
344
  search_query: z.ZodOptional<z.ZodString>;
179
345
  order_amount: z.ZodOptional<z.ZodNumber>;
180
346
  paid_amount: z.ZodOptional<z.ZodNumber>;
181
347
  tracking: z.ZodOptional<z.ZodObject<{
182
348
  id: z.ZodString;
183
349
  type: z.ZodString;
184
- }, "strip", z.ZodTypeAny, {
185
- id: string;
186
- type: string;
187
- }, {
188
- id: string;
189
- type: string;
190
- }>>;
350
+ }, z.core.$strip>>;
191
351
  click_target: z.ZodOptional<z.ZodString>;
192
- }, "strip", z.ZodTypeAny, {
193
- section?: string | undefined;
194
- prev_section?: string | undefined;
195
- recommendation_id?: string | undefined;
196
- price?: number | undefined;
197
- order_id?: string | undefined;
198
- rating?: number | undefined;
199
- prev_page?: string | undefined;
200
- page?: string | undefined;
201
- position?: number | undefined;
202
- item_id?: string | undefined;
203
- items?: {
204
- id: string;
205
- price: number;
206
- quantity?: number | undefined;
207
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
208
- }[] | undefined;
209
- search_query?: string | undefined;
210
- order_amount?: number | undefined;
211
- paid_amount?: number | undefined;
212
- tracking?: {
213
- id: string;
214
- type: string;
215
- } | undefined;
216
- click_target?: string | undefined;
217
- }, {
218
- section?: string | undefined;
219
- prev_section?: string | undefined;
220
- recommendation_id?: string | undefined;
221
- price?: number | undefined;
222
- order_id?: string | undefined;
223
- rating?: number | undefined;
224
- prev_page?: string | undefined;
225
- page?: string | undefined;
226
- position?: number | undefined;
227
- item_id?: string | undefined;
228
- items?: {
229
- id: string;
230
- price: number;
231
- quantity?: number | undefined;
232
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
233
- }[] | undefined;
234
- search_query?: string | undefined;
235
- order_amount?: number | undefined;
236
- paid_amount?: number | undefined;
237
- tracking?: {
238
- id: string;
239
- type: string;
240
- } | undefined;
241
- click_target?: string | undefined;
242
- }>>;
243
- custom_event_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodUndefined]>>>;
352
+ }, z.core.$strip>>;
353
+ custom_event_properties: z.ZodOptional<z.ZodType<CustomProperties, {
354
+ [x: string]: string | number | boolean | {} | Date | string[] | {}[] | null | undefined;
355
+ }, z.core.$ZodTypeInternals<CustomProperties, {
356
+ [x: string]: string | number | boolean | {} | Date | string[] | {}[] | null | undefined;
357
+ }>>>;
244
358
  internal_event_properties: z.ZodOptional<z.ZodObject<{
245
359
  url: z.ZodOptional<z.ZodString>;
246
360
  ref: z.ZodOptional<z.ZodString>;
247
361
  click_target: z.ZodOptional<z.ZodString>;
248
- }, "strip", z.ZodTypeAny, {
249
- click_target?: string | undefined;
250
- url?: string | undefined;
251
- ref?: string | undefined;
252
- }, {
253
- click_target?: string | undefined;
254
- url?: string | undefined;
255
- ref?: string | undefined;
256
- }>>;
257
- captured_at: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>;
258
- }, "strip", z.ZodTypeAny, {
259
- event_type: string;
260
- captured_at: Date;
261
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
262
- event_properties?: {
263
- section?: string | undefined;
264
- prev_section?: string | undefined;
265
- recommendation_id?: string | undefined;
266
- price?: number | undefined;
267
- order_id?: string | undefined;
268
- rating?: number | undefined;
269
- prev_page?: string | undefined;
270
- page?: string | undefined;
271
- position?: number | undefined;
272
- item_id?: string | undefined;
273
- items?: {
274
- id: string;
275
- price: number;
276
- quantity?: number | undefined;
277
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
278
- }[] | undefined;
279
- search_query?: string | undefined;
280
- order_amount?: number | undefined;
281
- paid_amount?: number | undefined;
282
- tracking?: {
283
- id: string;
284
- type: string;
285
- } | undefined;
286
- click_target?: string | undefined;
287
- } | undefined;
288
- internal_event_properties?: {
289
- click_target?: string | undefined;
290
- url?: string | undefined;
291
- ref?: string | undefined;
292
- } | undefined;
293
- }, {
294
- event_type: string;
295
- captured_at: string;
296
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
297
- event_properties?: {
298
- section?: string | undefined;
299
- prev_section?: string | undefined;
300
- recommendation_id?: string | undefined;
301
- price?: number | undefined;
302
- order_id?: string | undefined;
303
- rating?: number | undefined;
304
- prev_page?: string | undefined;
305
- page?: string | undefined;
306
- position?: number | undefined;
307
- item_id?: string | undefined;
308
- items?: {
309
- id: string;
310
- price: number;
311
- quantity?: number | undefined;
312
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
313
- }[] | undefined;
314
- search_query?: string | undefined;
315
- order_amount?: number | undefined;
316
- paid_amount?: number | undefined;
317
- tracking?: {
318
- id: string;
319
- type: string;
320
- } | undefined;
321
- click_target?: string | undefined;
322
- } | undefined;
323
- internal_event_properties?: {
324
- click_target?: string | undefined;
325
- url?: string | undefined;
326
- ref?: string | undefined;
327
- } | undefined;
328
- }>, "many">;
329
- }, "strip", z.ZodTypeAny, {
330
- device_id: bson_objectid0.default;
331
- events: {
332
- event_type: string;
333
- captured_at: Date;
334
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
335
- event_properties?: {
336
- section?: string | undefined;
337
- prev_section?: string | undefined;
338
- recommendation_id?: string | undefined;
339
- price?: number | undefined;
340
- order_id?: string | undefined;
341
- rating?: number | undefined;
342
- prev_page?: string | undefined;
343
- page?: string | undefined;
344
- position?: number | undefined;
345
- item_id?: string | undefined;
346
- items?: {
347
- id: string;
348
- price: number;
349
- quantity?: number | undefined;
350
- custom_event_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | undefined> | undefined;
351
- }[] | undefined;
352
- search_query?: string | undefined;
353
- order_amount?: number | undefined;
354
- paid_amount?: number | undefined;
355
- tracking?: {
356
- id: string;
357
- type: string;
358
- } | undefined;
359
- click_target?: string | undefined;
360
- } | undefined;
361
- internal_event_properties?: {
362
- click_target?: string | undefined;
363
- url?: string | undefined;
364
- ref?: string | undefined;
365
- } | undefined;
366
- }[];
367
- }, {
368
- device_id: string;
369
- events: {
370
- event_type: string;
371
- captured_at: string;
372
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
373
- event_properties?: {
374
- section?: string | undefined;
375
- prev_section?: string | undefined;
376
- recommendation_id?: string | undefined;
377
- price?: number | undefined;
378
- order_id?: string | undefined;
379
- rating?: number | undefined;
380
- prev_page?: string | undefined;
381
- page?: string | undefined;
382
- position?: number | undefined;
383
- item_id?: string | undefined;
384
- items?: {
385
- id: string;
386
- price: number;
387
- quantity?: number | undefined;
388
- custom_event_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | undefined> | undefined;
389
- }[] | undefined;
390
- search_query?: string | undefined;
391
- order_amount?: number | undefined;
392
- paid_amount?: number | undefined;
393
- tracking?: {
394
- id: string;
395
- type: string;
396
- } | undefined;
397
- click_target?: string | undefined;
398
- } | undefined;
399
- internal_event_properties?: {
400
- click_target?: string | undefined;
401
- url?: string | undefined;
402
- ref?: string | undefined;
403
- } | undefined;
404
- }[];
405
- }>;
362
+ }, z.core.$strip>>;
363
+ captured_at: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>;
406
366
  type Body = Serialize<z.input<typeof bodySchema>>;
407
367
  type ResponseData = {
408
368
  nextPollDelayMs: number;
@@ -429,76 +389,16 @@ declare namespace APIs {
429
389
  marketing_notification_kakao_consent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
430
390
  marketing_notification_push_consent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
431
391
  is_all_notification_blocked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
432
- gender: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof Gender>>>;
392
+ gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof Gender>>>;
433
393
  age: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
- }, "strip", z.ZodTypeAny, {
435
- phone_number?: string | null | undefined;
436
- email_address?: string | null | undefined;
437
- nighttime_notification_consent?: boolean | null | undefined;
438
- marketing_notification_consent?: boolean | null | undefined;
439
- marketing_notification_sms_consent?: boolean | null | undefined;
440
- marketing_notification_email_consent?: boolean | null | undefined;
441
- marketing_notification_kakao_consent?: boolean | null | undefined;
442
- marketing_notification_push_consent?: boolean | null | undefined;
443
- is_all_notification_blocked?: boolean | null | undefined;
444
- gender?: Gender | null | undefined;
445
- age?: number | null | undefined;
446
- }, {
447
- phone_number?: string | null | undefined;
448
- email_address?: string | null | undefined;
449
- nighttime_notification_consent?: boolean | null | undefined;
450
- marketing_notification_consent?: boolean | null | undefined;
451
- marketing_notification_sms_consent?: boolean | null | undefined;
452
- marketing_notification_email_consent?: boolean | null | undefined;
453
- marketing_notification_kakao_consent?: boolean | null | undefined;
454
- marketing_notification_push_consent?: boolean | null | undefined;
455
- is_all_notification_blocked?: boolean | null | undefined;
456
- gender?: Gender | null | undefined;
457
- age?: number | null | undefined;
458
- }>>;
459
- custom_user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodNull, z.ZodUndefined]>>>;
460
- }, "strip", z.ZodTypeAny, {
461
- user_properties?: {
462
- phone_number?: string | null | undefined;
463
- email_address?: string | null | undefined;
464
- nighttime_notification_consent?: boolean | null | undefined;
465
- marketing_notification_consent?: boolean | null | undefined;
466
- marketing_notification_sms_consent?: boolean | null | undefined;
467
- marketing_notification_email_consent?: boolean | null | undefined;
468
- marketing_notification_kakao_consent?: boolean | null | undefined;
469
- marketing_notification_push_consent?: boolean | null | undefined;
470
- is_all_notification_blocked?: boolean | null | undefined;
471
- gender?: Gender | null | undefined;
472
- age?: number | null | undefined;
473
- } | undefined;
474
- custom_user_properties?: Record<string, string | number | boolean | Date | string[] | {}[] | {} | null | undefined> | undefined;
475
- }, {
476
- user_properties?: {
477
- phone_number?: string | null | undefined;
478
- email_address?: string | null | undefined;
479
- nighttime_notification_consent?: boolean | null | undefined;
480
- marketing_notification_consent?: boolean | null | undefined;
481
- marketing_notification_sms_consent?: boolean | null | undefined;
482
- marketing_notification_email_consent?: boolean | null | undefined;
483
- marketing_notification_kakao_consent?: boolean | null | undefined;
484
- marketing_notification_push_consent?: boolean | null | undefined;
485
- is_all_notification_blocked?: boolean | null | undefined;
486
- gender?: Gender | null | undefined;
487
- age?: number | null | undefined;
488
- } | undefined;
489
- custom_user_properties?: Record<string, string | number | boolean | string[] | {}[] | {} | null | undefined> | undefined;
490
- }>;
394
+ }, z.core.$strip>>;
395
+ custom_user_properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{}, z.core.$strip>, z.ZodNull, z.ZodUndefined]>>>;
396
+ }, z.core.$strip>;
491
397
  type Body = Serialize<z.input<typeof bodySchema>>;
492
398
  const pathSchema: z.ZodObject<{
493
399
  application_id: z.ZodString;
494
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
495
- }, "strip", z.ZodTypeAny, {
496
- blux_user_id: bson_objectid0.default;
497
- application_id: string;
498
- }, {
499
- blux_user_id: string;
500
- application_id: string;
501
- }>;
400
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
401
+ }, z.core.$strip>;
502
402
  type PathParam = Serialize<z.input<typeof pathSchema>>;
503
403
  type ResponseData = {
504
404
  blux_user_id: string;
@@ -508,53 +408,19 @@ declare namespace APIs {
508
408
  const name = "bluxUsersGetItemRecommendationsV2";
509
409
  const path = "/v2/applications/{application_id}/blux-users/{blux_user_id}/item-recommendations";
510
410
  const method = HttpMethod.POST;
511
- const bodySchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
512
- application_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
513
- blux_user_id: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>>>;
514
- pipeline: z.ZodArray<z.ZodObject<{
515
- name: z.ZodString;
516
- kwargs: z.ZodRecord<z.ZodString, z.ZodAny>;
517
- }, "strip", z.ZodTypeAny, {
518
- name: string;
519
- kwargs: Record<string, any>;
520
- }, {
521
- name: string;
522
- kwargs: Record<string, any>;
523
- }>, "many">;
411
+ const bodySchema: z.ZodObject<{
524
412
  item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
525
- item_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
413
+ item_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
526
414
  limit: z.ZodNumber;
527
415
  offset: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
528
- options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
529
- }, "item_id" | "item_ids" | "limit" | "offset">, {
530
416
  call_type: z.ZodString;
531
417
  category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
- }>, "strip", z.ZodTypeAny, {
533
- limit: number;
534
- offset: number | null;
535
- call_type: string;
536
- item_id?: string | null | undefined;
537
- item_ids?: string[] | null | undefined;
538
- category_id?: string | null | undefined;
539
- }, {
540
- limit: number;
541
- call_type: string;
542
- item_id?: string | null | undefined;
543
- item_ids?: string[] | null | undefined;
544
- offset?: number | null | undefined;
545
- category_id?: string | null | undefined;
546
- }>;
418
+ }, z.core.$strip>;
547
419
  type Body = Serialize<z.input<typeof bodySchema>>;
548
420
  const pathSchema: z.ZodObject<{
549
- application_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
550
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
551
- }, "strip", z.ZodTypeAny, {
552
- blux_user_id: bson_objectid0.default;
553
- application_id: bson_objectid0.default;
554
- }, {
555
- blux_user_id: string;
556
- application_id: string;
557
- }>;
421
+ application_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
422
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
423
+ }, z.core.$strip>;
558
424
  type PathParam = Serialize<z.input<typeof pathSchema>>;
559
425
  type ResponseData = RecResponse;
560
426
  }
@@ -563,29 +429,15 @@ declare namespace APIs {
563
429
  const path = "/applications/{application_id}/crm-events";
564
430
  const method = HttpMethod.POST;
565
431
  const bodySchema: z.ZodObject<{
566
- notification_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
567
- crm_event_type: z.ZodUnion<[z.ZodLiteral<"push_opened">, z.ZodLiteral<"button_clicked">, z.ZodLiteral<"landing_clicked">, z.ZodLiteral<"inapp_opened">]>;
568
- captured_at: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>;
432
+ notification_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
433
+ crm_event_type: z.ZodUnion<readonly [z.ZodLiteral<"push_opened">, z.ZodLiteral<"button_clicked">, z.ZodLiteral<"landing_clicked">, z.ZodLiteral<"inapp_opened">]>;
434
+ captured_at: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
569
435
  item_id: z.ZodOptional<z.ZodString>;
570
- }, "strip", z.ZodTypeAny, {
571
- captured_at: Date;
572
- notification_id: bson_objectid0.default;
573
- crm_event_type: "push_opened" | "button_clicked" | "landing_clicked" | "inapp_opened";
574
- item_id?: string | undefined;
575
- }, {
576
- captured_at: string;
577
- notification_id: string;
578
- crm_event_type: "push_opened" | "button_clicked" | "landing_clicked" | "inapp_opened";
579
- item_id?: string | undefined;
580
- }>;
436
+ }, z.core.$strip>;
581
437
  type Body = Serialize<z.input<typeof bodySchema>>;
582
438
  const pathSchema: z.ZodObject<{
583
439
  application_id: z.ZodString;
584
- }, "strip", z.ZodTypeAny, {
585
- application_id: string;
586
- }, {
587
- application_id: string;
588
- }>;
440
+ }, z.core.$strip>;
589
441
  type PathParam = Serialize<z.input<typeof pathSchema>>;
590
442
  type ResponseData = boolean;
591
443
  }
@@ -594,23 +446,13 @@ declare namespace APIs {
594
446
  const path = "/applications/{application_id}/notifications/{notification_id}";
595
447
  const method = HttpMethod.POST;
596
448
  const pathSchema: z.ZodObject<{
597
- application_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
598
- notification_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
599
- }, "strip", z.ZodTypeAny, {
600
- application_id: bson_objectid0.default;
601
- notification_id: bson_objectid0.default;
602
- }, {
603
- application_id: string;
604
- notification_id: string;
605
- }>;
449
+ application_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
450
+ notification_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
451
+ }, z.core.$strip>;
606
452
  type PathParam = Serialize<z.input<typeof pathSchema>>;
607
453
  const bodySchema: z.ZodObject<{
608
454
  status: z.ZodLiteral<"received">;
609
- }, "strip", z.ZodTypeAny, {
610
- status: "received";
611
- }, {
612
- status: "received";
613
- }>;
455
+ }, z.core.$strip>;
614
456
  type Body = Serialize<z.input<typeof bodySchema>>;
615
457
  type ResponseData = boolean;
616
458
  }
@@ -619,15 +461,9 @@ declare namespace APIs {
619
461
  const path = "/applications/{application_id}/blux-users/{blux_user_id}/notifications";
620
462
  const method = HttpMethod.GET;
621
463
  const pathSchema: z.ZodObject<{
622
- application_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
623
- blux_user_id: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, bson_objectid0.default, string>;
624
- }, "strip", z.ZodTypeAny, {
625
- blux_user_id: bson_objectid0.default;
626
- application_id: bson_objectid0.default;
627
- }, {
628
- blux_user_id: string;
629
- application_id: string;
630
- }>;
464
+ application_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
465
+ blux_user_id: z.ZodPipe<z.ZodString, z.ZodTransform<import("bson-objectid").default, string>>;
466
+ }, z.core.$strip>;
631
467
  type PathParam = Serialize<z.input<typeof pathSchema>>;
632
468
  type Query = {
633
469
  limit?: number;
@@ -649,5 +485,5 @@ declare namespace APIs {
649
485
  }
650
486
  }
651
487
  //#endregion
652
- export { APIs };
488
+ export { APIs, DevicePlatform, Gender };
653
489
  //# sourceMappingURL=APIs.d.ts.map