@pushwoosh/rpc-gateway-journey-data 0.27.75 → 0.27.76
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 +88 -2
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +31 -2
package/data.js
CHANGED
|
@@ -287,6 +287,12 @@ export const data = {
|
|
|
287
287
|
"method": "get",
|
|
288
288
|
"path": "/api/application/{code}/preset"
|
|
289
289
|
},
|
|
290
|
+
"GetWalletCampaignsByAppCode": {
|
|
291
|
+
"request": "pushwoosh.cj.journey.GetWalletCampaignsByAppCodeRequest",
|
|
292
|
+
"response": "pushwoosh.cj.journey.GetWalletCampaignsByAppCodeResponse",
|
|
293
|
+
"method": "get",
|
|
294
|
+
"path": "/api/application/{code}/wallet-campaign"
|
|
295
|
+
},
|
|
290
296
|
"GetEventsByApplicationCode": {
|
|
291
297
|
"request": "pushwoosh.cj.journey.GetEventsByApplicationCodeRequest",
|
|
292
298
|
"response": "pushwoosh.cj.journey.GetEventsByApplicationCodeResponse",
|
|
@@ -2420,7 +2426,8 @@ export const data = {
|
|
|
2420
2426
|
"POINT_TYPE_SEND_TELEGRAM",
|
|
2421
2427
|
"POINT_TYPE_AUDIENCE_SYNC",
|
|
2422
2428
|
"POINT_TYPE_SEND_VIBER",
|
|
2423
|
-
"POINT_TYPE_SMART_CONTENT"
|
|
2429
|
+
"POINT_TYPE_SMART_CONTENT",
|
|
2430
|
+
"POINT_TYPE_ISSUE_WALLET_PASS"
|
|
2424
2431
|
]
|
|
2425
2432
|
},
|
|
2426
2433
|
"pushwoosh.cj.journey.Point": {
|
|
@@ -2527,6 +2534,9 @@ export const data = {
|
|
|
2527
2534
|
},
|
|
2528
2535
|
"smartContent": {
|
|
2529
2536
|
"type": "pushwoosh.cj.journey.PointParamsSmartContent"
|
|
2537
|
+
},
|
|
2538
|
+
"issueWalletPass": {
|
|
2539
|
+
"type": "pushwoosh.cj.journey.PointParamsIssueWalletPass"
|
|
2530
2540
|
}
|
|
2531
2541
|
},
|
|
2532
2542
|
"oneofs": {
|
|
@@ -2555,11 +2565,44 @@ export const data = {
|
|
|
2555
2565
|
"sendTelegram",
|
|
2556
2566
|
"audienceSync",
|
|
2557
2567
|
"sendViber",
|
|
2558
|
-
"smartContent"
|
|
2568
|
+
"smartContent",
|
|
2569
|
+
"issueWalletPass"
|
|
2559
2570
|
]
|
|
2560
2571
|
}
|
|
2561
2572
|
}
|
|
2562
2573
|
},
|
|
2574
|
+
"pushwoosh.cj.journey.WalletPassValue": {
|
|
2575
|
+
"type": "I",
|
|
2576
|
+
"fields": {
|
|
2577
|
+
"key": {
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
},
|
|
2580
|
+
"value": {
|
|
2581
|
+
"type": "string"
|
|
2582
|
+
},
|
|
2583
|
+
"dynamic": {
|
|
2584
|
+
"type": "pushwoosh.cj.journey.TagValueDynamic"
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2588
|
+
"pushwoosh.cj.journey.PointParamsIssueWalletPass": {
|
|
2589
|
+
"type": "I",
|
|
2590
|
+
"fields": {
|
|
2591
|
+
"applicationCode": {
|
|
2592
|
+
"type": "string"
|
|
2593
|
+
},
|
|
2594
|
+
"appleCampaignId": {
|
|
2595
|
+
"type": "number"
|
|
2596
|
+
},
|
|
2597
|
+
"googleCampaignId": {
|
|
2598
|
+
"type": "number"
|
|
2599
|
+
},
|
|
2600
|
+
"personalValues": {
|
|
2601
|
+
"type": "pushwoosh.cj.journey.WalletPassValue",
|
|
2602
|
+
"array": true
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
},
|
|
2563
2606
|
"pushwoosh.cj.journey.PointParamsSmartContent": {
|
|
2564
2607
|
"type": "I",
|
|
2565
2608
|
"fields": {
|
|
@@ -6107,6 +6150,49 @@ export const data = {
|
|
|
6107
6150
|
}
|
|
6108
6151
|
}
|
|
6109
6152
|
},
|
|
6153
|
+
"pushwoosh.cj.journey.GetWalletCampaignsByAppCodeRequest": {
|
|
6154
|
+
"type": "I",
|
|
6155
|
+
"fields": {
|
|
6156
|
+
"code": {
|
|
6157
|
+
"type": "string"
|
|
6158
|
+
}
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
"pushwoosh.cj.journey.GetWalletCampaignsByAppCodeResponse": {
|
|
6162
|
+
"type": "I",
|
|
6163
|
+
"fields": {
|
|
6164
|
+
"campaigns": {
|
|
6165
|
+
"type": "pushwoosh.cj.journey.WalletCampaign",
|
|
6166
|
+
"array": true
|
|
6167
|
+
}
|
|
6168
|
+
}
|
|
6169
|
+
},
|
|
6170
|
+
"pushwoosh.cj.journey.WalletCampaignPlatform": {
|
|
6171
|
+
"type": "E",
|
|
6172
|
+
"values": [
|
|
6173
|
+
"WALLET_CAMPAIGN_PLATFORM_UNSPECIFIED",
|
|
6174
|
+
"WALLET_CAMPAIGN_PLATFORM_APPLE",
|
|
6175
|
+
"WALLET_CAMPAIGN_PLATFORM_GOOGLE"
|
|
6176
|
+
]
|
|
6177
|
+
},
|
|
6178
|
+
"pushwoosh.cj.journey.WalletCampaign": {
|
|
6179
|
+
"type": "I",
|
|
6180
|
+
"fields": {
|
|
6181
|
+
"campaignId": {
|
|
6182
|
+
"type": "number"
|
|
6183
|
+
},
|
|
6184
|
+
"name": {
|
|
6185
|
+
"type": "string"
|
|
6186
|
+
},
|
|
6187
|
+
"platform": {
|
|
6188
|
+
"type": "pushwoosh.cj.journey.WalletCampaignPlatform"
|
|
6189
|
+
},
|
|
6190
|
+
"inputFieldKeys": {
|
|
6191
|
+
"type": "string",
|
|
6192
|
+
"array": true
|
|
6193
|
+
}
|
|
6194
|
+
}
|
|
6195
|
+
},
|
|
6110
6196
|
"pushwoosh.cj.journey.GetPushPresetsByAppCodeRequest": {
|
|
6111
6197
|
"type": "I",
|
|
6112
6198
|
"fields": {
|
package/package.json
CHANGED
|
@@ -47,6 +47,7 @@ export interface Journey {
|
|
|
47
47
|
GetLinePresetsByAppCode(request: GetLinePresetsByAppCodeRequest): Promise<GetLinePresetsByAppCodeResponse>;
|
|
48
48
|
GetSmsPresetsByAppCode(request: GetSmsPresetsByAppCodeRequest): Promise<GetSmsPresetsByAppCodeResponse>;
|
|
49
49
|
GetPushPresetsByAppCode(request: GetPushPresetsByAppCodeRequest): Promise<GetPushPresetsByAppCodeResponse>;
|
|
50
|
+
GetWalletCampaignsByAppCode(request: GetWalletCampaignsByAppCodeRequest): Promise<GetWalletCampaignsByAppCodeResponse>;
|
|
50
51
|
GetEventsByApplicationCode(request: GetEventsByApplicationCodeRequest): Promise<GetEventsByApplicationCodeResponse>;
|
|
51
52
|
GetEventAttributeValues(request: GetEventAttributeValuesRequest): Promise<GetEventAttributeValuesResponse>;
|
|
52
53
|
GetRichMediaByApplicationCode(request: GetRichMediaByApplicationCodeRequest): Promise<GetRichMediaByApplicationCodeResponse>;
|
|
@@ -837,7 +838,7 @@ export type User = {
|
|
|
837
838
|
email: string;
|
|
838
839
|
username: string;
|
|
839
840
|
};
|
|
840
|
-
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' | 'POINT_TYPE_SEND_VIBER' | 'POINT_TYPE_SMART_CONTENT';
|
|
841
|
+
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' | 'POINT_TYPE_SEND_VIBER' | 'POINT_TYPE_SMART_CONTENT' | 'POINT_TYPE_ISSUE_WALLET_PASS';
|
|
841
842
|
export type Point = {
|
|
842
843
|
uuid: string;
|
|
843
844
|
title: string;
|
|
@@ -944,10 +945,25 @@ export type PointDataWrapper_data_smartContent = {
|
|
|
944
945
|
type: 'smartContent';
|
|
945
946
|
data: PointParamsSmartContent;
|
|
946
947
|
};
|
|
947
|
-
export type
|
|
948
|
+
export type PointDataWrapper_data_issueWalletPass = {
|
|
949
|
+
type: 'issueWalletPass';
|
|
950
|
+
data: PointParamsIssueWalletPass;
|
|
951
|
+
};
|
|
952
|
+
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 | PointDataWrapper_data_sendViber | PointDataWrapper_data_smartContent | PointDataWrapper_data_issueWalletPass;
|
|
948
953
|
export type PointDataWrapper = {
|
|
949
954
|
data: PointDataWrapper_data;
|
|
950
955
|
};
|
|
956
|
+
export type WalletPassValue = {
|
|
957
|
+
key: string;
|
|
958
|
+
value: string;
|
|
959
|
+
dynamic: TagValueDynamic;
|
|
960
|
+
};
|
|
961
|
+
export type PointParamsIssueWalletPass = {
|
|
962
|
+
applicationCode: string;
|
|
963
|
+
appleCampaignId: number;
|
|
964
|
+
googleCampaignId: number;
|
|
965
|
+
personalValues: WalletPassValue[];
|
|
966
|
+
};
|
|
951
967
|
export type PointParamsSmartContent = {
|
|
952
968
|
applicationCode: string;
|
|
953
969
|
campaignCode?: string;
|
|
@@ -2181,6 +2197,19 @@ export type SmsPresetByAppCodeItem = {
|
|
|
2181
2197
|
name: string;
|
|
2182
2198
|
content: string;
|
|
2183
2199
|
};
|
|
2200
|
+
export type GetWalletCampaignsByAppCodeRequest = {
|
|
2201
|
+
code?: string;
|
|
2202
|
+
};
|
|
2203
|
+
export type GetWalletCampaignsByAppCodeResponse = {
|
|
2204
|
+
campaigns: WalletCampaign[];
|
|
2205
|
+
};
|
|
2206
|
+
export type WalletCampaignPlatform = 'WALLET_CAMPAIGN_PLATFORM_UNSPECIFIED' | 'WALLET_CAMPAIGN_PLATFORM_APPLE' | 'WALLET_CAMPAIGN_PLATFORM_GOOGLE';
|
|
2207
|
+
export type WalletCampaign = {
|
|
2208
|
+
campaignId: number;
|
|
2209
|
+
name: string;
|
|
2210
|
+
platform: WalletCampaignPlatform;
|
|
2211
|
+
inputFieldKeys: string[];
|
|
2212
|
+
};
|
|
2184
2213
|
export type GetPushPresetsByAppCodeRequest = {
|
|
2185
2214
|
code?: string;
|
|
2186
2215
|
journeyUuid?: string;
|