@pushwoosh/rpc-v2-http-api-data 0.1.445 → 0.1.447

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.
@@ -1,5 +1,6 @@
1
1
  export interface CustomerJourneyService {
2
2
  GetDeviceEntries(request: GetDeviceEntriesRequest): Promise<GetDeviceEntriesResponse>;
3
+ GetCampaignPreset(request: GetCampaignPresetRequest): Promise<GetCampaignPresetResponse>;
3
4
  }
4
5
  export type GetDeviceEntriesRequest = {
5
6
  hwid?: string;
@@ -26,3 +27,11 @@ export type GetDeviceEntriesResponse = {
26
27
  totalPages: number;
27
28
  totalJourneys: number;
28
29
  };
30
+ export type GetCampaignPresetRequest = {
31
+ campaign?: string;
32
+ };
33
+ export type PointType = 'MessageBus' | 'Delay' | 'Terminator' | 'SendPush' | 'GoalEvent' | 'SendEmail' | 'BooleanSplitter' | 'WaitEvent' | 'InApp' | 'StartBySegment' | 'ABSplitter' | 'SetTags' | 'WebHook' | 'Filter' | 'SendSms' | 'APIStart' | 'SendWhatsApp' | 'SendData';
34
+ export type GetCampaignPresetResponse = {
35
+ preset: string;
36
+ type: PointType;
37
+ };
package/data.js CHANGED
@@ -3608,6 +3608,12 @@ export const data = {
3608
3608
  "response": "pushwoosh.rpc_v2.customer_journey.GetDeviceEntriesResponse",
3609
3609
  "method": "post",
3610
3610
  "path": "/api/filters:get-device-entries"
3611
+ },
3612
+ "GetCampaignPreset": {
3613
+ "request": "pushwoosh.rpc_v2.customer_journey.GetCampaignPresetRequest",
3614
+ "response": "pushwoosh.rpc_v2.customer_journey.GetCampaignPresetResponse",
3615
+ "method": "get",
3616
+ "path": "/api/journeys:get-campaign-preset"
3611
3617
  }
3612
3618
  }
3613
3619
  },
@@ -3696,6 +3702,48 @@ export const data = {
3696
3702
  }
3697
3703
  }
3698
3704
  },
3705
+ "pushwoosh.rpc_v2.customer_journey.GetCampaignPresetRequest": {
3706
+ "type": "I",
3707
+ "fields": {
3708
+ "campaign": {
3709
+ "type": "string"
3710
+ }
3711
+ }
3712
+ },
3713
+ "pushwoosh.rpc_v2.customer_journey.PointType": {
3714
+ "type": "E",
3715
+ "values": [
3716
+ "MessageBus",
3717
+ "Delay",
3718
+ "Terminator",
3719
+ "SendPush",
3720
+ "GoalEvent",
3721
+ "SendEmail",
3722
+ "BooleanSplitter",
3723
+ "WaitEvent",
3724
+ "InApp",
3725
+ "StartBySegment",
3726
+ "ABSplitter",
3727
+ "SetTags",
3728
+ "WebHook",
3729
+ "Filter",
3730
+ "SendSms",
3731
+ "APIStart",
3732
+ "SendWhatsApp",
3733
+ "SendData"
3734
+ ]
3735
+ },
3736
+ "pushwoosh.rpc_v2.customer_journey.GetCampaignPresetResponse": {
3737
+ "type": "I",
3738
+ "fields": {
3739
+ "preset": {
3740
+ "type": "string"
3741
+ },
3742
+ "type": {
3743
+ "type": "pushwoosh.rpc_v2.customer_journey.PointType"
3744
+ }
3745
+ }
3746
+ },
3699
3747
  "pushwoosh.rpc_v2.deeplinks.DeeplinksService": {
3700
3748
  "type": "S",
3701
3749
  "key": "deeplinks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.445",
3
+ "version": "0.1.447",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",