@pushwoosh/rpc-v2-http-api-data 0.1.922 → 0.1.925
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cloud_pages.d.ts +4 -0
- package/data.js +81 -4
- package/package.json +1 -1
- package/pushwoosh_objects_filters_v1.d.ts +36 -4
package/cloud_pages.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export type ListCloudPagesRequest = {
|
|
|
26
26
|
/** in ['category'] */
|
|
27
27
|
searchByCategory?: string[];
|
|
28
28
|
};
|
|
29
|
+
export type ExistingUserBehavior = 'UPDATE' | 'SKIP' | 'ERROR';
|
|
29
30
|
export type CloudPage = {
|
|
30
31
|
name: string;
|
|
31
32
|
code: string;
|
|
@@ -36,6 +37,7 @@ export type CloudPage = {
|
|
|
36
37
|
pushwooshJson: string;
|
|
37
38
|
created: Date;
|
|
38
39
|
updated: Date;
|
|
40
|
+
existingUserBehavior: ExistingUserBehavior;
|
|
39
41
|
};
|
|
40
42
|
export type ListCloudPagesResponse = {
|
|
41
43
|
presets: CloudPage[];
|
|
@@ -57,6 +59,7 @@ export type CreateCloudPageRequest = {
|
|
|
57
59
|
content?: string;
|
|
58
60
|
redirectUrl?: string;
|
|
59
61
|
pushwooshJson?: string;
|
|
62
|
+
existingUserBehavior?: ExistingUserBehavior;
|
|
60
63
|
};
|
|
61
64
|
export type CreateCloudPageResponse = {
|
|
62
65
|
preset: CloudPage;
|
|
@@ -69,6 +72,7 @@ export type UpdateCloudPageRequest = {
|
|
|
69
72
|
content?: string;
|
|
70
73
|
redirectUrl?: string;
|
|
71
74
|
pushwooshJson?: string;
|
|
75
|
+
existingUserBehavior?: ExistingUserBehavior;
|
|
72
76
|
};
|
|
73
77
|
export type UpdateCloudPageResponse = {
|
|
74
78
|
preset: CloudPage;
|
package/data.js
CHANGED
|
@@ -5566,6 +5566,14 @@ export const data = {
|
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
5568
|
},
|
|
5569
|
+
"pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior": {
|
|
5570
|
+
"type": "E",
|
|
5571
|
+
"values": [
|
|
5572
|
+
"UPDATE",
|
|
5573
|
+
"SKIP",
|
|
5574
|
+
"ERROR"
|
|
5575
|
+
]
|
|
5576
|
+
},
|
|
5569
5577
|
"pushwoosh.rpc_v2.cloud_pages.CloudPage": {
|
|
5570
5578
|
"type": "I",
|
|
5571
5579
|
"fields": {
|
|
@@ -5596,6 +5604,9 @@ export const data = {
|
|
|
5596
5604
|
},
|
|
5597
5605
|
"updated": {
|
|
5598
5606
|
"type": "Date"
|
|
5607
|
+
},
|
|
5608
|
+
"existingUserBehavior": {
|
|
5609
|
+
"type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
|
|
5599
5610
|
}
|
|
5600
5611
|
}
|
|
5601
5612
|
},
|
|
@@ -5657,6 +5668,9 @@ export const data = {
|
|
|
5657
5668
|
},
|
|
5658
5669
|
"pushwooshJson": {
|
|
5659
5670
|
"type": "string"
|
|
5671
|
+
},
|
|
5672
|
+
"existingUserBehavior": {
|
|
5673
|
+
"type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
|
|
5660
5674
|
}
|
|
5661
5675
|
}
|
|
5662
5676
|
},
|
|
@@ -5692,6 +5706,9 @@ export const data = {
|
|
|
5692
5706
|
},
|
|
5693
5707
|
"pushwooshJson": {
|
|
5694
5708
|
"type": "string"
|
|
5709
|
+
},
|
|
5710
|
+
"existingUserBehavior": {
|
|
5711
|
+
"type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
|
|
5695
5712
|
}
|
|
5696
5713
|
}
|
|
5697
5714
|
},
|
|
@@ -15141,6 +15158,17 @@ export const data = {
|
|
|
15141
15158
|
}
|
|
15142
15159
|
}
|
|
15143
15160
|
},
|
|
15161
|
+
"pushwoosh.objects.filters.v1.FilterExpression.ExternalSegment": {
|
|
15162
|
+
"type": "I",
|
|
15163
|
+
"fields": {
|
|
15164
|
+
"application": {
|
|
15165
|
+
"type": "string"
|
|
15166
|
+
},
|
|
15167
|
+
"segment": {
|
|
15168
|
+
"type": "string"
|
|
15169
|
+
}
|
|
15170
|
+
}
|
|
15171
|
+
},
|
|
15144
15172
|
"pushwoosh.objects.filters.v1.FilterExpression.Static": {
|
|
15145
15173
|
"type": "I",
|
|
15146
15174
|
"fields": {
|
|
@@ -15287,6 +15315,17 @@ export const data = {
|
|
|
15287
15315
|
}
|
|
15288
15316
|
}
|
|
15289
15317
|
},
|
|
15318
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date.DaysAhead": {
|
|
15319
|
+
"type": "I",
|
|
15320
|
+
"fields": {
|
|
15321
|
+
"from": {
|
|
15322
|
+
"type": "number"
|
|
15323
|
+
},
|
|
15324
|
+
"to": {
|
|
15325
|
+
"type": "number"
|
|
15326
|
+
}
|
|
15327
|
+
}
|
|
15328
|
+
},
|
|
15290
15329
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date": {
|
|
15291
15330
|
"type": "I",
|
|
15292
15331
|
"fields": {
|
|
@@ -15319,6 +15358,9 @@ export const data = {
|
|
|
15319
15358
|
},
|
|
15320
15359
|
"minutesAgo": {
|
|
15321
15360
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo"
|
|
15361
|
+
},
|
|
15362
|
+
"daysAhead": {
|
|
15363
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.DaysAhead"
|
|
15322
15364
|
}
|
|
15323
15365
|
},
|
|
15324
15366
|
"oneofs": {
|
|
@@ -15333,7 +15375,8 @@ export const data = {
|
|
|
15333
15375
|
"between",
|
|
15334
15376
|
"exists",
|
|
15335
15377
|
"daysAgo",
|
|
15336
|
-
"minutesAgo"
|
|
15378
|
+
"minutesAgo",
|
|
15379
|
+
"daysAhead"
|
|
15337
15380
|
]
|
|
15338
15381
|
}
|
|
15339
15382
|
}
|
|
@@ -15722,6 +15765,17 @@ export const data = {
|
|
|
15722
15765
|
}
|
|
15723
15766
|
}
|
|
15724
15767
|
},
|
|
15768
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.DaysAhead": {
|
|
15769
|
+
"type": "I",
|
|
15770
|
+
"fields": {
|
|
15771
|
+
"from": {
|
|
15772
|
+
"type": "number"
|
|
15773
|
+
},
|
|
15774
|
+
"to": {
|
|
15775
|
+
"type": "number"
|
|
15776
|
+
}
|
|
15777
|
+
}
|
|
15778
|
+
},
|
|
15725
15779
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date": {
|
|
15726
15780
|
"type": "I",
|
|
15727
15781
|
"fields": {
|
|
@@ -15754,6 +15808,9 @@ export const data = {
|
|
|
15754
15808
|
},
|
|
15755
15809
|
"minutesAgo": {
|
|
15756
15810
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo"
|
|
15811
|
+
},
|
|
15812
|
+
"daysAhead": {
|
|
15813
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.DaysAhead"
|
|
15757
15814
|
}
|
|
15758
15815
|
},
|
|
15759
15816
|
"oneofs": {
|
|
@@ -15768,7 +15825,8 @@ export const data = {
|
|
|
15768
15825
|
"between",
|
|
15769
15826
|
"exists",
|
|
15770
15827
|
"daysAgo",
|
|
15771
|
-
"minutesAgo"
|
|
15828
|
+
"minutesAgo",
|
|
15829
|
+
"daysAhead"
|
|
15772
15830
|
]
|
|
15773
15831
|
}
|
|
15774
15832
|
}
|
|
@@ -16453,6 +16511,17 @@ export const data = {
|
|
|
16453
16511
|
}
|
|
16454
16512
|
}
|
|
16455
16513
|
},
|
|
16514
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.DaysAhead": {
|
|
16515
|
+
"type": "I",
|
|
16516
|
+
"fields": {
|
|
16517
|
+
"from": {
|
|
16518
|
+
"type": "number"
|
|
16519
|
+
},
|
|
16520
|
+
"to": {
|
|
16521
|
+
"type": "number"
|
|
16522
|
+
}
|
|
16523
|
+
}
|
|
16524
|
+
},
|
|
16456
16525
|
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date": {
|
|
16457
16526
|
"type": "I",
|
|
16458
16527
|
"fields": {
|
|
@@ -16485,6 +16554,9 @@ export const data = {
|
|
|
16485
16554
|
},
|
|
16486
16555
|
"minutesAgo": {
|
|
16487
16556
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo"
|
|
16557
|
+
},
|
|
16558
|
+
"daysAhead": {
|
|
16559
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.DaysAhead"
|
|
16488
16560
|
}
|
|
16489
16561
|
},
|
|
16490
16562
|
"oneofs": {
|
|
@@ -16499,7 +16571,8 @@ export const data = {
|
|
|
16499
16571
|
"between",
|
|
16500
16572
|
"exists",
|
|
16501
16573
|
"daysAgo",
|
|
16502
|
-
"minutesAgo"
|
|
16574
|
+
"minutesAgo",
|
|
16575
|
+
"daysAhead"
|
|
16503
16576
|
]
|
|
16504
16577
|
}
|
|
16505
16578
|
}
|
|
@@ -16991,6 +17064,9 @@ export const data = {
|
|
|
16991
17064
|
},
|
|
16992
17065
|
"list": {
|
|
16993
17066
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.List"
|
|
17067
|
+
},
|
|
17068
|
+
"externalSegment": {
|
|
17069
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.ExternalSegment"
|
|
16994
17070
|
}
|
|
16995
17071
|
},
|
|
16996
17072
|
"oneofs": {
|
|
@@ -17006,7 +17082,8 @@ export const data = {
|
|
|
17006
17082
|
"bestTimeToSend",
|
|
17007
17083
|
"tagDateMatch",
|
|
17008
17084
|
"segment",
|
|
17009
|
-
"list"
|
|
17085
|
+
"list",
|
|
17086
|
+
"externalSegment"
|
|
17010
17087
|
]
|
|
17011
17088
|
}
|
|
17012
17089
|
}
|
package/package.json
CHANGED
|
@@ -605,6 +605,10 @@ export type FilterExpression_List = {
|
|
|
605
605
|
users: string[];
|
|
606
606
|
devices: string[];
|
|
607
607
|
};
|
|
608
|
+
export type FilterExpression_ExternalSegment = {
|
|
609
|
+
application: string;
|
|
610
|
+
segment: string;
|
|
611
|
+
};
|
|
608
612
|
/** UserID/HWID set stored in database */
|
|
609
613
|
export type FilterExpression_Static = {
|
|
610
614
|
application: string;
|
|
@@ -651,6 +655,10 @@ export type FilterExpression_Event_Date_MinutesAgo = {
|
|
|
651
655
|
operator: FilterExpression_Event_Date_MinutesAgo_Operator;
|
|
652
656
|
value: number;
|
|
653
657
|
};
|
|
658
|
+
export type FilterExpression_Event_Date_DaysAhead = {
|
|
659
|
+
from: number;
|
|
660
|
+
to: number;
|
|
661
|
+
};
|
|
654
662
|
export type FilterExpression_Event_Date_kind_eq = {
|
|
655
663
|
type: 'eq';
|
|
656
664
|
data: FilterExpression_Event_Date_Eq;
|
|
@@ -691,7 +699,11 @@ export type FilterExpression_Event_Date_kind_minutesAgo = {
|
|
|
691
699
|
type: 'minutesAgo';
|
|
692
700
|
data: FilterExpression_Event_Date_MinutesAgo;
|
|
693
701
|
};
|
|
694
|
-
export type
|
|
702
|
+
export type FilterExpression_Event_Date_kind_daysAhead = {
|
|
703
|
+
type: 'daysAhead';
|
|
704
|
+
data: FilterExpression_Event_Date_DaysAhead;
|
|
705
|
+
};
|
|
706
|
+
export type FilterExpression_Event_Date_kind = FilterExpression_Event_Date_kind_eq | FilterExpression_Event_Date_kind_neq | FilterExpression_Event_Date_kind_lte | FilterExpression_Event_Date_kind_gte | FilterExpression_Event_Date_kind_in | FilterExpression_Event_Date_kind_notIn | FilterExpression_Event_Date_kind_between | FilterExpression_Event_Date_kind_exists | FilterExpression_Event_Date_kind_daysAgo | FilterExpression_Event_Date_kind_minutesAgo | FilterExpression_Event_Date_kind_daysAhead;
|
|
695
707
|
export type FilterExpression_Event_Date = {
|
|
696
708
|
kind: FilterExpression_Event_Date_kind;
|
|
697
709
|
};
|
|
@@ -877,6 +889,10 @@ export type FilterExpression_Event_Attribute_Date_MinutesAgo = {
|
|
|
877
889
|
operator: FilterExpression_Event_Attribute_Date_MinutesAgo_Operator;
|
|
878
890
|
value: number;
|
|
879
891
|
};
|
|
892
|
+
export type FilterExpression_Event_Attribute_Date_DaysAhead = {
|
|
893
|
+
from: number;
|
|
894
|
+
to: number;
|
|
895
|
+
};
|
|
880
896
|
export type FilterExpression_Event_Attribute_Date_kind_eq = {
|
|
881
897
|
type: 'eq';
|
|
882
898
|
data: FilterExpression_Event_Attribute_Date_Eq;
|
|
@@ -917,7 +933,11 @@ export type FilterExpression_Event_Attribute_Date_kind_minutesAgo = {
|
|
|
917
933
|
type: 'minutesAgo';
|
|
918
934
|
data: FilterExpression_Event_Attribute_Date_MinutesAgo;
|
|
919
935
|
};
|
|
920
|
-
export type
|
|
936
|
+
export type FilterExpression_Event_Attribute_Date_kind_daysAhead = {
|
|
937
|
+
type: 'daysAhead';
|
|
938
|
+
data: FilterExpression_Event_Attribute_Date_DaysAhead;
|
|
939
|
+
};
|
|
940
|
+
export type FilterExpression_Event_Attribute_Date_kind = FilterExpression_Event_Attribute_Date_kind_eq | FilterExpression_Event_Attribute_Date_kind_neq | FilterExpression_Event_Attribute_Date_kind_lte | FilterExpression_Event_Attribute_Date_kind_gte | FilterExpression_Event_Attribute_Date_kind_in | FilterExpression_Event_Attribute_Date_kind_notIn | FilterExpression_Event_Attribute_Date_kind_between | FilterExpression_Event_Attribute_Date_kind_exists | FilterExpression_Event_Attribute_Date_kind_daysAgo | FilterExpression_Event_Attribute_Date_kind_minutesAgo | FilterExpression_Event_Attribute_Date_kind_daysAhead;
|
|
921
941
|
export type FilterExpression_Event_Attribute_Date = {
|
|
922
942
|
kind: FilterExpression_Event_Attribute_Date_kind;
|
|
923
943
|
};
|
|
@@ -1260,6 +1280,10 @@ export type FilterExpression_Tag_Date_MinutesAgo = {
|
|
|
1260
1280
|
operator: FilterExpression_Tag_Date_MinutesAgo_Operator;
|
|
1261
1281
|
value: number;
|
|
1262
1282
|
};
|
|
1283
|
+
export type FilterExpression_Tag_Date_DaysAhead = {
|
|
1284
|
+
from: number;
|
|
1285
|
+
to: number;
|
|
1286
|
+
};
|
|
1263
1287
|
export type FilterExpression_Tag_Date_kind_eq = {
|
|
1264
1288
|
type: 'eq';
|
|
1265
1289
|
data: FilterExpression_Tag_Date_Eq;
|
|
@@ -1300,7 +1324,11 @@ export type FilterExpression_Tag_Date_kind_minutesAgo = {
|
|
|
1300
1324
|
type: 'minutesAgo';
|
|
1301
1325
|
data: FilterExpression_Tag_Date_MinutesAgo;
|
|
1302
1326
|
};
|
|
1303
|
-
export type
|
|
1327
|
+
export type FilterExpression_Tag_Date_kind_daysAhead = {
|
|
1328
|
+
type: 'daysAhead';
|
|
1329
|
+
data: FilterExpression_Tag_Date_DaysAhead;
|
|
1330
|
+
};
|
|
1331
|
+
export type FilterExpression_Tag_Date_kind = FilterExpression_Tag_Date_kind_eq | FilterExpression_Tag_Date_kind_neq | FilterExpression_Tag_Date_kind_lte | FilterExpression_Tag_Date_kind_gte | FilterExpression_Tag_Date_kind_in | FilterExpression_Tag_Date_kind_notIn | FilterExpression_Tag_Date_kind_between | FilterExpression_Tag_Date_kind_exists | FilterExpression_Tag_Date_kind_daysAgo | FilterExpression_Tag_Date_kind_minutesAgo | FilterExpression_Tag_Date_kind_daysAhead;
|
|
1304
1332
|
export type FilterExpression_Tag_Date = {
|
|
1305
1333
|
kind: FilterExpression_Tag_Date_kind;
|
|
1306
1334
|
};
|
|
@@ -1603,7 +1631,11 @@ export type FilterExpression_kind_list = {
|
|
|
1603
1631
|
type: 'list';
|
|
1604
1632
|
data: FilterExpression_List;
|
|
1605
1633
|
};
|
|
1606
|
-
export type
|
|
1634
|
+
export type FilterExpression_kind_externalSegment = {
|
|
1635
|
+
type: 'externalSegment';
|
|
1636
|
+
data: FilterExpression_ExternalSegment;
|
|
1637
|
+
};
|
|
1638
|
+
export type FilterExpression_kind = FilterExpression_kind_operation | FilterExpression_kind_application | FilterExpression_kind_tag | FilterExpression_kind_geo | FilterExpression_kind_static | FilterExpression_kind_event | FilterExpression_kind_updated | FilterExpression_kind_bestTimeToSend | FilterExpression_kind_tagDateMatch | FilterExpression_kind_segment | FilterExpression_kind_list | FilterExpression_kind_externalSegment;
|
|
1607
1639
|
/** FilterExpression describes structures for querying devices from the database */
|
|
1608
1640
|
export type FilterExpression = {
|
|
1609
1641
|
kind: FilterExpression_kind;
|