@pushwoosh/rpc-v2-http-api-data 0.1.798 → 0.1.800
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/applications.d.ts +0 -17
- package/cloud_pages.d.ts +11 -0
- package/data.js +104 -60
- package/package.json +1 -1
- package/pushwoosh_accounts_alerts_v1.d.ts +3 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +3 -0
- package/pushwoosh_export_messages_v2.d.ts +29 -5
package/applications.d.ts
CHANGED
|
@@ -13,8 +13,6 @@ export interface ApplicationsService {
|
|
|
13
13
|
GetControlGroupSettings(request: GetControlGroupSettingsRequest): Promise<GetControlGroupSettingsResponse>;
|
|
14
14
|
UpdateControlGroupPercentage(request: UpdateControlGroupPercentageRequest): Promise<UpdateControlGroupPercentageResponse>;
|
|
15
15
|
DisableControlGroup(request: DisableControlGroupRequest): Promise<DisableControlGroupResponse>;
|
|
16
|
-
ExportControlGroup(request: ExportControlGroupRequest): Promise<ExportControlGroupResponse>;
|
|
17
|
-
DownloadControlGroupExport(request: DownloadControlGroupExportRequest): Promise<DownloadControlGroupExportResponse>;
|
|
18
16
|
}
|
|
19
17
|
export type ControlGroupTaskStatus = 'CONTROL_GROUP_TASK_STATUS_UNSPECIFIED' | 'CONTROL_GROUP_TASK_STATUS_NOT_STARTED' | 'CONTROL_GROUP_TASK_STATUS_IN_PROGRESS' | 'CONTROL_GROUP_TASK_STATUS_COMPLETED';
|
|
20
18
|
export type ApplicationPlatformSubscribersCount = {
|
|
@@ -155,18 +153,3 @@ export type ShuffleControlGroupRequest = {
|
|
|
155
153
|
code: string;
|
|
156
154
|
};
|
|
157
155
|
export type ShuffleControlGroupResponse = {};
|
|
158
|
-
export type ExportControlGroupRequest = {
|
|
159
|
-
code?: string;
|
|
160
|
-
};
|
|
161
|
-
export type ExportControlGroupResponse = {
|
|
162
|
-
status: ControlGroupTaskStatus;
|
|
163
|
-
progress: number;
|
|
164
|
-
devicesCount: number;
|
|
165
|
-
usersCount: number;
|
|
166
|
-
};
|
|
167
|
-
export type DownloadControlGroupExportRequest = {
|
|
168
|
-
code?: string;
|
|
169
|
-
};
|
|
170
|
-
export type DownloadControlGroupExportResponse = {
|
|
171
|
-
downloadUrl: string;
|
|
172
|
-
};
|
package/cloud_pages.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export interface CloudPagesService {
|
|
|
4
4
|
Create(request: CreateCloudPageRequest): Promise<CreateCloudPageResponse>;
|
|
5
5
|
Update(request: UpdateCloudPageRequest): Promise<UpdateCloudPageResponse>;
|
|
6
6
|
Delete(request: DeleteCloudPageRequest): Promise<DeleteCloudPageResponse>;
|
|
7
|
+
GetConfig(request: GetCloudPageConfigRequest): Promise<GetCloudPageConfigResponse>;
|
|
7
8
|
}
|
|
8
9
|
export type ListCloudPagesRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
9
10
|
export type ListCloudPagesRequest_OrderDirection = 'ASC' | 'DESC';
|
|
@@ -20,6 +21,7 @@ export type CloudPage = {
|
|
|
20
21
|
name: string;
|
|
21
22
|
code: string;
|
|
22
23
|
categories: string[];
|
|
24
|
+
slug: string;
|
|
23
25
|
content: string;
|
|
24
26
|
redirectUrl: string;
|
|
25
27
|
pushwooshJson: string;
|
|
@@ -42,6 +44,7 @@ export type CreateCloudPageRequest = {
|
|
|
42
44
|
application?: string;
|
|
43
45
|
name?: string;
|
|
44
46
|
categories?: string[];
|
|
47
|
+
slug?: string;
|
|
45
48
|
content?: string;
|
|
46
49
|
redirectUrl?: string;
|
|
47
50
|
pushwooshJson?: string;
|
|
@@ -53,6 +56,7 @@ export type UpdateCloudPageRequest = {
|
|
|
53
56
|
code?: string;
|
|
54
57
|
name?: string;
|
|
55
58
|
categories?: string[];
|
|
59
|
+
slug?: string;
|
|
56
60
|
content?: string;
|
|
57
61
|
redirectUrl?: string;
|
|
58
62
|
pushwooshJson?: string;
|
|
@@ -64,3 +68,10 @@ export type DeleteCloudPageRequest = {
|
|
|
64
68
|
code?: string;
|
|
65
69
|
};
|
|
66
70
|
export type DeleteCloudPageResponse = {};
|
|
71
|
+
export type GetCloudPageConfigRequest = {
|
|
72
|
+
application?: string;
|
|
73
|
+
};
|
|
74
|
+
export type GetCloudPageConfigResponse = {
|
|
75
|
+
slugAllowed: boolean;
|
|
76
|
+
slugDomain: string;
|
|
77
|
+
};
|
package/data.js
CHANGED
|
@@ -1576,6 +1576,10 @@ export const data = {
|
|
|
1576
1576
|
"content": {
|
|
1577
1577
|
"type": "string",
|
|
1578
1578
|
"optional": true
|
|
1579
|
+
},
|
|
1580
|
+
"actionLink": {
|
|
1581
|
+
"type": "string",
|
|
1582
|
+
"optional": true
|
|
1579
1583
|
}
|
|
1580
1584
|
},
|
|
1581
1585
|
"oneofs": {}
|
|
@@ -1697,7 +1701,12 @@ export const data = {
|
|
|
1697
1701
|
"optional": true
|
|
1698
1702
|
},
|
|
1699
1703
|
"meta": {
|
|
1700
|
-
"type": "object"
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"optional": true
|
|
1706
|
+
},
|
|
1707
|
+
"actionLink": {
|
|
1708
|
+
"type": "string",
|
|
1709
|
+
"optional": true
|
|
1701
1710
|
}
|
|
1702
1711
|
},
|
|
1703
1712
|
"oneofs": {}
|
|
@@ -1747,7 +1756,8 @@ export const data = {
|
|
|
1747
1756
|
"optional": true
|
|
1748
1757
|
},
|
|
1749
1758
|
"meta": {
|
|
1750
|
-
"type": "object"
|
|
1759
|
+
"type": "object",
|
|
1760
|
+
"optional": true
|
|
1751
1761
|
}
|
|
1752
1762
|
},
|
|
1753
1763
|
"oneofs": {}
|
|
@@ -2552,18 +2562,6 @@ export const data = {
|
|
|
2552
2562
|
"response": "pushwoosh.rpc_v2.applications.DisableControlGroupResponse",
|
|
2553
2563
|
"method": "delete",
|
|
2554
2564
|
"path": "/api/applications/{code}/control_group"
|
|
2555
|
-
},
|
|
2556
|
-
"ExportControlGroup": {
|
|
2557
|
-
"request": "pushwoosh.rpc_v2.applications.ExportControlGroupRequest",
|
|
2558
|
-
"response": "pushwoosh.rpc_v2.applications.ExportControlGroupResponse",
|
|
2559
|
-
"method": "post",
|
|
2560
|
-
"path": "/api/applications/{code}/control_group:export"
|
|
2561
|
-
},
|
|
2562
|
-
"DownloadControlGroupExport": {
|
|
2563
|
-
"request": "pushwoosh.rpc_v2.applications.DownloadControlGroupExportRequest",
|
|
2564
|
-
"response": "pushwoosh.rpc_v2.applications.DownloadControlGroupExportResponse",
|
|
2565
|
-
"method": "get",
|
|
2566
|
-
"path": "/api/applications/{code}/control_group:download"
|
|
2567
2565
|
}
|
|
2568
2566
|
}
|
|
2569
2567
|
},
|
|
@@ -2990,47 +2988,6 @@ export const data = {
|
|
|
2990
2988
|
"type": "I",
|
|
2991
2989
|
"fields": {}
|
|
2992
2990
|
},
|
|
2993
|
-
"pushwoosh.rpc_v2.applications.ExportControlGroupRequest": {
|
|
2994
|
-
"type": "I",
|
|
2995
|
-
"fields": {
|
|
2996
|
-
"code": {
|
|
2997
|
-
"type": "string"
|
|
2998
|
-
}
|
|
2999
|
-
}
|
|
3000
|
-
},
|
|
3001
|
-
"pushwoosh.rpc_v2.applications.ExportControlGroupResponse": {
|
|
3002
|
-
"type": "I",
|
|
3003
|
-
"fields": {
|
|
3004
|
-
"status": {
|
|
3005
|
-
"type": "pushwoosh.rpc_v2.applications.ControlGroupTaskStatus"
|
|
3006
|
-
},
|
|
3007
|
-
"progress": {
|
|
3008
|
-
"type": "number"
|
|
3009
|
-
},
|
|
3010
|
-
"devicesCount": {
|
|
3011
|
-
"type": "number"
|
|
3012
|
-
},
|
|
3013
|
-
"usersCount": {
|
|
3014
|
-
"type": "number"
|
|
3015
|
-
}
|
|
3016
|
-
}
|
|
3017
|
-
},
|
|
3018
|
-
"pushwoosh.rpc_v2.applications.DownloadControlGroupExportRequest": {
|
|
3019
|
-
"type": "I",
|
|
3020
|
-
"fields": {
|
|
3021
|
-
"code": {
|
|
3022
|
-
"type": "string"
|
|
3023
|
-
}
|
|
3024
|
-
}
|
|
3025
|
-
},
|
|
3026
|
-
"pushwoosh.rpc_v2.applications.DownloadControlGroupExportResponse": {
|
|
3027
|
-
"type": "I",
|
|
3028
|
-
"fields": {
|
|
3029
|
-
"downloadUrl": {
|
|
3030
|
-
"type": "string"
|
|
3031
|
-
}
|
|
3032
|
-
}
|
|
3033
|
-
},
|
|
3034
2991
|
"pushwoosh.rpc_v2.applications.email_froms.ApplicationEmailFromsService": {
|
|
3035
2992
|
"type": "S",
|
|
3036
2993
|
"key": "applicationEmailFroms",
|
|
@@ -4617,6 +4574,14 @@ export const data = {
|
|
|
4617
4574
|
}
|
|
4618
4575
|
}
|
|
4619
4576
|
},
|
|
4577
|
+
"pushwoosh.channels.messagingApi.v2.MessageType": {
|
|
4578
|
+
"type": "E",
|
|
4579
|
+
"values": [
|
|
4580
|
+
"MESSAGE_TYPE_UNSPECIFIED",
|
|
4581
|
+
"MESSAGE_TYPE_MARKETING",
|
|
4582
|
+
"MESSAGE_TYPE_TRANSACTIONAL"
|
|
4583
|
+
]
|
|
4584
|
+
},
|
|
4620
4585
|
"pushwoosh.channels.messagingApi.v2.Platform": {
|
|
4621
4586
|
"type": "E",
|
|
4622
4587
|
"values": [
|
|
@@ -4684,6 +4649,9 @@ export const data = {
|
|
|
4684
4649
|
"dynamicContentPlaceholders": {
|
|
4685
4650
|
"type": "string",
|
|
4686
4651
|
"mapKeyType": "string"
|
|
4652
|
+
},
|
|
4653
|
+
"messageType": {
|
|
4654
|
+
"type": "pushwoosh.channels.messagingApi.v2.MessageType"
|
|
4687
4655
|
}
|
|
4688
4656
|
},
|
|
4689
4657
|
"oneofs": {
|
|
@@ -4778,6 +4746,9 @@ export const data = {
|
|
|
4778
4746
|
"dynamicContentPlaceholders": {
|
|
4779
4747
|
"type": "string",
|
|
4780
4748
|
"mapKeyType": "string"
|
|
4749
|
+
},
|
|
4750
|
+
"messageType": {
|
|
4751
|
+
"type": "pushwoosh.channels.messagingApi.v2.MessageType"
|
|
4781
4752
|
}
|
|
4782
4753
|
},
|
|
4783
4754
|
"oneofs": {
|
|
@@ -5646,6 +5617,12 @@ export const data = {
|
|
|
5646
5617
|
"response": "pushwoosh.rpc_v2.cloud_pages.DeleteCloudPageResponse",
|
|
5647
5618
|
"method": "delete",
|
|
5648
5619
|
"path": "/api/cloud_pages/{code}"
|
|
5620
|
+
},
|
|
5621
|
+
"GetConfig": {
|
|
5622
|
+
"request": "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigRequest",
|
|
5623
|
+
"response": "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigResponse",
|
|
5624
|
+
"method": "get",
|
|
5625
|
+
"path": "/api/cloud_pages/config"
|
|
5649
5626
|
}
|
|
5650
5627
|
}
|
|
5651
5628
|
},
|
|
@@ -5704,6 +5681,9 @@ export const data = {
|
|
|
5704
5681
|
"type": "string",
|
|
5705
5682
|
"array": true
|
|
5706
5683
|
},
|
|
5684
|
+
"slug": {
|
|
5685
|
+
"type": "string"
|
|
5686
|
+
},
|
|
5707
5687
|
"content": {
|
|
5708
5688
|
"type": "string"
|
|
5709
5689
|
},
|
|
@@ -5768,6 +5748,9 @@ export const data = {
|
|
|
5768
5748
|
"type": "string",
|
|
5769
5749
|
"array": true
|
|
5770
5750
|
},
|
|
5751
|
+
"slug": {
|
|
5752
|
+
"type": "string"
|
|
5753
|
+
},
|
|
5771
5754
|
"content": {
|
|
5772
5755
|
"type": "string"
|
|
5773
5756
|
},
|
|
@@ -5800,6 +5783,9 @@ export const data = {
|
|
|
5800
5783
|
"type": "string",
|
|
5801
5784
|
"array": true
|
|
5802
5785
|
},
|
|
5786
|
+
"slug": {
|
|
5787
|
+
"type": "string"
|
|
5788
|
+
},
|
|
5803
5789
|
"content": {
|
|
5804
5790
|
"type": "string"
|
|
5805
5791
|
},
|
|
@@ -5831,6 +5817,25 @@ export const data = {
|
|
|
5831
5817
|
"type": "I",
|
|
5832
5818
|
"fields": {}
|
|
5833
5819
|
},
|
|
5820
|
+
"pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigRequest": {
|
|
5821
|
+
"type": "I",
|
|
5822
|
+
"fields": {
|
|
5823
|
+
"application": {
|
|
5824
|
+
"type": "string"
|
|
5825
|
+
}
|
|
5826
|
+
}
|
|
5827
|
+
},
|
|
5828
|
+
"pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigResponse": {
|
|
5829
|
+
"type": "I",
|
|
5830
|
+
"fields": {
|
|
5831
|
+
"slugAllowed": {
|
|
5832
|
+
"type": "boolean"
|
|
5833
|
+
},
|
|
5834
|
+
"slugDomain": {
|
|
5835
|
+
"type": "string"
|
|
5836
|
+
}
|
|
5837
|
+
}
|
|
5838
|
+
},
|
|
5834
5839
|
"pushwoosh.rpc_v2.customer_journey.CustomerJourneyService": {
|
|
5835
5840
|
"type": "S",
|
|
5836
5841
|
"key": "customerJourney",
|
|
@@ -7554,7 +7559,8 @@ export const data = {
|
|
|
7554
7559
|
"TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST",
|
|
7555
7560
|
"TASK_TYPE_EXPORT_JOURNEY_USERS_LIST",
|
|
7556
7561
|
"TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS",
|
|
7557
|
-
"TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS"
|
|
7562
|
+
"TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS",
|
|
7563
|
+
"TASK_TYPE_EXPORT_CONTROL_GROUP"
|
|
7558
7564
|
]
|
|
7559
7565
|
},
|
|
7560
7566
|
"pushwoosh.export_messages.v2.ExportRequest": {
|
|
@@ -7625,6 +7631,9 @@ export const data = {
|
|
|
7625
7631
|
},
|
|
7626
7632
|
"exportJourneyGoalUsers": {
|
|
7627
7633
|
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersArgs"
|
|
7634
|
+
},
|
|
7635
|
+
"exportControlGroup": {
|
|
7636
|
+
"type": "pushwoosh.export_messages.v2.ExportControlGroupArgs"
|
|
7628
7637
|
}
|
|
7629
7638
|
},
|
|
7630
7639
|
"oneofs": {
|
|
@@ -7650,7 +7659,8 @@ export const data = {
|
|
|
7650
7659
|
"updateSegmentInsightsList",
|
|
7651
7660
|
"exportJourneyUsersList",
|
|
7652
7661
|
"exportJourneyPointsStatistics",
|
|
7653
|
-
"exportJourneyGoalUsers"
|
|
7662
|
+
"exportJourneyGoalUsers",
|
|
7663
|
+
"exportControlGroup"
|
|
7654
7664
|
]
|
|
7655
7665
|
}
|
|
7656
7666
|
}
|
|
@@ -7782,6 +7792,9 @@ export const data = {
|
|
|
7782
7792
|
},
|
|
7783
7793
|
"exportJourneyGoalUsersResult": {
|
|
7784
7794
|
"type": "pushwoosh.export_messages.v2.ExportJourneyGoalUsersResult"
|
|
7795
|
+
},
|
|
7796
|
+
"exportControlGroupResult": {
|
|
7797
|
+
"type": "pushwoosh.export_messages.v2.ExportControlGroupResult"
|
|
7785
7798
|
}
|
|
7786
7799
|
},
|
|
7787
7800
|
"oneofs": {
|
|
@@ -7808,7 +7821,8 @@ export const data = {
|
|
|
7808
7821
|
"updateSegmentInsightsListResult",
|
|
7809
7822
|
"exportJourneyUsersListResult",
|
|
7810
7823
|
"exportJourneyPointsStatisticsResult",
|
|
7811
|
-
"exportJourneyGoalUsersResult"
|
|
7824
|
+
"exportJourneyGoalUsersResult",
|
|
7825
|
+
"exportControlGroupResult"
|
|
7812
7826
|
]
|
|
7813
7827
|
}
|
|
7814
7828
|
}
|
|
@@ -7921,6 +7935,9 @@ export const data = {
|
|
|
7921
7935
|
"exportJourneyPointUsers": {
|
|
7922
7936
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointUsersArgs"
|
|
7923
7937
|
},
|
|
7938
|
+
"exportControlGroup": {
|
|
7939
|
+
"type": "pushwoosh.export_messages.v2.ExportControlGroupArgs"
|
|
7940
|
+
},
|
|
7924
7941
|
"failedTask": {
|
|
7925
7942
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
7926
7943
|
},
|
|
@@ -7977,6 +7994,9 @@ export const data = {
|
|
|
7977
7994
|
},
|
|
7978
7995
|
"exportJourneyPointUsersResult": {
|
|
7979
7996
|
"type": "pushwoosh.export_messages.v2.ExportJourneyPointUsersResult"
|
|
7997
|
+
},
|
|
7998
|
+
"exportControlGroupResult": {
|
|
7999
|
+
"type": "pushwoosh.export_messages.v2.ExportControlGroupResult"
|
|
7980
8000
|
}
|
|
7981
8001
|
},
|
|
7982
8002
|
"oneofs": {
|
|
@@ -7999,7 +8019,8 @@ export const data = {
|
|
|
7999
8019
|
"exportJourneyUsersList",
|
|
8000
8020
|
"exportJourneyPointsStatistics",
|
|
8001
8021
|
"exportJourneyGoalUsers",
|
|
8002
|
-
"exportJourneyPointUsers"
|
|
8022
|
+
"exportJourneyPointUsers",
|
|
8023
|
+
"exportControlGroup"
|
|
8003
8024
|
]
|
|
8004
8025
|
},
|
|
8005
8026
|
"result": {
|
|
@@ -8022,7 +8043,8 @@ export const data = {
|
|
|
8022
8043
|
"exportJourneyUsersListResult",
|
|
8023
8044
|
"exportJourneyPointsStatisticsResult",
|
|
8024
8045
|
"exportJourneyGoalUsersResult",
|
|
8025
|
-
"exportJourneyPointUsersResult"
|
|
8046
|
+
"exportJourneyPointUsersResult",
|
|
8047
|
+
"exportControlGroupResult"
|
|
8026
8048
|
]
|
|
8027
8049
|
}
|
|
8028
8050
|
}
|
|
@@ -8962,6 +8984,28 @@ export const data = {
|
|
|
8962
8984
|
}
|
|
8963
8985
|
}
|
|
8964
8986
|
},
|
|
8987
|
+
"pushwoosh.export_messages.v2.ExportControlGroupArgs": {
|
|
8988
|
+
"type": "I",
|
|
8989
|
+
"fields": {
|
|
8990
|
+
"applicationCode": {
|
|
8991
|
+
"type": "string"
|
|
8992
|
+
}
|
|
8993
|
+
}
|
|
8994
|
+
},
|
|
8995
|
+
"pushwoosh.export_messages.v2.ExportControlGroupResult": {
|
|
8996
|
+
"type": "I",
|
|
8997
|
+
"fields": {
|
|
8998
|
+
"file": {
|
|
8999
|
+
"type": "string"
|
|
9000
|
+
},
|
|
9001
|
+
"devicesCount": {
|
|
9002
|
+
"type": "number"
|
|
9003
|
+
},
|
|
9004
|
+
"usersCount": {
|
|
9005
|
+
"type": "number"
|
|
9006
|
+
}
|
|
9007
|
+
}
|
|
9008
|
+
},
|
|
8965
9009
|
"pushwoosh.rpc_v2.filters.FiltersService": {
|
|
8966
9010
|
"type": "S",
|
|
8967
9011
|
"key": "filters",
|
package/package.json
CHANGED
|
@@ -7,6 +7,7 @@ export interface AlertsService {
|
|
|
7
7
|
export type AlertBanner = {
|
|
8
8
|
type: AlertType;
|
|
9
9
|
content?: string;
|
|
10
|
+
actionLink?: string;
|
|
10
11
|
};
|
|
11
12
|
export type AlertEmail = {
|
|
12
13
|
to: string;
|
|
@@ -38,7 +39,8 @@ export type ListResponse_Alert = {
|
|
|
38
39
|
uuid: string;
|
|
39
40
|
accountId: number;
|
|
40
41
|
applicationId?: number;
|
|
41
|
-
meta
|
|
42
|
+
meta?: object;
|
|
43
|
+
actionLink?: string;
|
|
42
44
|
};
|
|
43
45
|
export type ListResponse = {
|
|
44
46
|
alerts: ListResponse_Alert[];
|
|
@@ -34,6 +34,7 @@ export type NotifyResult = {
|
|
|
34
34
|
messageCode: string;
|
|
35
35
|
unknownIdentifiers: string[];
|
|
36
36
|
};
|
|
37
|
+
export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'MESSAGE_TYPE_MARKETING' | 'MESSAGE_TYPE_TRANSACTIONAL';
|
|
37
38
|
export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE' | 'KAKAO' | 'TELEGRAM';
|
|
38
39
|
export type NotifySegment_target_code = {
|
|
39
40
|
type: 'code';
|
|
@@ -66,6 +67,7 @@ export type NotifySegment = {
|
|
|
66
67
|
sendRate: SendRate;
|
|
67
68
|
metaData: object;
|
|
68
69
|
dynamicContentPlaceholders: Record<string, string>;
|
|
70
|
+
messageType: MessageType;
|
|
69
71
|
target: NotifySegment_target;
|
|
70
72
|
messagePayload: NotifySegment_messagePayload;
|
|
71
73
|
};
|
|
@@ -114,6 +116,7 @@ export type NotifyTransactional = {
|
|
|
114
116
|
sendRate: SendRate;
|
|
115
117
|
metaData: object;
|
|
116
118
|
dynamicContentPlaceholders: Record<string, string>;
|
|
119
|
+
messageType: MessageType;
|
|
117
120
|
target: NotifyTransactional_target;
|
|
118
121
|
messagePayload: NotifyTransactional_messagePayload;
|
|
119
122
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV' | 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES' | 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION' | 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS';
|
|
1
|
+
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV' | 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES' | 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION' | 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS' | 'TASK_TYPE_EXPORT_CONTROL_GROUP';
|
|
2
2
|
export type ExportRequest_args_trackingLogCsv = {
|
|
3
3
|
type: 'trackingLogCsv';
|
|
4
4
|
data: TrackingLogCSVArgs;
|
|
@@ -83,7 +83,11 @@ export type ExportRequest_args_exportJourneyGoalUsers = {
|
|
|
83
83
|
type: 'exportJourneyGoalUsers';
|
|
84
84
|
data: ExportJourneyGoalUsersArgs;
|
|
85
85
|
};
|
|
86
|
-
export type
|
|
86
|
+
export type ExportRequest_args_exportControlGroup = {
|
|
87
|
+
type: 'exportControlGroup';
|
|
88
|
+
data: ExportControlGroupArgs;
|
|
89
|
+
};
|
|
90
|
+
export type ExportRequest_args = ExportRequest_args_trackingLogCsv | ExportRequest_args_exportMessagesV2 | ExportRequest_args_exportUnregisteredDevices | ExportRequest_args_exportRichMediaFormValues | ExportRequest_args_applySegmentToMessage | ExportRequest_args_exportApplySegmentToMessage | ExportRequest_args_calculateRetention | ExportRequest_args_applySegmentToMetric | ExportRequest_args_exportRichMediaRecipients | ExportRequest_args_exportBouncedEmails | ExportRequest_args_exportJourneysHistory | ExportRequest_args_exportJourneyPointUsers | ExportRequest_args_exportMessageRecipients | ExportRequest_args_exportMessageClicksDevices | ExportRequest_args_exportMessageEventTriggeredDevices | ExportRequest_args_exportMessageErrorDevices | ExportRequest_args_createSegmentFromMessage | ExportRequest_args_updateSegmentInsightsList | ExportRequest_args_exportJourneyUsersList | ExportRequest_args_exportJourneyPointsStatistics | ExportRequest_args_exportJourneyGoalUsers | ExportRequest_args_exportControlGroup;
|
|
87
91
|
export type ExportRequest = {
|
|
88
92
|
type?: TaskType;
|
|
89
93
|
args: ExportRequest_args;
|
|
@@ -194,7 +198,11 @@ export type ResultResponse_result_exportJourneyGoalUsersResult = {
|
|
|
194
198
|
type: 'exportJourneyGoalUsersResult';
|
|
195
199
|
data: ExportJourneyGoalUsersResult;
|
|
196
200
|
};
|
|
197
|
-
export type
|
|
201
|
+
export type ResultResponse_result_exportControlGroupResult = {
|
|
202
|
+
type: 'exportControlGroupResult';
|
|
203
|
+
data: ExportControlGroupResult;
|
|
204
|
+
};
|
|
205
|
+
export type ResultResponse_result = ResultResponse_result_failedTask | ResultResponse_result_trackingLogResult | ResultResponse_result_exportMessagesV2Result | ResultResponse_result_exportUnregisteredDevicesResult | ResultResponse_result_exportRichMediaFormValuesResult | ResultResponse_result_applySegmentToMessageResult | ResultResponse_result_exportApplySegmentToMessageResult | ResultResponse_result_calculateRetentionResult | ResultResponse_result_applySegmentToMetricResult | ResultResponse_result_exportRichMediaRecipientsResult | ResultResponse_result_exportBouncedEmailsResult | ResultResponse_result_exportJourneysHistoryResult | ResultResponse_result_exportJourneyPointUsersResult | ResultResponse_result_exportMessageRecipientsResult | ResultResponse_result_exportMessageClicksDevicesResult | ResultResponse_result_exportMessageEventTriggeredDevicesResult | ResultResponse_result_exportMessageErrorDevicesResult | ResultResponse_result_createSegmentFromMessageResult | ResultResponse_result_updateSegmentInsightsListResult | ResultResponse_result_exportJourneyUsersListResult | ResultResponse_result_exportJourneyPointsStatisticsResult | ResultResponse_result_exportJourneyGoalUsersResult | ResultResponse_result_exportControlGroupResult;
|
|
198
206
|
export type ResultResponse = {
|
|
199
207
|
type: TaskType;
|
|
200
208
|
result: ResultResponse_result;
|
|
@@ -284,7 +292,11 @@ export type TaskInfo_args_exportJourneyPointUsers = {
|
|
|
284
292
|
type: 'exportJourneyPointUsers';
|
|
285
293
|
data: ExportJourneyPointUsersArgs;
|
|
286
294
|
};
|
|
287
|
-
export type
|
|
295
|
+
export type TaskInfo_args_exportControlGroup = {
|
|
296
|
+
type: 'exportControlGroup';
|
|
297
|
+
data: ExportControlGroupArgs;
|
|
298
|
+
};
|
|
299
|
+
export type TaskInfo_args = TaskInfo_args_trackingLogCsv | TaskInfo_args_exportMessagesV2 | TaskInfo_args_exportUnregisteredDevices | TaskInfo_args_exportRichMediaFormValues | TaskInfo_args_applySegmentToMessage | TaskInfo_args_exportRichMediaRecipients | TaskInfo_args_exportJourneysHistory | TaskInfo_args_exportMessageRecipients | TaskInfo_args_exportMessageClicksDevices | TaskInfo_args_exportMessageEventTriggeredDevices | TaskInfo_args_exportMessageErrorsDevices | TaskInfo_args_createSegmentFromMessage | TaskInfo_args_updateSegmentInsightsList | TaskInfo_args_exportBouncedEmails | TaskInfo_args_exportJourneyUsersList | TaskInfo_args_exportJourneyPointsStatistics | TaskInfo_args_exportJourneyGoalUsers | TaskInfo_args_exportJourneyPointUsers | TaskInfo_args_exportControlGroup;
|
|
288
300
|
export type TaskInfo_result_failedTask = {
|
|
289
301
|
type: 'failedTask';
|
|
290
302
|
data: TaskFailed;
|
|
@@ -361,7 +373,11 @@ export type TaskInfo_result_exportJourneyPointUsersResult = {
|
|
|
361
373
|
type: 'exportJourneyPointUsersResult';
|
|
362
374
|
data: ExportJourneyPointUsersResult;
|
|
363
375
|
};
|
|
364
|
-
export type
|
|
376
|
+
export type TaskInfo_result_exportControlGroupResult = {
|
|
377
|
+
type: 'exportControlGroupResult';
|
|
378
|
+
data: ExportControlGroupResult;
|
|
379
|
+
};
|
|
380
|
+
export type TaskInfo_result = TaskInfo_result_failedTask | TaskInfo_result_trackingLogResult | TaskInfo_result_exportMessagesV2Result | TaskInfo_result_exportUnregisteredDevicesResult | TaskInfo_result_exportRichMediaFormValuesResult | TaskInfo_result_applySegmentToMessageResult | TaskInfo_result_exportRichMediaRecipientsResult | TaskInfo_result_exportJourneysHistoryResult | TaskInfo_result_exportMessageRecipientsResult | TaskInfo_result_exportMessageClicksDevicesResult | TaskInfo_result_exportMessageEventTriggeredDevicesResult | TaskInfo_result_exportMessageErrorsDevicesResult | TaskInfo_result_createSegmentFromMessageResult | TaskInfo_result_updateSegmentInsightsListResult | TaskInfo_result_exportBouncedEmailsResult | TaskInfo_result_exportJourneyUsersListResult | TaskInfo_result_exportJourneyPointsStatisticsResult | TaskInfo_result_exportJourneyGoalUsersResult | TaskInfo_result_exportJourneyPointUsersResult | TaskInfo_result_exportControlGroupResult;
|
|
365
381
|
export type TaskInfo = {
|
|
366
382
|
id: number;
|
|
367
383
|
timestamp: string;
|
|
@@ -660,3 +676,11 @@ export type ExportJourneyGoalUsersArgs = {
|
|
|
660
676
|
export type ExportJourneyGoalUsersResult = {
|
|
661
677
|
file: string;
|
|
662
678
|
};
|
|
679
|
+
export type ExportControlGroupArgs = {
|
|
680
|
+
applicationCode: string;
|
|
681
|
+
};
|
|
682
|
+
export type ExportControlGroupResult = {
|
|
683
|
+
file: string;
|
|
684
|
+
devicesCount: number;
|
|
685
|
+
usersCount: number;
|
|
686
|
+
};
|