@pushwoosh/rpc-gateway-journey-data 0.26.434 → 0.26.436
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 +136 -3
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +48 -3
package/data.js
CHANGED
|
@@ -334,6 +334,18 @@ export const data = {
|
|
|
334
334
|
"response": "pushwoosh.cj.journey.GetEventsByApplicationCodesResponse",
|
|
335
335
|
"method": "get",
|
|
336
336
|
"path": "/api/v2/events"
|
|
337
|
+
},
|
|
338
|
+
"GetMetaAdAccounts": {
|
|
339
|
+
"request": "pushwoosh.cj.journey.GetMetaAdAccountsRequest",
|
|
340
|
+
"response": "pushwoosh.cj.journey.GetMetaAdAccountsResponse",
|
|
341
|
+
"method": "get",
|
|
342
|
+
"path": "/api/v2/meta/ad-accounts"
|
|
343
|
+
},
|
|
344
|
+
"GetMetaAudiences": {
|
|
345
|
+
"request": "pushwoosh.cj.journey.GetMetaAudiencesRequest",
|
|
346
|
+
"response": "pushwoosh.cj.journey.GetMetaAudiencesResponse",
|
|
347
|
+
"method": "get",
|
|
348
|
+
"path": "/api/v2/meta/ad-accounts/{ad_account_id}/audiences"
|
|
337
349
|
}
|
|
338
350
|
}
|
|
339
351
|
},
|
|
@@ -628,6 +640,9 @@ export const data = {
|
|
|
628
640
|
},
|
|
629
641
|
"sendTelegram": {
|
|
630
642
|
"type": "pushwoosh.cj.journey.PointStatSendTelegram"
|
|
643
|
+
},
|
|
644
|
+
"audienceSync": {
|
|
645
|
+
"type": "pushwoosh.cj.journey.PointStatAudienceSync"
|
|
631
646
|
}
|
|
632
647
|
},
|
|
633
648
|
"oneofs": {
|
|
@@ -647,7 +662,8 @@ export const data = {
|
|
|
647
662
|
"waitEvent",
|
|
648
663
|
"sendLine",
|
|
649
664
|
"sendKakao",
|
|
650
|
-
"sendTelegram"
|
|
665
|
+
"sendTelegram",
|
|
666
|
+
"audienceSync"
|
|
651
667
|
]
|
|
652
668
|
}
|
|
653
669
|
}
|
|
@@ -681,6 +697,15 @@ export const data = {
|
|
|
681
697
|
},
|
|
682
698
|
"voucherStats": {
|
|
683
699
|
"type": "pushwoosh.cj.journey.VoucherPoolStats"
|
|
700
|
+
},
|
|
701
|
+
"delivered": {
|
|
702
|
+
"type": "number"
|
|
703
|
+
},
|
|
704
|
+
"notDelivered": {
|
|
705
|
+
"type": "number"
|
|
706
|
+
},
|
|
707
|
+
"notOpened": {
|
|
708
|
+
"type": "number"
|
|
684
709
|
}
|
|
685
710
|
}
|
|
686
711
|
},
|
|
@@ -868,6 +893,17 @@ export const data = {
|
|
|
868
893
|
}
|
|
869
894
|
}
|
|
870
895
|
},
|
|
896
|
+
"pushwoosh.cj.journey.PointStatAudienceSync": {
|
|
897
|
+
"type": "I",
|
|
898
|
+
"fields": {
|
|
899
|
+
"synced": {
|
|
900
|
+
"type": "number"
|
|
901
|
+
},
|
|
902
|
+
"skipped": {
|
|
903
|
+
"type": "number"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
},
|
|
871
907
|
"pushwoosh.cj.journey.PointStatMessageBus": {
|
|
872
908
|
"type": "I",
|
|
873
909
|
"fields": {}
|
|
@@ -2033,7 +2069,8 @@ export const data = {
|
|
|
2033
2069
|
"POINT_TYPE_WEBHOOK",
|
|
2034
2070
|
"POINT_TYPE_START_BY_API",
|
|
2035
2071
|
"POINT_TYPE_SEND_KAKAO",
|
|
2036
|
-
"POINT_TYPE_SEND_TELEGRAM"
|
|
2072
|
+
"POINT_TYPE_SEND_TELEGRAM",
|
|
2073
|
+
"POINT_TYPE_AUDIENCE_SYNC"
|
|
2037
2074
|
]
|
|
2038
2075
|
},
|
|
2039
2076
|
"pushwoosh.cj.journey.Point": {
|
|
@@ -2128,6 +2165,9 @@ export const data = {
|
|
|
2128
2165
|
},
|
|
2129
2166
|
"sendTelegram": {
|
|
2130
2167
|
"type": "pushwoosh.cj.journey.PointParamsSendTelegram"
|
|
2168
|
+
},
|
|
2169
|
+
"audienceSync": {
|
|
2170
|
+
"type": "pushwoosh.cj.journey.PointParamsAudienceSync"
|
|
2131
2171
|
}
|
|
2132
2172
|
},
|
|
2133
2173
|
"oneofs": {
|
|
@@ -2153,7 +2193,8 @@ export const data = {
|
|
|
2153
2193
|
"sendData",
|
|
2154
2194
|
"sendLine",
|
|
2155
2195
|
"sendKakao",
|
|
2156
|
-
"sendTelegram"
|
|
2196
|
+
"sendTelegram",
|
|
2197
|
+
"audienceSync"
|
|
2157
2198
|
]
|
|
2158
2199
|
}
|
|
2159
2200
|
}
|
|
@@ -3598,6 +3639,34 @@ export const data = {
|
|
|
3598
3639
|
}
|
|
3599
3640
|
}
|
|
3600
3641
|
},
|
|
3642
|
+
"pushwoosh.cj.journey.AudienceSyncAction": {
|
|
3643
|
+
"type": "E",
|
|
3644
|
+
"values": [
|
|
3645
|
+
"AUDIENCE_SYNC_ACTION_UNSPECIFIED",
|
|
3646
|
+
"AUDIENCE_SYNC_ACTION_ADD",
|
|
3647
|
+
"AUDIENCE_SYNC_ACTION_REMOVE"
|
|
3648
|
+
]
|
|
3649
|
+
},
|
|
3650
|
+
"pushwoosh.cj.journey.PointParamsAudienceSync": {
|
|
3651
|
+
"type": "I",
|
|
3652
|
+
"fields": {
|
|
3653
|
+
"adAccountId": {
|
|
3654
|
+
"type": "string"
|
|
3655
|
+
},
|
|
3656
|
+
"adAccountName": {
|
|
3657
|
+
"type": "string"
|
|
3658
|
+
},
|
|
3659
|
+
"audienceId": {
|
|
3660
|
+
"type": "string"
|
|
3661
|
+
},
|
|
3662
|
+
"audienceName": {
|
|
3663
|
+
"type": "string"
|
|
3664
|
+
},
|
|
3665
|
+
"action": {
|
|
3666
|
+
"type": "pushwoosh.cj.journey.AudienceSyncAction"
|
|
3667
|
+
}
|
|
3668
|
+
}
|
|
3669
|
+
},
|
|
3601
3670
|
"pushwoosh.cj.journey.PointParamsStartBySegment": {
|
|
3602
3671
|
"type": "I",
|
|
3603
3672
|
"fields": {
|
|
@@ -5519,6 +5588,70 @@ export const data = {
|
|
|
5519
5588
|
}
|
|
5520
5589
|
}
|
|
5521
5590
|
},
|
|
5591
|
+
"pushwoosh.cj.journey.MetaAdAccountStatus": {
|
|
5592
|
+
"type": "E",
|
|
5593
|
+
"values": [
|
|
5594
|
+
"META_AD_ACCOUNT_STATUS_UNSPECIFIED",
|
|
5595
|
+
"META_AD_ACCOUNT_STATUS_CONNECTED",
|
|
5596
|
+
"META_AD_ACCOUNT_STATUS_DISCONNECTED",
|
|
5597
|
+
"META_AD_ACCOUNT_STATUS_PENDING"
|
|
5598
|
+
]
|
|
5599
|
+
},
|
|
5600
|
+
"pushwoosh.cj.journey.MetaAdAccount": {
|
|
5601
|
+
"type": "I",
|
|
5602
|
+
"fields": {
|
|
5603
|
+
"id": {
|
|
5604
|
+
"type": "string"
|
|
5605
|
+
},
|
|
5606
|
+
"name": {
|
|
5607
|
+
"type": "string"
|
|
5608
|
+
},
|
|
5609
|
+
"status": {
|
|
5610
|
+
"type": "pushwoosh.cj.journey.MetaAdAccountStatus"
|
|
5611
|
+
}
|
|
5612
|
+
}
|
|
5613
|
+
},
|
|
5614
|
+
"pushwoosh.cj.journey.MetaCustomAudience": {
|
|
5615
|
+
"type": "I",
|
|
5616
|
+
"fields": {
|
|
5617
|
+
"id": {
|
|
5618
|
+
"type": "string"
|
|
5619
|
+
},
|
|
5620
|
+
"name": {
|
|
5621
|
+
"type": "string"
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
},
|
|
5625
|
+
"pushwoosh.cj.journey.GetMetaAdAccountsRequest": {
|
|
5626
|
+
"type": "I",
|
|
5627
|
+
"fields": {}
|
|
5628
|
+
},
|
|
5629
|
+
"pushwoosh.cj.journey.GetMetaAdAccountsResponse": {
|
|
5630
|
+
"type": "I",
|
|
5631
|
+
"fields": {
|
|
5632
|
+
"adAccounts": {
|
|
5633
|
+
"type": "pushwoosh.cj.journey.MetaAdAccount",
|
|
5634
|
+
"array": true
|
|
5635
|
+
}
|
|
5636
|
+
}
|
|
5637
|
+
},
|
|
5638
|
+
"pushwoosh.cj.journey.GetMetaAudiencesRequest": {
|
|
5639
|
+
"type": "I",
|
|
5640
|
+
"fields": {
|
|
5641
|
+
"adAccountId": {
|
|
5642
|
+
"type": "string"
|
|
5643
|
+
}
|
|
5644
|
+
}
|
|
5645
|
+
},
|
|
5646
|
+
"pushwoosh.cj.journey.GetMetaAudiencesResponse": {
|
|
5647
|
+
"type": "I",
|
|
5648
|
+
"fields": {
|
|
5649
|
+
"audiences": {
|
|
5650
|
+
"type": "pushwoosh.cj.journey.MetaCustomAudience",
|
|
5651
|
+
"array": true
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
},
|
|
5522
5655
|
"pushwoosh.cj.journey_category.Category": {
|
|
5523
5656
|
"type": "S",
|
|
5524
5657
|
"key": "category",
|
package/package.json
CHANGED
|
@@ -55,6 +55,8 @@ export interface Journey {
|
|
|
55
55
|
GetApplicationsByAccountId(request: GetApplicationsByAccountIdRequest): Promise<GetApplicationsByAccountIdResponse>;
|
|
56
56
|
GetFiltersByAccountId(request: GetFiltersByAccountIdRequest): Promise<GetFiltersByAccountIdResponse>;
|
|
57
57
|
GetEventsByApplicationCodes(request: GetEventsByApplicationCodesRequest): Promise<GetEventsByApplicationCodesResponse>;
|
|
58
|
+
GetMetaAdAccounts(request: GetMetaAdAccountsRequest): Promise<GetMetaAdAccountsResponse>;
|
|
59
|
+
GetMetaAudiences(request: GetMetaAudiencesRequest): Promise<GetMetaAudiencesResponse>;
|
|
58
60
|
}
|
|
59
61
|
export type GetPlaceholdersRequest = {
|
|
60
62
|
templateCode?: string;
|
|
@@ -209,7 +211,11 @@ export type PointStat_pointStat_sendTelegram = {
|
|
|
209
211
|
type: 'sendTelegram';
|
|
210
212
|
data: PointStatSendTelegram;
|
|
211
213
|
};
|
|
212
|
-
export type
|
|
214
|
+
export type PointStat_pointStat_audienceSync = {
|
|
215
|
+
type: 'audienceSync';
|
|
216
|
+
data: PointStatAudienceSync;
|
|
217
|
+
};
|
|
218
|
+
export type PointStat_pointStat = PointStat_pointStat_sendPush | PointStat_pointStat_inApp | PointStat_pointStat_sendSms | PointStat_pointStat_sendWhatsapp | PointStat_pointStat_sendData | PointStat_pointStat_sendEmail | PointStat_pointStat_messageBus | PointStat_pointStat_goalEvent | PointStat_pointStat_terminator | PointStat_pointStat_delay | PointStat_pointStat_booleanSplitter | PointStat_pointStat_waitEvent | PointStat_pointStat_sendLine | PointStat_pointStat_sendKakao | PointStat_pointStat_sendTelegram | PointStat_pointStat_audienceSync;
|
|
213
219
|
export type PointStat = {
|
|
214
220
|
pointStat: PointStat_pointStat;
|
|
215
221
|
};
|
|
@@ -223,6 +229,9 @@ export type PointStatSendPush = {
|
|
|
223
229
|
unshowableSends: number;
|
|
224
230
|
recipients: number;
|
|
225
231
|
voucherStats: VoucherPoolStats;
|
|
232
|
+
delivered: number;
|
|
233
|
+
notDelivered: number;
|
|
234
|
+
notOpened: number;
|
|
226
235
|
};
|
|
227
236
|
export type PointStatInApp = {
|
|
228
237
|
shows: number;
|
|
@@ -288,6 +297,10 @@ export type PointStatSendEmail = {
|
|
|
288
297
|
voucherStats: VoucherPoolStats;
|
|
289
298
|
totalOpened: number;
|
|
290
299
|
};
|
|
300
|
+
export type PointStatAudienceSync = {
|
|
301
|
+
synced: number;
|
|
302
|
+
skipped: number;
|
|
303
|
+
};
|
|
291
304
|
export type PointStatMessageBus = {};
|
|
292
305
|
export type PointStatGoalEvent = {};
|
|
293
306
|
export type PointStatTerminator = {};
|
|
@@ -713,7 +726,7 @@ export type User = {
|
|
|
713
726
|
email: string;
|
|
714
727
|
username: string;
|
|
715
728
|
};
|
|
716
|
-
export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API' | 'POINT_TYPE_SEND_KAKAO' | 'POINT_TYPE_SEND_TELEGRAM';
|
|
729
|
+
export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API' | 'POINT_TYPE_SEND_KAKAO' | 'POINT_TYPE_SEND_TELEGRAM' | 'POINT_TYPE_AUDIENCE_SYNC';
|
|
717
730
|
export type Point = {
|
|
718
731
|
uuid: string;
|
|
719
732
|
title: string;
|
|
@@ -807,7 +820,11 @@ export type PointDataWrapper_data_sendTelegram = {
|
|
|
807
820
|
type: 'sendTelegram';
|
|
808
821
|
data: PointParamsSendTelegram;
|
|
809
822
|
};
|
|
810
|
-
export type
|
|
823
|
+
export type PointDataWrapper_data_audienceSync = {
|
|
824
|
+
type: 'audienceSync';
|
|
825
|
+
data: PointParamsAudienceSync;
|
|
826
|
+
};
|
|
827
|
+
export type PointDataWrapper_data = PointDataWrapper_data_messageBus | PointDataWrapper_data_delay | PointDataWrapper_data_terminator | PointDataWrapper_data_sendPush | PointDataWrapper_data_goalEvent | PointDataWrapper_data_sendEmail | PointDataWrapper_data_booleanSplitter | PointDataWrapper_data_waitEvent | PointDataWrapper_data_inapp | PointDataWrapper_data_startBySegment | PointDataWrapper_data_abSplitter | PointDataWrapper_data_setTags | PointDataWrapper_data_webHook | PointDataWrapper_data_filter | PointDataWrapper_data_sendSms | PointDataWrapper_data_startByApi | PointDataWrapper_data_sendWhatsapp | PointDataWrapper_data_sendData | PointDataWrapper_data_sendLine | PointDataWrapper_data_sendKakao | PointDataWrapper_data_sendTelegram | PointDataWrapper_data_audienceSync;
|
|
811
828
|
export type PointDataWrapper = {
|
|
812
829
|
data: PointDataWrapper_data;
|
|
813
830
|
};
|
|
@@ -1331,6 +1348,14 @@ export type PointParamsWebHook = {
|
|
|
1331
1348
|
disabled: boolean;
|
|
1332
1349
|
reactivate: boolean;
|
|
1333
1350
|
};
|
|
1351
|
+
export type AudienceSyncAction = 'AUDIENCE_SYNC_ACTION_UNSPECIFIED' | 'AUDIENCE_SYNC_ACTION_ADD' | 'AUDIENCE_SYNC_ACTION_REMOVE';
|
|
1352
|
+
export type PointParamsAudienceSync = {
|
|
1353
|
+
adAccountId: string;
|
|
1354
|
+
adAccountName: string;
|
|
1355
|
+
audienceId: string;
|
|
1356
|
+
audienceName: string;
|
|
1357
|
+
action: AudienceSyncAction;
|
|
1358
|
+
};
|
|
1334
1359
|
export type PointParamsStartBySegment = {
|
|
1335
1360
|
filterCode: string;
|
|
1336
1361
|
applicationCode: string;
|
|
@@ -1983,3 +2008,23 @@ export type GetEventsByApplicationCodesRequest = {
|
|
|
1983
2008
|
export type GetEventsByApplicationCodesResponse = {
|
|
1984
2009
|
payload: Record<string, EventsByApplicationCodePayload>;
|
|
1985
2010
|
};
|
|
2011
|
+
export type MetaAdAccountStatus = 'META_AD_ACCOUNT_STATUS_UNSPECIFIED' | 'META_AD_ACCOUNT_STATUS_CONNECTED' | 'META_AD_ACCOUNT_STATUS_DISCONNECTED' | 'META_AD_ACCOUNT_STATUS_PENDING';
|
|
2012
|
+
export type MetaAdAccount = {
|
|
2013
|
+
id: string;
|
|
2014
|
+
name: string;
|
|
2015
|
+
status: MetaAdAccountStatus;
|
|
2016
|
+
};
|
|
2017
|
+
export type MetaCustomAudience = {
|
|
2018
|
+
id: string;
|
|
2019
|
+
name: string;
|
|
2020
|
+
};
|
|
2021
|
+
export type GetMetaAdAccountsRequest = {};
|
|
2022
|
+
export type GetMetaAdAccountsResponse = {
|
|
2023
|
+
adAccounts: MetaAdAccount[];
|
|
2024
|
+
};
|
|
2025
|
+
export type GetMetaAudiencesRequest = {
|
|
2026
|
+
adAccountId?: string;
|
|
2027
|
+
};
|
|
2028
|
+
export type GetMetaAudiencesResponse = {
|
|
2029
|
+
audiences: MetaCustomAudience[];
|
|
2030
|
+
};
|