@pushwoosh/rpc-v2-http-api-data 0.1.731 → 0.1.732

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
@@ -4863,6 +4863,20 @@ export const data = {
4863
4863
  }
4864
4864
  }
4865
4865
  },
4866
+ "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao": {
4867
+ "type": "I",
4868
+ "fields": {
4869
+ "content": {
4870
+ "type": "string"
4871
+ },
4872
+ "template": {
4873
+ "type": "string"
4874
+ },
4875
+ "contentVariables": {
4876
+ "type": "string"
4877
+ }
4878
+ }
4879
+ },
4866
4880
  "pushwoosh.channels.messagingApi.v2.Content": {
4867
4881
  "type": "I",
4868
4882
  "fields": {
@@ -4901,6 +4915,9 @@ export const data = {
4901
4915
  },
4902
4916
  "telegram": {
4903
4917
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
4918
+ },
4919
+ "kakao": {
4920
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao"
4904
4921
  }
4905
4922
  }
4906
4923
  },
@@ -8194,6 +8211,12 @@ export const data = {
8194
8211
  "response": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsResponse",
8195
8212
  "method": "post",
8196
8213
  "path": "/api/filters:get-device-filters"
8214
+ },
8215
+ "GetFilterUsage": {
8216
+ "request": "pushwoosh.rpc_v2.filters.GetFilterUsageRequest",
8217
+ "response": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse",
8218
+ "method": "post",
8219
+ "path": "/api/filters:get-filter-usage"
8197
8220
  }
8198
8221
  }
8199
8222
  },
@@ -8600,6 +8623,92 @@ export const data = {
8600
8623
  }
8601
8624
  }
8602
8625
  },
8626
+ "pushwoosh.rpc_v2.filters.GetFilterUsageRequest": {
8627
+ "type": "I",
8628
+ "fields": {
8629
+ "filter": {
8630
+ "type": "string"
8631
+ }
8632
+ }
8633
+ },
8634
+ "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Journey": {
8635
+ "type": "I",
8636
+ "fields": {
8637
+ "uuid": {
8638
+ "type": "string"
8639
+ },
8640
+ "title": {
8641
+ "type": "string"
8642
+ },
8643
+ "status": {
8644
+ "type": "number"
8645
+ },
8646
+ "pointsType": {
8647
+ "type": "number",
8648
+ "array": true
8649
+ }
8650
+ }
8651
+ },
8652
+ "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.OTM": {
8653
+ "type": "I",
8654
+ "fields": {
8655
+ "code": {
8656
+ "type": "string"
8657
+ },
8658
+ "name": {
8659
+ "type": "string"
8660
+ },
8661
+ "status": {
8662
+ "type": "number"
8663
+ }
8664
+ }
8665
+ },
8666
+ "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Inapp": {
8667
+ "type": "I",
8668
+ "fields": {
8669
+ "code": {
8670
+ "type": "string"
8671
+ },
8672
+ "name": {
8673
+ "type": "string"
8674
+ },
8675
+ "status": {
8676
+ "type": "string"
8677
+ }
8678
+ }
8679
+ },
8680
+ "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Preset": {
8681
+ "type": "I",
8682
+ "fields": {
8683
+ "code": {
8684
+ "type": "string"
8685
+ },
8686
+ "name": {
8687
+ "type": "string"
8688
+ }
8689
+ }
8690
+ },
8691
+ "pushwoosh.rpc_v2.filters.GetFilterUsageResponse": {
8692
+ "type": "I",
8693
+ "fields": {
8694
+ "journeys": {
8695
+ "type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Journey",
8696
+ "array": true
8697
+ },
8698
+ "otms": {
8699
+ "type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.OTM",
8700
+ "array": true
8701
+ },
8702
+ "inapps": {
8703
+ "type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Inapp",
8704
+ "array": true
8705
+ },
8706
+ "presets": {
8707
+ "type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Preset",
8708
+ "array": true
8709
+ }
8710
+ }
8711
+ },
8603
8712
  "pushwoosh.rpc_v2.frequency_capping.FrequencyCappingService": {
8604
8713
  "type": "S",
8605
8714
  "key": "frequencyCapping",
package/filters.d.ts CHANGED
@@ -12,6 +12,7 @@ export interface FiltersService {
12
12
  GetSeglang(request: GetSeglangRequest): Promise<GetSeglangResponse>;
13
13
  SeglangToFilterExpression(request: SeglangToFilterExpressionRequest): Promise<SeglangToFilterExpressionResponse>;
14
14
  GetMatchedSegments(request: GetMatchedSegmentsRequest): Promise<GetMatchedSegmentsResponse>;
15
+ GetFilterUsage(request: GetFilterUsageRequest): Promise<GetFilterUsageResponse>;
15
16
  }
16
17
  export type ListFiltersRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
17
18
  export type ListFiltersRequest_OrderDirection = 'ASC' | 'DESC';
@@ -153,3 +154,32 @@ export type GetMatchedSegmentsResponse = {
153
154
  totalPages: number;
154
155
  totalFilters: number;
155
156
  };
157
+ export type GetFilterUsageRequest = {
158
+ filter?: string;
159
+ };
160
+ export type GetFilterUsageResponse_Journey = {
161
+ uuid: string;
162
+ title: string;
163
+ status: number;
164
+ pointsType: number[];
165
+ };
166
+ export type GetFilterUsageResponse_OTM = {
167
+ code: string;
168
+ name: string;
169
+ status: number;
170
+ };
171
+ export type GetFilterUsageResponse_Inapp = {
172
+ code: string;
173
+ name: string;
174
+ status: string;
175
+ };
176
+ export type GetFilterUsageResponse_Preset = {
177
+ code: string;
178
+ name: string;
179
+ };
180
+ export type GetFilterUsageResponse = {
181
+ journeys: GetFilterUsageResponse_Journey[];
182
+ otms: GetFilterUsageResponse_OTM[];
183
+ inapps: GetFilterUsageResponse_Inapp[];
184
+ presets: GetFilterUsageResponse_Preset[];
185
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.731",
3
+ "version": "0.1.732",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -359,6 +359,11 @@ export type Content_PlatformPropertiesSMS = {};
359
359
  export type Content_PlatformPropertiesTelegram = {
360
360
  body: string;
361
361
  };
362
+ export type Content_PlatformPropertiesKakao = {
363
+ content: string;
364
+ template: string;
365
+ contentVariables: string;
366
+ };
362
367
  export type Content = {
363
368
  ios: Content_PlatformPropertiesIos;
364
369
  android: Content_PlatformPropertiesAndroid;
@@ -372,6 +377,7 @@ export type Content = {
372
377
  ie: Content_PlatformPropertiesIE;
373
378
  windows: Content_PlatformPropertiesWindows;
374
379
  telegram: Content_PlatformPropertiesTelegram;
380
+ kakao: Content_PlatformPropertiesKakao;
375
381
  };
376
382
  export type LocalizedContent = {
377
383
  localizedContent: Record<string, Content>;