pushizo 0.1.0 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +158 -170
- data/lib/pushizo/base_resource.rb +14 -14
- data/lib/pushizo/client.rb +264 -264
- data/lib/pushizo/errors.rb +96 -96
- data/lib/pushizo/file_upload.rb +30 -30
- data/lib/pushizo/generated/models.rb +2681 -159
- data/lib/pushizo/generated/resources.rb +1629 -52
- data/lib/pushizo/identity_token.rb +40 -40
- data/lib/pushizo/model.rb +117 -117
- data/lib/pushizo/transport.rb +26 -26
- data/lib/pushizo/version.rb +5 -5
- data/lib/pushizo/webhook.rb +92 -92
- data/lib/pushizo.rb +27 -27
- metadata +3 -7
|
@@ -460,7 +460,7 @@ module Pushizo
|
|
|
460
460
|
|
|
461
461
|
# AddSubscriptionDto şeması.
|
|
462
462
|
class AddSubscriptionDto < Pushizo::BaseModel
|
|
463
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
463
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
464
464
|
field "channel", :channel, :string
|
|
465
465
|
# Zorunlu.
|
|
466
466
|
field "token", :token, :string
|
|
@@ -484,6 +484,10 @@ module Pushizo
|
|
|
484
484
|
field "push_capable", :push_capable, :boolean
|
|
485
485
|
# Değerler: "sandbox", "production".
|
|
486
486
|
field "push_environment", :push_environment, :string
|
|
487
|
+
# Değerler: "phone", "watch".
|
|
488
|
+
field "form_factor", :form_factor, :string
|
|
489
|
+
# Değerler: "alert", "voip", "app_clip".
|
|
490
|
+
field "push_kind", :push_kind, :string
|
|
487
491
|
end
|
|
488
492
|
|
|
489
493
|
# AddSubscriptionDtoOptIn şeması.
|
|
@@ -807,6 +811,68 @@ module Pushizo
|
|
|
807
811
|
field "updated_at", :updated_at, :string
|
|
808
812
|
end
|
|
809
813
|
|
|
814
|
+
# AppFlag şeması.
|
|
815
|
+
class AppFlag < Pushizo::BaseModel
|
|
816
|
+
# Zorunlu.
|
|
817
|
+
field "id", :id, :string
|
|
818
|
+
# Zorunlu.
|
|
819
|
+
field "app_id", :app_id, :string
|
|
820
|
+
# Zorunlu.
|
|
821
|
+
field "key", :key, :string
|
|
822
|
+
# Zorunlu.
|
|
823
|
+
field "name", :name, :string
|
|
824
|
+
# Zorunlu.
|
|
825
|
+
field "description", :description, :string
|
|
826
|
+
# Zorunlu.
|
|
827
|
+
field "enabled", :enabled, :boolean
|
|
828
|
+
# Zorunlu. Değerler: "boolean", "string", "number", "json".
|
|
829
|
+
field "value_type", :value_type, :string
|
|
830
|
+
# Zorunlu.
|
|
831
|
+
field "on_value", :on_value, :any
|
|
832
|
+
# Zorunlu.
|
|
833
|
+
field "off_value", :off_value, :any
|
|
834
|
+
# Zorunlu.
|
|
835
|
+
field "rollout_percent", :rollout_percent, :integer
|
|
836
|
+
# Zorunlu.
|
|
837
|
+
field "segment_id", :segment_id, :string
|
|
838
|
+
# Zorunlu.
|
|
839
|
+
field "rollout_schedule", :rollout_schedule, [:array, "AppFlagRolloutScheduleItem"]
|
|
840
|
+
# Zorunlu.
|
|
841
|
+
field "created_at", :created_at, :string
|
|
842
|
+
# Zorunlu.
|
|
843
|
+
field "updated_at", :updated_at, :string
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
# AppFlagEvaluation şeması.
|
|
847
|
+
class AppFlagEvaluation < Pushizo::BaseModel
|
|
848
|
+
# Zorunlu.
|
|
849
|
+
field "flags", :flags, [:map, "AppFlagEvaluationFlagsValue"]
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
# AppFlagEvaluationFlagsValue şeması.
|
|
853
|
+
class AppFlagEvaluationFlagsValue < Pushizo::BaseModel
|
|
854
|
+
# Zorunlu.
|
|
855
|
+
field "enabled", :enabled, :boolean
|
|
856
|
+
# Zorunlu.
|
|
857
|
+
field "value", :value, :any
|
|
858
|
+
# Zorunlu. Değerler: "on", "disabled", "segment", "rollout".
|
|
859
|
+
field "reason", :reason, :string
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
# AppFlagList şeması.
|
|
863
|
+
class AppFlagList < Pushizo::BaseModel
|
|
864
|
+
# Zorunlu.
|
|
865
|
+
field "data", :data, [:array, "AppFlag"]
|
|
866
|
+
end
|
|
867
|
+
|
|
868
|
+
# AppFlagRolloutScheduleItem şeması.
|
|
869
|
+
class AppFlagRolloutScheduleItem < Pushizo::BaseModel
|
|
870
|
+
# Zorunlu.
|
|
871
|
+
field "at", :at, :string
|
|
872
|
+
# Zorunlu.
|
|
873
|
+
field "percent", :percent, :integer
|
|
874
|
+
end
|
|
875
|
+
|
|
810
876
|
# AppList şeması.
|
|
811
877
|
class AppList < Pushizo::BaseModel
|
|
812
878
|
# Zorunlu.
|
|
@@ -831,8 +897,13 @@ module Pushizo
|
|
|
831
897
|
field "androidChannels", :android_channels, [:array, "AppSettingsAndroidChannelsItem"]
|
|
832
898
|
field "sms", :sms, "AppSettingsSms"
|
|
833
899
|
field "preferenceCenter", :preference_center, "AppSettingsPreferenceCenter"
|
|
900
|
+
field "brandKit", :brand_kit, "AppSettingsBrandKit"
|
|
834
901
|
field "defaultTtlSeconds", :default_ttl_seconds, :integer
|
|
835
902
|
field "identityVerificationRequired", :identity_verification_required, :boolean
|
|
903
|
+
# Değerler: "off", "full", "masked".
|
|
904
|
+
field "ipCapture", :ip_capture, :string
|
|
905
|
+
field "ipRetentionDays", :ip_retention_days, :integer
|
|
906
|
+
field "adaptiveFrequency", :adaptive_frequency, "AppSettingsAdaptiveFrequency"
|
|
836
907
|
field "allowedOrigins", :allowed_origins, [:array, :string]
|
|
837
908
|
field "campaignApprovalRequired", :campaign_approval_required, :boolean
|
|
838
909
|
field "webPush", :web_push, "AppSettingsWebPush"
|
|
@@ -840,6 +911,16 @@ module Pushizo
|
|
|
840
911
|
field "sdkSetup", :sdk_setup, "AppSettingsSdkSetup"
|
|
841
912
|
end
|
|
842
913
|
|
|
914
|
+
# AppSettingsAdaptiveFrequency şeması.
|
|
915
|
+
class AppSettingsAdaptiveFrequency < Pushizo::BaseModel
|
|
916
|
+
# Zorunlu.
|
|
917
|
+
field "enabled", :enabled, :boolean
|
|
918
|
+
# Zorunlu.
|
|
919
|
+
field "min", :min, :integer
|
|
920
|
+
# Zorunlu.
|
|
921
|
+
field "max", :max, :integer
|
|
922
|
+
end
|
|
923
|
+
|
|
843
924
|
# AppSettingsAndroidChannelsItem şeması.
|
|
844
925
|
class AppSettingsAndroidChannelsItem < Pushizo::BaseModel
|
|
845
926
|
# Zorunlu.
|
|
@@ -854,6 +935,17 @@ module Pushizo
|
|
|
854
935
|
field "group", :group, :string
|
|
855
936
|
end
|
|
856
937
|
|
|
938
|
+
# AppSettingsBrandKit şeması.
|
|
939
|
+
class AppSettingsBrandKit < Pushizo::BaseModel
|
|
940
|
+
field "website_url", :website_url, :string
|
|
941
|
+
field "name", :name, :string
|
|
942
|
+
field "primary_color", :primary_color, :string
|
|
943
|
+
field "accent_color", :accent_color, :string
|
|
944
|
+
field "font", :font, :string
|
|
945
|
+
field "logo_url", :logo_url, :string
|
|
946
|
+
field "tone", :tone, :string
|
|
947
|
+
end
|
|
948
|
+
|
|
857
949
|
# AppSettingsFrequencyCap şeması.
|
|
858
950
|
class AppSettingsFrequencyCap < Pushizo::BaseModel
|
|
859
951
|
# Zorunlu.
|
|
@@ -868,7 +960,7 @@ module Pushizo
|
|
|
868
960
|
field "max", :max, :integer
|
|
869
961
|
# Zorunlu.
|
|
870
962
|
field "window", :window, "AppSettingsFrequencyCapsItemWindow"
|
|
871
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
963
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
872
964
|
field "channels", :channels, [:array, :string]
|
|
873
965
|
end
|
|
874
966
|
|
|
@@ -892,9 +984,9 @@ module Pushizo
|
|
|
892
984
|
field "simulation", :simulation, :boolean
|
|
893
985
|
field "completed_at", :completed_at, :string
|
|
894
986
|
field "version", :version, :integer
|
|
895
|
-
# Değerler: "ios", "android", "huawei", "web".
|
|
987
|
+
# Değerler: "ios", "android", "huawei", "web", "amazon", "windows", "email", "sms".
|
|
896
988
|
field "platforms", :platforms, [:array, :string]
|
|
897
|
-
# Değerler: "native", "flutter", "react-native", "unity", "capacitor", "cordova", "maui".
|
|
989
|
+
# Değerler: "native", "flutter", "react-native", "expo", "kmp", "unity", "capacitor", "cordova", "maui".
|
|
898
990
|
field "framework", :framework, :string
|
|
899
991
|
# Değerler: "code", "wordpress".
|
|
900
992
|
field "web_integration", :web_integration, :string
|
|
@@ -1093,6 +1185,8 @@ module Pushizo
|
|
|
1093
1185
|
# Zorunlu.
|
|
1094
1186
|
field "category", :category, :string
|
|
1095
1187
|
# Zorunlu.
|
|
1188
|
+
field "goals", :goals, "CampaignGoals"
|
|
1189
|
+
# Zorunlu.
|
|
1096
1190
|
field "ab_test", :ab_test, "CampaignAbTest"
|
|
1097
1191
|
# Zorunlu.
|
|
1098
1192
|
field "variants", :variants, [:array, "CampaignVariantsItem"]
|
|
@@ -1197,10 +1291,47 @@ module Pushizo
|
|
|
1197
1291
|
field "priority", :priority, :integer
|
|
1198
1292
|
field "collapse_id", :collapse_id, :string
|
|
1199
1293
|
field "frequency_cap_exempt", :frequency_cap_exempt, :boolean
|
|
1294
|
+
# Değerler: "low", "normal", "high".
|
|
1295
|
+
field "frequency_priority", :frequency_priority, :string
|
|
1296
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
1200
1297
|
field "quiet_hours_exempt", :quiet_hours_exempt, :boolean
|
|
1201
1298
|
field "one_per_user", :one_per_user, :boolean
|
|
1202
1299
|
end
|
|
1203
1300
|
|
|
1301
|
+
# CampaignEmailRisk şeması.
|
|
1302
|
+
class CampaignEmailRisk < Pushizo::BaseModel
|
|
1303
|
+
# Zorunlu.
|
|
1304
|
+
field "applies", :applies, :boolean
|
|
1305
|
+
# Zorunlu.
|
|
1306
|
+
field "recipients", :recipients, :integer
|
|
1307
|
+
# Zorunlu.
|
|
1308
|
+
field "flagged_invalid", :flagged_invalid, :integer
|
|
1309
|
+
# Zorunlu.
|
|
1310
|
+
field "sendable", :sendable, :integer
|
|
1311
|
+
# Zorunlu.
|
|
1312
|
+
field "valid", :valid, :integer
|
|
1313
|
+
# Zorunlu.
|
|
1314
|
+
field "unknown", :unknown, :integer
|
|
1315
|
+
# Zorunlu.
|
|
1316
|
+
field "unchecked", :unchecked, :integer
|
|
1317
|
+
# Zorunlu.
|
|
1318
|
+
field "estimated_invalid_ratio", :estimated_invalid_ratio, :number
|
|
1319
|
+
# Zorunlu.
|
|
1320
|
+
field "max_invalid_ratio", :max_invalid_ratio, :number
|
|
1321
|
+
# Zorunlu.
|
|
1322
|
+
field "blocked", :blocked, :boolean
|
|
1323
|
+
# Zorunlu.
|
|
1324
|
+
field "bounce_rate_7d", :bounce_rate_7d, :number
|
|
1325
|
+
# Zorunlu.
|
|
1326
|
+
field "bounce_rate_30d", :bounce_rate_30d, :number
|
|
1327
|
+
end
|
|
1328
|
+
|
|
1329
|
+
# CampaignGoals şeması.
|
|
1330
|
+
class CampaignGoals < Pushizo::BaseModel
|
|
1331
|
+
field "primary", :primary, :string
|
|
1332
|
+
field "secondary", :secondary, [:array, :string]
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1204
1335
|
# CampaignPage şeması.
|
|
1205
1336
|
class CampaignPage < Pushizo::BaseModel
|
|
1206
1337
|
# Zorunlu.
|
|
@@ -1230,6 +1361,8 @@ module Pushizo
|
|
|
1230
1361
|
field "labels", :labels, [:array, :string]
|
|
1231
1362
|
# Tercih kategorisi anahtarı; kapalı kullanıcılar bastırılır
|
|
1232
1363
|
field "category", :category, :string
|
|
1364
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
1365
|
+
field "goals", :goals, "CampaignsCreateBodyGoals"
|
|
1233
1366
|
field "ab_test", :ab_test, "CampaignsCreateBodyAbTest"
|
|
1234
1367
|
# A/B varyantları (ağırlıklar toplamı 100; en fazla bir is_control)
|
|
1235
1368
|
field "variants", :variants, [:array, "CampaignsCreateBodyVariantsItem"]
|
|
@@ -1263,7 +1396,7 @@ module Pushizo
|
|
|
1263
1396
|
field "exclude_segments", :exclude_segments, [:array, :string]
|
|
1264
1397
|
# Filtre AST: all/any/none grupları ve { field, op, value } koşulları (docs/plan/05 §5.7).
|
|
1265
1398
|
field "filters", :filters, "CampaignsCreateBodyAudienceFilters"
|
|
1266
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1399
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1267
1400
|
field "channels", :channels, [:array, :string]
|
|
1268
1401
|
field "test_devices_only", :test_devices_only, :boolean
|
|
1269
1402
|
end
|
|
@@ -1286,10 +1419,19 @@ module Pushizo
|
|
|
1286
1419
|
field "priority", :priority, :integer
|
|
1287
1420
|
field "collapse_id", :collapse_id, :string
|
|
1288
1421
|
field "frequency_cap_exempt", :frequency_cap_exempt, :boolean
|
|
1422
|
+
# Değerler: "low", "normal", "high".
|
|
1423
|
+
field "frequency_priority", :frequency_priority, :string
|
|
1424
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
1289
1425
|
field "quiet_hours_exempt", :quiet_hours_exempt, :boolean
|
|
1290
1426
|
field "one_per_user", :one_per_user, :boolean
|
|
1291
1427
|
end
|
|
1292
1428
|
|
|
1429
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
1430
|
+
class CampaignsCreateBodyGoals < Pushizo::BaseModel
|
|
1431
|
+
field "primary", :primary, :string
|
|
1432
|
+
field "secondary", :secondary, [:array, :string]
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1293
1435
|
# CampaignsCreateBodyRecurrence şeması.
|
|
1294
1436
|
class CampaignsCreateBodyRecurrence < Pushizo::BaseModel
|
|
1295
1437
|
field "cron", :cron, :string
|
|
@@ -1315,6 +1457,10 @@ module Pushizo
|
|
|
1315
1457
|
# Zorunlu.
|
|
1316
1458
|
field "rates", :rates, "CampaignStatsRates"
|
|
1317
1459
|
# Zorunlu.
|
|
1460
|
+
field "goals", :goals, [:array, "CampaignStatsGoalsItem"]
|
|
1461
|
+
# Zorunlu.
|
|
1462
|
+
field "cards", :cards, "CampaignStatsCards"
|
|
1463
|
+
# Zorunlu.
|
|
1318
1464
|
field "channels", :channels, [:array, "CampaignStatsChannelsItem"]
|
|
1319
1465
|
# Zorunlu.
|
|
1320
1466
|
field "hourly", :hourly, [:array, "CampaignStatsHourlyItem"]
|
|
@@ -1341,9 +1487,25 @@ module Pushizo
|
|
|
1341
1487
|
field "sms_segments", :sms_segments, :integer
|
|
1342
1488
|
end
|
|
1343
1489
|
|
|
1490
|
+
# CampaignStatsCards şeması.
|
|
1491
|
+
class CampaignStatsCards < Pushizo::BaseModel
|
|
1492
|
+
# Zorunlu.
|
|
1493
|
+
field "created", :created, :integer
|
|
1494
|
+
# Zorunlu.
|
|
1495
|
+
field "viewed", :viewed, :integer
|
|
1496
|
+
# Zorunlu.
|
|
1497
|
+
field "clicked", :clicked, :integer
|
|
1498
|
+
# Zorunlu.
|
|
1499
|
+
field "dismissed", :dismissed, :integer
|
|
1500
|
+
# Zorunlu.
|
|
1501
|
+
field "view_rate", :view_rate, :number
|
|
1502
|
+
# Zorunlu.
|
|
1503
|
+
field "click_rate", :click_rate, :number
|
|
1504
|
+
end
|
|
1505
|
+
|
|
1344
1506
|
# CampaignStatsChannelsItem şeması.
|
|
1345
1507
|
class CampaignStatsChannelsItem < Pushizo::BaseModel
|
|
1346
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1508
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1347
1509
|
field "channel", :channel, :string
|
|
1348
1510
|
# Zorunlu.
|
|
1349
1511
|
field "targeted", :targeted, :integer
|
|
@@ -1365,6 +1527,18 @@ module Pushizo
|
|
|
1365
1527
|
field "count", :count, :integer
|
|
1366
1528
|
end
|
|
1367
1529
|
|
|
1530
|
+
# CampaignStatsGoalsItem şeması.
|
|
1531
|
+
class CampaignStatsGoalsItem < Pushizo::BaseModel
|
|
1532
|
+
# Zorunlu.
|
|
1533
|
+
field "event", :event, :string
|
|
1534
|
+
# Zorunlu.
|
|
1535
|
+
field "primary", :primary, :boolean
|
|
1536
|
+
# Zorunlu.
|
|
1537
|
+
field "converted", :converted, :integer
|
|
1538
|
+
# Zorunlu.
|
|
1539
|
+
field "conversion_rate", :conversion_rate, :number
|
|
1540
|
+
end
|
|
1541
|
+
|
|
1368
1542
|
# CampaignStatsHourlyItem şeması.
|
|
1369
1543
|
class CampaignStatsHourlyItem < Pushizo::BaseModel
|
|
1370
1544
|
# Zorunlu.
|
|
@@ -1404,6 +1578,8 @@ module Pushizo
|
|
|
1404
1578
|
field "labels", :labels, [:array, :string]
|
|
1405
1579
|
# Tercih kategorisi anahtarı; kapalı kullanıcılar bastırılır
|
|
1406
1580
|
field "category", :category, :string
|
|
1581
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
1582
|
+
field "goals", :goals, "CampaignsUpdateBodyGoals"
|
|
1407
1583
|
field "ab_test", :ab_test, "CampaignsUpdateBodyAbTest"
|
|
1408
1584
|
# A/B varyantları (ağırlıklar toplamı 100; en fazla bir is_control)
|
|
1409
1585
|
field "variants", :variants, [:array, "CampaignsUpdateBodyVariantsItem"]
|
|
@@ -1437,7 +1613,7 @@ module Pushizo
|
|
|
1437
1613
|
field "exclude_segments", :exclude_segments, [:array, :string]
|
|
1438
1614
|
# Filtre AST: all/any/none grupları ve { field, op, value } koşulları (docs/plan/05 §5.7).
|
|
1439
1615
|
field "filters", :filters, "CampaignsUpdateBodyAudienceFilters"
|
|
1440
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1616
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1441
1617
|
field "channels", :channels, [:array, :string]
|
|
1442
1618
|
field "test_devices_only", :test_devices_only, :boolean
|
|
1443
1619
|
end
|
|
@@ -1460,10 +1636,19 @@ module Pushizo
|
|
|
1460
1636
|
field "priority", :priority, :integer
|
|
1461
1637
|
field "collapse_id", :collapse_id, :string
|
|
1462
1638
|
field "frequency_cap_exempt", :frequency_cap_exempt, :boolean
|
|
1639
|
+
# Değerler: "low", "normal", "high".
|
|
1640
|
+
field "frequency_priority", :frequency_priority, :string
|
|
1641
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
1463
1642
|
field "quiet_hours_exempt", :quiet_hours_exempt, :boolean
|
|
1464
1643
|
field "one_per_user", :one_per_user, :boolean
|
|
1465
1644
|
end
|
|
1466
1645
|
|
|
1646
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
1647
|
+
class CampaignsUpdateBodyGoals < Pushizo::BaseModel
|
|
1648
|
+
field "primary", :primary, :string
|
|
1649
|
+
field "secondary", :secondary, [:array, :string]
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1467
1652
|
# CampaignsUpdateBodyRecurrence şeması.
|
|
1468
1653
|
class CampaignsUpdateBodyRecurrence < Pushizo::BaseModel
|
|
1469
1654
|
field "cron", :cron, :string
|
|
@@ -1582,6 +1767,20 @@ module Pushizo
|
|
|
1582
1767
|
field "click_rate", :click_rate, :number
|
|
1583
1768
|
# Zorunlu.
|
|
1584
1769
|
field "conversion_rate", :conversion_rate, :number
|
|
1770
|
+
# Zorunlu.
|
|
1771
|
+
field "goals", :goals, [:array, "CampaignVariantStatsVariantsItemGoalsItem"]
|
|
1772
|
+
end
|
|
1773
|
+
|
|
1774
|
+
# CampaignVariantStatsVariantsItemGoalsItem şeması.
|
|
1775
|
+
class CampaignVariantStatsVariantsItemGoalsItem < Pushizo::BaseModel
|
|
1776
|
+
# Zorunlu.
|
|
1777
|
+
field "event", :event, :string
|
|
1778
|
+
# Zorunlu.
|
|
1779
|
+
field "primary", :primary, :boolean
|
|
1780
|
+
# Zorunlu.
|
|
1781
|
+
field "converted", :converted, :integer
|
|
1782
|
+
# Zorunlu.
|
|
1783
|
+
field "conversion_rate", :conversion_rate, :number
|
|
1585
1784
|
end
|
|
1586
1785
|
|
|
1587
1786
|
# CannedInputDto şeması.
|
|
@@ -1627,11 +1826,85 @@ module Pushizo
|
|
|
1627
1826
|
field "language", :language, :string
|
|
1628
1827
|
end
|
|
1629
1828
|
|
|
1829
|
+
# Catalog şeması.
|
|
1830
|
+
class Catalog < Pushizo::BaseModel
|
|
1831
|
+
# Zorunlu.
|
|
1832
|
+
field "id", :id, :string
|
|
1833
|
+
# Zorunlu.
|
|
1834
|
+
field "app_id", :app_id, :string
|
|
1835
|
+
# Zorunlu.
|
|
1836
|
+
field "name", :name, :string
|
|
1837
|
+
# Zorunlu.
|
|
1838
|
+
field "description", :description, :string
|
|
1839
|
+
# Zorunlu.
|
|
1840
|
+
field "currency", :currency, :string
|
|
1841
|
+
# Zorunlu.
|
|
1842
|
+
field "item_count", :item_count, :integer
|
|
1843
|
+
# Zorunlu.
|
|
1844
|
+
field "liquid", :liquid, :string
|
|
1845
|
+
# Zorunlu.
|
|
1846
|
+
field "created_at", :created_at, :string
|
|
1847
|
+
# Zorunlu.
|
|
1848
|
+
field "updated_at", :updated_at, :string
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
# CatalogItem şeması.
|
|
1852
|
+
class CatalogItem < Pushizo::BaseModel
|
|
1853
|
+
# Zorunlu.
|
|
1854
|
+
field "id", :id, :string
|
|
1855
|
+
# Zorunlu.
|
|
1856
|
+
field "title", :title, :string
|
|
1857
|
+
# Zorunlu.
|
|
1858
|
+
field "description", :description, :string
|
|
1859
|
+
# Zorunlu.
|
|
1860
|
+
field "image_url", :image_url, :string
|
|
1861
|
+
# Zorunlu.
|
|
1862
|
+
field "url", :url, :string
|
|
1863
|
+
# Zorunlu.
|
|
1864
|
+
field "price", :price, :number
|
|
1865
|
+
# Zorunlu.
|
|
1866
|
+
field "sale_price", :sale_price, :number
|
|
1867
|
+
# Zorunlu.
|
|
1868
|
+
field "currency", :currency, :string
|
|
1869
|
+
# Zorunlu.
|
|
1870
|
+
field "category", :category, :string
|
|
1871
|
+
# Zorunlu.
|
|
1872
|
+
field "brand", :brand, :string
|
|
1873
|
+
# Zorunlu.
|
|
1874
|
+
field "in_stock", :in_stock, :boolean
|
|
1875
|
+
# Zorunlu.
|
|
1876
|
+
field "attributes", :attributes_value, [:map, :string]
|
|
1877
|
+
# Zorunlu.
|
|
1878
|
+
field "updated_at", :updated_at, :string
|
|
1879
|
+
end
|
|
1880
|
+
|
|
1881
|
+
# CatalogItemsPage şeması.
|
|
1882
|
+
class CatalogItemsPage < Pushizo::BaseModel
|
|
1883
|
+
# Zorunlu.
|
|
1884
|
+
field "total", :total, :integer
|
|
1885
|
+
# Zorunlu.
|
|
1886
|
+
field "data", :data, [:array, "CatalogItem"]
|
|
1887
|
+
end
|
|
1888
|
+
|
|
1889
|
+
# CatalogList şeması.
|
|
1890
|
+
class CatalogList < Pushizo::BaseModel
|
|
1891
|
+
# Zorunlu.
|
|
1892
|
+
field "data", :data, [:array, "Catalog"]
|
|
1893
|
+
end
|
|
1894
|
+
|
|
1895
|
+
# CatalogUpsertResult şeması.
|
|
1896
|
+
class CatalogUpsertResult < Pushizo::BaseModel
|
|
1897
|
+
# Zorunlu.
|
|
1898
|
+
field "catalog", :catalog, "Catalog"
|
|
1899
|
+
# Zorunlu.
|
|
1900
|
+
field "upserted", :upserted, :integer
|
|
1901
|
+
end
|
|
1902
|
+
|
|
1630
1903
|
# ChannelConfig şeması.
|
|
1631
1904
|
class ChannelConfig < Pushizo::BaseModel
|
|
1632
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1905
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
1633
1906
|
field "channel", :channel, :string
|
|
1634
|
-
# Zorunlu. Değerler: "apns", "fcm", "hms", "webpush", "smtp", "ses", "resend", "twilio", "netgsm", "meta_whatsapp", "google_rbm", "mock".
|
|
1907
|
+
# Zorunlu. Değerler: "apns", "fcm", "hms", "adm", "wns", "webpush", "smtp", "ses", "resend", "twilio", "netgsm", "meta_whatsapp", "google_rbm", "mock".
|
|
1635
1908
|
field "provider", :provider, :string
|
|
1636
1909
|
# Zorunlu. Değerler: "unconfigured", "active", "invalid", "suspended".
|
|
1637
1910
|
field "status", :status, :string
|
|
@@ -1688,6 +1961,7 @@ module Pushizo
|
|
|
1688
1961
|
field "account_sid", :account_sid, :string
|
|
1689
1962
|
field "from_number", :from_number, :string
|
|
1690
1963
|
field "messaging_service_sid", :messaging_service_sid, :string
|
|
1964
|
+
field "verify_service_sid", :verify_service_sid, :string
|
|
1691
1965
|
field "usercode", :usercode, :string
|
|
1692
1966
|
field "msgheader", :msgheader, :string
|
|
1693
1967
|
# Değerler: "0", "11", "12".
|
|
@@ -1756,6 +2030,88 @@ module Pushizo
|
|
|
1756
2030
|
field "data", :data, [:array, "ChannelConfig"]
|
|
1757
2031
|
end
|
|
1758
2032
|
|
|
2033
|
+
# ChannelScoreConfig şeması.
|
|
2034
|
+
class ChannelScoreConfig < Pushizo::BaseModel
|
|
2035
|
+
# Zorunlu.
|
|
2036
|
+
field "configured", :configured, :boolean
|
|
2037
|
+
# Zorunlu.
|
|
2038
|
+
field "enabled", :enabled, :boolean
|
|
2039
|
+
# Zorunlu.
|
|
2040
|
+
field "window_days", :window_days, :integer
|
|
2041
|
+
# Zorunlu.
|
|
2042
|
+
field "min_sends", :min_sends, :integer
|
|
2043
|
+
# Zorunlu.
|
|
2044
|
+
field "count_email_opens", :count_email_opens, :boolean
|
|
2045
|
+
# Zorunlu. Değerler: "idle", "queued", "running", "failed".
|
|
2046
|
+
field "status", :status, :string
|
|
2047
|
+
# Zorunlu.
|
|
2048
|
+
field "last_error", :last_error, :string
|
|
2049
|
+
# Zorunlu.
|
|
2050
|
+
field "last_computed_at", :last_computed_at, :string
|
|
2051
|
+
# Zorunlu.
|
|
2052
|
+
field "scored_users", :scored_users, :integer
|
|
2053
|
+
end
|
|
2054
|
+
|
|
2055
|
+
# ChannelScoreOverview şeması.
|
|
2056
|
+
class ChannelScoreOverview < Pushizo::BaseModel
|
|
2057
|
+
# Zorunlu.
|
|
2058
|
+
field "total", :total, :integer
|
|
2059
|
+
# Zorunlu.
|
|
2060
|
+
field "low_population", :low_population, :boolean
|
|
2061
|
+
# Zorunlu.
|
|
2062
|
+
field "last_computed_at", :last_computed_at, :string
|
|
2063
|
+
# Zorunlu.
|
|
2064
|
+
field "channels", :channels, [:array, "ChannelScoreOverviewChannelsItem"]
|
|
2065
|
+
end
|
|
2066
|
+
|
|
2067
|
+
# ChannelScoreOverviewChannelsItem şeması.
|
|
2068
|
+
class ChannelScoreOverviewChannelsItem < Pushizo::BaseModel
|
|
2069
|
+
# Zorunlu. Değerler: "push", "email", "whatsapp", "rcs", "sms".
|
|
2070
|
+
field "channel", :channel, :string
|
|
2071
|
+
# Zorunlu.
|
|
2072
|
+
field "best_users", :best_users, :integer
|
|
2073
|
+
# Zorunlu.
|
|
2074
|
+
field "share", :share, :number
|
|
2075
|
+
# Zorunlu.
|
|
2076
|
+
field "sends", :sends, :integer
|
|
2077
|
+
# Zorunlu.
|
|
2078
|
+
field "engaged", :engaged, :integer
|
|
2079
|
+
# Zorunlu.
|
|
2080
|
+
field "engagement_rate", :engagement_rate, :number
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
# ChannelScoreUser şeması.
|
|
2084
|
+
class ChannelScoreUser < Pushizo::BaseModel
|
|
2085
|
+
# Zorunlu.
|
|
2086
|
+
field "user_id", :user_id, :string
|
|
2087
|
+
# Zorunlu.
|
|
2088
|
+
field "external_id", :external_id, :string
|
|
2089
|
+
# Zorunlu. Değerler: "push", "email", "whatsapp", "rcs", "sms".
|
|
2090
|
+
field "best_channel", :best_channel, :string
|
|
2091
|
+
# Zorunlu.
|
|
2092
|
+
field "scores", :scores, [:array, "ChannelScoreUserScoresItem"]
|
|
2093
|
+
end
|
|
2094
|
+
|
|
2095
|
+
# ChannelScoreUserScoresItem şeması.
|
|
2096
|
+
class ChannelScoreUserScoresItem < Pushizo::BaseModel
|
|
2097
|
+
# Zorunlu. Değerler: "push", "email", "whatsapp", "rcs", "sms".
|
|
2098
|
+
field "channel", :channel, :string
|
|
2099
|
+
# Zorunlu.
|
|
2100
|
+
field "sends", :sends, :integer
|
|
2101
|
+
# Zorunlu.
|
|
2102
|
+
field "engaged", :engaged, :integer
|
|
2103
|
+
# Zorunlu.
|
|
2104
|
+
field "score", :score, :number
|
|
2105
|
+
end
|
|
2106
|
+
|
|
2107
|
+
# ChannelScoreUsersPage şeması.
|
|
2108
|
+
class ChannelScoreUsersPage < Pushizo::BaseModel
|
|
2109
|
+
# Zorunlu.
|
|
2110
|
+
field "data", :data, [:array, "ChannelScoreUser"]
|
|
2111
|
+
# Zorunlu.
|
|
2112
|
+
field "next_cursor", :next_cursor, :string
|
|
2113
|
+
end
|
|
2114
|
+
|
|
1759
2115
|
# ChannelValidation şeması.
|
|
1760
2116
|
class ChannelValidation < Pushizo::BaseModel
|
|
1761
2117
|
# Zorunlu.
|
|
@@ -1772,6 +2128,14 @@ module Pushizo
|
|
|
1772
2128
|
field "channel", :channel, "ChannelConfig"
|
|
1773
2129
|
end
|
|
1774
2130
|
|
|
2131
|
+
# CheckVerifyDto şeması.
|
|
2132
|
+
class CheckVerifyDto < Pushizo::BaseModel
|
|
2133
|
+
# Zorunlu.
|
|
2134
|
+
field "id", :id, :string
|
|
2135
|
+
# Zorunlu.
|
|
2136
|
+
field "code", :code, :string
|
|
2137
|
+
end
|
|
2138
|
+
|
|
1775
2139
|
# ContentTable şeması.
|
|
1776
2140
|
class ContentTable < Pushizo::BaseModel
|
|
1777
2141
|
# Zorunlu.
|
|
@@ -2298,6 +2662,31 @@ module Pushizo
|
|
|
2298
2662
|
field "sms", :sms, :boolean
|
|
2299
2663
|
end
|
|
2300
2664
|
|
|
2665
|
+
# CreateAppFlagDto şeması.
|
|
2666
|
+
class CreateAppFlagDto < Pushizo::BaseModel
|
|
2667
|
+
# Zorunlu.
|
|
2668
|
+
field "key", :key, :string
|
|
2669
|
+
# Zorunlu.
|
|
2670
|
+
field "name", :name, :string
|
|
2671
|
+
field "description", :description, :string
|
|
2672
|
+
field "enabled", :enabled, :boolean
|
|
2673
|
+
# Değerler: "boolean", "string", "number", "json".
|
|
2674
|
+
field "value_type", :value_type, :string
|
|
2675
|
+
field "on_value", :on_value, :any
|
|
2676
|
+
field "off_value", :off_value, :any
|
|
2677
|
+
field "rollout_percent", :rollout_percent, :integer
|
|
2678
|
+
field "segment_id", :segment_id, :string
|
|
2679
|
+
field "rollout_schedule", :rollout_schedule, [:array, "CreateAppFlagDtoRolloutScheduleItem"]
|
|
2680
|
+
end
|
|
2681
|
+
|
|
2682
|
+
# CreateAppFlagDtoRolloutScheduleItem şeması.
|
|
2683
|
+
class CreateAppFlagDtoRolloutScheduleItem < Pushizo::BaseModel
|
|
2684
|
+
# Zorunlu.
|
|
2685
|
+
field "at", :at, :string
|
|
2686
|
+
# Zorunlu.
|
|
2687
|
+
field "percent", :percent, :integer
|
|
2688
|
+
end
|
|
2689
|
+
|
|
2301
2690
|
# CreateBudgetAlertRuleDto şeması.
|
|
2302
2691
|
class CreateBudgetAlertRuleDto < Pushizo::BaseModel
|
|
2303
2692
|
# Zorunlu.
|
|
@@ -2313,6 +2702,14 @@ module Pushizo
|
|
|
2313
2702
|
field "enabled", :enabled, :boolean
|
|
2314
2703
|
end
|
|
2315
2704
|
|
|
2705
|
+
# CreateCatalogDto şeması.
|
|
2706
|
+
class CreateCatalogDto < Pushizo::BaseModel
|
|
2707
|
+
# Zorunlu.
|
|
2708
|
+
field "name", :name, :string
|
|
2709
|
+
field "description", :description, :string
|
|
2710
|
+
field "currency", :currency, :string
|
|
2711
|
+
end
|
|
2712
|
+
|
|
2316
2713
|
# CreateCategoryDto şeması.
|
|
2317
2714
|
class CreateCategoryDto < Pushizo::BaseModel
|
|
2318
2715
|
# Zorunlu.
|
|
@@ -2320,7 +2717,7 @@ module Pushizo
|
|
|
2320
2717
|
# Zorunlu.
|
|
2321
2718
|
field "name", :name, [:map, :string]
|
|
2322
2719
|
field "description", :description, [:map, :string]
|
|
2323
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2720
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2324
2721
|
field "channels", :channels, [:array, :string]
|
|
2325
2722
|
field "default_opted_in", :default_opted_in, :boolean
|
|
2326
2723
|
field "position", :position, :integer
|
|
@@ -2375,6 +2772,30 @@ module Pushizo
|
|
|
2375
2772
|
field "enabled", :enabled, :boolean
|
|
2376
2773
|
end
|
|
2377
2774
|
|
|
2775
|
+
# CreateDecisionAgentDto şeması.
|
|
2776
|
+
class CreateDecisionAgentDto < Pushizo::BaseModel
|
|
2777
|
+
# Zorunlu.
|
|
2778
|
+
field "slug", :slug, :string
|
|
2779
|
+
# Zorunlu.
|
|
2780
|
+
field "name", :name, :string
|
|
2781
|
+
# Zorunlu.
|
|
2782
|
+
field "arms", :arms, [:array, "CreateDecisionAgentDtoArmsItem"]
|
|
2783
|
+
# Zorunlu.
|
|
2784
|
+
field "reward_events", :reward_events, [:array, :string]
|
|
2785
|
+
field "reward_window_hours", :reward_window_hours, :integer
|
|
2786
|
+
field "holdout_percent", :holdout_percent, :integer
|
|
2787
|
+
field "context_prediction", :context_prediction, :string
|
|
2788
|
+
field "use_best_channel", :use_best_channel, :boolean
|
|
2789
|
+
end
|
|
2790
|
+
|
|
2791
|
+
# CreateDecisionAgentDtoArmsItem şeması.
|
|
2792
|
+
class CreateDecisionAgentDtoArmsItem < Pushizo::BaseModel
|
|
2793
|
+
# Zorunlu.
|
|
2794
|
+
field "id", :id, :string
|
|
2795
|
+
# Zorunlu.
|
|
2796
|
+
field "label", :label, :string
|
|
2797
|
+
end
|
|
2798
|
+
|
|
2378
2799
|
# CreateExportDto şeması.
|
|
2379
2800
|
class CreateExportDto < Pushizo::BaseModel
|
|
2380
2801
|
# Zorunlu. Değerler: "users", "subscriptions", "events", "deliveries", "message_events".
|
|
@@ -2390,7 +2811,7 @@ module Pushizo
|
|
|
2390
2811
|
field "message_id", :message_id, :string
|
|
2391
2812
|
field "campaign_id", :campaign_id, :string
|
|
2392
2813
|
field "status", :status, :string
|
|
2393
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2814
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2394
2815
|
field "channel", :channel, :string
|
|
2395
2816
|
field "segment_id", :segment_id, :string
|
|
2396
2817
|
end
|
|
@@ -2457,15 +2878,29 @@ module Pushizo
|
|
|
2457
2878
|
field "sms", :sms, :boolean
|
|
2458
2879
|
end
|
|
2459
2880
|
|
|
2460
|
-
#
|
|
2461
|
-
class
|
|
2462
|
-
|
|
2463
|
-
field "
|
|
2464
|
-
|
|
2465
|
-
field "
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2881
|
+
# CreateGeofenceDto şeması.
|
|
2882
|
+
class CreateGeofenceDto < Pushizo::BaseModel
|
|
2883
|
+
# Zorunlu.
|
|
2884
|
+
field "name", :name, :string
|
|
2885
|
+
# Zorunlu.
|
|
2886
|
+
field "lat", :lat, :number
|
|
2887
|
+
# Zorunlu.
|
|
2888
|
+
field "lng", :lng, :number
|
|
2889
|
+
# Zorunlu.
|
|
2890
|
+
field "radius_m", :radius_m, :integer
|
|
2891
|
+
field "cooldown_minutes", :cooldown_minutes, :integer
|
|
2892
|
+
field "enabled", :enabled, :boolean
|
|
2893
|
+
end
|
|
2894
|
+
|
|
2895
|
+
# CreateIdentityKeyDto şeması.
|
|
2896
|
+
class CreateIdentityKeyDto < Pushizo::BaseModel
|
|
2897
|
+
field "kid", :kid, :string
|
|
2898
|
+
field "label", :label, :string
|
|
2899
|
+
field "public_jwk", :public_jwk, [:map, :any]
|
|
2900
|
+
field "public_key_pem", :public_key_pem, :string
|
|
2901
|
+
end
|
|
2902
|
+
|
|
2903
|
+
# CreateInAppDto şeması.
|
|
2469
2904
|
class CreateInAppDto < Pushizo::BaseModel
|
|
2470
2905
|
# Zorunlu.
|
|
2471
2906
|
field "name", :name, :string
|
|
@@ -2479,6 +2914,7 @@ module Pushizo
|
|
|
2479
2914
|
field "audience", :audience, "CreateInAppDtoAudience"
|
|
2480
2915
|
field "frequency", :frequency, "CreateInAppDtoFrequency"
|
|
2481
2916
|
field "journey_only", :journey_only, :boolean
|
|
2917
|
+
field "placement", :placement, :string
|
|
2482
2918
|
field "priority", :priority, :integer
|
|
2483
2919
|
field "start_at", :start_at, :string
|
|
2484
2920
|
field "end_at", :end_at, :string
|
|
@@ -2501,6 +2937,7 @@ module Pushizo
|
|
|
2501
2937
|
class CreateInAppDtoAudience < Pushizo::BaseModel
|
|
2502
2938
|
field "included_segments", :included_segments, [:array, :string]
|
|
2503
2939
|
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
2940
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
2504
2941
|
end
|
|
2505
2942
|
|
|
2506
2943
|
# CreateInAppDtoDisplay şeması.
|
|
@@ -2682,6 +3119,10 @@ module Pushizo
|
|
|
2682
3119
|
field "android_accent_color", :android_accent_color, :string
|
|
2683
3120
|
# Değerler: 1, 0, -1.
|
|
2684
3121
|
field "android_visibility", :android_visibility, :integer
|
|
3122
|
+
field "ios_carousel", :ios_carousel, [:array, "CreateNotificationDtoIosCarouselItem"]
|
|
3123
|
+
field "android_live_update", :android_live_update, "CreateNotificationDtoAndroidLiveUpdate"
|
|
3124
|
+
field "voip", :voip, :boolean
|
|
3125
|
+
field "app_clip", :app_clip, :boolean
|
|
2685
3126
|
field "chrome_web_icon", :chrome_web_icon, :string
|
|
2686
3127
|
field "chrome_web_image", :chrome_web_image, :string
|
|
2687
3128
|
field "chrome_web_badge", :chrome_web_badge, :string
|
|
@@ -2721,6 +3162,7 @@ module Pushizo
|
|
|
2721
3162
|
field "rcs_fallback_text", :rcs_fallback_text, [:map, :string]
|
|
2722
3163
|
field "add_to_inbox", :add_to_inbox, :boolean
|
|
2723
3164
|
field "inbox_ttl", :inbox_ttl, :integer
|
|
3165
|
+
field "content_card", :content_card, "CreateNotificationDtoContentCard"
|
|
2724
3166
|
field "frequency_cap_exempt", :frequency_cap_exempt, :boolean
|
|
2725
3167
|
field "quiet_hours_exempt", :quiet_hours_exempt, :boolean
|
|
2726
3168
|
field "one_per_user", :one_per_user, :boolean
|
|
@@ -2729,6 +3171,17 @@ module Pushizo
|
|
|
2729
3171
|
field "name", :name, :string
|
|
2730
3172
|
field "labels", :labels, [:array, :string]
|
|
2731
3173
|
field "category", :category, :string
|
|
3174
|
+
# Değerler: "sms", "email".
|
|
3175
|
+
field "fallback_channel", :fallback_channel, :string
|
|
3176
|
+
# Değerler: "phone", "watch".
|
|
3177
|
+
field "form_factor", :form_factor, :string
|
|
3178
|
+
end
|
|
3179
|
+
|
|
3180
|
+
# CreateNotificationDtoAndroidLiveUpdate şeması.
|
|
3181
|
+
class CreateNotificationDtoAndroidLiveUpdate < Pushizo::BaseModel
|
|
3182
|
+
# Zorunlu.
|
|
3183
|
+
field "progress", :progress, :integer
|
|
3184
|
+
field "ongoing", :ongoing, :boolean
|
|
2732
3185
|
end
|
|
2733
3186
|
|
|
2734
3187
|
# CreateNotificationDtoButtonsItem şeması.
|
|
@@ -2741,6 +3194,22 @@ module Pushizo
|
|
|
2741
3194
|
field "url", :url, :string
|
|
2742
3195
|
end
|
|
2743
3196
|
|
|
3197
|
+
# CreateNotificationDtoContentCard şeması.
|
|
3198
|
+
class CreateNotificationDtoContentCard < Pushizo::BaseModel
|
|
3199
|
+
# Zorunlu. Değerler: "classic", "captioned_image", "image_only".
|
|
3200
|
+
field "type", :type, :string
|
|
3201
|
+
field "pinned", :pinned, :boolean
|
|
3202
|
+
field "priority", :priority, :integer
|
|
3203
|
+
field "button_text", :button_text, [:map, :string]
|
|
3204
|
+
end
|
|
3205
|
+
|
|
3206
|
+
# CreateNotificationDtoIosCarouselItem şeması.
|
|
3207
|
+
class CreateNotificationDtoIosCarouselItem < Pushizo::BaseModel
|
|
3208
|
+
# Zorunlu.
|
|
3209
|
+
field "url", :url, :string
|
|
3210
|
+
field "title", :title, :string
|
|
3211
|
+
end
|
|
3212
|
+
|
|
2744
3213
|
# CreateNotificationDtoRcsCard şeması.
|
|
2745
3214
|
class CreateNotificationDtoRcsCard < Pushizo::BaseModel
|
|
2746
3215
|
field "title", :title, [:map, :string]
|
|
@@ -2761,7 +3230,7 @@ module Pushizo
|
|
|
2761
3230
|
field "included_segments", :included_segments, [:array, :string]
|
|
2762
3231
|
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
2763
3232
|
field "filters", :filters, :any
|
|
2764
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
3233
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2765
3234
|
field "channels", :channels, [:array, :string]
|
|
2766
3235
|
field "test_devices_only", :test_devices_only, :boolean
|
|
2767
3236
|
field "email_to", :email_to, [:array, :string]
|
|
@@ -2862,6 +3331,58 @@ module Pushizo
|
|
|
2862
3331
|
field "external_id_missing", :external_id_missing, [:array, :string]
|
|
2863
3332
|
end
|
|
2864
3333
|
|
|
3334
|
+
# CreatePredictionDto şeması.
|
|
3335
|
+
class CreatePredictionDto < Pushizo::BaseModel
|
|
3336
|
+
# Zorunlu.
|
|
3337
|
+
field "slug", :slug, :string
|
|
3338
|
+
# Zorunlu.
|
|
3339
|
+
field "name", :name, :string
|
|
3340
|
+
# Zorunlu. Değerler: "churn", "event".
|
|
3341
|
+
field "kind", :kind, :string
|
|
3342
|
+
field "event_names", :event_names, [:array, :string]
|
|
3343
|
+
field "horizon_days", :horizon_days, :integer
|
|
3344
|
+
end
|
|
3345
|
+
|
|
3346
|
+
# CreatePromoCodeListDto şeması.
|
|
3347
|
+
class CreatePromoCodeListDto < Pushizo::BaseModel
|
|
3348
|
+
# Zorunlu.
|
|
3349
|
+
field "name", :name, :string
|
|
3350
|
+
field "description", :description, :string
|
|
3351
|
+
field "expires_at", :expires_at, :string
|
|
3352
|
+
end
|
|
3353
|
+
|
|
3354
|
+
# CreateSavedReportDto şeması.
|
|
3355
|
+
class CreateSavedReportDto < Pushizo::BaseModel
|
|
3356
|
+
# Zorunlu.
|
|
3357
|
+
field "name", :name, :string
|
|
3358
|
+
# Zorunlu.
|
|
3359
|
+
field "definition", :definition, "CreateSavedReportDtoDefinition"
|
|
3360
|
+
end
|
|
3361
|
+
|
|
3362
|
+
# CreateSavedReportDtoDefinition şeması.
|
|
3363
|
+
class CreateSavedReportDtoDefinition < Pushizo::BaseModel
|
|
3364
|
+
# Zorunlu. Değerler: "deliveries", "events", "conversions".
|
|
3365
|
+
field "source", :source, :string
|
|
3366
|
+
# Zorunlu. Değerler: "sent", "delivered", "failed", "opened", "clicked", "delivery_rate", "open_rate", "click_rate", "failure_rate", "count", "unique_users", "value_sum", "value_avg", "conversions", "revenue".
|
|
3367
|
+
field "metrics", :metrics, [:array, :string]
|
|
3368
|
+
# Değerler: "day", "week", "month", "channel", "provider", "campaign", "status", "name", "source", "event_name", "kind".
|
|
3369
|
+
field "dimensions", :dimensions, [:array, :string]
|
|
3370
|
+
field "filters", :filters, [:map, [:array, :string]]
|
|
3371
|
+
field "sort", :sort, "CreateSavedReportDtoDefinitionSort"
|
|
3372
|
+
field "limit", :limit, :integer
|
|
3373
|
+
field "days", :days, :integer
|
|
3374
|
+
field "from", :from, :string
|
|
3375
|
+
field "to", :to, :string
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3378
|
+
# CreateSavedReportDtoDefinitionSort şeması.
|
|
3379
|
+
class CreateSavedReportDtoDefinitionSort < Pushizo::BaseModel
|
|
3380
|
+
# Zorunlu.
|
|
3381
|
+
field "by", :by, :string
|
|
3382
|
+
# Değerler: "asc", "desc".
|
|
3383
|
+
field "direction", :direction, :string
|
|
3384
|
+
end
|
|
3385
|
+
|
|
2865
3386
|
# CreateSuppressionDto şeması.
|
|
2866
3387
|
class CreateSuppressionDto < Pushizo::BaseModel
|
|
2867
3388
|
# Zorunlu. Değerler: "email", "sms", "whatsapp", "rcs".
|
|
@@ -2919,7 +3440,7 @@ module Pushizo
|
|
|
2919
3440
|
class CreateTemplateDto < Pushizo::BaseModel
|
|
2920
3441
|
# Zorunlu.
|
|
2921
3442
|
field "name", :name, :string
|
|
2922
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
3443
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
2923
3444
|
field "channel", :channel, :string
|
|
2924
3445
|
field "tags", :tags, [:array, :string]
|
|
2925
3446
|
# Zorunlu.
|
|
@@ -2966,6 +3487,7 @@ module Pushizo
|
|
|
2966
3487
|
field "disable_sms_link_shortening", :disable_sms_link_shortening, :boolean
|
|
2967
3488
|
field "add_to_inbox", :add_to_inbox, :boolean
|
|
2968
3489
|
field "inbox_ttl", :inbox_ttl, :integer
|
|
3490
|
+
field "content_card", :content_card, "CreateTemplateDtoContentContentCard"
|
|
2969
3491
|
field "thread_id", :thread_id, :string
|
|
2970
3492
|
field "ios_relevance_score", :ios_relevance_score, :number
|
|
2971
3493
|
field "target_content_identifier", :target_content_identifier, :string
|
|
@@ -2985,6 +3507,17 @@ module Pushizo
|
|
|
2985
3507
|
field "rcs_content_sid", :rcs_content_sid, :string
|
|
2986
3508
|
field "rcs_content_variables", :rcs_content_variables, [:map, :string]
|
|
2987
3509
|
field "rcs_fallback_text", :rcs_fallback_text, [:map, :string]
|
|
3510
|
+
field "ios_carousel", :ios_carousel, [:array, "CreateTemplateDtoContentIosCarouselItem"]
|
|
3511
|
+
field "android_live_update", :android_live_update, "CreateTemplateDtoContentAndroidLiveUpdate"
|
|
3512
|
+
field "voip", :voip, :boolean
|
|
3513
|
+
field "app_clip", :app_clip, :boolean
|
|
3514
|
+
end
|
|
3515
|
+
|
|
3516
|
+
# CreateTemplateDtoContentAndroidLiveUpdate şeması.
|
|
3517
|
+
class CreateTemplateDtoContentAndroidLiveUpdate < Pushizo::BaseModel
|
|
3518
|
+
# Zorunlu.
|
|
3519
|
+
field "progress", :progress, :integer
|
|
3520
|
+
field "ongoing", :ongoing, :boolean
|
|
2988
3521
|
end
|
|
2989
3522
|
|
|
2990
3523
|
# CreateTemplateDtoContentButtonsItem şeması.
|
|
@@ -2997,6 +3530,22 @@ module Pushizo
|
|
|
2997
3530
|
field "url", :url, :string
|
|
2998
3531
|
end
|
|
2999
3532
|
|
|
3533
|
+
# CreateTemplateDtoContentContentCard şeması.
|
|
3534
|
+
class CreateTemplateDtoContentContentCard < Pushizo::BaseModel
|
|
3535
|
+
# Zorunlu. Değerler: "classic", "captioned_image", "image_only".
|
|
3536
|
+
field "type", :type, :string
|
|
3537
|
+
field "pinned", :pinned, :boolean
|
|
3538
|
+
field "priority", :priority, :integer
|
|
3539
|
+
field "button_text", :button_text, [:map, :string]
|
|
3540
|
+
end
|
|
3541
|
+
|
|
3542
|
+
# CreateTemplateDtoContentIosCarouselItem şeması.
|
|
3543
|
+
class CreateTemplateDtoContentIosCarouselItem < Pushizo::BaseModel
|
|
3544
|
+
# Zorunlu.
|
|
3545
|
+
field "url", :url, :string
|
|
3546
|
+
field "title", :title, :string
|
|
3547
|
+
end
|
|
3548
|
+
|
|
3000
3549
|
# CreateTemplateDtoContentRcsCard şeması.
|
|
3001
3550
|
class CreateTemplateDtoContentRcsCard < Pushizo::BaseModel
|
|
3002
3551
|
field "title", :title, [:map, :string]
|
|
@@ -3090,6 +3639,47 @@ module Pushizo
|
|
|
3090
3639
|
field "value", :value, :string
|
|
3091
3640
|
end
|
|
3092
3641
|
|
|
3642
|
+
# CreateWalletTemplateDto şeması.
|
|
3643
|
+
class CreateWalletTemplateDto < Pushizo::BaseModel
|
|
3644
|
+
# Zorunlu.
|
|
3645
|
+
field "slug", :slug, :string
|
|
3646
|
+
# Zorunlu.
|
|
3647
|
+
field "name", :name, :string
|
|
3648
|
+
# Zorunlu. Değerler: "coupon", "loyalty", "event", "generic".
|
|
3649
|
+
field "kind", :kind, :string
|
|
3650
|
+
# Zorunlu.
|
|
3651
|
+
field "design", :design, "CreateWalletTemplateDtoDesign"
|
|
3652
|
+
field "images", :images, [:map, :string]
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3655
|
+
# CreateWalletTemplateDtoDesign şeması.
|
|
3656
|
+
class CreateWalletTemplateDtoDesign < Pushizo::BaseModel
|
|
3657
|
+
# Zorunlu.
|
|
3658
|
+
field "title", :title, :string
|
|
3659
|
+
# Zorunlu.
|
|
3660
|
+
field "description", :description, :string
|
|
3661
|
+
# Zorunlu.
|
|
3662
|
+
field "organization", :organization, :string
|
|
3663
|
+
field "background_color", :background_color, :string
|
|
3664
|
+
field "foreground_color", :foreground_color, :string
|
|
3665
|
+
field "label_color", :label_color, :string
|
|
3666
|
+
# Değerler: "qr", "pdf417", "aztec", "code128".
|
|
3667
|
+
field "barcode", :barcode, :string
|
|
3668
|
+
field "fields", :fields_value, [:array, "CreateWalletTemplateDtoDesignFieldsItem"]
|
|
3669
|
+
field "expires_at", :expires_at, :string
|
|
3670
|
+
field "relevant_at", :relevant_at, :string
|
|
3671
|
+
end
|
|
3672
|
+
|
|
3673
|
+
# CreateWalletTemplateDtoDesignFieldsItem şeması.
|
|
3674
|
+
class CreateWalletTemplateDtoDesignFieldsItem < Pushizo::BaseModel
|
|
3675
|
+
# Zorunlu.
|
|
3676
|
+
field "key", :key, :string
|
|
3677
|
+
field "label", :label, :string
|
|
3678
|
+
field "value", :value, :string
|
|
3679
|
+
# Değerler: "header", "primary", "secondary", "auxiliary", "back".
|
|
3680
|
+
field "section", :section, :string
|
|
3681
|
+
end
|
|
3682
|
+
|
|
3093
3683
|
# CreateWarmupPlanDto şeması.
|
|
3094
3684
|
class CreateWarmupPlanDto < Pushizo::BaseModel
|
|
3095
3685
|
# Zorunlu.
|
|
@@ -3279,6 +3869,74 @@ module Pushizo
|
|
|
3279
3869
|
field "value", :value, :any
|
|
3280
3870
|
end
|
|
3281
3871
|
|
|
3872
|
+
# CreateWebPersonalizationDto şeması.
|
|
3873
|
+
class CreateWebPersonalizationDto < Pushizo::BaseModel
|
|
3874
|
+
# Zorunlu.
|
|
3875
|
+
field "name", :name, :string
|
|
3876
|
+
field "changes", :changes, [:array, :any]
|
|
3877
|
+
field "variants", :variants, [:array, "CreateWebPersonalizationDtoVariantsItem"]
|
|
3878
|
+
field "conditions", :conditions, "CreateWebPersonalizationDtoConditions"
|
|
3879
|
+
field "targeting", :targeting, "CreateWebPersonalizationDtoTargeting"
|
|
3880
|
+
field "goal", :goal, :any
|
|
3881
|
+
field "priority", :priority, :integer
|
|
3882
|
+
field "start_at", :start_at, :string
|
|
3883
|
+
field "end_at", :end_at, :string
|
|
3884
|
+
end
|
|
3885
|
+
|
|
3886
|
+
# CreateWebPersonalizationDtoConditions şeması.
|
|
3887
|
+
class CreateWebPersonalizationDtoConditions < Pushizo::BaseModel
|
|
3888
|
+
field "url_rules", :url_rules, [:array, "CreateWebPersonalizationDtoConditionsUrlRulesItem"]
|
|
3889
|
+
field "utm_rules", :utm_rules, [:array, "CreateWebPersonalizationDtoConditionsUtmRulesItem"]
|
|
3890
|
+
field "visits", :visits, "CreateWebPersonalizationDtoConditionsVisits"
|
|
3891
|
+
end
|
|
3892
|
+
|
|
3893
|
+
# CreateWebPersonalizationDtoConditionsUrlRulesItem şeması.
|
|
3894
|
+
class CreateWebPersonalizationDtoConditionsUrlRulesItem < Pushizo::BaseModel
|
|
3895
|
+
# Zorunlu. Değerler: "equals", "contains", "starts_with", "not_contains", "matches".
|
|
3896
|
+
field "op", :op, :string
|
|
3897
|
+
# Zorunlu.
|
|
3898
|
+
field "value", :value, :string
|
|
3899
|
+
end
|
|
3900
|
+
|
|
3901
|
+
# CreateWebPersonalizationDtoConditionsUtmRulesItem şeması.
|
|
3902
|
+
class CreateWebPersonalizationDtoConditionsUtmRulesItem < Pushizo::BaseModel
|
|
3903
|
+
# Zorunlu. Değerler: "utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content".
|
|
3904
|
+
field "param", :param, :string
|
|
3905
|
+
# Zorunlu. Değerler: "equals", "contains", "exists".
|
|
3906
|
+
field "op", :op, :string
|
|
3907
|
+
field "value", :value, :string
|
|
3908
|
+
end
|
|
3909
|
+
|
|
3910
|
+
# CreateWebPersonalizationDtoConditionsVisits şeması.
|
|
3911
|
+
class CreateWebPersonalizationDtoConditionsVisits < Pushizo::BaseModel
|
|
3912
|
+
# Zorunlu. Değerler: "gte", "lte", "eq".
|
|
3913
|
+
field "op", :op, :string
|
|
3914
|
+
# Zorunlu.
|
|
3915
|
+
field "value", :value, :integer
|
|
3916
|
+
end
|
|
3917
|
+
|
|
3918
|
+
# CreateWebPersonalizationDtoTargeting şeması.
|
|
3919
|
+
class CreateWebPersonalizationDtoTargeting < Pushizo::BaseModel
|
|
3920
|
+
field "included_segments", :included_segments, [:array, :string]
|
|
3921
|
+
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
3922
|
+
# Değerler: "all", "new", "returning".
|
|
3923
|
+
field "visitor", :visitor, :string
|
|
3924
|
+
# Değerler: "desktop", "mobile", "tablet".
|
|
3925
|
+
field "devices", :devices, [:array, :string]
|
|
3926
|
+
end
|
|
3927
|
+
|
|
3928
|
+
# CreateWebPersonalizationDtoVariantsItem şeması.
|
|
3929
|
+
class CreateWebPersonalizationDtoVariantsItem < Pushizo::BaseModel
|
|
3930
|
+
# Zorunlu.
|
|
3931
|
+
field "id", :id, :string
|
|
3932
|
+
# Zorunlu.
|
|
3933
|
+
field "name", :name, :string
|
|
3934
|
+
# Zorunlu.
|
|
3935
|
+
field "weight_percent", :weight_percent, :integer
|
|
3936
|
+
# Zorunlu.
|
|
3937
|
+
field "changes", :changes, [:array, :any]
|
|
3938
|
+
end
|
|
3939
|
+
|
|
3282
3940
|
# DataFeed şeması.
|
|
3283
3941
|
class DataFeed < Pushizo::BaseModel
|
|
3284
3942
|
# Zorunlu.
|
|
@@ -3347,11 +4005,157 @@ module Pushizo
|
|
|
3347
4005
|
field "external_id", :external_id, :string
|
|
3348
4006
|
end
|
|
3349
4007
|
|
|
4008
|
+
# DecideDto şeması.
|
|
4009
|
+
class DecideDto < Pushizo::BaseModel
|
|
4010
|
+
# Zorunlu.
|
|
4011
|
+
field "external_id", :external_id, :string
|
|
4012
|
+
end
|
|
4013
|
+
|
|
4014
|
+
# DecisionAgent şeması.
|
|
4015
|
+
class DecisionAgent < Pushizo::BaseModel
|
|
4016
|
+
# Zorunlu.
|
|
4017
|
+
field "id", :id, :string
|
|
4018
|
+
# Zorunlu.
|
|
4019
|
+
field "slug", :slug, :string
|
|
4020
|
+
# Zorunlu.
|
|
4021
|
+
field "name", :name, :string
|
|
4022
|
+
# Zorunlu.
|
|
4023
|
+
field "arms", :arms, [:array, "DecisionAgentArmsItem"]
|
|
4024
|
+
# Zorunlu.
|
|
4025
|
+
field "reward_events", :reward_events, [:array, :string]
|
|
4026
|
+
# Zorunlu.
|
|
4027
|
+
field "reward_window_hours", :reward_window_hours, :integer
|
|
4028
|
+
# Zorunlu.
|
|
4029
|
+
field "holdout_percent", :holdout_percent, :integer
|
|
4030
|
+
# Zorunlu.
|
|
4031
|
+
field "context_prediction", :context_prediction, :string
|
|
4032
|
+
# Zorunlu.
|
|
4033
|
+
field "use_best_channel", :use_best_channel, :boolean
|
|
4034
|
+
# Zorunlu. Değerler: "active", "paused".
|
|
4035
|
+
field "status", :status, :string
|
|
4036
|
+
# Zorunlu.
|
|
4037
|
+
field "created_at", :created_at, :string
|
|
4038
|
+
# Zorunlu.
|
|
4039
|
+
field "updated_at", :updated_at, :string
|
|
4040
|
+
end
|
|
4041
|
+
|
|
4042
|
+
# DecisionAgentArmsItem şeması.
|
|
4043
|
+
class DecisionAgentArmsItem < Pushizo::BaseModel
|
|
4044
|
+
# Zorunlu.
|
|
4045
|
+
field "id", :id, :string
|
|
4046
|
+
# Zorunlu.
|
|
4047
|
+
field "label", :label, :string
|
|
4048
|
+
end
|
|
4049
|
+
|
|
4050
|
+
# DecisionAgentList şeması.
|
|
4051
|
+
class DecisionAgentList < Pushizo::BaseModel
|
|
4052
|
+
# Zorunlu.
|
|
4053
|
+
field "data", :data, [:array, "DecisionAgent"]
|
|
4054
|
+
end
|
|
4055
|
+
|
|
4056
|
+
# DecisionReport şeması.
|
|
4057
|
+
class DecisionReport < Pushizo::BaseModel
|
|
4058
|
+
# Zorunlu.
|
|
4059
|
+
field "agent_id", :agent_id, :string
|
|
4060
|
+
# Zorunlu.
|
|
4061
|
+
field "days", :days, :integer
|
|
4062
|
+
# Zorunlu.
|
|
4063
|
+
field "learned", :learned, "DecisionReportLearned"
|
|
4064
|
+
# Zorunlu.
|
|
4065
|
+
field "holdout", :holdout, "DecisionReportHoldout"
|
|
4066
|
+
# Zorunlu.
|
|
4067
|
+
field "lift", :lift, :number
|
|
4068
|
+
# Zorunlu.
|
|
4069
|
+
field "p_value", :p_value, :number
|
|
4070
|
+
# Zorunlu.
|
|
4071
|
+
field "significant", :significant, :boolean
|
|
4072
|
+
# Zorunlu.
|
|
4073
|
+
field "arms", :arms, [:array, "DecisionReportArmsItem"]
|
|
4074
|
+
# Zorunlu.
|
|
4075
|
+
field "contexts", :contexts, [:array, "DecisionReportContextsItem"]
|
|
4076
|
+
end
|
|
4077
|
+
|
|
4078
|
+
# DecisionReportArmsItem şeması.
|
|
4079
|
+
class DecisionReportArmsItem < Pushizo::BaseModel
|
|
4080
|
+
# Zorunlu.
|
|
4081
|
+
field "id", :id, :string
|
|
4082
|
+
# Zorunlu.
|
|
4083
|
+
field "label", :label, :string
|
|
4084
|
+
# Zorunlu.
|
|
4085
|
+
field "share", :share, :number
|
|
4086
|
+
# Zorunlu.
|
|
4087
|
+
field "assignments", :assignments, :integer
|
|
4088
|
+
# Zorunlu.
|
|
4089
|
+
field "settled", :settled, :integer
|
|
4090
|
+
# Zorunlu.
|
|
4091
|
+
field "rewards", :rewards, :integer
|
|
4092
|
+
# Zorunlu.
|
|
4093
|
+
field "rate", :rate, :number
|
|
4094
|
+
end
|
|
4095
|
+
|
|
4096
|
+
# DecisionReportContextsItem şeması.
|
|
4097
|
+
class DecisionReportContextsItem < Pushizo::BaseModel
|
|
4098
|
+
# Zorunlu.
|
|
4099
|
+
field "context", :context, :string
|
|
4100
|
+
# Zorunlu.
|
|
4101
|
+
field "arm_id", :arm_id, :string
|
|
4102
|
+
# Zorunlu.
|
|
4103
|
+
field "settled", :settled, :integer
|
|
4104
|
+
# Zorunlu.
|
|
4105
|
+
field "rate", :rate, :number
|
|
4106
|
+
end
|
|
4107
|
+
|
|
4108
|
+
# DecisionReportHoldout şeması.
|
|
4109
|
+
class DecisionReportHoldout < Pushizo::BaseModel
|
|
4110
|
+
# Zorunlu.
|
|
4111
|
+
field "assignments", :assignments, :integer
|
|
4112
|
+
# Zorunlu.
|
|
4113
|
+
field "settled", :settled, :integer
|
|
4114
|
+
# Zorunlu.
|
|
4115
|
+
field "rewards", :rewards, :integer
|
|
4116
|
+
# Zorunlu.
|
|
4117
|
+
field "rate", :rate, :number
|
|
4118
|
+
end
|
|
4119
|
+
|
|
4120
|
+
# DecisionReportLearned şeması.
|
|
4121
|
+
class DecisionReportLearned < Pushizo::BaseModel
|
|
4122
|
+
# Zorunlu.
|
|
4123
|
+
field "assignments", :assignments, :integer
|
|
4124
|
+
# Zorunlu.
|
|
4125
|
+
field "settled", :settled, :integer
|
|
4126
|
+
# Zorunlu.
|
|
4127
|
+
field "rewards", :rewards, :integer
|
|
4128
|
+
# Zorunlu.
|
|
4129
|
+
field "rate", :rate, :number
|
|
4130
|
+
end
|
|
4131
|
+
|
|
4132
|
+
# DecisionResult şeması.
|
|
4133
|
+
class DecisionResult < Pushizo::BaseModel
|
|
4134
|
+
# Zorunlu.
|
|
4135
|
+
field "arm_id", :arm_id, :string
|
|
4136
|
+
# Zorunlu.
|
|
4137
|
+
field "label", :label, :string
|
|
4138
|
+
# Zorunlu. Değerler: "thompson", "holdout".
|
|
4139
|
+
field "policy", :policy, :string
|
|
4140
|
+
# Zorunlu.
|
|
4141
|
+
field "context", :context, :string
|
|
4142
|
+
end
|
|
4143
|
+
|
|
3350
4144
|
# DeliverabilitySettingsDto şeması.
|
|
3351
4145
|
class DeliverabilitySettingsDto < Pushizo::BaseModel
|
|
3352
4146
|
field "bcc_address", :bcc_address, :string
|
|
3353
4147
|
field "validation", :validation, "DeliverabilitySettingsDtoValidation"
|
|
3354
4148
|
field "verifier", :verifier, "DeliverabilitySettingsDtoVerifier"
|
|
4149
|
+
field "volume_spike", :volume_spike, "DeliverabilitySettingsDtoVolumeSpike"
|
|
4150
|
+
field "max_invalid_ratio", :max_invalid_ratio, :number
|
|
4151
|
+
field "postmaster", :postmaster, "DeliverabilitySettingsDtoPostmaster"
|
|
4152
|
+
end
|
|
4153
|
+
|
|
4154
|
+
# DeliverabilitySettingsDtoPostmaster şeması.
|
|
4155
|
+
class DeliverabilitySettingsDtoPostmaster < Pushizo::BaseModel
|
|
4156
|
+
# Zorunlu.
|
|
4157
|
+
field "domain", :domain, :string
|
|
4158
|
+
field "access_token", :access_token, :string
|
|
3355
4159
|
end
|
|
3356
4160
|
|
|
3357
4161
|
# DeliverabilitySettingsDtoValidation şeması.
|
|
@@ -3370,6 +4174,14 @@ module Pushizo
|
|
|
3370
4174
|
field "api_key", :api_key, :string
|
|
3371
4175
|
end
|
|
3372
4176
|
|
|
4177
|
+
# DeliverabilitySettingsDtoVolumeSpike şeması.
|
|
4178
|
+
class DeliverabilitySettingsDtoVolumeSpike < Pushizo::BaseModel
|
|
4179
|
+
# Zorunlu.
|
|
4180
|
+
field "multiplier", :multiplier, :integer
|
|
4181
|
+
# Zorunlu.
|
|
4182
|
+
field "floor", :floor, :integer
|
|
4183
|
+
end
|
|
4184
|
+
|
|
3373
4185
|
# Delivery şeması.
|
|
3374
4186
|
class Delivery < Pushizo::BaseModel
|
|
3375
4187
|
# Zorunlu.
|
|
@@ -3380,7 +4192,7 @@ module Pushizo
|
|
|
3380
4192
|
field "subscription_id", :subscription_id, :string
|
|
3381
4193
|
# Zorunlu.
|
|
3382
4194
|
field "user_id", :user_id, :string
|
|
3383
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
4195
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
3384
4196
|
field "channel", :channel, :string
|
|
3385
4197
|
# Zorunlu.
|
|
3386
4198
|
field "provider", :provider, :string
|
|
@@ -3444,6 +4256,20 @@ module Pushizo
|
|
|
3444
4256
|
field "validation", :validation, "EmailDeliverabilitySettingsValidation"
|
|
3445
4257
|
# Zorunlu.
|
|
3446
4258
|
field "verifier", :verifier, "EmailDeliverabilitySettingsVerifier"
|
|
4259
|
+
# Zorunlu.
|
|
4260
|
+
field "volume_spike", :volume_spike, "EmailDeliverabilitySettingsVolumeSpike"
|
|
4261
|
+
# Zorunlu.
|
|
4262
|
+
field "postmaster", :postmaster, "EmailDeliverabilitySettingsPostmaster"
|
|
4263
|
+
# Zorunlu.
|
|
4264
|
+
field "max_invalid_ratio", :max_invalid_ratio, :number
|
|
4265
|
+
end
|
|
4266
|
+
|
|
4267
|
+
# EmailDeliverabilitySettingsPostmaster şeması.
|
|
4268
|
+
class EmailDeliverabilitySettingsPostmaster < Pushizo::BaseModel
|
|
4269
|
+
# Zorunlu.
|
|
4270
|
+
field "domain", :domain, :string
|
|
4271
|
+
# Zorunlu.
|
|
4272
|
+
field "has_token", :has_token, :boolean
|
|
3447
4273
|
end
|
|
3448
4274
|
|
|
3449
4275
|
# EmailDeliverabilitySettingsValidation şeması.
|
|
@@ -3466,6 +4292,14 @@ module Pushizo
|
|
|
3466
4292
|
field "has_key", :has_key, :boolean
|
|
3467
4293
|
end
|
|
3468
4294
|
|
|
4295
|
+
# EmailDeliverabilitySettingsVolumeSpike şeması.
|
|
4296
|
+
class EmailDeliverabilitySettingsVolumeSpike < Pushizo::BaseModel
|
|
4297
|
+
# Zorunlu.
|
|
4298
|
+
field "multiplier", :multiplier, :integer
|
|
4299
|
+
# Zorunlu.
|
|
4300
|
+
field "floor", :floor, :integer
|
|
4301
|
+
end
|
|
4302
|
+
|
|
3469
4303
|
# EmailWarmupPlan şeması.
|
|
3470
4304
|
class EmailWarmupPlan < Pushizo::BaseModel
|
|
3471
4305
|
# Zorunlu.
|
|
@@ -3636,7 +4470,7 @@ module Pushizo
|
|
|
3636
4470
|
field "included_segments", :included_segments, [:array, :string]
|
|
3637
4471
|
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
3638
4472
|
field "filters", :filters, :any
|
|
3639
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
4473
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
3640
4474
|
field "channels", :channels, [:array, :string]
|
|
3641
4475
|
field "test_devices_only", :test_devices_only, :boolean
|
|
3642
4476
|
field "email_to", :email_to, [:array, :string]
|
|
@@ -3655,6 +4489,13 @@ module Pushizo
|
|
|
3655
4489
|
field "external_id_missing", :external_id_missing, [:array, :string]
|
|
3656
4490
|
end
|
|
3657
4491
|
|
|
4492
|
+
# EvaluateAppFlagsDto şeması.
|
|
4493
|
+
class EvaluateAppFlagsDto < Pushizo::BaseModel
|
|
4494
|
+
field "external_id", :external_id, :string
|
|
4495
|
+
field "user_id", :user_id, :string
|
|
4496
|
+
field "subject", :subject, :string
|
|
4497
|
+
end
|
|
4498
|
+
|
|
3658
4499
|
# EventDefinition şeması.
|
|
3659
4500
|
class EventDefinition < Pushizo::BaseModel
|
|
3660
4501
|
# Zorunlu.
|
|
@@ -3847,7 +4688,7 @@ module Pushizo
|
|
|
3847
4688
|
field "message_id", :message_id, :string
|
|
3848
4689
|
field "campaign_id", :campaign_id, :string
|
|
3849
4690
|
field "status", :status, :string
|
|
3850
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
4691
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
3851
4692
|
field "channel", :channel, :string
|
|
3852
4693
|
field "segment_id", :segment_id, :string
|
|
3853
4694
|
end
|
|
@@ -4088,14 +4929,110 @@ module Pushizo
|
|
|
4088
4929
|
field "drop_off", :drop_off, :integer
|
|
4089
4930
|
end
|
|
4090
4931
|
|
|
4091
|
-
#
|
|
4092
|
-
class
|
|
4932
|
+
# Geofence şeması.
|
|
4933
|
+
class Geofence < Pushizo::BaseModel
|
|
4093
4934
|
# Zorunlu.
|
|
4094
4935
|
field "id", :id, :string
|
|
4095
4936
|
# Zorunlu.
|
|
4096
|
-
field "
|
|
4097
|
-
# Zorunlu.
|
|
4098
|
-
field "
|
|
4937
|
+
field "app_id", :app_id, :string
|
|
4938
|
+
# Zorunlu.
|
|
4939
|
+
field "name", :name, :string
|
|
4940
|
+
# Zorunlu.
|
|
4941
|
+
field "lat", :lat, :number
|
|
4942
|
+
# Zorunlu.
|
|
4943
|
+
field "lng", :lng, :number
|
|
4944
|
+
# Zorunlu.
|
|
4945
|
+
field "radius_m", :radius_m, :integer
|
|
4946
|
+
# Zorunlu.
|
|
4947
|
+
field "cooldown_minutes", :cooldown_minutes, :integer
|
|
4948
|
+
# Zorunlu.
|
|
4949
|
+
field "enabled", :enabled, :boolean
|
|
4950
|
+
# Zorunlu.
|
|
4951
|
+
field "enter_count", :enter_count, :integer
|
|
4952
|
+
# Zorunlu.
|
|
4953
|
+
field "exit_count", :exit_count, :integer
|
|
4954
|
+
# Zorunlu.
|
|
4955
|
+
field "inside_count", :inside_count, :integer
|
|
4956
|
+
# Zorunlu.
|
|
4957
|
+
field "created_at", :created_at, :string
|
|
4958
|
+
# Zorunlu.
|
|
4959
|
+
field "updated_at", :updated_at, :string
|
|
4960
|
+
end
|
|
4961
|
+
|
|
4962
|
+
# GeofenceList şeması.
|
|
4963
|
+
class GeofenceList < Pushizo::BaseModel
|
|
4964
|
+
# Zorunlu.
|
|
4965
|
+
field "data", :data, [:array, "Geofence"]
|
|
4966
|
+
end
|
|
4967
|
+
|
|
4968
|
+
# GlobalControl şeması.
|
|
4969
|
+
class GlobalControl < Pushizo::BaseModel
|
|
4970
|
+
# Zorunlu.
|
|
4971
|
+
field "enabled", :enabled, :boolean
|
|
4972
|
+
# Zorunlu.
|
|
4973
|
+
field "percent", :percent, :integer
|
|
4974
|
+
# Zorunlu.
|
|
4975
|
+
field "started_at", :started_at, :string
|
|
4976
|
+
end
|
|
4977
|
+
|
|
4978
|
+
# GlobalControlReport şeması.
|
|
4979
|
+
class GlobalControlReport < Pushizo::BaseModel
|
|
4980
|
+
# Zorunlu.
|
|
4981
|
+
field "enabled", :enabled, :boolean
|
|
4982
|
+
# Zorunlu.
|
|
4983
|
+
field "percent", :percent, :integer
|
|
4984
|
+
# Zorunlu.
|
|
4985
|
+
field "started_at", :started_at, :string
|
|
4986
|
+
# Zorunlu.
|
|
4987
|
+
field "from", :from, :string
|
|
4988
|
+
# Zorunlu.
|
|
4989
|
+
field "to", :to, :string
|
|
4990
|
+
# Zorunlu.
|
|
4991
|
+
field "events", :events, [:array, :string]
|
|
4992
|
+
# Zorunlu.
|
|
4993
|
+
field "control", :control, "GlobalControlReportControl"
|
|
4994
|
+
# Zorunlu.
|
|
4995
|
+
field "treatment", :treatment, "GlobalControlReportTreatment"
|
|
4996
|
+
# Zorunlu.
|
|
4997
|
+
field "lift_percent", :lift_percent, :number
|
|
4998
|
+
# Zorunlu.
|
|
4999
|
+
field "incremental_conversions", :incremental_conversions, :integer
|
|
5000
|
+
# Zorunlu.
|
|
5001
|
+
field "p_value", :p_value, :number
|
|
5002
|
+
# Zorunlu.
|
|
5003
|
+
field "significant", :significant, :boolean
|
|
5004
|
+
# Zorunlu.
|
|
5005
|
+
field "withheld_messages", :withheld_messages, :integer
|
|
5006
|
+
end
|
|
5007
|
+
|
|
5008
|
+
# GlobalControlReportControl şeması.
|
|
5009
|
+
class GlobalControlReportControl < Pushizo::BaseModel
|
|
5010
|
+
# Zorunlu.
|
|
5011
|
+
field "users", :users, :integer
|
|
5012
|
+
# Zorunlu.
|
|
5013
|
+
field "converted", :converted, :integer
|
|
5014
|
+
# Zorunlu.
|
|
5015
|
+
field "conversion_rate", :conversion_rate, :number
|
|
5016
|
+
end
|
|
5017
|
+
|
|
5018
|
+
# GlobalControlReportTreatment şeması.
|
|
5019
|
+
class GlobalControlReportTreatment < Pushizo::BaseModel
|
|
5020
|
+
# Zorunlu.
|
|
5021
|
+
field "users", :users, :integer
|
|
5022
|
+
# Zorunlu.
|
|
5023
|
+
field "converted", :converted, :integer
|
|
5024
|
+
# Zorunlu.
|
|
5025
|
+
field "conversion_rate", :conversion_rate, :number
|
|
5026
|
+
end
|
|
5027
|
+
|
|
5028
|
+
# IdentityKey şeması.
|
|
5029
|
+
class IdentityKey < Pushizo::BaseModel
|
|
5030
|
+
# Zorunlu.
|
|
5031
|
+
field "id", :id, :string
|
|
5032
|
+
# Zorunlu.
|
|
5033
|
+
field "kid", :kid, :string
|
|
5034
|
+
# Zorunlu. Değerler: "ES256".
|
|
5035
|
+
field "alg", :alg, :string
|
|
4099
5036
|
# Zorunlu.
|
|
4100
5037
|
field "public_jwk", :public_jwk, [:map, :string]
|
|
4101
5038
|
# Zorunlu.
|
|
@@ -4156,6 +5093,8 @@ module Pushizo
|
|
|
4156
5093
|
field "created_subscriptions", :created_subscriptions, :integer
|
|
4157
5094
|
field "skipped", :skipped, :integer
|
|
4158
5095
|
field "errors", :errors, :integer
|
|
5096
|
+
field "rejected_emails", :rejected_emails, :integer
|
|
5097
|
+
field "rejected_email_reasons", :rejected_email_reasons, [:map, :integer]
|
|
4159
5098
|
end
|
|
4160
5099
|
|
|
4161
5100
|
# InAppMessage şeması.
|
|
@@ -4185,6 +5124,8 @@ module Pushizo
|
|
|
4185
5124
|
# Zorunlu.
|
|
4186
5125
|
field "journey_only", :journey_only, :boolean
|
|
4187
5126
|
# Zorunlu.
|
|
5127
|
+
field "placement", :placement, :string
|
|
5128
|
+
# Zorunlu.
|
|
4188
5129
|
field "start_at", :start_at, :string
|
|
4189
5130
|
# Zorunlu.
|
|
4190
5131
|
field "end_at", :end_at, :string
|
|
@@ -4225,6 +5166,7 @@ module Pushizo
|
|
|
4225
5166
|
class InAppMessageAudience < Pushizo::BaseModel
|
|
4226
5167
|
field "included_segments", :included_segments, [:array, :string]
|
|
4227
5168
|
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
5169
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
4228
5170
|
end
|
|
4229
5171
|
|
|
4230
5172
|
# InAppMessageDisplay şeması.
|
|
@@ -4699,6 +5641,15 @@ module Pushizo
|
|
|
4699
5641
|
field "ok", :ok, :boolean
|
|
4700
5642
|
end
|
|
4701
5643
|
|
|
5644
|
+
# IssueWalletPassDto şeması.
|
|
5645
|
+
class IssueWalletPassDto < Pushizo::BaseModel
|
|
5646
|
+
# Zorunlu.
|
|
5647
|
+
field "template_id", :template_id, :string
|
|
5648
|
+
field "external_id", :external_id, :string
|
|
5649
|
+
field "barcode_value", :barcode_value, :string
|
|
5650
|
+
field "values", :values, [:map, :string]
|
|
5651
|
+
end
|
|
5652
|
+
|
|
4702
5653
|
# Journey şeması.
|
|
4703
5654
|
class Journey < Pushizo::BaseModel
|
|
4704
5655
|
# Zorunlu.
|
|
@@ -5434,6 +6385,8 @@ module Pushizo
|
|
|
5434
6385
|
field "labels", :labels, [:array, :string]
|
|
5435
6386
|
# Tercih kategorisi anahtarı; kapalı kullanıcılar bastırılır
|
|
5436
6387
|
field "category", :category, :string
|
|
6388
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
6389
|
+
field "goals", :goals, "McpCreateCampaignDraftBodyGoals"
|
|
5437
6390
|
field "ab_test", :ab_test, "McpCreateCampaignDraftBodyAbTest"
|
|
5438
6391
|
# A/B varyantları (ağırlıklar toplamı 100; en fazla bir is_control)
|
|
5439
6392
|
field "variants", :variants, [:array, "McpCreateCampaignDraftBodyVariantsItem"]
|
|
@@ -5467,7 +6420,7 @@ module Pushizo
|
|
|
5467
6420
|
field "exclude_segments", :exclude_segments, [:array, :string]
|
|
5468
6421
|
# Filtre AST: all/any/none grupları ve { field, op, value } koşulları (docs/plan/05 §5.7).
|
|
5469
6422
|
field "filters", :filters, "McpCreateCampaignDraftBodyAudienceFilters"
|
|
5470
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6423
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
5471
6424
|
field "channels", :channels, [:array, :string]
|
|
5472
6425
|
field "test_devices_only", :test_devices_only, :boolean
|
|
5473
6426
|
end
|
|
@@ -5490,10 +6443,19 @@ module Pushizo
|
|
|
5490
6443
|
field "priority", :priority, :integer
|
|
5491
6444
|
field "collapse_id", :collapse_id, :string
|
|
5492
6445
|
field "frequency_cap_exempt", :frequency_cap_exempt, :boolean
|
|
6446
|
+
# Değerler: "low", "normal", "high".
|
|
6447
|
+
field "frequency_priority", :frequency_priority, :string
|
|
6448
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
5493
6449
|
field "quiet_hours_exempt", :quiet_hours_exempt, :boolean
|
|
5494
6450
|
field "one_per_user", :one_per_user, :boolean
|
|
5495
6451
|
end
|
|
5496
6452
|
|
|
6453
|
+
# Dönüşüm hedefleri (ADR-0080): birincil A/B kazananını belirler; olaylar dönüşüm olayı olarak tanımlı olmalı.
|
|
6454
|
+
class McpCreateCampaignDraftBodyGoals < Pushizo::BaseModel
|
|
6455
|
+
field "primary", :primary, :string
|
|
6456
|
+
field "secondary", :secondary, [:array, :string]
|
|
6457
|
+
end
|
|
6458
|
+
|
|
5497
6459
|
# McpCreateCampaignDraftBodyRecurrence şeması.
|
|
5498
6460
|
class McpCreateCampaignDraftBodyRecurrence < Pushizo::BaseModel
|
|
5499
6461
|
field "cron", :cron, :string
|
|
@@ -5563,6 +6525,8 @@ module Pushizo
|
|
|
5563
6525
|
# Zorunlu.
|
|
5564
6526
|
field "app_scopes", :app_scopes, [:array, :string]
|
|
5565
6527
|
# Zorunlu.
|
|
6528
|
+
field "app_roles", :app_roles, [:array, "MemberAppRolesItem"]
|
|
6529
|
+
# Zorunlu.
|
|
5566
6530
|
field "accepted_at", :accepted_at, :string
|
|
5567
6531
|
# Zorunlu.
|
|
5568
6532
|
field "created_at", :created_at, :string
|
|
@@ -5570,6 +6534,14 @@ module Pushizo
|
|
|
5570
6534
|
field "last_login_at", :last_login_at, :string
|
|
5571
6535
|
end
|
|
5572
6536
|
|
|
6537
|
+
# MemberAppRolesItem şeması.
|
|
6538
|
+
class MemberAppRolesItem < Pushizo::BaseModel
|
|
6539
|
+
# Zorunlu.
|
|
6540
|
+
field "app_id", :app_id, :string
|
|
6541
|
+
# Zorunlu. Değerler: "owner", "admin", "developer", "marketer", "analyst", "billing", "viewer", "composer", "agent".
|
|
6542
|
+
field "role", :role, :string
|
|
6543
|
+
end
|
|
6544
|
+
|
|
5573
6545
|
# MemberList şeması.
|
|
5574
6546
|
class MemberList < Pushizo::BaseModel
|
|
5575
6547
|
# Zorunlu.
|
|
@@ -5850,9 +6822,9 @@ module Pushizo
|
|
|
5850
6822
|
|
|
5851
6823
|
# OverviewStatsChannelsItem şeması.
|
|
5852
6824
|
class OverviewStatsChannelsItem < Pushizo::BaseModel
|
|
5853
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6825
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
5854
6826
|
field "channel", :channel, :string
|
|
5855
|
-
# Zorunlu. Değerler: "apns", "fcm", "hms", "webpush", "smtp", "ses", "resend", "twilio", "netgsm", "meta_whatsapp", "google_rbm", "mock".
|
|
6827
|
+
# Zorunlu. Değerler: "apns", "fcm", "hms", "adm", "wns", "webpush", "smtp", "ses", "resend", "twilio", "netgsm", "meta_whatsapp", "google_rbm", "mock".
|
|
5856
6828
|
field "provider", :provider, :string
|
|
5857
6829
|
# Zorunlu. Değerler: "unconfigured", "active", "invalid", "suspended".
|
|
5858
6830
|
field "status", :status, :string
|
|
@@ -5963,6 +6935,10 @@ module Pushizo
|
|
|
5963
6935
|
field "push_capable", :push_capable, :boolean
|
|
5964
6936
|
# Değerler: "sandbox", "production".
|
|
5965
6937
|
field "push_environment", :push_environment, :string
|
|
6938
|
+
# Değerler: "phone", "watch".
|
|
6939
|
+
field "form_factor", :form_factor, :string
|
|
6940
|
+
# Değerler: "alert", "voip", "app_clip".
|
|
6941
|
+
field "push_kind", :push_kind, :string
|
|
5966
6942
|
end
|
|
5967
6943
|
|
|
5968
6944
|
# PatchUserDto şeması.
|
|
@@ -5989,161 +6965,463 @@ module Pushizo
|
|
|
5989
6965
|
field "count", :count, :integer
|
|
5990
6966
|
end
|
|
5991
6967
|
|
|
5992
|
-
#
|
|
5993
|
-
class
|
|
6968
|
+
# PathBodyDto şeması.
|
|
6969
|
+
class PathBodyDto < Pushizo::BaseModel
|
|
6970
|
+
# Zorunlu.
|
|
6971
|
+
field "event", :event, :string
|
|
6972
|
+
# Değerler: "after", "before".
|
|
6973
|
+
field "direction", :direction, :string
|
|
6974
|
+
field "depth", :depth, :integer
|
|
6975
|
+
field "top", :top, :integer
|
|
6976
|
+
field "window_hours", :window_hours, :integer
|
|
6977
|
+
field "exclude", :exclude, [:array, :string]
|
|
6978
|
+
field "from", :from, :string
|
|
6979
|
+
field "to", :to, :string
|
|
6980
|
+
# Değerler: "json", "csv".
|
|
6981
|
+
field "format", :format_value, :string
|
|
6982
|
+
end
|
|
6983
|
+
|
|
6984
|
+
# PathReport şeması.
|
|
6985
|
+
class PathReport < Pushizo::BaseModel
|
|
5994
6986
|
# Zorunlu.
|
|
5995
6987
|
field "from", :from, :string
|
|
5996
6988
|
# Zorunlu.
|
|
5997
6989
|
field "to", :to, :string
|
|
5998
6990
|
# Zorunlu.
|
|
5999
|
-
field "
|
|
6991
|
+
field "event", :event, :string
|
|
6992
|
+
# Zorunlu. Değerler: "after", "before".
|
|
6993
|
+
field "direction", :direction, :string
|
|
6000
6994
|
# Zorunlu.
|
|
6001
|
-
field "
|
|
6995
|
+
field "window_hours", :window_hours, :integer
|
|
6002
6996
|
# Zorunlu.
|
|
6003
|
-
field "
|
|
6997
|
+
field "total_users", :total_users, :integer
|
|
6998
|
+
# Zorunlu.
|
|
6999
|
+
field "truncated", :truncated, :boolean
|
|
7000
|
+
# Zorunlu.
|
|
7001
|
+
field "levels", :levels, [:array, "PathReportLevelsItem"]
|
|
7002
|
+
# Zorunlu.
|
|
7003
|
+
field "links", :links, [:array, "PathReportLinksItem"]
|
|
7004
|
+
# Zorunlu.
|
|
7005
|
+
field "top_paths", :top_paths, [:array, "PathReportTopPathsItem"]
|
|
6004
7006
|
end
|
|
6005
7007
|
|
|
6006
|
-
#
|
|
6007
|
-
class
|
|
7008
|
+
# PathReportLevelsItem şeması.
|
|
7009
|
+
class PathReportLevelsItem < Pushizo::BaseModel
|
|
6008
7010
|
# Zorunlu.
|
|
6009
|
-
field "
|
|
7011
|
+
field "step", :step, :integer
|
|
6010
7012
|
# Zorunlu.
|
|
6011
|
-
field "
|
|
7013
|
+
field "nodes", :nodes, [:array, "PathReportLevelsItemNodesItem"]
|
|
7014
|
+
end
|
|
7015
|
+
|
|
7016
|
+
# PathReportLevelsItemNodesItem şeması.
|
|
7017
|
+
class PathReportLevelsItemNodesItem < Pushizo::BaseModel
|
|
6012
7018
|
# Zorunlu.
|
|
6013
|
-
field "
|
|
7019
|
+
field "id", :id, :string
|
|
7020
|
+
# Zorunlu.
|
|
7021
|
+
field "name", :name, :string
|
|
7022
|
+
# Zorunlu. Değerler: "event", "other", "end".
|
|
7023
|
+
field "kind", :kind, :string
|
|
7024
|
+
# Zorunlu.
|
|
7025
|
+
field "users", :users, :integer
|
|
7026
|
+
# Zorunlu.
|
|
7027
|
+
field "share", :share, :number
|
|
6014
7028
|
end
|
|
6015
7029
|
|
|
6016
|
-
#
|
|
6017
|
-
class
|
|
7030
|
+
# PathReportLinksItem şeması.
|
|
7031
|
+
class PathReportLinksItem < Pushizo::BaseModel
|
|
6018
7032
|
# Zorunlu.
|
|
6019
|
-
field "
|
|
7033
|
+
field "source", :source, :string
|
|
6020
7034
|
# Zorunlu.
|
|
6021
|
-
field "
|
|
7035
|
+
field "target", :target, :string
|
|
6022
7036
|
# Zorunlu.
|
|
6023
|
-
field "
|
|
7037
|
+
field "users", :users, :integer
|
|
7038
|
+
end
|
|
7039
|
+
|
|
7040
|
+
# PathReportTopPathsItem şeması.
|
|
7041
|
+
class PathReportTopPathsItem < Pushizo::BaseModel
|
|
6024
7042
|
# Zorunlu.
|
|
6025
|
-
field "
|
|
7043
|
+
field "path", :path, [:array, :string]
|
|
6026
7044
|
# Zorunlu.
|
|
6027
|
-
field "
|
|
7045
|
+
field "users", :users, :integer
|
|
6028
7046
|
# Zorunlu.
|
|
6029
|
-
field "
|
|
7047
|
+
field "share", :share, :number
|
|
7048
|
+
end
|
|
7049
|
+
|
|
7050
|
+
# PostmasterStats şeması.
|
|
7051
|
+
class PostmasterStats < Pushizo::BaseModel
|
|
6030
7052
|
# Zorunlu.
|
|
6031
|
-
field "
|
|
7053
|
+
field "domain", :domain, :string
|
|
6032
7054
|
# Zorunlu.
|
|
6033
|
-
field "
|
|
7055
|
+
field "data", :data, [:array, "PostmasterStatsDataItem"]
|
|
6034
7056
|
end
|
|
6035
7057
|
|
|
6036
|
-
#
|
|
6037
|
-
class
|
|
7058
|
+
# PostmasterStatsDataItem şeması.
|
|
7059
|
+
class PostmasterStatsDataItem < Pushizo::BaseModel
|
|
6038
7060
|
# Zorunlu.
|
|
6039
|
-
field "
|
|
7061
|
+
field "day", :day, :string
|
|
6040
7062
|
# Zorunlu.
|
|
6041
|
-
field "
|
|
7063
|
+
field "domain_reputation", :domain_reputation, :string
|
|
7064
|
+
# Zorunlu.
|
|
7065
|
+
field "spam_rate", :spam_rate, :string
|
|
6042
7066
|
end
|
|
6043
7067
|
|
|
6044
|
-
#
|
|
6045
|
-
class
|
|
7068
|
+
# PredictionModel şeması.
|
|
7069
|
+
class PredictionModel < Pushizo::BaseModel
|
|
6046
7070
|
# Zorunlu.
|
|
6047
|
-
field "
|
|
7071
|
+
field "id", :id, :string
|
|
6048
7072
|
# Zorunlu.
|
|
6049
|
-
field "
|
|
7073
|
+
field "slug", :slug, :string
|
|
6050
7074
|
# Zorunlu.
|
|
6051
|
-
field "
|
|
7075
|
+
field "name", :name, :string
|
|
7076
|
+
# Zorunlu. Değerler: "churn", "event".
|
|
7077
|
+
field "kind", :kind, :string
|
|
7078
|
+
# Zorunlu.
|
|
7079
|
+
field "event_names", :event_names, [:array, :string]
|
|
7080
|
+
# Zorunlu.
|
|
7081
|
+
field "horizon_days", :horizon_days, :integer
|
|
7082
|
+
# Zorunlu.
|
|
7083
|
+
field "enabled", :enabled, :boolean
|
|
7084
|
+
# Zorunlu. Değerler: "idle", "queued", "running", "failed".
|
|
7085
|
+
field "status", :status, :string
|
|
7086
|
+
# Zorunlu. Değerler: "ready", "insufficient_data", "low_quality".
|
|
7087
|
+
field "outcome", :outcome, :string
|
|
7088
|
+
# Zorunlu.
|
|
7089
|
+
field "last_computed_at", :last_computed_at, :string
|
|
7090
|
+
# Zorunlu.
|
|
7091
|
+
field "scored_users", :scored_users, :integer
|
|
7092
|
+
# Zorunlu.
|
|
7093
|
+
field "metrics", :metrics, "PredictionModelMetrics"
|
|
7094
|
+
# Zorunlu.
|
|
7095
|
+
field "distribution", :distribution, [:array, "PredictionModelDistributionItem"]
|
|
6052
7096
|
end
|
|
6053
7097
|
|
|
6054
|
-
#
|
|
6055
|
-
class
|
|
7098
|
+
# PredictionModelDistributionItem şeması.
|
|
7099
|
+
class PredictionModelDistributionItem < Pushizo::BaseModel
|
|
7100
|
+
# Zorunlu. Değerler: "low", "medium", "high".
|
|
7101
|
+
field "bucket", :bucket, :string
|
|
6056
7102
|
# Zorunlu.
|
|
6057
|
-
field "
|
|
6058
|
-
field "external_id", :external_id, :string
|
|
6059
|
-
field "page_url", :page_url, :string
|
|
6060
|
-
field "language", :language, :string
|
|
7103
|
+
field "users", :users, :integer
|
|
6061
7104
|
end
|
|
6062
7105
|
|
|
6063
|
-
#
|
|
6064
|
-
class
|
|
7106
|
+
# PredictionModelList şeması.
|
|
7107
|
+
class PredictionModelList < Pushizo::BaseModel
|
|
6065
7108
|
# Zorunlu.
|
|
6066
|
-
field "
|
|
6067
|
-
field "external_id", :external_id, :string
|
|
7109
|
+
field "data", :data, [:array, "PredictionModel"]
|
|
6068
7110
|
end
|
|
6069
7111
|
|
|
6070
|
-
#
|
|
6071
|
-
class
|
|
6072
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6073
|
-
field "channel", :channel, :string
|
|
7112
|
+
# PredictionModelMetrics şeması.
|
|
7113
|
+
class PredictionModelMetrics < Pushizo::BaseModel
|
|
6074
7114
|
# Zorunlu.
|
|
6075
|
-
field "
|
|
7115
|
+
field "auc", :auc, :number
|
|
6076
7116
|
# Zorunlu.
|
|
6077
|
-
field "
|
|
7117
|
+
field "base_rate", :base_rate, :number
|
|
6078
7118
|
# Zorunlu.
|
|
6079
|
-
field "
|
|
7119
|
+
field "train_users", :train_users, :integer
|
|
6080
7120
|
# Zorunlu.
|
|
6081
|
-
field "
|
|
7121
|
+
field "holdout_users", :holdout_users, :integer
|
|
6082
7122
|
# Zorunlu.
|
|
6083
|
-
field "
|
|
7123
|
+
field "positives", :positives, :integer
|
|
6084
7124
|
# Zorunlu.
|
|
6085
|
-
field "
|
|
7125
|
+
field "negatives", :negatives, :integer
|
|
6086
7126
|
# Zorunlu.
|
|
6087
|
-
field "
|
|
7127
|
+
field "calibration", :calibration, [:array, "PredictionModelMetricsCalibrationItem"]
|
|
6088
7128
|
# Zorunlu.
|
|
6089
|
-
field "
|
|
7129
|
+
field "importance", :importance, [:array, "PredictionModelMetricsImportanceItem"]
|
|
7130
|
+
end
|
|
7131
|
+
|
|
7132
|
+
# PredictionModelMetricsCalibrationItem şeması.
|
|
7133
|
+
class PredictionModelMetricsCalibrationItem < Pushizo::BaseModel
|
|
7134
|
+
# Zorunlu. Değerler: "low", "medium", "high".
|
|
7135
|
+
field "bucket", :bucket, :string
|
|
6090
7136
|
# Zorunlu.
|
|
6091
|
-
field "
|
|
7137
|
+
field "users", :users, :integer
|
|
6092
7138
|
# Zorunlu.
|
|
6093
|
-
field "
|
|
6094
|
-
|
|
6095
|
-
field "
|
|
7139
|
+
field "predicted", :predicted, :number
|
|
7140
|
+
# Zorunlu.
|
|
7141
|
+
field "actual", :actual, :number
|
|
6096
7142
|
end
|
|
6097
7143
|
|
|
6098
|
-
#
|
|
6099
|
-
class
|
|
7144
|
+
# PredictionModelMetricsImportanceItem şeması.
|
|
7145
|
+
class PredictionModelMetricsImportanceItem < Pushizo::BaseModel
|
|
7146
|
+
# Zorunlu. Değerler: "recency_days", "events_7", "events_30", "active_days_30", "target_30", "days_since_target", "tenure_days", "sent_30", "engaged_30".
|
|
7147
|
+
field "feature", :feature, :string
|
|
6100
7148
|
# Zorunlu.
|
|
6101
|
-
field "
|
|
7149
|
+
field "weight", :weight, :number
|
|
7150
|
+
end
|
|
7151
|
+
|
|
7152
|
+
# PredictionUsersPage şeması.
|
|
7153
|
+
class PredictionUsersPage < Pushizo::BaseModel
|
|
6102
7154
|
# Zorunlu.
|
|
6103
|
-
field "
|
|
7155
|
+
field "data", :data, [:array, "PredictionUsersPageDataItem"]
|
|
6104
7156
|
# Zorunlu.
|
|
6105
|
-
field "
|
|
7157
|
+
field "next_cursor", :next_cursor, :string
|
|
6106
7158
|
end
|
|
6107
7159
|
|
|
6108
|
-
#
|
|
6109
|
-
class
|
|
7160
|
+
# PredictionUsersPageDataItem şeması.
|
|
7161
|
+
class PredictionUsersPageDataItem < Pushizo::BaseModel
|
|
6110
7162
|
# Zorunlu.
|
|
6111
|
-
field "
|
|
6112
|
-
# Zorunlu.
|
|
6113
|
-
field "preheader", :preheader, :string
|
|
7163
|
+
field "user_id", :user_id, :string
|
|
6114
7164
|
# Zorunlu.
|
|
6115
|
-
field "
|
|
7165
|
+
field "external_id", :external_id, :string
|
|
6116
7166
|
# Zorunlu.
|
|
6117
|
-
field "
|
|
7167
|
+
field "score", :score, :integer
|
|
7168
|
+
# Zorunlu. Değerler: "low", "medium", "high".
|
|
7169
|
+
field "bucket", :bucket, :string
|
|
6118
7170
|
end
|
|
6119
7171
|
|
|
6120
|
-
#
|
|
6121
|
-
class
|
|
7172
|
+
# PromoCodeList şeması.
|
|
7173
|
+
class PromoCodeList < Pushizo::BaseModel
|
|
6122
7174
|
# Zorunlu.
|
|
6123
|
-
field "
|
|
6124
|
-
# Zorunlu. Değerler: "gsm7", "gsm7_tr", "ucs2".
|
|
6125
|
-
field "encoding", :encoding, :string
|
|
7175
|
+
field "id", :id, :string
|
|
6126
7176
|
# Zorunlu.
|
|
6127
|
-
field "
|
|
7177
|
+
field "app_id", :app_id, :string
|
|
6128
7178
|
# Zorunlu.
|
|
6129
|
-
field "
|
|
7179
|
+
field "name", :name, :string
|
|
6130
7180
|
# Zorunlu.
|
|
6131
|
-
field "
|
|
7181
|
+
field "description", :description, :string
|
|
6132
7182
|
# Zorunlu.
|
|
6133
|
-
field "
|
|
7183
|
+
field "expires_at", :expires_at, :string
|
|
6134
7184
|
# Zorunlu.
|
|
6135
|
-
field "
|
|
7185
|
+
field "total_count", :total_count, :integer
|
|
7186
|
+
# Zorunlu.
|
|
7187
|
+
field "assigned_count", :assigned_count, :integer
|
|
7188
|
+
# Zorunlu.
|
|
7189
|
+
field "available_count", :available_count, :integer
|
|
7190
|
+
# Zorunlu.
|
|
7191
|
+
field "liquid", :liquid, :string
|
|
7192
|
+
# Zorunlu.
|
|
7193
|
+
field "created_at", :created_at, :string
|
|
7194
|
+
# Zorunlu.
|
|
7195
|
+
field "updated_at", :updated_at, :string
|
|
6136
7196
|
end
|
|
6137
7197
|
|
|
6138
|
-
#
|
|
6139
|
-
class
|
|
6140
|
-
#
|
|
6141
|
-
field "
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
7198
|
+
# PromoCodeListList şeması.
|
|
7199
|
+
class PromoCodeListList < Pushizo::BaseModel
|
|
7200
|
+
# Zorunlu.
|
|
7201
|
+
field "data", :data, [:array, "PromoCodeList"]
|
|
7202
|
+
end
|
|
7203
|
+
|
|
7204
|
+
# PromoCodesPage şeması.
|
|
7205
|
+
class PromoCodesPage < Pushizo::BaseModel
|
|
7206
|
+
# Zorunlu.
|
|
7207
|
+
field "total", :total, :integer
|
|
7208
|
+
# Zorunlu.
|
|
7209
|
+
field "data", :data, [:array, "PromoCodesPageDataItem"]
|
|
7210
|
+
end
|
|
7211
|
+
|
|
7212
|
+
# PromoCodesPageDataItem şeması.
|
|
7213
|
+
class PromoCodesPageDataItem < Pushizo::BaseModel
|
|
7214
|
+
# Zorunlu.
|
|
7215
|
+
field "code", :code, :string
|
|
7216
|
+
# Zorunlu.
|
|
7217
|
+
field "delivery_id", :delivery_id, :string
|
|
7218
|
+
# Zorunlu.
|
|
7219
|
+
field "message_id", :message_id, :string
|
|
7220
|
+
# Zorunlu.
|
|
7221
|
+
field "assigned_at", :assigned_at, :string
|
|
7222
|
+
end
|
|
7223
|
+
|
|
7224
|
+
# PromoCodeUploadResult şeması.
|
|
7225
|
+
class PromoCodeUploadResult < Pushizo::BaseModel
|
|
7226
|
+
# Zorunlu.
|
|
7227
|
+
field "list", :list, "PromoCodeList"
|
|
7228
|
+
# Zorunlu.
|
|
7229
|
+
field "added", :added, :integer
|
|
7230
|
+
# Zorunlu.
|
|
7231
|
+
field "skipped", :skipped, :integer
|
|
7232
|
+
end
|
|
7233
|
+
|
|
7234
|
+
# ProvidersReport şeması.
|
|
7235
|
+
class ProvidersReport < Pushizo::BaseModel
|
|
7236
|
+
# Zorunlu.
|
|
7237
|
+
field "from", :from, :string
|
|
7238
|
+
# Zorunlu.
|
|
7239
|
+
field "to", :to, :string
|
|
7240
|
+
# Zorunlu.
|
|
7241
|
+
field "totals", :totals, "ProvidersReportTotals"
|
|
7242
|
+
# Zorunlu.
|
|
7243
|
+
field "previous", :previous, "ProvidersReportPrevious"
|
|
7244
|
+
# Zorunlu.
|
|
7245
|
+
field "rows", :rows, [:array, "ProvidersReportRowsItem"]
|
|
7246
|
+
end
|
|
7247
|
+
|
|
7248
|
+
# ProvidersReportPrevious şeması.
|
|
7249
|
+
class ProvidersReportPrevious < Pushizo::BaseModel
|
|
7250
|
+
# Zorunlu.
|
|
7251
|
+
field "sent", :sent, :integer
|
|
7252
|
+
# Zorunlu.
|
|
7253
|
+
field "failed", :failed, :integer
|
|
7254
|
+
# Zorunlu.
|
|
7255
|
+
field "failure_rate", :failure_rate, :number
|
|
7256
|
+
end
|
|
7257
|
+
|
|
7258
|
+
# ProvidersReportRowsItem şeması.
|
|
7259
|
+
class ProvidersReportRowsItem < Pushizo::BaseModel
|
|
7260
|
+
# Zorunlu.
|
|
7261
|
+
field "channel", :channel, :string
|
|
7262
|
+
# Zorunlu.
|
|
7263
|
+
field "provider", :provider, :string
|
|
7264
|
+
# Zorunlu.
|
|
7265
|
+
field "sent", :sent, :integer
|
|
7266
|
+
# Zorunlu.
|
|
7267
|
+
field "failed", :failed, :integer
|
|
7268
|
+
# Zorunlu.
|
|
7269
|
+
field "failure_rate", :failure_rate, :number
|
|
7270
|
+
# Zorunlu.
|
|
7271
|
+
field "latency_p50_ms", :latency_p50_ms, :number
|
|
7272
|
+
# Zorunlu.
|
|
7273
|
+
field "latency_p95_ms", :latency_p95_ms, :number
|
|
7274
|
+
# Zorunlu.
|
|
7275
|
+
field "errors", :errors, [:array, "ProvidersReportRowsItemErrorsItem"]
|
|
7276
|
+
end
|
|
7277
|
+
|
|
7278
|
+
# ProvidersReportRowsItemErrorsItem şeması.
|
|
7279
|
+
class ProvidersReportRowsItemErrorsItem < Pushizo::BaseModel
|
|
7280
|
+
# Zorunlu.
|
|
7281
|
+
field "code", :code, :string
|
|
7282
|
+
# Zorunlu.
|
|
7283
|
+
field "count", :count, :integer
|
|
7284
|
+
end
|
|
7285
|
+
|
|
7286
|
+
# ProvidersReportTotals şeması.
|
|
7287
|
+
class ProvidersReportTotals < Pushizo::BaseModel
|
|
7288
|
+
# Zorunlu.
|
|
7289
|
+
field "sent", :sent, :integer
|
|
7290
|
+
# Zorunlu.
|
|
7291
|
+
field "failed", :failed, :integer
|
|
7292
|
+
# Zorunlu.
|
|
7293
|
+
field "failure_rate", :failure_rate, :number
|
|
7294
|
+
end
|
|
7295
|
+
|
|
7296
|
+
# PublicFormSubmitDto şeması.
|
|
7297
|
+
class PublicFormSubmitDto < Pushizo::BaseModel
|
|
7298
|
+
# Zorunlu.
|
|
7299
|
+
field "values", :values, [:map, :any]
|
|
7300
|
+
field "external_id", :external_id, :string
|
|
7301
|
+
field "page_url", :page_url, :string
|
|
7302
|
+
field "language", :language, :string
|
|
7303
|
+
end
|
|
7304
|
+
|
|
7305
|
+
# PublicSurveyResponseDto şeması.
|
|
7306
|
+
class PublicSurveyResponseDto < Pushizo::BaseModel
|
|
7307
|
+
# Zorunlu.
|
|
7308
|
+
field "answers", :answers, [:map, :any]
|
|
7309
|
+
field "external_id", :external_id, :string
|
|
7310
|
+
end
|
|
7311
|
+
|
|
7312
|
+
# RecommendationConfig şeması.
|
|
7313
|
+
class RecommendationConfig < Pushizo::BaseModel
|
|
7314
|
+
# Zorunlu.
|
|
7315
|
+
field "configured", :configured, :boolean
|
|
7316
|
+
# Zorunlu.
|
|
7317
|
+
field "enabled", :enabled, :boolean
|
|
7318
|
+
# Zorunlu.
|
|
7319
|
+
field "view_events", :view_events, [:array, :string]
|
|
7320
|
+
# Zorunlu.
|
|
7321
|
+
field "purchase_events", :purchase_events, [:array, :string]
|
|
7322
|
+
# Zorunlu.
|
|
7323
|
+
field "item_property", :item_property, :string
|
|
7324
|
+
# Zorunlu.
|
|
7325
|
+
field "window_days", :window_days, :integer
|
|
7326
|
+
# Zorunlu. Değerler: "idle", "queued", "running", "failed".
|
|
7327
|
+
field "status", :status, :string
|
|
7328
|
+
# Zorunlu.
|
|
7329
|
+
field "last_error", :last_error, :string
|
|
7330
|
+
# Zorunlu.
|
|
7331
|
+
field "last_computed_at", :last_computed_at, :string
|
|
7332
|
+
# Zorunlu.
|
|
7333
|
+
field "scored_items", :scored_items, :integer
|
|
7334
|
+
# Zorunlu.
|
|
7335
|
+
field "scored_users", :scored_users, :integer
|
|
7336
|
+
end
|
|
7337
|
+
|
|
7338
|
+
# Recommendations şeması.
|
|
7339
|
+
class Recommendations < Pushizo::BaseModel
|
|
7340
|
+
# Zorunlu. Değerler: "personalized", "popular", "trending", "similar", "category", "recently_viewed", "new_arrivals".
|
|
7341
|
+
field "strategy", :strategy, :string
|
|
7342
|
+
# Zorunlu. Değerler: "personalized", "popular", "trending", "similar", "category", "recently_viewed", "new_arrivals".
|
|
7343
|
+
field "source", :source, :string
|
|
7344
|
+
# Zorunlu.
|
|
7345
|
+
field "data", :data, [:array, "CatalogItem"]
|
|
7346
|
+
end
|
|
7347
|
+
|
|
7348
|
+
# RenderPreview şeması.
|
|
7349
|
+
class RenderPreview < Pushizo::BaseModel
|
|
7350
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
7351
|
+
field "channel", :channel, :string
|
|
7352
|
+
# Zorunlu.
|
|
7353
|
+
field "language", :language, :string
|
|
7354
|
+
# Zorunlu.
|
|
7355
|
+
field "title", :title, :string
|
|
7356
|
+
# Zorunlu.
|
|
7357
|
+
field "subtitle", :subtitle, :string
|
|
7358
|
+
# Zorunlu.
|
|
7359
|
+
field "body", :body, :string
|
|
7360
|
+
# Zorunlu.
|
|
7361
|
+
field "url", :url, :string
|
|
7362
|
+
# Zorunlu.
|
|
7363
|
+
field "image_url", :image_url, :string
|
|
7364
|
+
# Zorunlu.
|
|
7365
|
+
field "icon_url", :icon_url, :string
|
|
7366
|
+
# Zorunlu.
|
|
7367
|
+
field "buttons", :buttons, [:array, "RenderPreviewButtonsItem"]
|
|
7368
|
+
# Zorunlu.
|
|
7369
|
+
field "data", :data, [:map, :string]
|
|
7370
|
+
# Zorunlu.
|
|
7371
|
+
field "warnings", :warnings, [:array, :string]
|
|
7372
|
+
field "email", :email, "RenderPreviewEmail"
|
|
7373
|
+
field "sms", :sms, "RenderPreviewSms"
|
|
7374
|
+
end
|
|
7375
|
+
|
|
7376
|
+
# RenderPreviewButtonsItem şeması.
|
|
7377
|
+
class RenderPreviewButtonsItem < Pushizo::BaseModel
|
|
7378
|
+
# Zorunlu.
|
|
7379
|
+
field "id", :id, :string
|
|
7380
|
+
# Zorunlu.
|
|
7381
|
+
field "text", :text, :string
|
|
7382
|
+
# Zorunlu.
|
|
7383
|
+
field "url", :url, :string
|
|
7384
|
+
end
|
|
7385
|
+
|
|
7386
|
+
# RenderPreviewEmail şeması.
|
|
7387
|
+
class RenderPreviewEmail < Pushizo::BaseModel
|
|
7388
|
+
# Zorunlu.
|
|
7389
|
+
field "subject", :subject, :string
|
|
7390
|
+
# Zorunlu.
|
|
7391
|
+
field "preheader", :preheader, :string
|
|
7392
|
+
# Zorunlu.
|
|
7393
|
+
field "html", :html, :string
|
|
7394
|
+
# Zorunlu.
|
|
7395
|
+
field "text", :text, :string
|
|
7396
|
+
end
|
|
7397
|
+
|
|
7398
|
+
# RenderPreviewSms şeması.
|
|
7399
|
+
class RenderPreviewSms < Pushizo::BaseModel
|
|
7400
|
+
# Zorunlu.
|
|
7401
|
+
field "body", :body, :string
|
|
7402
|
+
# Zorunlu. Değerler: "gsm7", "gsm7_tr", "ucs2".
|
|
7403
|
+
field "encoding", :encoding, :string
|
|
7404
|
+
# Zorunlu.
|
|
7405
|
+
field "characters", :characters, :integer
|
|
7406
|
+
# Zorunlu.
|
|
7407
|
+
field "segments", :segments, :integer
|
|
7408
|
+
# Zorunlu.
|
|
7409
|
+
field "per_segment", :per_segment, :integer
|
|
7410
|
+
# Zorunlu.
|
|
7411
|
+
field "non_gsm_characters", :non_gsm_characters, [:array, :string]
|
|
7412
|
+
# Zorunlu.
|
|
7413
|
+
field "turkish_characters", :turkish_characters, [:array, :string]
|
|
7414
|
+
end
|
|
7415
|
+
|
|
7416
|
+
# RenderTemplateDto şeması.
|
|
7417
|
+
class RenderTemplateDto < Pushizo::BaseModel
|
|
7418
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
7419
|
+
field "channel", :channel, :string
|
|
7420
|
+
field "language", :language, :string
|
|
7421
|
+
field "user", :user, "RenderTemplateDtoUser"
|
|
7422
|
+
field "custom_data", :custom_data, [:map, :any]
|
|
7423
|
+
field "content", :content, "RenderTemplateDtoContent"
|
|
7424
|
+
field "version", :version, :integer
|
|
6147
7425
|
end
|
|
6148
7426
|
|
|
6149
7427
|
# RenderTemplateDtoContent şeması.
|
|
@@ -6186,6 +7464,7 @@ module Pushizo
|
|
|
6186
7464
|
field "disable_sms_link_shortening", :disable_sms_link_shortening, :boolean
|
|
6187
7465
|
field "add_to_inbox", :add_to_inbox, :boolean
|
|
6188
7466
|
field "inbox_ttl", :inbox_ttl, :integer
|
|
7467
|
+
field "content_card", :content_card, "RenderTemplateDtoContentContentCard"
|
|
6189
7468
|
field "thread_id", :thread_id, :string
|
|
6190
7469
|
field "ios_relevance_score", :ios_relevance_score, :number
|
|
6191
7470
|
field "target_content_identifier", :target_content_identifier, :string
|
|
@@ -6205,6 +7484,17 @@ module Pushizo
|
|
|
6205
7484
|
field "rcs_content_sid", :rcs_content_sid, :string
|
|
6206
7485
|
field "rcs_content_variables", :rcs_content_variables, [:map, :string]
|
|
6207
7486
|
field "rcs_fallback_text", :rcs_fallback_text, [:map, :string]
|
|
7487
|
+
field "ios_carousel", :ios_carousel, [:array, "RenderTemplateDtoContentIosCarouselItem"]
|
|
7488
|
+
field "android_live_update", :android_live_update, "RenderTemplateDtoContentAndroidLiveUpdate"
|
|
7489
|
+
field "voip", :voip, :boolean
|
|
7490
|
+
field "app_clip", :app_clip, :boolean
|
|
7491
|
+
end
|
|
7492
|
+
|
|
7493
|
+
# RenderTemplateDtoContentAndroidLiveUpdate şeması.
|
|
7494
|
+
class RenderTemplateDtoContentAndroidLiveUpdate < Pushizo::BaseModel
|
|
7495
|
+
# Zorunlu.
|
|
7496
|
+
field "progress", :progress, :integer
|
|
7497
|
+
field "ongoing", :ongoing, :boolean
|
|
6208
7498
|
end
|
|
6209
7499
|
|
|
6210
7500
|
# RenderTemplateDtoContentButtonsItem şeması.
|
|
@@ -6217,6 +7507,22 @@ module Pushizo
|
|
|
6217
7507
|
field "url", :url, :string
|
|
6218
7508
|
end
|
|
6219
7509
|
|
|
7510
|
+
# RenderTemplateDtoContentContentCard şeması.
|
|
7511
|
+
class RenderTemplateDtoContentContentCard < Pushizo::BaseModel
|
|
7512
|
+
# Zorunlu. Değerler: "classic", "captioned_image", "image_only".
|
|
7513
|
+
field "type", :type, :string
|
|
7514
|
+
field "pinned", :pinned, :boolean
|
|
7515
|
+
field "priority", :priority, :integer
|
|
7516
|
+
field "button_text", :button_text, [:map, :string]
|
|
7517
|
+
end
|
|
7518
|
+
|
|
7519
|
+
# RenderTemplateDtoContentIosCarouselItem şeması.
|
|
7520
|
+
class RenderTemplateDtoContentIosCarouselItem < Pushizo::BaseModel
|
|
7521
|
+
# Zorunlu.
|
|
7522
|
+
field "url", :url, :string
|
|
7523
|
+
field "title", :title, :string
|
|
7524
|
+
end
|
|
7525
|
+
|
|
6220
7526
|
# RenderTemplateDtoContentRcsCard şeması.
|
|
6221
7527
|
class RenderTemplateDtoContentRcsCard < Pushizo::BaseModel
|
|
6222
7528
|
field "title", :title, [:map, :string]
|
|
@@ -6317,6 +7623,58 @@ module Pushizo
|
|
|
6317
7623
|
field "properties", :properties, [:map, :any]
|
|
6318
7624
|
end
|
|
6319
7625
|
|
|
7626
|
+
# ReportResult şeması.
|
|
7627
|
+
class ReportResult < Pushizo::BaseModel
|
|
7628
|
+
# Zorunlu.
|
|
7629
|
+
field "from", :from, :string
|
|
7630
|
+
# Zorunlu.
|
|
7631
|
+
field "to", :to, :string
|
|
7632
|
+
# Zorunlu.
|
|
7633
|
+
field "columns", :columns, [:array, "ReportResultColumnsItem"]
|
|
7634
|
+
# Zorunlu.
|
|
7635
|
+
field "rows", :rows, [:array, [:map, :any]]
|
|
7636
|
+
# Zorunlu.
|
|
7637
|
+
field "totals", :totals, [:map, :number]
|
|
7638
|
+
# Zorunlu.
|
|
7639
|
+
field "truncated", :truncated, :boolean
|
|
7640
|
+
end
|
|
7641
|
+
|
|
7642
|
+
# ReportResultColumnsItem şeması.
|
|
7643
|
+
class ReportResultColumnsItem < Pushizo::BaseModel
|
|
7644
|
+
# Zorunlu.
|
|
7645
|
+
field "key", :key, :string
|
|
7646
|
+
# Zorunlu. Değerler: "dimension", "metric".
|
|
7647
|
+
field "kind", :kind, :string
|
|
7648
|
+
# Zorunlu. Değerler: "text", "date", "number", "percent".
|
|
7649
|
+
field "format", :format_value, :string
|
|
7650
|
+
end
|
|
7651
|
+
|
|
7652
|
+
# ReportRunBodyDto şeması.
|
|
7653
|
+
class ReportRunBodyDto < Pushizo::BaseModel
|
|
7654
|
+
# Zorunlu. Değerler: "deliveries", "events", "conversions".
|
|
7655
|
+
field "source", :source, :string
|
|
7656
|
+
# Zorunlu. Değerler: "sent", "delivered", "failed", "opened", "clicked", "delivery_rate", "open_rate", "click_rate", "failure_rate", "count", "unique_users", "value_sum", "value_avg", "conversions", "revenue".
|
|
7657
|
+
field "metrics", :metrics, [:array, :string]
|
|
7658
|
+
# Değerler: "day", "week", "month", "channel", "provider", "campaign", "status", "name", "source", "event_name", "kind".
|
|
7659
|
+
field "dimensions", :dimensions, [:array, :string]
|
|
7660
|
+
field "filters", :filters, [:map, [:array, :string]]
|
|
7661
|
+
field "sort", :sort, "ReportRunBodyDtoSort"
|
|
7662
|
+
field "limit", :limit, :integer
|
|
7663
|
+
field "days", :days, :integer
|
|
7664
|
+
field "from", :from, :string
|
|
7665
|
+
field "to", :to, :string
|
|
7666
|
+
# Değerler: "json", "csv".
|
|
7667
|
+
field "format", :format_value, :string
|
|
7668
|
+
end
|
|
7669
|
+
|
|
7670
|
+
# ReportRunBodyDtoSort şeması.
|
|
7671
|
+
class ReportRunBodyDtoSort < Pushizo::BaseModel
|
|
7672
|
+
# Zorunlu.
|
|
7673
|
+
field "by", :by, :string
|
|
7674
|
+
# Değerler: "asc", "desc".
|
|
7675
|
+
field "direction", :direction, :string
|
|
7676
|
+
end
|
|
7677
|
+
|
|
6320
7678
|
# RetentionReport şeması.
|
|
6321
7679
|
class RetentionReport < Pushizo::BaseModel
|
|
6322
7680
|
# Zorunlu.
|
|
@@ -6337,6 +7695,246 @@ module Pushizo
|
|
|
6337
7695
|
field "retention", :retention, [:array, :number]
|
|
6338
7696
|
end
|
|
6339
7697
|
|
|
7698
|
+
# ReverseEtlRun şeması.
|
|
7699
|
+
class ReverseEtlRun < Pushizo::BaseModel
|
|
7700
|
+
# Zorunlu.
|
|
7701
|
+
field "id", :id, :string
|
|
7702
|
+
# Zorunlu.
|
|
7703
|
+
field "sync_id", :sync_id, :string
|
|
7704
|
+
# Zorunlu. Değerler: "schedule", "manual".
|
|
7705
|
+
field "trigger", :trigger, :string
|
|
7706
|
+
# Zorunlu. Değerler: "queued", "running", "succeeded", "failed".
|
|
7707
|
+
field "status", :status, :string
|
|
7708
|
+
# Zorunlu.
|
|
7709
|
+
field "row_count", :row_count, :integer
|
|
7710
|
+
# Zorunlu.
|
|
7711
|
+
field "attempt", :attempt, :integer
|
|
7712
|
+
# Zorunlu.
|
|
7713
|
+
field "error", :error, :string
|
|
7714
|
+
# Zorunlu.
|
|
7715
|
+
field "started_at", :started_at, :string
|
|
7716
|
+
# Zorunlu.
|
|
7717
|
+
field "finished_at", :finished_at, :string
|
|
7718
|
+
# Zorunlu.
|
|
7719
|
+
field "duration_ms", :duration_ms, :integer
|
|
7720
|
+
# Zorunlu.
|
|
7721
|
+
field "created_at", :created_at, :string
|
|
7722
|
+
end
|
|
7723
|
+
|
|
7724
|
+
# ReverseEtlRunPage şeması.
|
|
7725
|
+
class ReverseEtlRunPage < Pushizo::BaseModel
|
|
7726
|
+
# Zorunlu.
|
|
7727
|
+
field "data", :data, [:array, "ReverseEtlRun"]
|
|
7728
|
+
# Zorunlu.
|
|
7729
|
+
field "next_cursor", :next_cursor, :string
|
|
7730
|
+
# Zorunlu.
|
|
7731
|
+
field "has_more", :has_more, :boolean
|
|
7732
|
+
end
|
|
7733
|
+
|
|
7734
|
+
# ReverseEtlSync şeması.
|
|
7735
|
+
class ReverseEtlSync < Pushizo::BaseModel
|
|
7736
|
+
# Zorunlu.
|
|
7737
|
+
field "id", :id, :string
|
|
7738
|
+
# Zorunlu.
|
|
7739
|
+
field "app_id", :app_id, :string
|
|
7740
|
+
# Zorunlu.
|
|
7741
|
+
field "name", :name, :string
|
|
7742
|
+
# Zorunlu. Değerler: "snowflake", "bigquery", "postgres", "mysql", "s3", "google_sheets", "clickhouse", "sqlserver", "trino", "athena", "elasticsearch", "kafka", "pubsub".
|
|
7743
|
+
field "source", :source, :string
|
|
7744
|
+
# Zorunlu. Değerler: "event", "user".
|
|
7745
|
+
field "target", :target, :string
|
|
7746
|
+
# Zorunlu.
|
|
7747
|
+
field "config", :config, [:map, :any]
|
|
7748
|
+
# Zorunlu.
|
|
7749
|
+
field "credentials_hint", :credentials_hint, :string
|
|
7750
|
+
# Zorunlu. Değerler: "every_5_minutes", "hourly", "daily".
|
|
7751
|
+
field "schedule", :schedule, :string
|
|
7752
|
+
# Zorunlu.
|
|
7753
|
+
field "enabled", :enabled, :boolean
|
|
7754
|
+
# Zorunlu. Değerler: "active", "paused", "failing".
|
|
7755
|
+
field "status", :status, :string
|
|
7756
|
+
# Zorunlu.
|
|
7757
|
+
field "cursor", :cursor, :string
|
|
7758
|
+
# Zorunlu.
|
|
7759
|
+
field "consecutive_failures", :consecutive_failures, :integer
|
|
7760
|
+
# Zorunlu.
|
|
7761
|
+
field "last_error", :last_error, :string
|
|
7762
|
+
# Zorunlu.
|
|
7763
|
+
field "last_run_at", :last_run_at, :string
|
|
7764
|
+
# Zorunlu.
|
|
7765
|
+
field "last_success_at", :last_success_at, :string
|
|
7766
|
+
# Zorunlu.
|
|
7767
|
+
field "next_run_at", :next_run_at, :string
|
|
7768
|
+
# Zorunlu.
|
|
7769
|
+
field "created_at", :created_at, :string
|
|
7770
|
+
# Zorunlu.
|
|
7771
|
+
field "updated_at", :updated_at, :string
|
|
7772
|
+
end
|
|
7773
|
+
|
|
7774
|
+
# ReverseEtlSyncList şeması.
|
|
7775
|
+
class ReverseEtlSyncList < Pushizo::BaseModel
|
|
7776
|
+
# Zorunlu.
|
|
7777
|
+
field "data", :data, [:array, "ReverseEtlSync"]
|
|
7778
|
+
end
|
|
7779
|
+
|
|
7780
|
+
# RfmConfig şeması.
|
|
7781
|
+
class RfmConfig < Pushizo::BaseModel
|
|
7782
|
+
# Zorunlu.
|
|
7783
|
+
field "configured", :configured, :boolean
|
|
7784
|
+
# Zorunlu.
|
|
7785
|
+
field "enabled", :enabled, :boolean
|
|
7786
|
+
# Zorunlu.
|
|
7787
|
+
field "event_names", :event_names, [:array, :string]
|
|
7788
|
+
# Zorunlu.
|
|
7789
|
+
field "value_property", :value_property, :string
|
|
7790
|
+
# Zorunlu.
|
|
7791
|
+
field "use_monetary", :use_monetary, :boolean
|
|
7792
|
+
# Zorunlu.
|
|
7793
|
+
field "window_days", :window_days, :integer
|
|
7794
|
+
# Zorunlu. Değerler: "idle", "queued", "running", "failed".
|
|
7795
|
+
field "status", :status, :string
|
|
7796
|
+
# Zorunlu.
|
|
7797
|
+
field "last_error", :last_error, :string
|
|
7798
|
+
# Zorunlu.
|
|
7799
|
+
field "first_computed_at", :first_computed_at, :string
|
|
7800
|
+
# Zorunlu.
|
|
7801
|
+
field "last_computed_at", :last_computed_at, :string
|
|
7802
|
+
# Zorunlu.
|
|
7803
|
+
field "scored_users", :scored_users, :integer
|
|
7804
|
+
end
|
|
7805
|
+
|
|
7806
|
+
# RfmOverview şeması.
|
|
7807
|
+
class RfmOverview < Pushizo::BaseModel
|
|
7808
|
+
# Zorunlu.
|
|
7809
|
+
field "total", :total, :integer
|
|
7810
|
+
# Zorunlu.
|
|
7811
|
+
field "low_population", :low_population, :boolean
|
|
7812
|
+
# Zorunlu.
|
|
7813
|
+
field "last_computed_at", :last_computed_at, :string
|
|
7814
|
+
# Zorunlu.
|
|
7815
|
+
field "segments", :segments, [:array, "RfmOverviewSegmentsItem"]
|
|
7816
|
+
end
|
|
7817
|
+
|
|
7818
|
+
# RfmOverviewSegmentsItem şeması.
|
|
7819
|
+
class RfmOverviewSegmentsItem < Pushizo::BaseModel
|
|
7820
|
+
# Zorunlu. Değerler: "champions", "loyal", "potential", "new", "promising", "need_attention", "about_to_sleep", "at_risk", "cant_lose", "hibernating", "lost".
|
|
7821
|
+
field "segment", :segment, :string
|
|
7822
|
+
# Zorunlu.
|
|
7823
|
+
field "users", :users, :integer
|
|
7824
|
+
# Zorunlu.
|
|
7825
|
+
field "share", :share, :number
|
|
7826
|
+
# Zorunlu.
|
|
7827
|
+
field "avg_recency_days", :avg_recency_days, :number
|
|
7828
|
+
# Zorunlu.
|
|
7829
|
+
field "avg_frequency", :avg_frequency, :number
|
|
7830
|
+
# Zorunlu.
|
|
7831
|
+
field "avg_monetary", :avg_monetary, :number
|
|
7832
|
+
end
|
|
7833
|
+
|
|
7834
|
+
# RfmTransitions şeması.
|
|
7835
|
+
class RfmTransitions < Pushizo::BaseModel
|
|
7836
|
+
# Zorunlu.
|
|
7837
|
+
field "from", :from, :string
|
|
7838
|
+
# Zorunlu.
|
|
7839
|
+
field "to", :to, :string
|
|
7840
|
+
# Zorunlu.
|
|
7841
|
+
field "first_computed_at", :first_computed_at, :string
|
|
7842
|
+
# Zorunlu.
|
|
7843
|
+
field "transitions", :transitions, [:array, "RfmTransitionsTransitionsItem"]
|
|
7844
|
+
end
|
|
7845
|
+
|
|
7846
|
+
# RfmTransitionsTransitionsItem şeması.
|
|
7847
|
+
class RfmTransitionsTransitionsItem < Pushizo::BaseModel
|
|
7848
|
+
# Zorunlu. Değerler: "champions", "loyal", "potential", "new", "promising", "need_attention", "about_to_sleep", "at_risk", "cant_lose", "hibernating", "lost".
|
|
7849
|
+
field "from", :from, :string
|
|
7850
|
+
# Zorunlu. Değerler: "champions", "loyal", "potential", "new", "promising", "need_attention", "about_to_sleep", "at_risk", "cant_lose", "hibernating", "lost".
|
|
7851
|
+
field "to", :to, :string
|
|
7852
|
+
# Zorunlu.
|
|
7853
|
+
field "users", :users, :integer
|
|
7854
|
+
end
|
|
7855
|
+
|
|
7856
|
+
# RfmUsersPage şeması.
|
|
7857
|
+
class RfmUsersPage < Pushizo::BaseModel
|
|
7858
|
+
# Zorunlu.
|
|
7859
|
+
field "data", :data, [:array, "RfmUsersPageDataItem"]
|
|
7860
|
+
# Zorunlu.
|
|
7861
|
+
field "next_cursor", :next_cursor, :string
|
|
7862
|
+
end
|
|
7863
|
+
|
|
7864
|
+
# RfmUsersPageDataItem şeması.
|
|
7865
|
+
class RfmUsersPageDataItem < Pushizo::BaseModel
|
|
7866
|
+
# Zorunlu.
|
|
7867
|
+
field "user_id", :user_id, :string
|
|
7868
|
+
# Zorunlu.
|
|
7869
|
+
field "external_id", :external_id, :string
|
|
7870
|
+
# Zorunlu. Değerler: "champions", "loyal", "potential", "new", "promising", "need_attention", "about_to_sleep", "at_risk", "cant_lose", "hibernating", "lost".
|
|
7871
|
+
field "segment", :segment, :string
|
|
7872
|
+
# Zorunlu.
|
|
7873
|
+
field "r", :r, :integer
|
|
7874
|
+
# Zorunlu.
|
|
7875
|
+
field "f", :f, :integer
|
|
7876
|
+
# Zorunlu.
|
|
7877
|
+
field "m", :m, :integer
|
|
7878
|
+
# Zorunlu.
|
|
7879
|
+
field "recency_days", :recency_days, :integer
|
|
7880
|
+
# Zorunlu.
|
|
7881
|
+
field "frequency", :frequency, :integer
|
|
7882
|
+
# Zorunlu.
|
|
7883
|
+
field "monetary", :monetary, :number
|
|
7884
|
+
# Zorunlu.
|
|
7885
|
+
field "last_event_at", :last_event_at, :string
|
|
7886
|
+
# Zorunlu.
|
|
7887
|
+
field "segment_since", :segment_since, :string
|
|
7888
|
+
end
|
|
7889
|
+
|
|
7890
|
+
# SavedReport şeması.
|
|
7891
|
+
class SavedReport < Pushizo::BaseModel
|
|
7892
|
+
# Zorunlu.
|
|
7893
|
+
field "id", :id, :string
|
|
7894
|
+
# Zorunlu.
|
|
7895
|
+
field "name", :name, :string
|
|
7896
|
+
# Zorunlu.
|
|
7897
|
+
field "definition", :definition, "SavedReportDefinition"
|
|
7898
|
+
# Zorunlu.
|
|
7899
|
+
field "created_by", :created_by, :string
|
|
7900
|
+
# Zorunlu.
|
|
7901
|
+
field "created_at", :created_at, :string
|
|
7902
|
+
# Zorunlu.
|
|
7903
|
+
field "updated_at", :updated_at, :string
|
|
7904
|
+
end
|
|
7905
|
+
|
|
7906
|
+
# SavedReportDefinition şeması.
|
|
7907
|
+
class SavedReportDefinition < Pushizo::BaseModel
|
|
7908
|
+
# Zorunlu. Değerler: "deliveries", "events", "conversions".
|
|
7909
|
+
field "source", :source, :string
|
|
7910
|
+
# Zorunlu. Değerler: "sent", "delivered", "failed", "opened", "clicked", "delivery_rate", "open_rate", "click_rate", "failure_rate", "count", "unique_users", "value_sum", "value_avg", "conversions", "revenue".
|
|
7911
|
+
field "metrics", :metrics, [:array, :string]
|
|
7912
|
+
# Zorunlu. Değerler: "day", "week", "month", "channel", "provider", "campaign", "status", "name", "source", "event_name", "kind".
|
|
7913
|
+
field "dimensions", :dimensions, [:array, :string]
|
|
7914
|
+
# Zorunlu.
|
|
7915
|
+
field "filters", :filters, [:map, [:array, :string]]
|
|
7916
|
+
field "sort", :sort, "SavedReportDefinitionSort"
|
|
7917
|
+
# Zorunlu.
|
|
7918
|
+
field "limit", :limit, :integer
|
|
7919
|
+
field "days", :days, :integer
|
|
7920
|
+
field "from", :from, :string
|
|
7921
|
+
field "to", :to, :string
|
|
7922
|
+
end
|
|
7923
|
+
|
|
7924
|
+
# SavedReportDefinitionSort şeması.
|
|
7925
|
+
class SavedReportDefinitionSort < Pushizo::BaseModel
|
|
7926
|
+
# Zorunlu.
|
|
7927
|
+
field "by", :by, :string
|
|
7928
|
+
# Zorunlu. Değerler: "asc", "desc".
|
|
7929
|
+
field "direction", :direction, :string
|
|
7930
|
+
end
|
|
7931
|
+
|
|
7932
|
+
# SavedReportList şeması.
|
|
7933
|
+
class SavedReportList < Pushizo::BaseModel
|
|
7934
|
+
# Zorunlu.
|
|
7935
|
+
field "data", :data, [:array, "SavedReport"]
|
|
7936
|
+
end
|
|
7937
|
+
|
|
6340
7938
|
# ScheduleCampaignDto şeması.
|
|
6341
7939
|
class ScheduleCampaignDto < Pushizo::BaseModel
|
|
6342
7940
|
field "send_at", :send_at, :string
|
|
@@ -6518,7 +8116,7 @@ module Pushizo
|
|
|
6518
8116
|
class SetPreferencesDtoPreferencesItem < Pushizo::BaseModel
|
|
6519
8117
|
# Zorunlu.
|
|
6520
8118
|
field "category", :category, :string
|
|
6521
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8119
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6522
8120
|
field "channel", :channel, :string
|
|
6523
8121
|
# Zorunlu.
|
|
6524
8122
|
field "opted_in", :opted_in, :boolean
|
|
@@ -6556,6 +8154,20 @@ module Pushizo
|
|
|
6556
8154
|
field "reserved", :reserved, [:array, :string]
|
|
6557
8155
|
end
|
|
6558
8156
|
|
|
8157
|
+
# SmsVerification şeması.
|
|
8158
|
+
class SmsVerification < Pushizo::BaseModel
|
|
8159
|
+
# Zorunlu.
|
|
8160
|
+
field "id", :id, :string
|
|
8161
|
+
# Zorunlu.
|
|
8162
|
+
field "expires_at", :expires_at, :string
|
|
8163
|
+
end
|
|
8164
|
+
|
|
8165
|
+
# SmsVerificationCheck şeması.
|
|
8166
|
+
class SmsVerificationCheck < Pushizo::BaseModel
|
|
8167
|
+
# Zorunlu.
|
|
8168
|
+
field "verified", :verified, :boolean
|
|
8169
|
+
end
|
|
8170
|
+
|
|
6559
8171
|
# StartLiveActivityDto şeması.
|
|
6560
8172
|
class StartLiveActivityDto < Pushizo::BaseModel
|
|
6561
8173
|
field "activity_id", :activity_id, :string
|
|
@@ -6588,6 +8200,13 @@ module Pushizo
|
|
|
6588
8200
|
field "all", :all, :boolean
|
|
6589
8201
|
end
|
|
6590
8202
|
|
|
8203
|
+
# StartVerifyDto şeması.
|
|
8204
|
+
class StartVerifyDto < Pushizo::BaseModel
|
|
8205
|
+
# Zorunlu.
|
|
8206
|
+
field "phone", :phone, :string
|
|
8207
|
+
field "locale", :locale, :string
|
|
8208
|
+
end
|
|
8209
|
+
|
|
6591
8210
|
# Subscription şeması.
|
|
6592
8211
|
class Subscription < Pushizo::BaseModel
|
|
6593
8212
|
# Zorunlu.
|
|
@@ -6596,7 +8215,7 @@ module Pushizo
|
|
|
6596
8215
|
field "app_id", :app_id, :string
|
|
6597
8216
|
# Zorunlu.
|
|
6598
8217
|
field "user_id", :user_id, :string
|
|
6599
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8218
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6600
8219
|
field "channel", :channel, :string
|
|
6601
8220
|
# Zorunlu.
|
|
6602
8221
|
field "token", :token, :string
|
|
@@ -6642,6 +8261,10 @@ module Pushizo
|
|
|
6642
8261
|
field "push_capable", :push_capable, :boolean
|
|
6643
8262
|
# Değerler: "sandbox", "production".
|
|
6644
8263
|
field "push_environment", :push_environment, :string
|
|
8264
|
+
# Değerler: "phone", "watch".
|
|
8265
|
+
field "form_factor", :form_factor, :string
|
|
8266
|
+
# Değerler: "alert", "voip", "app_clip".
|
|
8267
|
+
field "push_kind", :push_kind, :string
|
|
6645
8268
|
end
|
|
6646
8269
|
|
|
6647
8270
|
# SubscriptionLocation şeması.
|
|
@@ -6975,7 +8598,7 @@ module Pushizo
|
|
|
6975
8598
|
field "app_id", :app_id, :string
|
|
6976
8599
|
# Zorunlu.
|
|
6977
8600
|
field "name", :name, :string
|
|
6978
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8601
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
6979
8602
|
field "channel", :channel, :string
|
|
6980
8603
|
# Zorunlu.
|
|
6981
8604
|
field "current_version", :current_version, :integer
|
|
@@ -7083,6 +8706,74 @@ module Pushizo
|
|
|
7083
8706
|
field "value", :value, :string
|
|
7084
8707
|
end
|
|
7085
8708
|
|
|
8709
|
+
# UninstallReport şeması.
|
|
8710
|
+
class UninstallReport < Pushizo::BaseModel
|
|
8711
|
+
# Zorunlu.
|
|
8712
|
+
field "from", :from, :string
|
|
8713
|
+
# Zorunlu.
|
|
8714
|
+
field "to", :to, :string
|
|
8715
|
+
# Zorunlu.
|
|
8716
|
+
field "totals", :totals, "UninstallReportTotals"
|
|
8717
|
+
# Zorunlu.
|
|
8718
|
+
field "previous", :previous, "UninstallReportPrevious"
|
|
8719
|
+
# Zorunlu.
|
|
8720
|
+
field "rows", :rows, [:array, "UninstallReportRowsItem"]
|
|
8721
|
+
# Zorunlu.
|
|
8722
|
+
field "by_channel", :by_channel, [:array, "UninstallReportByChannelItem"]
|
|
8723
|
+
# Zorunlu.
|
|
8724
|
+
field "last_messages", :last_messages, [:array, "UninstallReportLastMessagesItem"]
|
|
8725
|
+
end
|
|
8726
|
+
|
|
8727
|
+
# UninstallReportByChannelItem şeması.
|
|
8728
|
+
class UninstallReportByChannelItem < Pushizo::BaseModel
|
|
8729
|
+
# Zorunlu.
|
|
8730
|
+
field "channel", :channel, :string
|
|
8731
|
+
# Zorunlu.
|
|
8732
|
+
field "uninstalls", :uninstalls, :integer
|
|
8733
|
+
# Zorunlu.
|
|
8734
|
+
field "active", :active, :integer
|
|
8735
|
+
end
|
|
8736
|
+
|
|
8737
|
+
# UninstallReportLastMessagesItem şeması.
|
|
8738
|
+
class UninstallReportLastMessagesItem < Pushizo::BaseModel
|
|
8739
|
+
# Zorunlu.
|
|
8740
|
+
field "campaign_id", :campaign_id, :string
|
|
8741
|
+
# Zorunlu.
|
|
8742
|
+
field "name", :name, :string
|
|
8743
|
+
# Zorunlu.
|
|
8744
|
+
field "source", :source, :string
|
|
8745
|
+
# Zorunlu.
|
|
8746
|
+
field "uninstalls", :uninstalls, :integer
|
|
8747
|
+
end
|
|
8748
|
+
|
|
8749
|
+
# UninstallReportPrevious şeması.
|
|
8750
|
+
class UninstallReportPrevious < Pushizo::BaseModel
|
|
8751
|
+
# Zorunlu.
|
|
8752
|
+
field "uninstalls", :uninstalls, :integer
|
|
8753
|
+
# Zorunlu.
|
|
8754
|
+
field "active", :active, :integer
|
|
8755
|
+
# Zorunlu.
|
|
8756
|
+
field "rate", :rate, :number
|
|
8757
|
+
end
|
|
8758
|
+
|
|
8759
|
+
# UninstallReportRowsItem şeması.
|
|
8760
|
+
class UninstallReportRowsItem < Pushizo::BaseModel
|
|
8761
|
+
# Zorunlu.
|
|
8762
|
+
field "date", :date, :string
|
|
8763
|
+
# Zorunlu.
|
|
8764
|
+
field "uninstalls", :uninstalls, :integer
|
|
8765
|
+
end
|
|
8766
|
+
|
|
8767
|
+
# UninstallReportTotals şeması.
|
|
8768
|
+
class UninstallReportTotals < Pushizo::BaseModel
|
|
8769
|
+
# Zorunlu.
|
|
8770
|
+
field "uninstalls", :uninstalls, :integer
|
|
8771
|
+
# Zorunlu.
|
|
8772
|
+
field "active", :active, :integer
|
|
8773
|
+
# Zorunlu.
|
|
8774
|
+
field "rate", :rate, :number
|
|
8775
|
+
end
|
|
8776
|
+
|
|
7086
8777
|
# UpdateAdAudienceDto şeması.
|
|
7087
8778
|
class UpdateAdAudienceDto < Pushizo::BaseModel
|
|
7088
8779
|
field "name", :name, :string
|
|
@@ -7141,8 +8832,13 @@ module Pushizo
|
|
|
7141
8832
|
field "androidChannels", :android_channels, [:array, "UpdateAppDtoSettingsAndroidChannelsItem"]
|
|
7142
8833
|
field "sms", :sms, "UpdateAppDtoSettingsSms"
|
|
7143
8834
|
field "preferenceCenter", :preference_center, "UpdateAppDtoSettingsPreferenceCenter"
|
|
8835
|
+
field "brandKit", :brand_kit, "UpdateAppDtoSettingsBrandKit"
|
|
7144
8836
|
field "defaultTtlSeconds", :default_ttl_seconds, :integer
|
|
7145
8837
|
field "identityVerificationRequired", :identity_verification_required, :boolean
|
|
8838
|
+
# Değerler: "off", "full", "masked".
|
|
8839
|
+
field "ipCapture", :ip_capture, :string
|
|
8840
|
+
field "ipRetentionDays", :ip_retention_days, :integer
|
|
8841
|
+
field "adaptiveFrequency", :adaptive_frequency, "UpdateAppDtoSettingsAdaptiveFrequency"
|
|
7146
8842
|
field "allowedOrigins", :allowed_origins, [:array, :string]
|
|
7147
8843
|
field "campaignApprovalRequired", :campaign_approval_required, :boolean
|
|
7148
8844
|
field "webPush", :web_push, "UpdateAppDtoSettingsWebPush"
|
|
@@ -7150,6 +8846,16 @@ module Pushizo
|
|
|
7150
8846
|
field "sdkSetup", :sdk_setup, "UpdateAppDtoSettingsSdkSetup"
|
|
7151
8847
|
end
|
|
7152
8848
|
|
|
8849
|
+
# UpdateAppDtoSettingsAdaptiveFrequency şeması.
|
|
8850
|
+
class UpdateAppDtoSettingsAdaptiveFrequency < Pushizo::BaseModel
|
|
8851
|
+
# Zorunlu.
|
|
8852
|
+
field "enabled", :enabled, :boolean
|
|
8853
|
+
# Zorunlu.
|
|
8854
|
+
field "min", :min, :integer
|
|
8855
|
+
# Zorunlu.
|
|
8856
|
+
field "max", :max, :integer
|
|
8857
|
+
end
|
|
8858
|
+
|
|
7153
8859
|
# UpdateAppDtoSettingsAndroidChannelsItem şeması.
|
|
7154
8860
|
class UpdateAppDtoSettingsAndroidChannelsItem < Pushizo::BaseModel
|
|
7155
8861
|
# Zorunlu.
|
|
@@ -7164,6 +8870,17 @@ module Pushizo
|
|
|
7164
8870
|
field "group", :group, :string
|
|
7165
8871
|
end
|
|
7166
8872
|
|
|
8873
|
+
# UpdateAppDtoSettingsBrandKit şeması.
|
|
8874
|
+
class UpdateAppDtoSettingsBrandKit < Pushizo::BaseModel
|
|
8875
|
+
field "website_url", :website_url, :string
|
|
8876
|
+
field "name", :name, :string
|
|
8877
|
+
field "primary_color", :primary_color, :string
|
|
8878
|
+
field "accent_color", :accent_color, :string
|
|
8879
|
+
field "font", :font, :string
|
|
8880
|
+
field "logo_url", :logo_url, :string
|
|
8881
|
+
field "tone", :tone, :string
|
|
8882
|
+
end
|
|
8883
|
+
|
|
7167
8884
|
# UpdateAppDtoSettingsFrequencyCap şeması.
|
|
7168
8885
|
class UpdateAppDtoSettingsFrequencyCap < Pushizo::BaseModel
|
|
7169
8886
|
# Zorunlu.
|
|
@@ -7178,7 +8895,7 @@ module Pushizo
|
|
|
7178
8895
|
field "max", :max, :integer
|
|
7179
8896
|
# Zorunlu.
|
|
7180
8897
|
field "window", :window, "UpdateAppDtoSettingsFrequencyCapsItemWindow"
|
|
7181
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8898
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
7182
8899
|
field "channels", :channels, [:array, :string]
|
|
7183
8900
|
end
|
|
7184
8901
|
|
|
@@ -7202,9 +8919,9 @@ module Pushizo
|
|
|
7202
8919
|
field "simulation", :simulation, :boolean
|
|
7203
8920
|
field "completed_at", :completed_at, :string
|
|
7204
8921
|
field "version", :version, :integer
|
|
7205
|
-
# Değerler: "ios", "android", "huawei", "web".
|
|
8922
|
+
# Değerler: "ios", "android", "huawei", "web", "amazon", "windows", "email", "sms".
|
|
7206
8923
|
field "platforms", :platforms, [:array, :string]
|
|
7207
|
-
# Değerler: "native", "flutter", "react-native", "unity", "capacitor", "cordova", "maui".
|
|
8924
|
+
# Değerler: "native", "flutter", "react-native", "expo", "kmp", "unity", "capacitor", "cordova", "maui".
|
|
7208
8925
|
field "framework", :framework, :string
|
|
7209
8926
|
# Değerler: "code", "wordpress".
|
|
7210
8927
|
field "web_integration", :web_integration, :string
|
|
@@ -7352,6 +9069,28 @@ module Pushizo
|
|
|
7352
9069
|
field "message", :message, :string
|
|
7353
9070
|
end
|
|
7354
9071
|
|
|
9072
|
+
# UpdateAppFlagDto şeması.
|
|
9073
|
+
class UpdateAppFlagDto < Pushizo::BaseModel
|
|
9074
|
+
field "name", :name, :string
|
|
9075
|
+
field "description", :description, :string
|
|
9076
|
+
field "enabled", :enabled, :boolean
|
|
9077
|
+
# Değerler: "boolean", "string", "number", "json".
|
|
9078
|
+
field "value_type", :value_type, :string
|
|
9079
|
+
field "on_value", :on_value, :any
|
|
9080
|
+
field "off_value", :off_value, :any
|
|
9081
|
+
field "rollout_percent", :rollout_percent, :integer
|
|
9082
|
+
field "segment_id", :segment_id, :string
|
|
9083
|
+
field "rollout_schedule", :rollout_schedule, [:array, "UpdateAppFlagDtoRolloutScheduleItem"]
|
|
9084
|
+
end
|
|
9085
|
+
|
|
9086
|
+
# UpdateAppFlagDtoRolloutScheduleItem şeması.
|
|
9087
|
+
class UpdateAppFlagDtoRolloutScheduleItem < Pushizo::BaseModel
|
|
9088
|
+
# Zorunlu.
|
|
9089
|
+
field "at", :at, :string
|
|
9090
|
+
# Zorunlu.
|
|
9091
|
+
field "percent", :percent, :integer
|
|
9092
|
+
end
|
|
9093
|
+
|
|
7355
9094
|
# UpdateBudgetAlertRuleDto şeması.
|
|
7356
9095
|
class UpdateBudgetAlertRuleDto < Pushizo::BaseModel
|
|
7357
9096
|
field "name", :name, :string
|
|
@@ -7363,16 +9102,31 @@ module Pushizo
|
|
|
7363
9102
|
field "enabled", :enabled, :boolean
|
|
7364
9103
|
end
|
|
7365
9104
|
|
|
9105
|
+
# UpdateCatalogDto şeması.
|
|
9106
|
+
class UpdateCatalogDto < Pushizo::BaseModel
|
|
9107
|
+
field "description", :description, :string
|
|
9108
|
+
field "currency", :currency, :string
|
|
9109
|
+
end
|
|
9110
|
+
|
|
7366
9111
|
# UpdateCategoryDto şeması.
|
|
7367
9112
|
class UpdateCategoryDto < Pushizo::BaseModel
|
|
7368
9113
|
field "name", :name, [:map, :string]
|
|
7369
9114
|
field "description", :description, [:map, :string]
|
|
7370
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
9115
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
7371
9116
|
field "channels", :channels, [:array, :string]
|
|
7372
9117
|
field "default_opted_in", :default_opted_in, :boolean
|
|
7373
9118
|
field "position", :position, :integer
|
|
7374
9119
|
end
|
|
7375
9120
|
|
|
9121
|
+
# UpdateChannelScoreConfigDto şeması.
|
|
9122
|
+
class UpdateChannelScoreConfigDto < Pushizo::BaseModel
|
|
9123
|
+
# Zorunlu.
|
|
9124
|
+
field "enabled", :enabled, :boolean
|
|
9125
|
+
field "window_days", :window_days, :integer
|
|
9126
|
+
field "min_sends", :min_sends, :integer
|
|
9127
|
+
field "count_email_opens", :count_email_opens, :boolean
|
|
9128
|
+
end
|
|
9129
|
+
|
|
7376
9130
|
# UpdateContentTableDto şeması.
|
|
7377
9131
|
class UpdateContentTableDto < Pushizo::BaseModel
|
|
7378
9132
|
field "description", :description, :string
|
|
@@ -7392,6 +9146,34 @@ module Pushizo
|
|
|
7392
9146
|
field "enabled", :enabled, :boolean
|
|
7393
9147
|
end
|
|
7394
9148
|
|
|
9149
|
+
# UpdateDecisionAgentDto şeması.
|
|
9150
|
+
class UpdateDecisionAgentDto < Pushizo::BaseModel
|
|
9151
|
+
field "name", :name, :string
|
|
9152
|
+
# Değerler: "active", "paused".
|
|
9153
|
+
field "status", :status, :string
|
|
9154
|
+
field "reward_events", :reward_events, [:array, :string]
|
|
9155
|
+
field "reward_window_hours", :reward_window_hours, :integer
|
|
9156
|
+
field "holdout_percent", :holdout_percent, :integer
|
|
9157
|
+
end
|
|
9158
|
+
|
|
9159
|
+
# UpdateGeofenceDto şeması.
|
|
9160
|
+
class UpdateGeofenceDto < Pushizo::BaseModel
|
|
9161
|
+
field "name", :name, :string
|
|
9162
|
+
field "lat", :lat, :number
|
|
9163
|
+
field "lng", :lng, :number
|
|
9164
|
+
field "radius_m", :radius_m, :integer
|
|
9165
|
+
field "cooldown_minutes", :cooldown_minutes, :integer
|
|
9166
|
+
field "enabled", :enabled, :boolean
|
|
9167
|
+
end
|
|
9168
|
+
|
|
9169
|
+
# UpdateGlobalControlDto şeması.
|
|
9170
|
+
class UpdateGlobalControlDto < Pushizo::BaseModel
|
|
9171
|
+
# Zorunlu.
|
|
9172
|
+
field "enabled", :enabled, :boolean
|
|
9173
|
+
# Zorunlu.
|
|
9174
|
+
field "percent", :percent, :integer
|
|
9175
|
+
end
|
|
9176
|
+
|
|
7395
9177
|
# UpdateInAppDto şeması.
|
|
7396
9178
|
class UpdateInAppDto < Pushizo::BaseModel
|
|
7397
9179
|
field "name", :name, :string
|
|
@@ -7403,6 +9185,7 @@ module Pushizo
|
|
|
7403
9185
|
field "audience", :audience, "UpdateInAppDtoAudience"
|
|
7404
9186
|
field "frequency", :frequency, "UpdateInAppDtoFrequency"
|
|
7405
9187
|
field "journey_only", :journey_only, :boolean
|
|
9188
|
+
field "placement", :placement, :string
|
|
7406
9189
|
field "priority", :priority, :integer
|
|
7407
9190
|
field "start_at", :start_at, :string
|
|
7408
9191
|
field "end_at", :end_at, :string
|
|
@@ -7425,6 +9208,7 @@ module Pushizo
|
|
|
7425
9208
|
class UpdateInAppDtoAudience < Pushizo::BaseModel
|
|
7426
9209
|
field "included_segments", :included_segments, [:array, :string]
|
|
7427
9210
|
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
9211
|
+
field "global_control_exempt", :global_control_exempt, :boolean
|
|
7428
9212
|
end
|
|
7429
9213
|
|
|
7430
9214
|
# UpdateInAppDtoDisplay şeması.
|
|
@@ -7599,10 +9383,85 @@ module Pushizo
|
|
|
7599
9383
|
field "y", :y, :number
|
|
7600
9384
|
end
|
|
7601
9385
|
|
|
9386
|
+
# UpdatePredictionDto şeması.
|
|
9387
|
+
class UpdatePredictionDto < Pushizo::BaseModel
|
|
9388
|
+
field "name", :name, :string
|
|
9389
|
+
field "enabled", :enabled, :boolean
|
|
9390
|
+
field "event_names", :event_names, [:array, :string]
|
|
9391
|
+
field "horizon_days", :horizon_days, :integer
|
|
9392
|
+
end
|
|
9393
|
+
|
|
9394
|
+
# UpdatePromoCodeListDto şeması.
|
|
9395
|
+
class UpdatePromoCodeListDto < Pushizo::BaseModel
|
|
9396
|
+
field "description", :description, :string
|
|
9397
|
+
field "expires_at", :expires_at, :string
|
|
9398
|
+
end
|
|
9399
|
+
|
|
9400
|
+
# UpdateRecommendationConfigDto şeması.
|
|
9401
|
+
class UpdateRecommendationConfigDto < Pushizo::BaseModel
|
|
9402
|
+
# Zorunlu.
|
|
9403
|
+
field "enabled", :enabled, :boolean
|
|
9404
|
+
field "view_events", :view_events, [:array, :string]
|
|
9405
|
+
field "purchase_events", :purchase_events, [:array, :string]
|
|
9406
|
+
field "item_property", :item_property, :string
|
|
9407
|
+
field "window_days", :window_days, :integer
|
|
9408
|
+
end
|
|
9409
|
+
|
|
9410
|
+
# UpdateReverseEtlDto şeması.
|
|
9411
|
+
class UpdateReverseEtlDto < Pushizo::BaseModel
|
|
9412
|
+
field "name", :name, :string
|
|
9413
|
+
# Değerler: "every_5_minutes", "hourly", "daily".
|
|
9414
|
+
field "schedule", :schedule, :string
|
|
9415
|
+
field "enabled", :enabled, :boolean
|
|
9416
|
+
field "config", :config, [:map, :any]
|
|
9417
|
+
field "credentials", :credentials, [:map, :any]
|
|
9418
|
+
end
|
|
9419
|
+
|
|
9420
|
+
# UpdateRfmConfigDto şeması.
|
|
9421
|
+
class UpdateRfmConfigDto < Pushizo::BaseModel
|
|
9422
|
+
# Zorunlu.
|
|
9423
|
+
field "enabled", :enabled, :boolean
|
|
9424
|
+
# Zorunlu.
|
|
9425
|
+
field "event_names", :event_names, [:array, :string]
|
|
9426
|
+
field "value_property", :value_property, :string
|
|
9427
|
+
field "use_monetary", :use_monetary, :boolean
|
|
9428
|
+
field "window_days", :window_days, :integer
|
|
9429
|
+
end
|
|
9430
|
+
|
|
9431
|
+
# UpdateSavedReportDto şeması.
|
|
9432
|
+
class UpdateSavedReportDto < Pushizo::BaseModel
|
|
9433
|
+
field "name", :name, :string
|
|
9434
|
+
field "definition", :definition, "UpdateSavedReportDtoDefinition"
|
|
9435
|
+
end
|
|
9436
|
+
|
|
9437
|
+
# UpdateSavedReportDtoDefinition şeması.
|
|
9438
|
+
class UpdateSavedReportDtoDefinition < Pushizo::BaseModel
|
|
9439
|
+
# Zorunlu. Değerler: "deliveries", "events", "conversions".
|
|
9440
|
+
field "source", :source, :string
|
|
9441
|
+
# Zorunlu. Değerler: "sent", "delivered", "failed", "opened", "clicked", "delivery_rate", "open_rate", "click_rate", "failure_rate", "count", "unique_users", "value_sum", "value_avg", "conversions", "revenue".
|
|
9442
|
+
field "metrics", :metrics, [:array, :string]
|
|
9443
|
+
# Değerler: "day", "week", "month", "channel", "provider", "campaign", "status", "name", "source", "event_name", "kind".
|
|
9444
|
+
field "dimensions", :dimensions, [:array, :string]
|
|
9445
|
+
field "filters", :filters, [:map, [:array, :string]]
|
|
9446
|
+
field "sort", :sort, "UpdateSavedReportDtoDefinitionSort"
|
|
9447
|
+
field "limit", :limit, :integer
|
|
9448
|
+
field "days", :days, :integer
|
|
9449
|
+
field "from", :from, :string
|
|
9450
|
+
field "to", :to, :string
|
|
9451
|
+
end
|
|
9452
|
+
|
|
9453
|
+
# UpdateSavedReportDtoDefinitionSort şeması.
|
|
9454
|
+
class UpdateSavedReportDtoDefinitionSort < Pushizo::BaseModel
|
|
9455
|
+
# Zorunlu.
|
|
9456
|
+
field "by", :by, :string
|
|
9457
|
+
# Değerler: "asc", "desc".
|
|
9458
|
+
field "direction", :direction, :string
|
|
9459
|
+
end
|
|
9460
|
+
|
|
7602
9461
|
# UpdateTemplateDto şeması.
|
|
7603
9462
|
class UpdateTemplateDto < Pushizo::BaseModel
|
|
7604
9463
|
field "name", :name, :string
|
|
7605
|
-
# Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
9464
|
+
# Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
7606
9465
|
field "channel", :channel, :string
|
|
7607
9466
|
field "tags", :tags, [:array, :string]
|
|
7608
9467
|
field "content", :content, "UpdateTemplateDtoContent"
|
|
@@ -7648,6 +9507,7 @@ module Pushizo
|
|
|
7648
9507
|
field "disable_sms_link_shortening", :disable_sms_link_shortening, :boolean
|
|
7649
9508
|
field "add_to_inbox", :add_to_inbox, :boolean
|
|
7650
9509
|
field "inbox_ttl", :inbox_ttl, :integer
|
|
9510
|
+
field "content_card", :content_card, "UpdateTemplateDtoContentContentCard"
|
|
7651
9511
|
field "thread_id", :thread_id, :string
|
|
7652
9512
|
field "ios_relevance_score", :ios_relevance_score, :number
|
|
7653
9513
|
field "target_content_identifier", :target_content_identifier, :string
|
|
@@ -7667,6 +9527,17 @@ module Pushizo
|
|
|
7667
9527
|
field "rcs_content_sid", :rcs_content_sid, :string
|
|
7668
9528
|
field "rcs_content_variables", :rcs_content_variables, [:map, :string]
|
|
7669
9529
|
field "rcs_fallback_text", :rcs_fallback_text, [:map, :string]
|
|
9530
|
+
field "ios_carousel", :ios_carousel, [:array, "UpdateTemplateDtoContentIosCarouselItem"]
|
|
9531
|
+
field "android_live_update", :android_live_update, "UpdateTemplateDtoContentAndroidLiveUpdate"
|
|
9532
|
+
field "voip", :voip, :boolean
|
|
9533
|
+
field "app_clip", :app_clip, :boolean
|
|
9534
|
+
end
|
|
9535
|
+
|
|
9536
|
+
# UpdateTemplateDtoContentAndroidLiveUpdate şeması.
|
|
9537
|
+
class UpdateTemplateDtoContentAndroidLiveUpdate < Pushizo::BaseModel
|
|
9538
|
+
# Zorunlu.
|
|
9539
|
+
field "progress", :progress, :integer
|
|
9540
|
+
field "ongoing", :ongoing, :boolean
|
|
7670
9541
|
end
|
|
7671
9542
|
|
|
7672
9543
|
# UpdateTemplateDtoContentButtonsItem şeması.
|
|
@@ -7679,6 +9550,22 @@ module Pushizo
|
|
|
7679
9550
|
field "url", :url, :string
|
|
7680
9551
|
end
|
|
7681
9552
|
|
|
9553
|
+
# UpdateTemplateDtoContentContentCard şeması.
|
|
9554
|
+
class UpdateTemplateDtoContentContentCard < Pushizo::BaseModel
|
|
9555
|
+
# Zorunlu. Değerler: "classic", "captioned_image", "image_only".
|
|
9556
|
+
field "type", :type, :string
|
|
9557
|
+
field "pinned", :pinned, :boolean
|
|
9558
|
+
field "priority", :priority, :integer
|
|
9559
|
+
field "button_text", :button_text, [:map, :string]
|
|
9560
|
+
end
|
|
9561
|
+
|
|
9562
|
+
# UpdateTemplateDtoContentIosCarouselItem şeması.
|
|
9563
|
+
class UpdateTemplateDtoContentIosCarouselItem < Pushizo::BaseModel
|
|
9564
|
+
# Zorunlu.
|
|
9565
|
+
field "url", :url, :string
|
|
9566
|
+
field "title", :title, :string
|
|
9567
|
+
end
|
|
9568
|
+
|
|
7682
9569
|
# UpdateTemplateDtoContentRcsCard şeması.
|
|
7683
9570
|
class UpdateTemplateDtoContentRcsCard < Pushizo::BaseModel
|
|
7684
9571
|
field "title", :title, [:map, :string]
|
|
@@ -7772,12 +9659,84 @@ module Pushizo
|
|
|
7772
9659
|
field "value", :value, :string
|
|
7773
9660
|
end
|
|
7774
9661
|
|
|
9662
|
+
# UpdateWalletConfigDto şeması.
|
|
9663
|
+
class UpdateWalletConfigDto < Pushizo::BaseModel
|
|
9664
|
+
field "apple", :apple, "UpdateWalletConfigDtoApple"
|
|
9665
|
+
field "google", :google, "UpdateWalletConfigDtoGoogle"
|
|
9666
|
+
end
|
|
9667
|
+
|
|
9668
|
+
# UpdateWalletConfigDtoApple şeması.
|
|
9669
|
+
class UpdateWalletConfigDtoApple < Pushizo::BaseModel
|
|
9670
|
+
# Zorunlu.
|
|
9671
|
+
field "pass_type_id", :pass_type_id, :string
|
|
9672
|
+
# Zorunlu.
|
|
9673
|
+
field "team_id", :team_id, :string
|
|
9674
|
+
# Zorunlu.
|
|
9675
|
+
field "certificate_pem", :certificate_pem, :string
|
|
9676
|
+
# Zorunlu.
|
|
9677
|
+
field "private_key_pem", :private_key_pem, :string
|
|
9678
|
+
field "key_passphrase", :key_passphrase, :string
|
|
9679
|
+
# Zorunlu.
|
|
9680
|
+
field "wwdr_pem", :wwdr_pem, :string
|
|
9681
|
+
end
|
|
9682
|
+
|
|
9683
|
+
# UpdateWalletConfigDtoGoogle şeması.
|
|
9684
|
+
class UpdateWalletConfigDtoGoogle < Pushizo::BaseModel
|
|
9685
|
+
# Zorunlu.
|
|
9686
|
+
field "issuer_id", :issuer_id, :string
|
|
9687
|
+
# Zorunlu.
|
|
9688
|
+
field "service_account_json", :service_account_json, :string
|
|
9689
|
+
end
|
|
9690
|
+
|
|
9691
|
+
# UpdateWalletPassDto şeması.
|
|
9692
|
+
class UpdateWalletPassDto < Pushizo::BaseModel
|
|
9693
|
+
field "barcode_value", :barcode_value, :string
|
|
9694
|
+
field "values", :values, [:map, :string]
|
|
9695
|
+
end
|
|
9696
|
+
|
|
9697
|
+
# UpdateWalletTemplateDto şeması.
|
|
9698
|
+
class UpdateWalletTemplateDto < Pushizo::BaseModel
|
|
9699
|
+
field "name", :name, :string
|
|
9700
|
+
# Değerler: "active", "archived".
|
|
9701
|
+
field "status", :status, :string
|
|
9702
|
+
field "design", :design, "UpdateWalletTemplateDtoDesign"
|
|
9703
|
+
field "images", :images, [:map, :string]
|
|
9704
|
+
end
|
|
9705
|
+
|
|
9706
|
+
# UpdateWalletTemplateDtoDesign şeması.
|
|
9707
|
+
class UpdateWalletTemplateDtoDesign < Pushizo::BaseModel
|
|
9708
|
+
# Zorunlu.
|
|
9709
|
+
field "title", :title, :string
|
|
9710
|
+
# Zorunlu.
|
|
9711
|
+
field "description", :description, :string
|
|
9712
|
+
# Zorunlu.
|
|
9713
|
+
field "organization", :organization, :string
|
|
9714
|
+
field "background_color", :background_color, :string
|
|
9715
|
+
field "foreground_color", :foreground_color, :string
|
|
9716
|
+
field "label_color", :label_color, :string
|
|
9717
|
+
# Değerler: "qr", "pdf417", "aztec", "code128".
|
|
9718
|
+
field "barcode", :barcode, :string
|
|
9719
|
+
field "fields", :fields_value, [:array, "UpdateWalletTemplateDtoDesignFieldsItem"]
|
|
9720
|
+
field "expires_at", :expires_at, :string
|
|
9721
|
+
field "relevant_at", :relevant_at, :string
|
|
9722
|
+
end
|
|
9723
|
+
|
|
9724
|
+
# UpdateWalletTemplateDtoDesignFieldsItem şeması.
|
|
9725
|
+
class UpdateWalletTemplateDtoDesignFieldsItem < Pushizo::BaseModel
|
|
9726
|
+
# Zorunlu.
|
|
9727
|
+
field "key", :key, :string
|
|
9728
|
+
field "label", :label, :string
|
|
9729
|
+
field "value", :value, :string
|
|
9730
|
+
# Değerler: "header", "primary", "secondary", "auxiliary", "back".
|
|
9731
|
+
field "section", :section, :string
|
|
9732
|
+
end
|
|
9733
|
+
|
|
7775
9734
|
# UpdateWarehouseExportDto şeması.
|
|
7776
9735
|
class UpdateWarehouseExportDto < Pushizo::BaseModel
|
|
7777
9736
|
field "name", :name, :string
|
|
7778
9737
|
# Değerler: "deliveries", "delivery_events", "events", "conversions", "users", "subscriptions".
|
|
7779
9738
|
field "tables", :tables, [:array, :string]
|
|
7780
|
-
# Değerler: "hourly", "daily".
|
|
9739
|
+
# Değerler: "every_15_minutes", "hourly", "daily".
|
|
7781
9740
|
field "schedule", :schedule, :string
|
|
7782
9741
|
field "enabled", :enabled, :boolean
|
|
7783
9742
|
field "config", :config, [:map, :any]
|
|
@@ -7955,6 +9914,97 @@ module Pushizo
|
|
|
7955
9914
|
field "value", :value, :any
|
|
7956
9915
|
end
|
|
7957
9916
|
|
|
9917
|
+
# UpdateWebPersonalizationDto şeması.
|
|
9918
|
+
class UpdateWebPersonalizationDto < Pushizo::BaseModel
|
|
9919
|
+
field "name", :name, :string
|
|
9920
|
+
field "changes", :changes, [:array, :any]
|
|
9921
|
+
field "variants", :variants, [:array, "UpdateWebPersonalizationDtoVariantsItem"]
|
|
9922
|
+
field "conditions", :conditions, "UpdateWebPersonalizationDtoConditions"
|
|
9923
|
+
field "targeting", :targeting, "UpdateWebPersonalizationDtoTargeting"
|
|
9924
|
+
field "goal", :goal, :any
|
|
9925
|
+
field "priority", :priority, :integer
|
|
9926
|
+
field "start_at", :start_at, :string
|
|
9927
|
+
field "end_at", :end_at, :string
|
|
9928
|
+
end
|
|
9929
|
+
|
|
9930
|
+
# UpdateWebPersonalizationDtoConditions şeması.
|
|
9931
|
+
class UpdateWebPersonalizationDtoConditions < Pushizo::BaseModel
|
|
9932
|
+
field "url_rules", :url_rules, [:array, "UpdateWebPersonalizationDtoConditionsUrlRulesItem"]
|
|
9933
|
+
field "utm_rules", :utm_rules, [:array, "UpdateWebPersonalizationDtoConditionsUtmRulesItem"]
|
|
9934
|
+
field "visits", :visits, "UpdateWebPersonalizationDtoConditionsVisits"
|
|
9935
|
+
end
|
|
9936
|
+
|
|
9937
|
+
# UpdateWebPersonalizationDtoConditionsUrlRulesItem şeması.
|
|
9938
|
+
class UpdateWebPersonalizationDtoConditionsUrlRulesItem < Pushizo::BaseModel
|
|
9939
|
+
# Zorunlu. Değerler: "equals", "contains", "starts_with", "not_contains", "matches".
|
|
9940
|
+
field "op", :op, :string
|
|
9941
|
+
# Zorunlu.
|
|
9942
|
+
field "value", :value, :string
|
|
9943
|
+
end
|
|
9944
|
+
|
|
9945
|
+
# UpdateWebPersonalizationDtoConditionsUtmRulesItem şeması.
|
|
9946
|
+
class UpdateWebPersonalizationDtoConditionsUtmRulesItem < Pushizo::BaseModel
|
|
9947
|
+
# Zorunlu. Değerler: "utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content".
|
|
9948
|
+
field "param", :param, :string
|
|
9949
|
+
# Zorunlu. Değerler: "equals", "contains", "exists".
|
|
9950
|
+
field "op", :op, :string
|
|
9951
|
+
field "value", :value, :string
|
|
9952
|
+
end
|
|
9953
|
+
|
|
9954
|
+
# UpdateWebPersonalizationDtoConditionsVisits şeması.
|
|
9955
|
+
class UpdateWebPersonalizationDtoConditionsVisits < Pushizo::BaseModel
|
|
9956
|
+
# Zorunlu. Değerler: "gte", "lte", "eq".
|
|
9957
|
+
field "op", :op, :string
|
|
9958
|
+
# Zorunlu.
|
|
9959
|
+
field "value", :value, :integer
|
|
9960
|
+
end
|
|
9961
|
+
|
|
9962
|
+
# UpdateWebPersonalizationDtoTargeting şeması.
|
|
9963
|
+
class UpdateWebPersonalizationDtoTargeting < Pushizo::BaseModel
|
|
9964
|
+
field "included_segments", :included_segments, [:array, :string]
|
|
9965
|
+
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
9966
|
+
# Değerler: "all", "new", "returning".
|
|
9967
|
+
field "visitor", :visitor, :string
|
|
9968
|
+
# Değerler: "desktop", "mobile", "tablet".
|
|
9969
|
+
field "devices", :devices, [:array, :string]
|
|
9970
|
+
end
|
|
9971
|
+
|
|
9972
|
+
# UpdateWebPersonalizationDtoVariantsItem şeması.
|
|
9973
|
+
class UpdateWebPersonalizationDtoVariantsItem < Pushizo::BaseModel
|
|
9974
|
+
# Zorunlu.
|
|
9975
|
+
field "id", :id, :string
|
|
9976
|
+
# Zorunlu.
|
|
9977
|
+
field "name", :name, :string
|
|
9978
|
+
# Zorunlu.
|
|
9979
|
+
field "weight_percent", :weight_percent, :integer
|
|
9980
|
+
# Zorunlu.
|
|
9981
|
+
field "changes", :changes, [:array, :any]
|
|
9982
|
+
end
|
|
9983
|
+
|
|
9984
|
+
# UpsertCatalogItemsDto şeması.
|
|
9985
|
+
class UpsertCatalogItemsDto < Pushizo::BaseModel
|
|
9986
|
+
# Zorunlu.
|
|
9987
|
+
field "items", :items, [:array, "UpsertCatalogItemsDtoItemsItem"]
|
|
9988
|
+
end
|
|
9989
|
+
|
|
9990
|
+
# UpsertCatalogItemsDtoItemsItem şeması.
|
|
9991
|
+
class UpsertCatalogItemsDtoItemsItem < Pushizo::BaseModel
|
|
9992
|
+
# Zorunlu.
|
|
9993
|
+
field "id", :id, :string
|
|
9994
|
+
# Zorunlu.
|
|
9995
|
+
field "title", :title, :string
|
|
9996
|
+
field "description", :description, :string
|
|
9997
|
+
field "image_url", :image_url, :string
|
|
9998
|
+
field "url", :url, :string
|
|
9999
|
+
field "price", :price, :number
|
|
10000
|
+
field "sale_price", :sale_price, :number
|
|
10001
|
+
field "currency", :currency, :string
|
|
10002
|
+
field "category", :category, :string
|
|
10003
|
+
field "brand", :brand, :string
|
|
10004
|
+
field "in_stock", :in_stock, :boolean
|
|
10005
|
+
field "attributes", :attributes_value, [:map, :string]
|
|
10006
|
+
end
|
|
10007
|
+
|
|
7958
10008
|
# UpsertUserDto şeması.
|
|
7959
10009
|
class UpsertUserDto < Pushizo::BaseModel
|
|
7960
10010
|
field "identity", :identity, :any
|
|
@@ -8094,67 +10144,223 @@ module Pushizo
|
|
|
8094
10144
|
# Zorunlu.
|
|
8095
10145
|
field "merged_into", :merged_into, :string
|
|
8096
10146
|
# Zorunlu.
|
|
10147
|
+
field "last_ip", :last_ip, :string
|
|
10148
|
+
# Zorunlu.
|
|
10149
|
+
field "last_ip_at", :last_ip_at, :string
|
|
10150
|
+
# Zorunlu. Değerler: "positive", "negative", "neutral".
|
|
10151
|
+
field "last_sentiment", :last_sentiment, :string
|
|
10152
|
+
# Zorunlu.
|
|
10153
|
+
field "last_sentiment_at", :last_sentiment_at, :string
|
|
10154
|
+
# Zorunlu.
|
|
8097
10155
|
field "created_at", :created_at, :string
|
|
8098
10156
|
# Zorunlu.
|
|
8099
10157
|
field "updated_at", :updated_at, :string
|
|
8100
10158
|
# Zorunlu.
|
|
8101
10159
|
field "subscription_count", :subscription_count, :integer
|
|
8102
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
10160
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8103
10161
|
field "channels", :channels, [:array, :string]
|
|
8104
10162
|
end
|
|
8105
10163
|
|
|
8106
10164
|
# UserDetail şeması.
|
|
8107
10165
|
class UserDetail < Pushizo::BaseModel
|
|
8108
10166
|
# Zorunlu.
|
|
8109
|
-
field "id", :id, :string
|
|
10167
|
+
field "id", :id, :string
|
|
10168
|
+
# Zorunlu.
|
|
10169
|
+
field "app_id", :app_id, :string
|
|
10170
|
+
# Zorunlu.
|
|
10171
|
+
field "external_id", :external_id, :string
|
|
10172
|
+
# Zorunlu.
|
|
10173
|
+
field "properties", :properties, [:map, :any]
|
|
10174
|
+
# Zorunlu.
|
|
10175
|
+
field "tags", :tags, [:map, :string]
|
|
10176
|
+
# Zorunlu.
|
|
10177
|
+
field "first_seen_at", :first_seen_at, :string
|
|
10178
|
+
# Zorunlu.
|
|
10179
|
+
field "last_active_at", :last_active_at, :string
|
|
10180
|
+
# Zorunlu.
|
|
10181
|
+
field "session_count", :session_count, :integer
|
|
10182
|
+
# Zorunlu.
|
|
10183
|
+
field "usage_seconds", :usage_seconds, :integer
|
|
10184
|
+
# Zorunlu.
|
|
10185
|
+
field "merged_into", :merged_into, :string
|
|
10186
|
+
# Zorunlu.
|
|
10187
|
+
field "last_ip", :last_ip, :string
|
|
10188
|
+
# Zorunlu.
|
|
10189
|
+
field "last_ip_at", :last_ip_at, :string
|
|
10190
|
+
# Zorunlu. Değerler: "positive", "negative", "neutral".
|
|
10191
|
+
field "last_sentiment", :last_sentiment, :string
|
|
10192
|
+
# Zorunlu.
|
|
10193
|
+
field "last_sentiment_at", :last_sentiment_at, :string
|
|
10194
|
+
# Zorunlu.
|
|
10195
|
+
field "created_at", :created_at, :string
|
|
10196
|
+
# Zorunlu.
|
|
10197
|
+
field "updated_at", :updated_at, :string
|
|
10198
|
+
# Zorunlu.
|
|
10199
|
+
field "subscription_count", :subscription_count, :integer
|
|
10200
|
+
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "adm_push", "wns_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
10201
|
+
field "channels", :channels, [:array, :string]
|
|
10202
|
+
# Zorunlu.
|
|
10203
|
+
field "aliases", :aliases, [:array, "UserDetailAliasesItem"]
|
|
10204
|
+
# Zorunlu.
|
|
10205
|
+
field "subscriptions", :subscriptions, [:array, "Subscription"]
|
|
10206
|
+
end
|
|
10207
|
+
|
|
10208
|
+
# UserDetailAliasesItem şeması.
|
|
10209
|
+
class UserDetailAliasesItem < Pushizo::BaseModel
|
|
10210
|
+
# Zorunlu.
|
|
10211
|
+
field "label", :label, :string
|
|
10212
|
+
# Zorunlu.
|
|
10213
|
+
field "value", :value, :string
|
|
10214
|
+
end
|
|
10215
|
+
|
|
10216
|
+
# UserExport şeması.
|
|
10217
|
+
class UserExport < Pushizo::BaseModel
|
|
10218
|
+
# Zorunlu.
|
|
10219
|
+
field "exported_at", :exported_at, :string
|
|
10220
|
+
# Zorunlu.
|
|
10221
|
+
field "user", :user, "UserDetail"
|
|
10222
|
+
# Zorunlu.
|
|
10223
|
+
field "events", :events, [:array, "UserExportEventsItem"]
|
|
10224
|
+
# Zorunlu.
|
|
10225
|
+
field "derived", :derived, "UserExportDerived"
|
|
10226
|
+
end
|
|
10227
|
+
|
|
10228
|
+
# UserExportDerived şeması.
|
|
10229
|
+
class UserExportDerived < Pushizo::BaseModel
|
|
10230
|
+
# Zorunlu.
|
|
10231
|
+
field "wallet_passes", :wallet_passes, [:array, "UserExportDerivedWalletPassesItem"]
|
|
10232
|
+
# Zorunlu.
|
|
10233
|
+
field "rfm", :rfm, "UserExportDerivedRfm"
|
|
10234
|
+
# Zorunlu.
|
|
10235
|
+
field "predictions", :predictions, [:array, "UserExportDerivedPredictionsItem"]
|
|
10236
|
+
# Zorunlu.
|
|
10237
|
+
field "channel_scores", :channel_scores, [:array, "UserExportDerivedChannelScoresItem"]
|
|
10238
|
+
# Zorunlu.
|
|
10239
|
+
field "decisions", :decisions, [:array, "UserExportDerivedDecisionsItem"]
|
|
10240
|
+
# Zorunlu.
|
|
10241
|
+
field "recommendations", :recommendations, [:array, "UserExportDerivedRecommendationsItem"]
|
|
10242
|
+
# Zorunlu.
|
|
10243
|
+
field "affinities", :affinities, [:array, "UserExportDerivedAffinitiesItem"]
|
|
10244
|
+
# Zorunlu.
|
|
10245
|
+
field "frequency_cap", :frequency_cap, "UserExportDerivedFrequencyCap"
|
|
10246
|
+
end
|
|
10247
|
+
|
|
10248
|
+
# UserExportDerivedAffinitiesItem şeması.
|
|
10249
|
+
class UserExportDerivedAffinitiesItem < Pushizo::BaseModel
|
|
10250
|
+
# Zorunlu.
|
|
10251
|
+
field "attribute", :attribute, :string
|
|
10252
|
+
# Zorunlu.
|
|
10253
|
+
field "value", :value, :string
|
|
10254
|
+
# Zorunlu.
|
|
10255
|
+
field "score", :score, :number
|
|
10256
|
+
# Zorunlu.
|
|
10257
|
+
field "rank", :rank, :number
|
|
10258
|
+
# Zorunlu.
|
|
10259
|
+
field "computed_at", :computed_at, :string
|
|
10260
|
+
end
|
|
10261
|
+
|
|
10262
|
+
# UserExportDerivedChannelScoresItem şeması.
|
|
10263
|
+
class UserExportDerivedChannelScoresItem < Pushizo::BaseModel
|
|
10264
|
+
# Zorunlu.
|
|
10265
|
+
field "channel", :channel, :string
|
|
10266
|
+
# Zorunlu.
|
|
10267
|
+
field "sends", :sends, :number
|
|
10268
|
+
# Zorunlu.
|
|
10269
|
+
field "engaged", :engaged, :number
|
|
10270
|
+
# Zorunlu.
|
|
10271
|
+
field "score", :score, :number
|
|
10272
|
+
# Zorunlu.
|
|
10273
|
+
field "is_best", :is_best, :boolean
|
|
10274
|
+
# Zorunlu.
|
|
10275
|
+
field "computed_at", :computed_at, :string
|
|
10276
|
+
end
|
|
10277
|
+
|
|
10278
|
+
# UserExportDerivedDecisionsItem şeması.
|
|
10279
|
+
class UserExportDerivedDecisionsItem < Pushizo::BaseModel
|
|
10280
|
+
# Zorunlu.
|
|
10281
|
+
field "agent", :agent, :string
|
|
10282
|
+
# Zorunlu.
|
|
10283
|
+
field "arm_id", :arm_id, :string
|
|
10284
|
+
# Zorunlu.
|
|
10285
|
+
field "context", :context, :string
|
|
10286
|
+
# Zorunlu.
|
|
10287
|
+
field "assigned_at", :assigned_at, :string
|
|
10288
|
+
# Zorunlu.
|
|
10289
|
+
field "rewarded_at", :rewarded_at, :string
|
|
10290
|
+
end
|
|
10291
|
+
|
|
10292
|
+
# UserExportDerivedFrequencyCap şeması.
|
|
10293
|
+
class UserExportDerivedFrequencyCap < Pushizo::BaseModel
|
|
10294
|
+
# Zorunlu.
|
|
10295
|
+
field "weekly_cap", :weekly_cap, :number
|
|
10296
|
+
# Zorunlu.
|
|
10297
|
+
field "engagement", :engagement, :number
|
|
10298
|
+
# Zorunlu.
|
|
10299
|
+
field "computed_at", :computed_at, :string
|
|
10300
|
+
end
|
|
10301
|
+
|
|
10302
|
+
# UserExportDerivedPredictionsItem şeması.
|
|
10303
|
+
class UserExportDerivedPredictionsItem < Pushizo::BaseModel
|
|
10304
|
+
# Zorunlu.
|
|
10305
|
+
field "model", :model, :string
|
|
10306
|
+
# Zorunlu.
|
|
10307
|
+
field "score", :score, :number
|
|
10308
|
+
# Zorunlu.
|
|
10309
|
+
field "computed_at", :computed_at, :string
|
|
10310
|
+
end
|
|
10311
|
+
|
|
10312
|
+
# UserExportDerivedRecommendationsItem şeması.
|
|
10313
|
+
class UserExportDerivedRecommendationsItem < Pushizo::BaseModel
|
|
8110
10314
|
# Zorunlu.
|
|
8111
|
-
field "
|
|
10315
|
+
field "catalog_id", :catalog_id, :string
|
|
8112
10316
|
# Zorunlu.
|
|
8113
|
-
field "
|
|
10317
|
+
field "personalized", :personalized, [:array, :string]
|
|
8114
10318
|
# Zorunlu.
|
|
8115
|
-
field "
|
|
10319
|
+
field "recent", :recent, [:array, :string]
|
|
8116
10320
|
# Zorunlu.
|
|
8117
|
-
field "
|
|
10321
|
+
field "purchased", :purchased, [:array, :string]
|
|
8118
10322
|
# Zorunlu.
|
|
8119
|
-
field "
|
|
10323
|
+
field "computed_at", :computed_at, :string
|
|
10324
|
+
end
|
|
10325
|
+
|
|
10326
|
+
# UserExportDerivedRfm şeması.
|
|
10327
|
+
class UserExportDerivedRfm < Pushizo::BaseModel
|
|
8120
10328
|
# Zorunlu.
|
|
8121
|
-
field "
|
|
10329
|
+
field "segment", :segment, :string
|
|
8122
10330
|
# Zorunlu.
|
|
8123
|
-
field "
|
|
10331
|
+
field "segment_since", :segment_since, :string
|
|
8124
10332
|
# Zorunlu.
|
|
8125
|
-
field "
|
|
10333
|
+
field "r", :r, :number
|
|
8126
10334
|
# Zorunlu.
|
|
8127
|
-
field "
|
|
10335
|
+
field "f", :f, :number
|
|
8128
10336
|
# Zorunlu.
|
|
8129
|
-
field "
|
|
10337
|
+
field "m", :m, :number
|
|
8130
10338
|
# Zorunlu.
|
|
8131
|
-
field "
|
|
10339
|
+
field "frequency", :frequency, :number
|
|
8132
10340
|
# Zorunlu.
|
|
8133
|
-
field "
|
|
8134
|
-
# Zorunlu. Değerler: "ios_push", "android_push", "hms_push", "web_push", "email", "sms", "whatsapp", "rcs".
|
|
8135
|
-
field "channels", :channels, [:array, :string]
|
|
10341
|
+
field "monetary", :monetary, :number
|
|
8136
10342
|
# Zorunlu.
|
|
8137
|
-
field "
|
|
10343
|
+
field "last_event_at", :last_event_at, :string
|
|
8138
10344
|
# Zorunlu.
|
|
8139
|
-
field "
|
|
10345
|
+
field "computed_at", :computed_at, :string
|
|
8140
10346
|
end
|
|
8141
10347
|
|
|
8142
|
-
#
|
|
8143
|
-
class
|
|
10348
|
+
# UserExportDerivedWalletPassesItem şeması.
|
|
10349
|
+
class UserExportDerivedWalletPassesItem < Pushizo::BaseModel
|
|
8144
10350
|
# Zorunlu.
|
|
8145
|
-
field "
|
|
10351
|
+
field "id", :id, :string
|
|
8146
10352
|
# Zorunlu.
|
|
8147
|
-
field "
|
|
8148
|
-
end
|
|
8149
|
-
|
|
8150
|
-
# UserExport şeması.
|
|
8151
|
-
class UserExport < Pushizo::BaseModel
|
|
10353
|
+
field "template_id", :template_id, :string
|
|
8152
10354
|
# Zorunlu.
|
|
8153
|
-
field "
|
|
10355
|
+
field "status", :status, :string
|
|
8154
10356
|
# Zorunlu.
|
|
8155
|
-
field "
|
|
10357
|
+
field "barcode_value", :barcode_value, :string
|
|
8156
10358
|
# Zorunlu.
|
|
8157
|
-
field "
|
|
10359
|
+
field "values", :values, [:map, :string]
|
|
10360
|
+
# Zorunlu.
|
|
10361
|
+
field "created_at", :created_at, :string
|
|
10362
|
+
# Zorunlu.
|
|
10363
|
+
field "updated_at", :updated_at, :string
|
|
8158
10364
|
end
|
|
8159
10365
|
|
|
8160
10366
|
# UserExportEventsItem şeması.
|
|
@@ -8294,6 +10500,138 @@ module Pushizo
|
|
|
8294
10500
|
field "address", :address, :string
|
|
8295
10501
|
end
|
|
8296
10502
|
|
|
10503
|
+
# WalletConfig şeması.
|
|
10504
|
+
class WalletConfig < Pushizo::BaseModel
|
|
10505
|
+
# Zorunlu.
|
|
10506
|
+
field "apple", :apple, "WalletConfigApple"
|
|
10507
|
+
# Zorunlu.
|
|
10508
|
+
field "google", :google, "WalletConfigGoogle"
|
|
10509
|
+
end
|
|
10510
|
+
|
|
10511
|
+
# WalletConfigApple şeması.
|
|
10512
|
+
class WalletConfigApple < Pushizo::BaseModel
|
|
10513
|
+
# Zorunlu.
|
|
10514
|
+
field "configured", :configured, :boolean
|
|
10515
|
+
# Zorunlu.
|
|
10516
|
+
field "pass_type_id", :pass_type_id, :string
|
|
10517
|
+
# Zorunlu.
|
|
10518
|
+
field "team_id", :team_id, :string
|
|
10519
|
+
# Zorunlu.
|
|
10520
|
+
field "certificate_expires_at", :certificate_expires_at, :string
|
|
10521
|
+
end
|
|
10522
|
+
|
|
10523
|
+
# WalletConfigGoogle şeması.
|
|
10524
|
+
class WalletConfigGoogle < Pushizo::BaseModel
|
|
10525
|
+
# Zorunlu.
|
|
10526
|
+
field "configured", :configured, :boolean
|
|
10527
|
+
# Zorunlu.
|
|
10528
|
+
field "issuer_id", :issuer_id, :string
|
|
10529
|
+
end
|
|
10530
|
+
|
|
10531
|
+
# WalletPass şeması.
|
|
10532
|
+
class WalletPass < Pushizo::BaseModel
|
|
10533
|
+
# Zorunlu.
|
|
10534
|
+
field "id", :id, :string
|
|
10535
|
+
# Zorunlu.
|
|
10536
|
+
field "template_id", :template_id, :string
|
|
10537
|
+
# Zorunlu.
|
|
10538
|
+
field "user_id", :user_id, :string
|
|
10539
|
+
# Zorunlu.
|
|
10540
|
+
field "external_id", :external_id, :string
|
|
10541
|
+
# Zorunlu.
|
|
10542
|
+
field "barcode_value", :barcode_value, :string
|
|
10543
|
+
# Zorunlu.
|
|
10544
|
+
field "values", :values, [:map, :string]
|
|
10545
|
+
# Zorunlu. Değerler: "active", "voided".
|
|
10546
|
+
field "status", :status, :string
|
|
10547
|
+
# Zorunlu.
|
|
10548
|
+
field "url", :url, :string
|
|
10549
|
+
# Zorunlu.
|
|
10550
|
+
field "apple_url", :apple_url, :string
|
|
10551
|
+
# Zorunlu.
|
|
10552
|
+
field "google_url", :google_url, :string
|
|
10553
|
+
# Zorunlu.
|
|
10554
|
+
field "apple_devices", :apple_devices, :integer
|
|
10555
|
+
# Zorunlu.
|
|
10556
|
+
field "version", :version, :integer
|
|
10557
|
+
# Zorunlu.
|
|
10558
|
+
field "created_at", :created_at, :string
|
|
10559
|
+
# Zorunlu.
|
|
10560
|
+
field "updated_at", :updated_at, :string
|
|
10561
|
+
end
|
|
10562
|
+
|
|
10563
|
+
# WalletPassPage şeması.
|
|
10564
|
+
class WalletPassPage < Pushizo::BaseModel
|
|
10565
|
+
# Zorunlu.
|
|
10566
|
+
field "data", :data, [:array, "WalletPass"]
|
|
10567
|
+
# Zorunlu.
|
|
10568
|
+
field "next_cursor", :next_cursor, :string
|
|
10569
|
+
end
|
|
10570
|
+
|
|
10571
|
+
# WalletTemplate şeması.
|
|
10572
|
+
class WalletTemplate < Pushizo::BaseModel
|
|
10573
|
+
# Zorunlu.
|
|
10574
|
+
field "id", :id, :string
|
|
10575
|
+
# Zorunlu.
|
|
10576
|
+
field "slug", :slug, :string
|
|
10577
|
+
# Zorunlu.
|
|
10578
|
+
field "name", :name, :string
|
|
10579
|
+
# Zorunlu. Değerler: "coupon", "loyalty", "event", "generic".
|
|
10580
|
+
field "kind", :kind, :string
|
|
10581
|
+
# Zorunlu. Değerler: "active", "archived".
|
|
10582
|
+
field "status", :status, :string
|
|
10583
|
+
# Zorunlu.
|
|
10584
|
+
field "design", :design, "WalletTemplateDesign"
|
|
10585
|
+
# Zorunlu.
|
|
10586
|
+
field "images", :images, [:array, :string]
|
|
10587
|
+
# Zorunlu.
|
|
10588
|
+
field "passes", :passes, :integer
|
|
10589
|
+
# Zorunlu.
|
|
10590
|
+
field "created_at", :created_at, :string
|
|
10591
|
+
# Zorunlu.
|
|
10592
|
+
field "updated_at", :updated_at, :string
|
|
10593
|
+
end
|
|
10594
|
+
|
|
10595
|
+
# WalletTemplateDesign şeması.
|
|
10596
|
+
class WalletTemplateDesign < Pushizo::BaseModel
|
|
10597
|
+
# Zorunlu.
|
|
10598
|
+
field "title", :title, :string
|
|
10599
|
+
# Zorunlu.
|
|
10600
|
+
field "description", :description, :string
|
|
10601
|
+
# Zorunlu.
|
|
10602
|
+
field "organization", :organization, :string
|
|
10603
|
+
# Zorunlu.
|
|
10604
|
+
field "background_color", :background_color, :string
|
|
10605
|
+
# Zorunlu.
|
|
10606
|
+
field "foreground_color", :foreground_color, :string
|
|
10607
|
+
# Zorunlu.
|
|
10608
|
+
field "label_color", :label_color, :string
|
|
10609
|
+
# Zorunlu. Değerler: "qr", "pdf417", "aztec", "code128".
|
|
10610
|
+
field "barcode", :barcode, :string
|
|
10611
|
+
# Zorunlu.
|
|
10612
|
+
field "fields", :fields_value, [:array, "WalletTemplateDesignFieldsItem"]
|
|
10613
|
+
field "expires_at", :expires_at, :string
|
|
10614
|
+
field "relevant_at", :relevant_at, :string
|
|
10615
|
+
end
|
|
10616
|
+
|
|
10617
|
+
# WalletTemplateDesignFieldsItem şeması.
|
|
10618
|
+
class WalletTemplateDesignFieldsItem < Pushizo::BaseModel
|
|
10619
|
+
# Zorunlu.
|
|
10620
|
+
field "key", :key, :string
|
|
10621
|
+
# Zorunlu.
|
|
10622
|
+
field "label", :label, :string
|
|
10623
|
+
# Zorunlu.
|
|
10624
|
+
field "value", :value, :string
|
|
10625
|
+
# Zorunlu. Değerler: "header", "primary", "secondary", "auxiliary", "back".
|
|
10626
|
+
field "section", :section, :string
|
|
10627
|
+
end
|
|
10628
|
+
|
|
10629
|
+
# WalletTemplateList şeması.
|
|
10630
|
+
class WalletTemplateList < Pushizo::BaseModel
|
|
10631
|
+
# Zorunlu.
|
|
10632
|
+
field "data", :data, [:array, "WalletTemplate"]
|
|
10633
|
+
end
|
|
10634
|
+
|
|
8297
10635
|
# WarehouseConnectionResult şeması.
|
|
8298
10636
|
class WarehouseConnectionResult < Pushizo::BaseModel
|
|
8299
10637
|
# Zorunlu.
|
|
@@ -8320,7 +10658,7 @@ module Pushizo
|
|
|
8320
10658
|
field "app_id", :app_id, :string
|
|
8321
10659
|
# Zorunlu.
|
|
8322
10660
|
field "name", :name, :string
|
|
8323
|
-
# Zorunlu. Değerler: "bigquery", "snowflake", "s3_parquet".
|
|
10661
|
+
# Zorunlu. Değerler: "bigquery", "snowflake", "s3_parquet", "redshift", "databricks".
|
|
8324
10662
|
field "destination", :destination, :string
|
|
8325
10663
|
# Zorunlu.
|
|
8326
10664
|
field "config", :config, [:map, :any]
|
|
@@ -8328,7 +10666,7 @@ module Pushizo
|
|
|
8328
10666
|
field "credentials_hint", :credentials_hint, :string
|
|
8329
10667
|
# Zorunlu. Değerler: "deliveries", "delivery_events", "events", "conversions", "users", "subscriptions".
|
|
8330
10668
|
field "tables", :tables, [:array, :string]
|
|
8331
|
-
# Zorunlu. Değerler: "hourly", "daily".
|
|
10669
|
+
# Zorunlu. Değerler: "every_15_minutes", "hourly", "daily".
|
|
8332
10670
|
field "schedule", :schedule, :string
|
|
8333
10671
|
# Zorunlu.
|
|
8334
10672
|
field "enabled", :enabled, :boolean
|
|
@@ -9001,6 +11339,190 @@ module Pushizo
|
|
|
9001
11339
|
field "value", :value, :any
|
|
9002
11340
|
end
|
|
9003
11341
|
|
|
11342
|
+
# WebPersonalization şeması.
|
|
11343
|
+
class WebPersonalization < Pushizo::BaseModel
|
|
11344
|
+
# Zorunlu.
|
|
11345
|
+
field "id", :id, :string
|
|
11346
|
+
# Zorunlu.
|
|
11347
|
+
field "app_id", :app_id, :string
|
|
11348
|
+
# Zorunlu.
|
|
11349
|
+
field "name", :name, :string
|
|
11350
|
+
# Zorunlu. Değerler: "draft", "active", "paused", "archived".
|
|
11351
|
+
field "status", :status, :string
|
|
11352
|
+
# Zorunlu.
|
|
11353
|
+
field "priority", :priority, :integer
|
|
11354
|
+
# Zorunlu.
|
|
11355
|
+
field "changes", :changes, [:array, :any]
|
|
11356
|
+
# Zorunlu.
|
|
11357
|
+
field "variants", :variants, [:array, "WebPersonalizationVariantsItem"]
|
|
11358
|
+
# Zorunlu.
|
|
11359
|
+
field "ab_test", :ab_test, "WebPersonalizationAbTest"
|
|
11360
|
+
# Zorunlu.
|
|
11361
|
+
field "conditions", :conditions, "WebPersonalizationConditions"
|
|
11362
|
+
# Zorunlu.
|
|
11363
|
+
field "targeting", :targeting, "WebPersonalizationTargeting"
|
|
11364
|
+
# Zorunlu.
|
|
11365
|
+
field "goal", :goal, :any
|
|
11366
|
+
# Zorunlu.
|
|
11367
|
+
field "start_at", :start_at, :string
|
|
11368
|
+
# Zorunlu.
|
|
11369
|
+
field "end_at", :end_at, :string
|
|
11370
|
+
# Zorunlu.
|
|
11371
|
+
field "stats", :stats, "WebPersonalizationStats"
|
|
11372
|
+
# Zorunlu.
|
|
11373
|
+
field "variant_stats", :variant_stats, [:array, "WebPersonalizationVariantStatsItem"]
|
|
11374
|
+
# Zorunlu.
|
|
11375
|
+
field "variant_significance", :variant_significance, "WebPersonalizationVariantSignificance"
|
|
11376
|
+
# Zorunlu.
|
|
11377
|
+
field "created_at", :created_at, :string
|
|
11378
|
+
# Zorunlu.
|
|
11379
|
+
field "updated_at", :updated_at, :string
|
|
11380
|
+
end
|
|
11381
|
+
|
|
11382
|
+
# WebPersonalizationAbTest şeması.
|
|
11383
|
+
class WebPersonalizationAbTest < Pushizo::BaseModel
|
|
11384
|
+
# Zorunlu.
|
|
11385
|
+
field "winner_variant_id", :winner_variant_id, :string
|
|
11386
|
+
# Zorunlu.
|
|
11387
|
+
field "decided_at", :decided_at, :string
|
|
11388
|
+
# Zorunlu.
|
|
11389
|
+
field "decided_by", :decided_by, :string
|
|
11390
|
+
end
|
|
11391
|
+
|
|
11392
|
+
# WebPersonalizationConditions şeması.
|
|
11393
|
+
class WebPersonalizationConditions < Pushizo::BaseModel
|
|
11394
|
+
field "url_rules", :url_rules, [:array, "WebPersonalizationConditionsUrlRulesItem"]
|
|
11395
|
+
field "utm_rules", :utm_rules, [:array, "WebPersonalizationConditionsUtmRulesItem"]
|
|
11396
|
+
field "visits", :visits, "WebPersonalizationConditionsVisits"
|
|
11397
|
+
end
|
|
11398
|
+
|
|
11399
|
+
# WebPersonalizationConditionsUrlRulesItem şeması.
|
|
11400
|
+
class WebPersonalizationConditionsUrlRulesItem < Pushizo::BaseModel
|
|
11401
|
+
# Zorunlu. Değerler: "equals", "contains", "starts_with", "not_contains", "matches".
|
|
11402
|
+
field "op", :op, :string
|
|
11403
|
+
# Zorunlu.
|
|
11404
|
+
field "value", :value, :string
|
|
11405
|
+
end
|
|
11406
|
+
|
|
11407
|
+
# WebPersonalizationConditionsUtmRulesItem şeması.
|
|
11408
|
+
class WebPersonalizationConditionsUtmRulesItem < Pushizo::BaseModel
|
|
11409
|
+
# Zorunlu. Değerler: "utm_source", "utm_medium", "utm_campaign", "utm_term", "utm_content".
|
|
11410
|
+
field "param", :param, :string
|
|
11411
|
+
# Zorunlu. Değerler: "equals", "contains", "exists".
|
|
11412
|
+
field "op", :op, :string
|
|
11413
|
+
field "value", :value, :string
|
|
11414
|
+
end
|
|
11415
|
+
|
|
11416
|
+
# WebPersonalizationConditionsVisits şeması.
|
|
11417
|
+
class WebPersonalizationConditionsVisits < Pushizo::BaseModel
|
|
11418
|
+
# Zorunlu. Değerler: "gte", "lte", "eq".
|
|
11419
|
+
field "op", :op, :string
|
|
11420
|
+
# Zorunlu.
|
|
11421
|
+
field "value", :value, :integer
|
|
11422
|
+
end
|
|
11423
|
+
|
|
11424
|
+
# WebPersonalizationPage şeması.
|
|
11425
|
+
class WebPersonalizationPage < Pushizo::BaseModel
|
|
11426
|
+
# Zorunlu.
|
|
11427
|
+
field "data", :data, [:array, "WebPersonalization"]
|
|
11428
|
+
# Zorunlu.
|
|
11429
|
+
field "next_cursor", :next_cursor, :string
|
|
11430
|
+
# Zorunlu.
|
|
11431
|
+
field "has_more", :has_more, :boolean
|
|
11432
|
+
end
|
|
11433
|
+
|
|
11434
|
+
# WebPersonalizationReport şeması.
|
|
11435
|
+
class WebPersonalizationReport < Pushizo::BaseModel
|
|
11436
|
+
# Zorunlu.
|
|
11437
|
+
field "personalization_id", :personalization_id, :string
|
|
11438
|
+
# Zorunlu.
|
|
11439
|
+
field "days", :days, :integer
|
|
11440
|
+
# Zorunlu.
|
|
11441
|
+
field "daily", :daily, [:array, "WebPersonalizationReportDailyItem"]
|
|
11442
|
+
# Zorunlu.
|
|
11443
|
+
field "totals", :totals, "WebPersonalizationReportTotals"
|
|
11444
|
+
end
|
|
11445
|
+
|
|
11446
|
+
# WebPersonalizationReportDailyItem şeması.
|
|
11447
|
+
class WebPersonalizationReportDailyItem < Pushizo::BaseModel
|
|
11448
|
+
# Zorunlu.
|
|
11449
|
+
field "date", :date, :string
|
|
11450
|
+
# Zorunlu.
|
|
11451
|
+
field "visitors", :visitors, :integer
|
|
11452
|
+
# Zorunlu.
|
|
11453
|
+
field "conversions", :conversions, :integer
|
|
11454
|
+
end
|
|
11455
|
+
|
|
11456
|
+
# WebPersonalizationReportTotals şeması.
|
|
11457
|
+
class WebPersonalizationReportTotals < Pushizo::BaseModel
|
|
11458
|
+
# Zorunlu.
|
|
11459
|
+
field "visitors", :visitors, :integer
|
|
11460
|
+
# Zorunlu.
|
|
11461
|
+
field "conversions", :conversions, :integer
|
|
11462
|
+
# Zorunlu.
|
|
11463
|
+
field "conversion_rate", :conversion_rate, :number
|
|
11464
|
+
end
|
|
11465
|
+
|
|
11466
|
+
# WebPersonalizationStats şeması.
|
|
11467
|
+
class WebPersonalizationStats < Pushizo::BaseModel
|
|
11468
|
+
# Zorunlu.
|
|
11469
|
+
field "visitors", :visitors, :integer
|
|
11470
|
+
# Zorunlu.
|
|
11471
|
+
field "conversions", :conversions, :integer
|
|
11472
|
+
# Zorunlu.
|
|
11473
|
+
field "conversion_rate", :conversion_rate, :number
|
|
11474
|
+
end
|
|
11475
|
+
|
|
11476
|
+
# WebPersonalizationStatusDto şeması.
|
|
11477
|
+
class WebPersonalizationStatusDto < Pushizo::BaseModel
|
|
11478
|
+
# Zorunlu. Değerler: "draft", "active", "paused", "archived".
|
|
11479
|
+
field "status", :status, :string
|
|
11480
|
+
end
|
|
11481
|
+
|
|
11482
|
+
# WebPersonalizationTargeting şeması.
|
|
11483
|
+
class WebPersonalizationTargeting < Pushizo::BaseModel
|
|
11484
|
+
field "included_segments", :included_segments, [:array, :string]
|
|
11485
|
+
field "excluded_segments", :excluded_segments, [:array, :string]
|
|
11486
|
+
# Değerler: "all", "new", "returning".
|
|
11487
|
+
field "visitor", :visitor, :string
|
|
11488
|
+
# Değerler: "desktop", "mobile", "tablet".
|
|
11489
|
+
field "devices", :devices, [:array, :string]
|
|
11490
|
+
end
|
|
11491
|
+
|
|
11492
|
+
# WebPersonalizationVariantSignificance şeması.
|
|
11493
|
+
class WebPersonalizationVariantSignificance < Pushizo::BaseModel
|
|
11494
|
+
# Zorunlu.
|
|
11495
|
+
field "leader", :leader, :string
|
|
11496
|
+
# Zorunlu.
|
|
11497
|
+
field "p_value", :p_value, :number
|
|
11498
|
+
# Zorunlu.
|
|
11499
|
+
field "significant", :significant, :boolean
|
|
11500
|
+
end
|
|
11501
|
+
|
|
11502
|
+
# WebPersonalizationVariantsItem şeması.
|
|
11503
|
+
class WebPersonalizationVariantsItem < Pushizo::BaseModel
|
|
11504
|
+
# Zorunlu.
|
|
11505
|
+
field "id", :id, :string
|
|
11506
|
+
# Zorunlu.
|
|
11507
|
+
field "name", :name, :string
|
|
11508
|
+
# Zorunlu.
|
|
11509
|
+
field "weight_percent", :weight_percent, :integer
|
|
11510
|
+
# Zorunlu.
|
|
11511
|
+
field "changes", :changes, [:array, :any]
|
|
11512
|
+
end
|
|
11513
|
+
|
|
11514
|
+
# WebPersonalizationVariantStatsItem şeması.
|
|
11515
|
+
class WebPersonalizationVariantStatsItem < Pushizo::BaseModel
|
|
11516
|
+
# Zorunlu.
|
|
11517
|
+
field "visitors", :visitors, :integer
|
|
11518
|
+
# Zorunlu.
|
|
11519
|
+
field "conversions", :conversions, :integer
|
|
11520
|
+
# Zorunlu.
|
|
11521
|
+
field "conversion_rate", :conversion_rate, :number
|
|
11522
|
+
# Zorunlu.
|
|
11523
|
+
field "variant_id", :variant_id, :string
|
|
11524
|
+
end
|
|
11525
|
+
|
|
9004
11526
|
# WhatsAppTemplateList şeması.
|
|
9005
11527
|
class WhatsAppTemplateList < Pushizo::BaseModel
|
|
9006
11528
|
# Zorunlu.
|