@pushwoosh/rpc-v2-http-api-data 0.1.664 → 0.1.667
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/data.js +234 -86
- package/index.d.ts +2 -0
- package/ios_categories.d.ts +65 -0
- package/ios_categories.js +2 -0
- package/package.json +1 -1
- package/pushwoosh_objects_filters_v1.d.ts +11 -34
package/data.js
CHANGED
|
@@ -8778,6 +8778,219 @@ export const data = {
|
|
|
8778
8778
|
"type": "I",
|
|
8779
8779
|
"fields": {}
|
|
8780
8780
|
},
|
|
8781
|
+
"pushwoosh.rpc_v2.ios_categories.IOSCategoriesService": {
|
|
8782
|
+
"type": "S",
|
|
8783
|
+
"key": "iOSCategories",
|
|
8784
|
+
"methods": {
|
|
8785
|
+
"List": {
|
|
8786
|
+
"request": "pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest",
|
|
8787
|
+
"response": "pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesResponse",
|
|
8788
|
+
"method": "get",
|
|
8789
|
+
"path": "/api/ios_categories"
|
|
8790
|
+
},
|
|
8791
|
+
"Get": {
|
|
8792
|
+
"request": "pushwoosh.rpc_v2.ios_categories.GetIOSCategoryRequest",
|
|
8793
|
+
"response": "pushwoosh.rpc_v2.ios_categories.GetIOSCategoryResponse",
|
|
8794
|
+
"method": "get",
|
|
8795
|
+
"path": "/api/ios_categories/{application}/{identifier}"
|
|
8796
|
+
},
|
|
8797
|
+
"Create": {
|
|
8798
|
+
"request": "pushwoosh.rpc_v2.ios_categories.CreateIOSCategoryRequest",
|
|
8799
|
+
"response": "pushwoosh.rpc_v2.ios_categories.CreateIOSCategoryResponse",
|
|
8800
|
+
"method": "post",
|
|
8801
|
+
"path": "/api/ios_categories"
|
|
8802
|
+
},
|
|
8803
|
+
"Update": {
|
|
8804
|
+
"request": "pushwoosh.rpc_v2.ios_categories.UpdateIOSCategoryRequest",
|
|
8805
|
+
"response": "pushwoosh.rpc_v2.ios_categories.UpdateIOSCategoryResponse",
|
|
8806
|
+
"method": "put",
|
|
8807
|
+
"path": "/api/ios_categories/{application}/{identifier}"
|
|
8808
|
+
},
|
|
8809
|
+
"Delete": {
|
|
8810
|
+
"request": "pushwoosh.rpc_v2.ios_categories.DeleteIOSCategoryRequest",
|
|
8811
|
+
"response": "pushwoosh.rpc_v2.ios_categories.DeleteIOSCategoryResponse",
|
|
8812
|
+
"method": "delete",
|
|
8813
|
+
"path": "/api/ios_categories/{application}/{identifier}"
|
|
8814
|
+
}
|
|
8815
|
+
}
|
|
8816
|
+
},
|
|
8817
|
+
"pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest.OrderBy": {
|
|
8818
|
+
"type": "E",
|
|
8819
|
+
"values": [
|
|
8820
|
+
"NAME",
|
|
8821
|
+
"CREATED",
|
|
8822
|
+
"UPDATED"
|
|
8823
|
+
]
|
|
8824
|
+
},
|
|
8825
|
+
"pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest.OrderDirection": {
|
|
8826
|
+
"type": "E",
|
|
8827
|
+
"values": [
|
|
8828
|
+
"ASC",
|
|
8829
|
+
"DESC"
|
|
8830
|
+
]
|
|
8831
|
+
},
|
|
8832
|
+
"pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest": {
|
|
8833
|
+
"type": "I",
|
|
8834
|
+
"fields": {
|
|
8835
|
+
"application": {
|
|
8836
|
+
"type": "string"
|
|
8837
|
+
},
|
|
8838
|
+
"orderBy": {
|
|
8839
|
+
"type": "pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest.OrderBy"
|
|
8840
|
+
},
|
|
8841
|
+
"orderDirection": {
|
|
8842
|
+
"type": "pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesRequest.OrderDirection"
|
|
8843
|
+
},
|
|
8844
|
+
"page": {
|
|
8845
|
+
"type": "number"
|
|
8846
|
+
},
|
|
8847
|
+
"perPage": {
|
|
8848
|
+
"type": "number"
|
|
8849
|
+
},
|
|
8850
|
+
"searchByName": {
|
|
8851
|
+
"type": "string"
|
|
8852
|
+
}
|
|
8853
|
+
}
|
|
8854
|
+
},
|
|
8855
|
+
"pushwoosh.rpc_v2.ios_categories.IOSCategory": {
|
|
8856
|
+
"type": "I",
|
|
8857
|
+
"fields": {
|
|
8858
|
+
"name": {
|
|
8859
|
+
"type": "string"
|
|
8860
|
+
},
|
|
8861
|
+
"identifier": {
|
|
8862
|
+
"type": "string"
|
|
8863
|
+
},
|
|
8864
|
+
"buttons": {
|
|
8865
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategoryButton",
|
|
8866
|
+
"array": true
|
|
8867
|
+
},
|
|
8868
|
+
"created": {
|
|
8869
|
+
"type": "Date"
|
|
8870
|
+
}
|
|
8871
|
+
}
|
|
8872
|
+
},
|
|
8873
|
+
"pushwoosh.rpc_v2.ios_categories.IOSCategoryButton": {
|
|
8874
|
+
"type": "I",
|
|
8875
|
+
"fields": {
|
|
8876
|
+
"id": {
|
|
8877
|
+
"type": "string"
|
|
8878
|
+
},
|
|
8879
|
+
"label": {
|
|
8880
|
+
"type": "string"
|
|
8881
|
+
},
|
|
8882
|
+
"destructive": {
|
|
8883
|
+
"type": "boolean"
|
|
8884
|
+
},
|
|
8885
|
+
"startApplication": {
|
|
8886
|
+
"type": "boolean"
|
|
8887
|
+
}
|
|
8888
|
+
}
|
|
8889
|
+
},
|
|
8890
|
+
"pushwoosh.rpc_v2.ios_categories.ListIOSCategoriesResponse": {
|
|
8891
|
+
"type": "I",
|
|
8892
|
+
"fields": {
|
|
8893
|
+
"presets": {
|
|
8894
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategory",
|
|
8895
|
+
"array": true
|
|
8896
|
+
},
|
|
8897
|
+
"page": {
|
|
8898
|
+
"type": "number"
|
|
8899
|
+
},
|
|
8900
|
+
"perPage": {
|
|
8901
|
+
"type": "number"
|
|
8902
|
+
},
|
|
8903
|
+
"total": {
|
|
8904
|
+
"type": "number"
|
|
8905
|
+
}
|
|
8906
|
+
}
|
|
8907
|
+
},
|
|
8908
|
+
"pushwoosh.rpc_v2.ios_categories.GetIOSCategoryRequest": {
|
|
8909
|
+
"type": "I",
|
|
8910
|
+
"fields": {
|
|
8911
|
+
"application": {
|
|
8912
|
+
"type": "string"
|
|
8913
|
+
},
|
|
8914
|
+
"identifier": {
|
|
8915
|
+
"type": "string"
|
|
8916
|
+
}
|
|
8917
|
+
}
|
|
8918
|
+
},
|
|
8919
|
+
"pushwoosh.rpc_v2.ios_categories.GetIOSCategoryResponse": {
|
|
8920
|
+
"type": "I",
|
|
8921
|
+
"fields": {
|
|
8922
|
+
"preset": {
|
|
8923
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategory"
|
|
8924
|
+
}
|
|
8925
|
+
}
|
|
8926
|
+
},
|
|
8927
|
+
"pushwoosh.rpc_v2.ios_categories.CreateIOSCategoryRequest": {
|
|
8928
|
+
"type": "I",
|
|
8929
|
+
"fields": {
|
|
8930
|
+
"application": {
|
|
8931
|
+
"type": "string"
|
|
8932
|
+
},
|
|
8933
|
+
"name": {
|
|
8934
|
+
"type": "string"
|
|
8935
|
+
},
|
|
8936
|
+
"identifier": {
|
|
8937
|
+
"type": "string"
|
|
8938
|
+
},
|
|
8939
|
+
"buttons": {
|
|
8940
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategoryButton",
|
|
8941
|
+
"array": true
|
|
8942
|
+
}
|
|
8943
|
+
}
|
|
8944
|
+
},
|
|
8945
|
+
"pushwoosh.rpc_v2.ios_categories.CreateIOSCategoryResponse": {
|
|
8946
|
+
"type": "I",
|
|
8947
|
+
"fields": {
|
|
8948
|
+
"preset": {
|
|
8949
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategory"
|
|
8950
|
+
}
|
|
8951
|
+
}
|
|
8952
|
+
},
|
|
8953
|
+
"pushwoosh.rpc_v2.ios_categories.UpdateIOSCategoryRequest": {
|
|
8954
|
+
"type": "I",
|
|
8955
|
+
"fields": {
|
|
8956
|
+
"application": {
|
|
8957
|
+
"type": "string"
|
|
8958
|
+
},
|
|
8959
|
+
"identifier": {
|
|
8960
|
+
"type": "string"
|
|
8961
|
+
},
|
|
8962
|
+
"name": {
|
|
8963
|
+
"type": "string"
|
|
8964
|
+
},
|
|
8965
|
+
"buttons": {
|
|
8966
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategoryButton",
|
|
8967
|
+
"array": true
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
},
|
|
8971
|
+
"pushwoosh.rpc_v2.ios_categories.UpdateIOSCategoryResponse": {
|
|
8972
|
+
"type": "I",
|
|
8973
|
+
"fields": {
|
|
8974
|
+
"preset": {
|
|
8975
|
+
"type": "pushwoosh.rpc_v2.ios_categories.IOSCategory"
|
|
8976
|
+
}
|
|
8977
|
+
}
|
|
8978
|
+
},
|
|
8979
|
+
"pushwoosh.rpc_v2.ios_categories.DeleteIOSCategoryRequest": {
|
|
8980
|
+
"type": "I",
|
|
8981
|
+
"fields": {
|
|
8982
|
+
"application": {
|
|
8983
|
+
"type": "string"
|
|
8984
|
+
},
|
|
8985
|
+
"identifier": {
|
|
8986
|
+
"type": "string"
|
|
8987
|
+
}
|
|
8988
|
+
}
|
|
8989
|
+
},
|
|
8990
|
+
"pushwoosh.rpc_v2.ios_categories.DeleteIOSCategoryResponse": {
|
|
8991
|
+
"type": "I",
|
|
8992
|
+
"fields": {}
|
|
8993
|
+
},
|
|
8781
8994
|
"pushwoosh.rpc_v2.kakao_presets.KakaoPresetsService": {
|
|
8782
8995
|
"type": "S",
|
|
8783
8996
|
"key": "kakaoPresets",
|
|
@@ -10257,36 +10470,6 @@ export const data = {
|
|
|
10257
10470
|
}
|
|
10258
10471
|
}
|
|
10259
10472
|
},
|
|
10260
|
-
"pushwoosh.objects.filters.v1.LogicExpression.Field.Description": {
|
|
10261
|
-
"type": "I",
|
|
10262
|
-
"fields": {
|
|
10263
|
-
"operator": {
|
|
10264
|
-
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Operator"
|
|
10265
|
-
},
|
|
10266
|
-
"value": {
|
|
10267
|
-
"type": "string"
|
|
10268
|
-
},
|
|
10269
|
-
"values": {
|
|
10270
|
-
"type": "string",
|
|
10271
|
-
"array": true
|
|
10272
|
-
}
|
|
10273
|
-
}
|
|
10274
|
-
},
|
|
10275
|
-
"pushwoosh.objects.filters.v1.LogicExpression.Field.DeviceLoadPolicy": {
|
|
10276
|
-
"type": "I",
|
|
10277
|
-
"fields": {
|
|
10278
|
-
"operator": {
|
|
10279
|
-
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Operator"
|
|
10280
|
-
},
|
|
10281
|
-
"value": {
|
|
10282
|
-
"type": "string"
|
|
10283
|
-
},
|
|
10284
|
-
"values": {
|
|
10285
|
-
"type": "string",
|
|
10286
|
-
"array": true
|
|
10287
|
-
}
|
|
10288
|
-
}
|
|
10289
|
-
},
|
|
10290
10473
|
"pushwoosh.objects.filters.v1.LogicExpression.Field": {
|
|
10291
10474
|
"type": "I",
|
|
10292
10475
|
"fields": {
|
|
@@ -10340,12 +10523,6 @@ export const data = {
|
|
|
10340
10523
|
},
|
|
10341
10524
|
"CondUpdated": {
|
|
10342
10525
|
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Updated"
|
|
10343
|
-
},
|
|
10344
|
-
"CondDescription": {
|
|
10345
|
-
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Description"
|
|
10346
|
-
},
|
|
10347
|
-
"CondDeviceLoadPolicy": {
|
|
10348
|
-
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.DeviceLoadPolicy"
|
|
10349
10526
|
}
|
|
10350
10527
|
},
|
|
10351
10528
|
"oneofs": {
|
|
@@ -10367,9 +10544,7 @@ export const data = {
|
|
|
10367
10544
|
"CondCreated",
|
|
10368
10545
|
"CondFilterExpressionRaw",
|
|
10369
10546
|
"CondFiltrationID",
|
|
10370
|
-
"CondUpdated"
|
|
10371
|
-
"CondDescription",
|
|
10372
|
-
"CondDeviceLoadPolicy"
|
|
10547
|
+
"CondUpdated"
|
|
10373
10548
|
]
|
|
10374
10549
|
}
|
|
10375
10550
|
}
|
|
@@ -10629,18 +10804,6 @@ export const data = {
|
|
|
10629
10804
|
"response": "{}",
|
|
10630
10805
|
"method": "patch",
|
|
10631
10806
|
"path": "/v1/objects/filters/ID/{ID}/update/Updated"
|
|
10632
|
-
},
|
|
10633
|
-
"UpdateDescription": {
|
|
10634
|
-
"request": "pushwoosh.objects.filters.v1.UpdateDescriptionRequest",
|
|
10635
|
-
"response": "{}",
|
|
10636
|
-
"method": "patch",
|
|
10637
|
-
"path": "/v1/objects/filters/ID/{ID}/update/Description"
|
|
10638
|
-
},
|
|
10639
|
-
"UpdateDeviceLoadPolicy": {
|
|
10640
|
-
"request": "pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest",
|
|
10641
|
-
"response": "{}",
|
|
10642
|
-
"method": "patch",
|
|
10643
|
-
"path": "/v1/objects/filters/ID/{ID}/update/DeviceLoadPolicy"
|
|
10644
10807
|
}
|
|
10645
10808
|
}
|
|
10646
10809
|
},
|
|
@@ -10694,12 +10857,6 @@ export const data = {
|
|
|
10694
10857
|
},
|
|
10695
10858
|
"Updated": {
|
|
10696
10859
|
"type": "Date"
|
|
10697
|
-
},
|
|
10698
|
-
"Description": {
|
|
10699
|
-
"type": "string"
|
|
10700
|
-
},
|
|
10701
|
-
"DeviceLoadPolicy": {
|
|
10702
|
-
"type": "string"
|
|
10703
10860
|
}
|
|
10704
10861
|
}
|
|
10705
10862
|
},
|
|
@@ -11022,28 +11179,6 @@ export const data = {
|
|
|
11022
11179
|
}
|
|
11023
11180
|
}
|
|
11024
11181
|
},
|
|
11025
|
-
"pushwoosh.objects.filters.v1.UpdateDescriptionRequest": {
|
|
11026
|
-
"type": "I",
|
|
11027
|
-
"fields": {
|
|
11028
|
-
"ID": {
|
|
11029
|
-
"type": "number"
|
|
11030
|
-
},
|
|
11031
|
-
"value": {
|
|
11032
|
-
"type": "string"
|
|
11033
|
-
}
|
|
11034
|
-
}
|
|
11035
|
-
},
|
|
11036
|
-
"pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest": {
|
|
11037
|
-
"type": "I",
|
|
11038
|
-
"fields": {
|
|
11039
|
-
"ID": {
|
|
11040
|
-
"type": "number"
|
|
11041
|
-
},
|
|
11042
|
-
"value": {
|
|
11043
|
-
"type": "string"
|
|
11044
|
-
}
|
|
11045
|
-
}
|
|
11046
|
-
},
|
|
11047
11182
|
"pushwoosh.objects.filters.v1.GetRequest": {
|
|
11048
11183
|
"type": "I",
|
|
11049
11184
|
"fields": {
|
|
@@ -11168,12 +11303,6 @@ export const data = {
|
|
|
11168
11303
|
},
|
|
11169
11304
|
"Updated": {
|
|
11170
11305
|
"type": "Date"
|
|
11171
|
-
},
|
|
11172
|
-
"Description": {
|
|
11173
|
-
"type": "string"
|
|
11174
|
-
},
|
|
11175
|
-
"DeviceLoadPolicy": {
|
|
11176
|
-
"type": "string"
|
|
11177
11306
|
}
|
|
11178
11307
|
}
|
|
11179
11308
|
},
|
|
@@ -11331,6 +11460,17 @@ export const data = {
|
|
|
11331
11460
|
}
|
|
11332
11461
|
}
|
|
11333
11462
|
},
|
|
11463
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Segment": {
|
|
11464
|
+
"type": "I",
|
|
11465
|
+
"fields": {
|
|
11466
|
+
"application": {
|
|
11467
|
+
"type": "string"
|
|
11468
|
+
},
|
|
11469
|
+
"segment": {
|
|
11470
|
+
"type": "string"
|
|
11471
|
+
}
|
|
11472
|
+
}
|
|
11473
|
+
},
|
|
11334
11474
|
"pushwoosh.objects.filters.v1.FilterExpression.Static": {
|
|
11335
11475
|
"type": "I",
|
|
11336
11476
|
"fields": {
|
|
@@ -12182,6 +12322,10 @@ export const data = {
|
|
|
12182
12322
|
"platforms": {
|
|
12183
12323
|
"type": "string",
|
|
12184
12324
|
"array": true
|
|
12325
|
+
},
|
|
12326
|
+
"hwids": {
|
|
12327
|
+
"type": "string",
|
|
12328
|
+
"array": true
|
|
12185
12329
|
}
|
|
12186
12330
|
}
|
|
12187
12331
|
},
|
|
@@ -13171,6 +13315,9 @@ export const data = {
|
|
|
13171
13315
|
},
|
|
13172
13316
|
"tagDateMatch": {
|
|
13173
13317
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.TagDateMatch"
|
|
13318
|
+
},
|
|
13319
|
+
"segment": {
|
|
13320
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Segment"
|
|
13174
13321
|
}
|
|
13175
13322
|
},
|
|
13176
13323
|
"oneofs": {
|
|
@@ -13184,7 +13331,8 @@ export const data = {
|
|
|
13184
13331
|
"event",
|
|
13185
13332
|
"updated",
|
|
13186
13333
|
"bestTimeToSend",
|
|
13187
|
-
"tagDateMatch"
|
|
13334
|
+
"tagDateMatch",
|
|
13335
|
+
"segment"
|
|
13188
13336
|
]
|
|
13189
13337
|
}
|
|
13190
13338
|
}
|
package/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { FrequencyCappingService as pushwoosh_rpc_v2_frequency_capping_Frequency
|
|
|
28
28
|
import { GeozonesService as pushwoosh_rpc_v2_geozones_GeozonesService } from './geozones';
|
|
29
29
|
import { GeozonesClustersService as pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService } from './geozones_clusters';
|
|
30
30
|
import { IntegrationsService as pushwoosh_rpc_v2_integrations_IntegrationsService } from './integrations';
|
|
31
|
+
import { IOSCategoriesService as pushwoosh_rpc_v2_ios_categories_IOSCategoriesService } from './ios_categories';
|
|
31
32
|
import { KakaoPresetsService as pushwoosh_rpc_v2_kakao_presets_KakaoPresetsService } from './kakao_presets';
|
|
32
33
|
import { linePresetsService as pushwoosh_rpc_v2_line_presets_linePresetsService } from './line_presets';
|
|
33
34
|
import { MessagesService as pushwoosh_rpc_v2_messages_MessagesService } from './messages';
|
|
@@ -80,6 +81,7 @@ export type API = {
|
|
|
80
81
|
geozones: pushwoosh_rpc_v2_geozones_GeozonesService;
|
|
81
82
|
geozonesClusters: pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService;
|
|
82
83
|
integrations: pushwoosh_rpc_v2_integrations_IntegrationsService;
|
|
84
|
+
iOSCategories: pushwoosh_rpc_v2_ios_categories_IOSCategoriesService;
|
|
83
85
|
kakaoPresets: pushwoosh_rpc_v2_kakao_presets_KakaoPresetsService;
|
|
84
86
|
linePresets: pushwoosh_rpc_v2_line_presets_linePresetsService;
|
|
85
87
|
messages: pushwoosh_rpc_v2_messages_MessagesService;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface IOSCategoriesService {
|
|
2
|
+
List(request: ListIOSCategoriesRequest): Promise<ListIOSCategoriesResponse>;
|
|
3
|
+
Get(request: GetIOSCategoryRequest): Promise<GetIOSCategoryResponse>;
|
|
4
|
+
Create(request: CreateIOSCategoryRequest): Promise<CreateIOSCategoryResponse>;
|
|
5
|
+
Update(request: UpdateIOSCategoryRequest): Promise<UpdateIOSCategoryResponse>;
|
|
6
|
+
Delete(request: DeleteIOSCategoryRequest): Promise<DeleteIOSCategoryResponse>;
|
|
7
|
+
}
|
|
8
|
+
export type ListIOSCategoriesRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
9
|
+
export type ListIOSCategoriesRequest_OrderDirection = 'ASC' | 'DESC';
|
|
10
|
+
export type ListIOSCategoriesRequest = {
|
|
11
|
+
application?: string;
|
|
12
|
+
orderBy?: ListIOSCategoriesRequest_OrderBy;
|
|
13
|
+
orderDirection?: ListIOSCategoriesRequest_OrderDirection;
|
|
14
|
+
page?: number;
|
|
15
|
+
perPage?: number;
|
|
16
|
+
searchByName?: string;
|
|
17
|
+
};
|
|
18
|
+
export type IOSCategory = {
|
|
19
|
+
name: string;
|
|
20
|
+
identifier: string;
|
|
21
|
+
buttons: IOSCategoryButton[];
|
|
22
|
+
created: Date;
|
|
23
|
+
};
|
|
24
|
+
export type IOSCategoryButton = {
|
|
25
|
+
id: string;
|
|
26
|
+
label: string;
|
|
27
|
+
destructive: boolean;
|
|
28
|
+
startApplication: boolean;
|
|
29
|
+
};
|
|
30
|
+
export type ListIOSCategoriesResponse = {
|
|
31
|
+
presets: IOSCategory[];
|
|
32
|
+
page: number;
|
|
33
|
+
perPage: number;
|
|
34
|
+
total: number;
|
|
35
|
+
};
|
|
36
|
+
export type GetIOSCategoryRequest = {
|
|
37
|
+
application?: string;
|
|
38
|
+
identifier?: string;
|
|
39
|
+
};
|
|
40
|
+
export type GetIOSCategoryResponse = {
|
|
41
|
+
preset: IOSCategory;
|
|
42
|
+
};
|
|
43
|
+
export type CreateIOSCategoryRequest = {
|
|
44
|
+
application?: string;
|
|
45
|
+
name?: string;
|
|
46
|
+
identifier?: string;
|
|
47
|
+
buttons?: IOSCategoryButton[];
|
|
48
|
+
};
|
|
49
|
+
export type CreateIOSCategoryResponse = {
|
|
50
|
+
preset: IOSCategory;
|
|
51
|
+
};
|
|
52
|
+
export type UpdateIOSCategoryRequest = {
|
|
53
|
+
application?: string;
|
|
54
|
+
identifier?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
buttons?: IOSCategoryButton[];
|
|
57
|
+
};
|
|
58
|
+
export type UpdateIOSCategoryResponse = {
|
|
59
|
+
preset: IOSCategory;
|
|
60
|
+
};
|
|
61
|
+
export type DeleteIOSCategoryRequest = {
|
|
62
|
+
application?: string;
|
|
63
|
+
identifier?: string;
|
|
64
|
+
};
|
|
65
|
+
export type DeleteIOSCategoryResponse = {};
|
package/package.json
CHANGED
|
@@ -95,16 +95,6 @@ export type LogicExpression_Field_Updated = {
|
|
|
95
95
|
value: Date;
|
|
96
96
|
values: Date[];
|
|
97
97
|
};
|
|
98
|
-
export type LogicExpression_Field_Description = {
|
|
99
|
-
operator: LogicExpression_Field_Operator;
|
|
100
|
-
value: string;
|
|
101
|
-
values: string[];
|
|
102
|
-
};
|
|
103
|
-
export type LogicExpression_Field_DeviceLoadPolicy = {
|
|
104
|
-
operator: LogicExpression_Field_Operator;
|
|
105
|
-
value: string;
|
|
106
|
-
values: string[];
|
|
107
|
-
};
|
|
108
98
|
export type LogicExpression_Field_kind_CondID = {
|
|
109
99
|
type: 'CondID';
|
|
110
100
|
data: LogicExpression_Field_ID;
|
|
@@ -173,15 +163,7 @@ export type LogicExpression_Field_kind_CondUpdated = {
|
|
|
173
163
|
type: 'CondUpdated';
|
|
174
164
|
data: LogicExpression_Field_Updated;
|
|
175
165
|
};
|
|
176
|
-
export type
|
|
177
|
-
type: 'CondDescription';
|
|
178
|
-
data: LogicExpression_Field_Description;
|
|
179
|
-
};
|
|
180
|
-
export type LogicExpression_Field_kind_CondDeviceLoadPolicy = {
|
|
181
|
-
type: 'CondDeviceLoadPolicy';
|
|
182
|
-
data: LogicExpression_Field_DeviceLoadPolicy;
|
|
183
|
-
};
|
|
184
|
-
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated | LogicExpression_Field_kind_CondDescription | LogicExpression_Field_kind_CondDeviceLoadPolicy;
|
|
166
|
+
export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated;
|
|
185
167
|
export type LogicExpression_Field = {
|
|
186
168
|
kind: LogicExpression_Field_kind;
|
|
187
169
|
};
|
|
@@ -244,8 +226,6 @@ export interface FiltersCrudService {
|
|
|
244
226
|
UpdateFilterExpressionRaw(request: UpdateFilterExpressionRawRequest): Promise<{}>;
|
|
245
227
|
UpdateFiltrationID(request: UpdateFiltrationIDRequest): Promise<{}>;
|
|
246
228
|
UpdateUpdated(request: UpdateUpdatedRequest): Promise<{}>;
|
|
247
|
-
UpdateDescription(request: UpdateDescriptionRequest): Promise<{}>;
|
|
248
|
-
UpdateDeviceLoadPolicy(request: UpdateDeviceLoadPolicyRequest): Promise<{}>;
|
|
249
229
|
}
|
|
250
230
|
export type CreateRequest = {
|
|
251
231
|
Code?: string;
|
|
@@ -264,8 +244,6 @@ export type CreateRequest = {
|
|
|
264
244
|
FilterExpressionRaw?: string;
|
|
265
245
|
FiltrationID?: string;
|
|
266
246
|
Updated?: Date;
|
|
267
|
-
Description?: string;
|
|
268
|
-
DeviceLoadPolicy?: string;
|
|
269
247
|
};
|
|
270
248
|
export type CreateResponse = {
|
|
271
249
|
filter: Filter;
|
|
@@ -382,14 +360,6 @@ export type UpdateUpdatedRequest = {
|
|
|
382
360
|
ID?: number;
|
|
383
361
|
value?: Date;
|
|
384
362
|
};
|
|
385
|
-
export type UpdateDescriptionRequest = {
|
|
386
|
-
ID?: number;
|
|
387
|
-
value?: string;
|
|
388
|
-
};
|
|
389
|
-
export type UpdateDeviceLoadPolicyRequest = {
|
|
390
|
-
ID?: number;
|
|
391
|
-
value?: string;
|
|
392
|
-
};
|
|
393
363
|
export type GetRequest = {
|
|
394
364
|
ID?: number;
|
|
395
365
|
};
|
|
@@ -432,8 +402,6 @@ export type Filter = {
|
|
|
432
402
|
FilterExpressionRaw: string;
|
|
433
403
|
FiltrationID: string;
|
|
434
404
|
Updated: Date;
|
|
435
|
-
Description: string;
|
|
436
|
-
DeviceLoadPolicy: string;
|
|
437
405
|
};
|
|
438
406
|
export type FilterExpression_Operation_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_INTERSECT' | 'OPERATOR_UNION' | 'OPERATOR_DIFFERENCE';
|
|
439
407
|
export type FilterExpression_Operation = {
|
|
@@ -495,6 +463,10 @@ export type FilterExpression_BestTimeToSend = {
|
|
|
495
463
|
applications: string[];
|
|
496
464
|
value: FilterExpression_BestTimeToSend_Value;
|
|
497
465
|
};
|
|
466
|
+
export type FilterExpression_Segment = {
|
|
467
|
+
application: string;
|
|
468
|
+
segment: string;
|
|
469
|
+
};
|
|
498
470
|
export type FilterExpression_Static = {
|
|
499
471
|
application: string;
|
|
500
472
|
segment: string;
|
|
@@ -932,6 +904,7 @@ export type FilterExpression_Event = {
|
|
|
932
904
|
date: FilterExpression_Event_Date;
|
|
933
905
|
attributes: FilterExpression_Event_Attribute[];
|
|
934
906
|
platforms: string[];
|
|
907
|
+
hwids: string[];
|
|
935
908
|
};
|
|
936
909
|
export type FilterExpression_Updated_Condition_Lte = {
|
|
937
910
|
value: Date;
|
|
@@ -1479,7 +1452,11 @@ export type FilterExpression_kind_tagDateMatch = {
|
|
|
1479
1452
|
type: 'tagDateMatch';
|
|
1480
1453
|
data: FilterExpression_TagDateMatch;
|
|
1481
1454
|
};
|
|
1482
|
-
export type
|
|
1455
|
+
export type FilterExpression_kind_segment = {
|
|
1456
|
+
type: 'segment';
|
|
1457
|
+
data: FilterExpression_Segment;
|
|
1458
|
+
};
|
|
1459
|
+
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;
|
|
1483
1460
|
export type FilterExpression = {
|
|
1484
1461
|
kind: FilterExpression_kind;
|
|
1485
1462
|
};
|