@pushwoosh/rpc-v2-http-api-data 0.1.592 → 0.1.594
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 +214 -3
- package/filters.d.ts +7 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/pushwoosh_objects_filters_v1.d.ts +30 -3
- package/send_rate.d.ts +39 -0
- package/send_rate.js +2 -0
package/data.js
CHANGED
|
@@ -7006,6 +7006,12 @@ export const data = {
|
|
|
7006
7006
|
"method": "post",
|
|
7007
7007
|
"path": "/api/filters:get-seglang"
|
|
7008
7008
|
},
|
|
7009
|
+
"SeglangToFilterExpression": {
|
|
7010
|
+
"request": "pushwoosh.rpc_v2.filters.SeglangToFilterExpressionRequest",
|
|
7011
|
+
"response": "pushwoosh.rpc_v2.filters.SeglangToFilterExpressionResponse",
|
|
7012
|
+
"method": "post",
|
|
7013
|
+
"path": "/api/filters:seglang-to-fe"
|
|
7014
|
+
},
|
|
7009
7015
|
"GetMatchedSegments": {
|
|
7010
7016
|
"request": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsRequest",
|
|
7011
7017
|
"response": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsResponse",
|
|
@@ -7341,6 +7347,22 @@ export const data = {
|
|
|
7341
7347
|
}
|
|
7342
7348
|
}
|
|
7343
7349
|
},
|
|
7350
|
+
"pushwoosh.rpc_v2.filters.SeglangToFilterExpressionRequest": {
|
|
7351
|
+
"type": "I",
|
|
7352
|
+
"fields": {
|
|
7353
|
+
"seglang": {
|
|
7354
|
+
"type": "string"
|
|
7355
|
+
}
|
|
7356
|
+
}
|
|
7357
|
+
},
|
|
7358
|
+
"pushwoosh.rpc_v2.filters.SeglangToFilterExpressionResponse": {
|
|
7359
|
+
"type": "I",
|
|
7360
|
+
"fields": {
|
|
7361
|
+
"filterExpression": {
|
|
7362
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression"
|
|
7363
|
+
}
|
|
7364
|
+
}
|
|
7365
|
+
},
|
|
7344
7366
|
"pushwoosh.rpc_v2.filters.GetMatchedSegmentsRequest": {
|
|
7345
7367
|
"type": "I",
|
|
7346
7368
|
"fields": {
|
|
@@ -10592,6 +10614,25 @@ export const data = {
|
|
|
10592
10614
|
}
|
|
10593
10615
|
}
|
|
10594
10616
|
},
|
|
10617
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo.Operator": {
|
|
10618
|
+
"type": "E",
|
|
10619
|
+
"values": [
|
|
10620
|
+
"OPERATOR_UNSPECIFIED",
|
|
10621
|
+
"OPERATOR_LTE",
|
|
10622
|
+
"OPERATOR_GTE"
|
|
10623
|
+
]
|
|
10624
|
+
},
|
|
10625
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo": {
|
|
10626
|
+
"type": "I",
|
|
10627
|
+
"fields": {
|
|
10628
|
+
"operator": {
|
|
10629
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo.Operator"
|
|
10630
|
+
},
|
|
10631
|
+
"value": {
|
|
10632
|
+
"type": "number"
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
},
|
|
10595
10636
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date": {
|
|
10596
10637
|
"type": "I",
|
|
10597
10638
|
"fields": {
|
|
@@ -10621,6 +10662,9 @@ export const data = {
|
|
|
10621
10662
|
},
|
|
10622
10663
|
"daysAgo": {
|
|
10623
10664
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.DaysAgo"
|
|
10665
|
+
},
|
|
10666
|
+
"minutesAgo": {
|
|
10667
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo"
|
|
10624
10668
|
}
|
|
10625
10669
|
},
|
|
10626
10670
|
"oneofs": {
|
|
@@ -10634,7 +10678,8 @@ export const data = {
|
|
|
10634
10678
|
"notIn",
|
|
10635
10679
|
"between",
|
|
10636
10680
|
"exists",
|
|
10637
|
-
"daysAgo"
|
|
10681
|
+
"daysAgo",
|
|
10682
|
+
"minutesAgo"
|
|
10638
10683
|
]
|
|
10639
10684
|
}
|
|
10640
10685
|
}
|
|
@@ -11004,6 +11049,25 @@ export const data = {
|
|
|
11004
11049
|
}
|
|
11005
11050
|
}
|
|
11006
11051
|
},
|
|
11052
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo.Operator": {
|
|
11053
|
+
"type": "E",
|
|
11054
|
+
"values": [
|
|
11055
|
+
"OPERATOR_UNSPECIFIED",
|
|
11056
|
+
"OPERATOR_LTE",
|
|
11057
|
+
"OPERATOR_GTE"
|
|
11058
|
+
]
|
|
11059
|
+
},
|
|
11060
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo": {
|
|
11061
|
+
"type": "I",
|
|
11062
|
+
"fields": {
|
|
11063
|
+
"operator": {
|
|
11064
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo.Operator"
|
|
11065
|
+
},
|
|
11066
|
+
"value": {
|
|
11067
|
+
"type": "number"
|
|
11068
|
+
}
|
|
11069
|
+
}
|
|
11070
|
+
},
|
|
11007
11071
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date": {
|
|
11008
11072
|
"type": "I",
|
|
11009
11073
|
"fields": {
|
|
@@ -11033,6 +11097,9 @@ export const data = {
|
|
|
11033
11097
|
},
|
|
11034
11098
|
"daysAgo": {
|
|
11035
11099
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.DaysAgo"
|
|
11100
|
+
},
|
|
11101
|
+
"minutesAgo": {
|
|
11102
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo"
|
|
11036
11103
|
}
|
|
11037
11104
|
},
|
|
11038
11105
|
"oneofs": {
|
|
@@ -11046,7 +11113,8 @@ export const data = {
|
|
|
11046
11113
|
"notIn",
|
|
11047
11114
|
"between",
|
|
11048
11115
|
"exists",
|
|
11049
|
-
"daysAgo"
|
|
11116
|
+
"daysAgo",
|
|
11117
|
+
"minutesAgo"
|
|
11050
11118
|
]
|
|
11051
11119
|
}
|
|
11052
11120
|
}
|
|
@@ -11708,6 +11776,25 @@ export const data = {
|
|
|
11708
11776
|
}
|
|
11709
11777
|
}
|
|
11710
11778
|
},
|
|
11779
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo.Operator": {
|
|
11780
|
+
"type": "E",
|
|
11781
|
+
"values": [
|
|
11782
|
+
"OPERATOR_UNSPECIFIED",
|
|
11783
|
+
"OPERATOR_LTE",
|
|
11784
|
+
"OPERATOR_GTE"
|
|
11785
|
+
]
|
|
11786
|
+
},
|
|
11787
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo": {
|
|
11788
|
+
"type": "I",
|
|
11789
|
+
"fields": {
|
|
11790
|
+
"operator": {
|
|
11791
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo.Operator"
|
|
11792
|
+
},
|
|
11793
|
+
"value": {
|
|
11794
|
+
"type": "number"
|
|
11795
|
+
}
|
|
11796
|
+
}
|
|
11797
|
+
},
|
|
11711
11798
|
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date": {
|
|
11712
11799
|
"type": "I",
|
|
11713
11800
|
"fields": {
|
|
@@ -11737,6 +11824,9 @@ export const data = {
|
|
|
11737
11824
|
},
|
|
11738
11825
|
"daysAgo": {
|
|
11739
11826
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.DaysAgo"
|
|
11827
|
+
},
|
|
11828
|
+
"minutesAgo": {
|
|
11829
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo"
|
|
11740
11830
|
}
|
|
11741
11831
|
},
|
|
11742
11832
|
"oneofs": {
|
|
@@ -11750,7 +11840,8 @@ export const data = {
|
|
|
11750
11840
|
"notIn",
|
|
11751
11841
|
"between",
|
|
11752
11842
|
"exists",
|
|
11753
|
-
"daysAgo"
|
|
11843
|
+
"daysAgo",
|
|
11844
|
+
"minutesAgo"
|
|
11754
11845
|
]
|
|
11755
11846
|
}
|
|
11756
11847
|
}
|
|
@@ -18501,6 +18592,126 @@ export const data = {
|
|
|
18501
18592
|
}
|
|
18502
18593
|
}
|
|
18503
18594
|
},
|
|
18595
|
+
"pushwoosh.rpc_v2.send_rate.SendRateService": {
|
|
18596
|
+
"type": "S",
|
|
18597
|
+
"key": "sendRate",
|
|
18598
|
+
"methods": {
|
|
18599
|
+
"Get": {
|
|
18600
|
+
"request": "pushwoosh.rpc_v2.send_rate.GetSendRateRequest",
|
|
18601
|
+
"response": "pushwoosh.rpc_v2.send_rate.GetSendRateResponse",
|
|
18602
|
+
"method": "get",
|
|
18603
|
+
"path": "/api/send_rate/{application}"
|
|
18604
|
+
},
|
|
18605
|
+
"Update": {
|
|
18606
|
+
"request": "pushwoosh.rpc_v2.send_rate.UpdateSendRateRequest",
|
|
18607
|
+
"response": "pushwoosh.rpc_v2.send_rate.UpdateSendRateResponse",
|
|
18608
|
+
"method": "put",
|
|
18609
|
+
"path": "/api/send_rate/{application}"
|
|
18610
|
+
},
|
|
18611
|
+
"Create": {
|
|
18612
|
+
"request": "pushwoosh.rpc_v2.send_rate.CreateSendRateRequest",
|
|
18613
|
+
"response": "pushwoosh.rpc_v2.send_rate.CreateSendRateResponse",
|
|
18614
|
+
"method": "post",
|
|
18615
|
+
"path": "/api/send_rate"
|
|
18616
|
+
}
|
|
18617
|
+
}
|
|
18618
|
+
},
|
|
18619
|
+
"pushwoosh.rpc_v2.send_rate.Info": {
|
|
18620
|
+
"type": "I",
|
|
18621
|
+
"fields": {
|
|
18622
|
+
"count": {
|
|
18623
|
+
"type": "number"
|
|
18624
|
+
},
|
|
18625
|
+
"seconds": {
|
|
18626
|
+
"type": "number"
|
|
18627
|
+
}
|
|
18628
|
+
}
|
|
18629
|
+
},
|
|
18630
|
+
"pushwoosh.rpc_v2.send_rate.SendRate": {
|
|
18631
|
+
"type": "I",
|
|
18632
|
+
"fields": {
|
|
18633
|
+
"push": {
|
|
18634
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18635
|
+
},
|
|
18636
|
+
"email": {
|
|
18637
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18638
|
+
},
|
|
18639
|
+
"sms": {
|
|
18640
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18641
|
+
},
|
|
18642
|
+
"inApp": {
|
|
18643
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18644
|
+
}
|
|
18645
|
+
}
|
|
18646
|
+
},
|
|
18647
|
+
"pushwoosh.rpc_v2.send_rate.GetSendRateRequest": {
|
|
18648
|
+
"type": "I",
|
|
18649
|
+
"fields": {
|
|
18650
|
+
"application": {
|
|
18651
|
+
"type": "string"
|
|
18652
|
+
}
|
|
18653
|
+
}
|
|
18654
|
+
},
|
|
18655
|
+
"pushwoosh.rpc_v2.send_rate.GetSendRateResponse": {
|
|
18656
|
+
"type": "I",
|
|
18657
|
+
"fields": {
|
|
18658
|
+
"sendRate": {
|
|
18659
|
+
"type": "pushwoosh.rpc_v2.send_rate.SendRate"
|
|
18660
|
+
}
|
|
18661
|
+
}
|
|
18662
|
+
},
|
|
18663
|
+
"pushwoosh.rpc_v2.send_rate.CreateSendRateRequest": {
|
|
18664
|
+
"type": "I",
|
|
18665
|
+
"fields": {
|
|
18666
|
+
"application": {
|
|
18667
|
+
"type": "string"
|
|
18668
|
+
},
|
|
18669
|
+
"push": {
|
|
18670
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18671
|
+
},
|
|
18672
|
+
"email": {
|
|
18673
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18674
|
+
},
|
|
18675
|
+
"sms": {
|
|
18676
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18677
|
+
},
|
|
18678
|
+
"inApp": {
|
|
18679
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18680
|
+
}
|
|
18681
|
+
}
|
|
18682
|
+
},
|
|
18683
|
+
"pushwoosh.rpc_v2.send_rate.CreateSendRateResponse": {
|
|
18684
|
+
"type": "I",
|
|
18685
|
+
"fields": {
|
|
18686
|
+
"sendRate": {
|
|
18687
|
+
"type": "pushwoosh.rpc_v2.send_rate.SendRate"
|
|
18688
|
+
}
|
|
18689
|
+
}
|
|
18690
|
+
},
|
|
18691
|
+
"pushwoosh.rpc_v2.send_rate.UpdateSendRateRequest": {
|
|
18692
|
+
"type": "I",
|
|
18693
|
+
"fields": {
|
|
18694
|
+
"application": {
|
|
18695
|
+
"type": "string"
|
|
18696
|
+
},
|
|
18697
|
+
"push": {
|
|
18698
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18699
|
+
},
|
|
18700
|
+
"email": {
|
|
18701
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18702
|
+
},
|
|
18703
|
+
"sms": {
|
|
18704
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18705
|
+
},
|
|
18706
|
+
"inApp": {
|
|
18707
|
+
"type": "pushwoosh.rpc_v2.send_rate.Info"
|
|
18708
|
+
}
|
|
18709
|
+
}
|
|
18710
|
+
},
|
|
18711
|
+
"pushwoosh.rpc_v2.send_rate.UpdateSendRateResponse": {
|
|
18712
|
+
"type": "I",
|
|
18713
|
+
"fields": {}
|
|
18714
|
+
},
|
|
18504
18715
|
"pushwoosh.rpc_v2.sms_presets.smsPresetsService": {
|
|
18505
18716
|
"type": "S",
|
|
18506
18717
|
"key": "smsPresets",
|
package/filters.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface FiltersService {
|
|
|
10
10
|
GetCitiesByHashes(request: GetCitiesByHashesRequest): Promise<GetCitiesByHashesResponse>;
|
|
11
11
|
CompileFilter(request: CompileFilterRequest): Promise<CompileFilterResponse>;
|
|
12
12
|
GetSeglang(request: GetSeglangRequest): Promise<GetSeglangResponse>;
|
|
13
|
+
SeglangToFilterExpression(request: SeglangToFilterExpressionRequest): Promise<SeglangToFilterExpressionResponse>;
|
|
13
14
|
GetMatchedSegments(request: GetMatchedSegmentsRequest): Promise<GetMatchedSegmentsResponse>;
|
|
14
15
|
}
|
|
15
16
|
export type ListFiltersRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
@@ -127,6 +128,12 @@ export type GetSeglangRequest = {
|
|
|
127
128
|
export type GetSeglangResponse = {
|
|
128
129
|
seglang: string;
|
|
129
130
|
};
|
|
131
|
+
export type SeglangToFilterExpressionRequest = {
|
|
132
|
+
seglang?: string;
|
|
133
|
+
};
|
|
134
|
+
export type SeglangToFilterExpressionResponse = {
|
|
135
|
+
filterExpression: pushwoosh_objects_filters_v1_FilterExpression;
|
|
136
|
+
};
|
|
130
137
|
export type GetMatchedSegmentsRequest = {
|
|
131
138
|
application?: string;
|
|
132
139
|
hwid?: string;
|
package/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { ReferralPartnerService as pushwoosh_rpc_v2_referral_partners_ReferralPa
|
|
|
35
35
|
import { RestrictionsService as pushwoosh_rpc_v2_restrictions_RestrictionsService } from './restrictions';
|
|
36
36
|
import { RichMediaService as pushwoosh_rpc_v2_rich_medias_RichMediaService } from './rich_medias';
|
|
37
37
|
import { SegmentStatisticsService as pushwoosh_rpc_v2_segment_statistics_SegmentStatisticsService } from './segment_statistics';
|
|
38
|
+
import { SendRateService as pushwoosh_rpc_v2_send_rate_SendRateService } from './send_rate';
|
|
38
39
|
import { smsPresetsService as pushwoosh_rpc_v2_sms_presets_smsPresetsService } from './sms_presets';
|
|
39
40
|
import { StatisticsDashboardsService as pushwoosh_rpc_v2_statistics_dashboards_StatisticsDashboardsService } from './statistics_dashboards';
|
|
40
41
|
import { StatisticsDashboardsWidgetsService as pushwoosh_rpc_v2_statistics_dashboards_widgets_StatisticsDashboardsWidgetsService } from './statistics_dashboards_widgets';
|
|
@@ -82,6 +83,7 @@ export type API = {
|
|
|
82
83
|
restrictions: pushwoosh_rpc_v2_restrictions_RestrictionsService;
|
|
83
84
|
richMedia: pushwoosh_rpc_v2_rich_medias_RichMediaService;
|
|
84
85
|
segmentStatistics: pushwoosh_rpc_v2_segment_statistics_SegmentStatisticsService;
|
|
86
|
+
sendRate: pushwoosh_rpc_v2_send_rate_SendRateService;
|
|
85
87
|
smsPresets: pushwoosh_rpc_v2_sms_presets_smsPresetsService;
|
|
86
88
|
statisticsDashboards: pushwoosh_rpc_v2_statistics_dashboards_StatisticsDashboardsService;
|
|
87
89
|
statisticsDashboardsWidgets: pushwoosh_rpc_v2_statistics_dashboards_widgets_StatisticsDashboardsWidgetsService;
|
package/package.json
CHANGED
|
@@ -503,6 +503,11 @@ export type FilterExpression_Event_Date_DaysAgo = {
|
|
|
503
503
|
value: number;
|
|
504
504
|
values: number[];
|
|
505
505
|
};
|
|
506
|
+
export type FilterExpression_Event_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
507
|
+
export type FilterExpression_Event_Date_MinutesAgo = {
|
|
508
|
+
operator: FilterExpression_Event_Date_MinutesAgo_Operator;
|
|
509
|
+
value: number;
|
|
510
|
+
};
|
|
506
511
|
export type FilterExpression_Event_Date_kind_eq = {
|
|
507
512
|
type: 'eq';
|
|
508
513
|
data: FilterExpression_Event_Date_Eq;
|
|
@@ -539,7 +544,11 @@ export type FilterExpression_Event_Date_kind_daysAgo = {
|
|
|
539
544
|
type: 'daysAgo';
|
|
540
545
|
data: FilterExpression_Event_Date_DaysAgo;
|
|
541
546
|
};
|
|
542
|
-
export type
|
|
547
|
+
export type FilterExpression_Event_Date_kind_minutesAgo = {
|
|
548
|
+
type: 'minutesAgo';
|
|
549
|
+
data: FilterExpression_Event_Date_MinutesAgo;
|
|
550
|
+
};
|
|
551
|
+
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;
|
|
543
552
|
export type FilterExpression_Event_Date = {
|
|
544
553
|
kind: FilterExpression_Event_Date_kind;
|
|
545
554
|
};
|
|
@@ -720,6 +729,11 @@ export type FilterExpression_Event_Attribute_Date_DaysAgo = {
|
|
|
720
729
|
value: number;
|
|
721
730
|
values: number[];
|
|
722
731
|
};
|
|
732
|
+
export type FilterExpression_Event_Attribute_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
733
|
+
export type FilterExpression_Event_Attribute_Date_MinutesAgo = {
|
|
734
|
+
operator: FilterExpression_Event_Attribute_Date_MinutesAgo_Operator;
|
|
735
|
+
value: number;
|
|
736
|
+
};
|
|
723
737
|
export type FilterExpression_Event_Attribute_Date_kind_eq = {
|
|
724
738
|
type: 'eq';
|
|
725
739
|
data: FilterExpression_Event_Attribute_Date_Eq;
|
|
@@ -756,7 +770,11 @@ export type FilterExpression_Event_Attribute_Date_kind_daysAgo = {
|
|
|
756
770
|
type: 'daysAgo';
|
|
757
771
|
data: FilterExpression_Event_Attribute_Date_DaysAgo;
|
|
758
772
|
};
|
|
759
|
-
export type
|
|
773
|
+
export type FilterExpression_Event_Attribute_Date_kind_minutesAgo = {
|
|
774
|
+
type: 'minutesAgo';
|
|
775
|
+
data: FilterExpression_Event_Attribute_Date_MinutesAgo;
|
|
776
|
+
};
|
|
777
|
+
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;
|
|
760
778
|
export type FilterExpression_Event_Attribute_Date = {
|
|
761
779
|
kind: FilterExpression_Event_Attribute_Date_kind;
|
|
762
780
|
};
|
|
@@ -1091,6 +1109,11 @@ export type FilterExpression_Tag_Date_DaysAgo = {
|
|
|
1091
1109
|
value: number;
|
|
1092
1110
|
values: number[];
|
|
1093
1111
|
};
|
|
1112
|
+
export type FilterExpression_Tag_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
1113
|
+
export type FilterExpression_Tag_Date_MinutesAgo = {
|
|
1114
|
+
operator: FilterExpression_Tag_Date_MinutesAgo_Operator;
|
|
1115
|
+
value: number;
|
|
1116
|
+
};
|
|
1094
1117
|
export type FilterExpression_Tag_Date_kind_eq = {
|
|
1095
1118
|
type: 'eq';
|
|
1096
1119
|
data: FilterExpression_Tag_Date_Eq;
|
|
@@ -1127,7 +1150,11 @@ export type FilterExpression_Tag_Date_kind_daysAgo = {
|
|
|
1127
1150
|
type: 'daysAgo';
|
|
1128
1151
|
data: FilterExpression_Tag_Date_DaysAgo;
|
|
1129
1152
|
};
|
|
1130
|
-
export type
|
|
1153
|
+
export type FilterExpression_Tag_Date_kind_minutesAgo = {
|
|
1154
|
+
type: 'minutesAgo';
|
|
1155
|
+
data: FilterExpression_Tag_Date_MinutesAgo;
|
|
1156
|
+
};
|
|
1157
|
+
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;
|
|
1131
1158
|
export type FilterExpression_Tag_Date = {
|
|
1132
1159
|
kind: FilterExpression_Tag_Date_kind;
|
|
1133
1160
|
};
|
package/send_rate.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface SendRateService {
|
|
2
|
+
Get(request: GetSendRateRequest): Promise<GetSendRateResponse>;
|
|
3
|
+
Update(request: UpdateSendRateRequest): Promise<UpdateSendRateResponse>;
|
|
4
|
+
Create(request: CreateSendRateRequest): Promise<CreateSendRateResponse>;
|
|
5
|
+
}
|
|
6
|
+
export type Info = {
|
|
7
|
+
count: number;
|
|
8
|
+
seconds: number;
|
|
9
|
+
};
|
|
10
|
+
export type SendRate = {
|
|
11
|
+
push: Info;
|
|
12
|
+
email: Info;
|
|
13
|
+
sms: Info;
|
|
14
|
+
inApp: Info;
|
|
15
|
+
};
|
|
16
|
+
export type GetSendRateRequest = {
|
|
17
|
+
application?: string;
|
|
18
|
+
};
|
|
19
|
+
export type GetSendRateResponse = {
|
|
20
|
+
sendRate: SendRate;
|
|
21
|
+
};
|
|
22
|
+
export type CreateSendRateRequest = {
|
|
23
|
+
application?: string;
|
|
24
|
+
push?: Info;
|
|
25
|
+
email?: Info;
|
|
26
|
+
sms?: Info;
|
|
27
|
+
inApp?: Info;
|
|
28
|
+
};
|
|
29
|
+
export type CreateSendRateResponse = {
|
|
30
|
+
sendRate: SendRate;
|
|
31
|
+
};
|
|
32
|
+
export type UpdateSendRateRequest = {
|
|
33
|
+
application?: string;
|
|
34
|
+
push?: Info;
|
|
35
|
+
email?: Info;
|
|
36
|
+
sms?: Info;
|
|
37
|
+
inApp?: Info;
|
|
38
|
+
};
|
|
39
|
+
export type UpdateSendRateResponse = {};
|
package/send_rate.js
ADDED