@pushwoosh/rpc-v2-http-api-data 0.1.625 → 0.1.626
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
CHANGED
|
@@ -9614,6 +9614,36 @@ export const data = {
|
|
|
9614
9614
|
}
|
|
9615
9615
|
}
|
|
9616
9616
|
},
|
|
9617
|
+
"pushwoosh.objects.filters.v1.LogicExpression.Field.Description": {
|
|
9618
|
+
"type": "I",
|
|
9619
|
+
"fields": {
|
|
9620
|
+
"operator": {
|
|
9621
|
+
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Operator"
|
|
9622
|
+
},
|
|
9623
|
+
"value": {
|
|
9624
|
+
"type": "string"
|
|
9625
|
+
},
|
|
9626
|
+
"values": {
|
|
9627
|
+
"type": "string",
|
|
9628
|
+
"array": true
|
|
9629
|
+
}
|
|
9630
|
+
}
|
|
9631
|
+
},
|
|
9632
|
+
"pushwoosh.objects.filters.v1.LogicExpression.Field.DeviceLoadPolicy": {
|
|
9633
|
+
"type": "I",
|
|
9634
|
+
"fields": {
|
|
9635
|
+
"operator": {
|
|
9636
|
+
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Operator"
|
|
9637
|
+
},
|
|
9638
|
+
"value": {
|
|
9639
|
+
"type": "string"
|
|
9640
|
+
},
|
|
9641
|
+
"values": {
|
|
9642
|
+
"type": "string",
|
|
9643
|
+
"array": true
|
|
9644
|
+
}
|
|
9645
|
+
}
|
|
9646
|
+
},
|
|
9617
9647
|
"pushwoosh.objects.filters.v1.LogicExpression.Field": {
|
|
9618
9648
|
"type": "I",
|
|
9619
9649
|
"fields": {
|
|
@@ -9667,6 +9697,12 @@ export const data = {
|
|
|
9667
9697
|
},
|
|
9668
9698
|
"CondUpdated": {
|
|
9669
9699
|
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Updated"
|
|
9700
|
+
},
|
|
9701
|
+
"CondDescription": {
|
|
9702
|
+
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Description"
|
|
9703
|
+
},
|
|
9704
|
+
"CondDeviceLoadPolicy": {
|
|
9705
|
+
"type": "pushwoosh.objects.filters.v1.LogicExpression.Field.DeviceLoadPolicy"
|
|
9670
9706
|
}
|
|
9671
9707
|
},
|
|
9672
9708
|
"oneofs": {
|
|
@@ -9688,7 +9724,9 @@ export const data = {
|
|
|
9688
9724
|
"CondCreated",
|
|
9689
9725
|
"CondFilterExpressionRaw",
|
|
9690
9726
|
"CondFiltrationID",
|
|
9691
|
-
"CondUpdated"
|
|
9727
|
+
"CondUpdated",
|
|
9728
|
+
"CondDescription",
|
|
9729
|
+
"CondDeviceLoadPolicy"
|
|
9692
9730
|
]
|
|
9693
9731
|
}
|
|
9694
9732
|
}
|
|
@@ -9948,6 +9986,18 @@ export const data = {
|
|
|
9948
9986
|
"response": "{}",
|
|
9949
9987
|
"method": "patch",
|
|
9950
9988
|
"path": "/v1/objects/filters/ID/{ID}/update/Updated"
|
|
9989
|
+
},
|
|
9990
|
+
"UpdateDescription": {
|
|
9991
|
+
"request": "pushwoosh.objects.filters.v1.UpdateDescriptionRequest",
|
|
9992
|
+
"response": "{}",
|
|
9993
|
+
"method": "patch",
|
|
9994
|
+
"path": "/v1/objects/filters/ID/{ID}/update/Description"
|
|
9995
|
+
},
|
|
9996
|
+
"UpdateDeviceLoadPolicy": {
|
|
9997
|
+
"request": "pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest",
|
|
9998
|
+
"response": "{}",
|
|
9999
|
+
"method": "patch",
|
|
10000
|
+
"path": "/v1/objects/filters/ID/{ID}/update/DeviceLoadPolicy"
|
|
9951
10001
|
}
|
|
9952
10002
|
}
|
|
9953
10003
|
},
|
|
@@ -10001,6 +10051,12 @@ export const data = {
|
|
|
10001
10051
|
},
|
|
10002
10052
|
"Updated": {
|
|
10003
10053
|
"type": "Date"
|
|
10054
|
+
},
|
|
10055
|
+
"Description": {
|
|
10056
|
+
"type": "string"
|
|
10057
|
+
},
|
|
10058
|
+
"DeviceLoadPolicy": {
|
|
10059
|
+
"type": "string"
|
|
10004
10060
|
}
|
|
10005
10061
|
}
|
|
10006
10062
|
},
|
|
@@ -10323,6 +10379,28 @@ export const data = {
|
|
|
10323
10379
|
}
|
|
10324
10380
|
}
|
|
10325
10381
|
},
|
|
10382
|
+
"pushwoosh.objects.filters.v1.UpdateDescriptionRequest": {
|
|
10383
|
+
"type": "I",
|
|
10384
|
+
"fields": {
|
|
10385
|
+
"ID": {
|
|
10386
|
+
"type": "number"
|
|
10387
|
+
},
|
|
10388
|
+
"value": {
|
|
10389
|
+
"type": "string"
|
|
10390
|
+
}
|
|
10391
|
+
}
|
|
10392
|
+
},
|
|
10393
|
+
"pushwoosh.objects.filters.v1.UpdateDeviceLoadPolicyRequest": {
|
|
10394
|
+
"type": "I",
|
|
10395
|
+
"fields": {
|
|
10396
|
+
"ID": {
|
|
10397
|
+
"type": "number"
|
|
10398
|
+
},
|
|
10399
|
+
"value": {
|
|
10400
|
+
"type": "string"
|
|
10401
|
+
}
|
|
10402
|
+
}
|
|
10403
|
+
},
|
|
10326
10404
|
"pushwoosh.objects.filters.v1.GetRequest": {
|
|
10327
10405
|
"type": "I",
|
|
10328
10406
|
"fields": {
|
|
@@ -10447,6 +10525,12 @@ export const data = {
|
|
|
10447
10525
|
},
|
|
10448
10526
|
"Updated": {
|
|
10449
10527
|
"type": "Date"
|
|
10528
|
+
},
|
|
10529
|
+
"Description": {
|
|
10530
|
+
"type": "string"
|
|
10531
|
+
},
|
|
10532
|
+
"DeviceLoadPolicy": {
|
|
10533
|
+
"type": "string"
|
|
10450
10534
|
}
|
|
10451
10535
|
}
|
|
10452
10536
|
},
|
|
@@ -19471,6 +19555,13 @@ export const data = {
|
|
|
19471
19555
|
}
|
|
19472
19556
|
}
|
|
19473
19557
|
},
|
|
19558
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.EventCalcType": {
|
|
19559
|
+
"type": "E",
|
|
19560
|
+
"values": [
|
|
19561
|
+
"EventCalcTypeAll",
|
|
19562
|
+
"EventCalcTypeUnique"
|
|
19563
|
+
]
|
|
19564
|
+
},
|
|
19474
19565
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.Metric": {
|
|
19475
19566
|
"type": "I",
|
|
19476
19567
|
"fields": {
|
|
@@ -19488,6 +19579,9 @@ export const data = {
|
|
|
19488
19579
|
"tag": {
|
|
19489
19580
|
"type": "string",
|
|
19490
19581
|
"optional": true
|
|
19582
|
+
},
|
|
19583
|
+
"eventCalcType": {
|
|
19584
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.EventCalcType"
|
|
19491
19585
|
}
|
|
19492
19586
|
},
|
|
19493
19587
|
"oneofs": {}
|
package/package.json
CHANGED
|
@@ -95,6 +95,16 @@ 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
|
+
};
|
|
98
108
|
export type LogicExpression_Field_kind_CondID = {
|
|
99
109
|
type: 'CondID';
|
|
100
110
|
data: LogicExpression_Field_ID;
|
|
@@ -163,7 +173,15 @@ export type LogicExpression_Field_kind_CondUpdated = {
|
|
|
163
173
|
type: 'CondUpdated';
|
|
164
174
|
data: LogicExpression_Field_Updated;
|
|
165
175
|
};
|
|
166
|
-
export type
|
|
176
|
+
export type LogicExpression_Field_kind_CondDescription = {
|
|
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;
|
|
167
185
|
export type LogicExpression_Field = {
|
|
168
186
|
kind: LogicExpression_Field_kind;
|
|
169
187
|
};
|
|
@@ -226,6 +244,8 @@ export interface FiltersCrudService {
|
|
|
226
244
|
UpdateFilterExpressionRaw(request: UpdateFilterExpressionRawRequest): Promise<{}>;
|
|
227
245
|
UpdateFiltrationID(request: UpdateFiltrationIDRequest): Promise<{}>;
|
|
228
246
|
UpdateUpdated(request: UpdateUpdatedRequest): Promise<{}>;
|
|
247
|
+
UpdateDescription(request: UpdateDescriptionRequest): Promise<{}>;
|
|
248
|
+
UpdateDeviceLoadPolicy(request: UpdateDeviceLoadPolicyRequest): Promise<{}>;
|
|
229
249
|
}
|
|
230
250
|
export type CreateRequest = {
|
|
231
251
|
Code?: string;
|
|
@@ -244,6 +264,8 @@ export type CreateRequest = {
|
|
|
244
264
|
FilterExpressionRaw?: string;
|
|
245
265
|
FiltrationID?: string;
|
|
246
266
|
Updated?: Date;
|
|
267
|
+
Description?: string;
|
|
268
|
+
DeviceLoadPolicy?: string;
|
|
247
269
|
};
|
|
248
270
|
export type CreateResponse = {
|
|
249
271
|
filter: Filter;
|
|
@@ -360,6 +382,14 @@ export type UpdateUpdatedRequest = {
|
|
|
360
382
|
ID?: number;
|
|
361
383
|
value?: Date;
|
|
362
384
|
};
|
|
385
|
+
export type UpdateDescriptionRequest = {
|
|
386
|
+
ID?: number;
|
|
387
|
+
value?: string;
|
|
388
|
+
};
|
|
389
|
+
export type UpdateDeviceLoadPolicyRequest = {
|
|
390
|
+
ID?: number;
|
|
391
|
+
value?: string;
|
|
392
|
+
};
|
|
363
393
|
export type GetRequest = {
|
|
364
394
|
ID?: number;
|
|
365
395
|
};
|
|
@@ -402,6 +432,8 @@ export type Filter = {
|
|
|
402
432
|
FilterExpressionRaw: string;
|
|
403
433
|
FiltrationID: string;
|
|
404
434
|
Updated: Date;
|
|
435
|
+
Description: string;
|
|
436
|
+
DeviceLoadPolicy: string;
|
|
405
437
|
};
|
|
406
438
|
export type FilterExpression_Operation_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_INTERSECT' | 'OPERATOR_UNION' | 'OPERATOR_DIFFERENCE';
|
|
407
439
|
export type FilterExpression_Operation = {
|
|
@@ -91,11 +91,13 @@ export type AttributeCondition = {
|
|
|
91
91
|
operator: MathOperator;
|
|
92
92
|
values: Value[];
|
|
93
93
|
};
|
|
94
|
+
export type EventCalcType = 'EventCalcTypeAll' | 'EventCalcTypeUnique';
|
|
94
95
|
export type Metric = {
|
|
95
96
|
id: number;
|
|
96
97
|
eventName?: string;
|
|
97
98
|
attributeConditions: AttributeCondition[];
|
|
98
99
|
tag?: string;
|
|
100
|
+
eventCalcType: EventCalcType;
|
|
99
101
|
};
|
|
100
102
|
export type TypeFilter = 'Platform' | 'Segment' | 'Push' | 'Email' | 'Campaign' | 'Journey';
|
|
101
103
|
export type ChartParams_TimeRange = {
|