@pushwoosh/rpc-gateway-journey-data 0.27.75 → 0.27.77

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
@@ -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",
@@ -823,6 +829,9 @@ export const data = {
823
829
  },
824
830
  "smartContent": {
825
831
  "type": "pushwoosh.cj.journey.PointStatSmartContent"
832
+ },
833
+ "issueWalletPass": {
834
+ "type": "pushwoosh.cj.journey.PointStatIssueWalletPass"
826
835
  }
827
836
  },
828
837
  "oneofs": {
@@ -845,7 +854,8 @@ export const data = {
845
854
  "sendTelegram",
846
855
  "audienceSync",
847
856
  "sendViber",
848
- "smartContent"
857
+ "smartContent",
858
+ "issueWalletPass"
849
859
  ]
850
860
  }
851
861
  }
@@ -1221,6 +1231,17 @@ export const data = {
1221
1231
  }
1222
1232
  }
1223
1233
  },
1234
+ "pushwoosh.cj.journey.PointStatIssueWalletPass": {
1235
+ "type": "I",
1236
+ "fields": {
1237
+ "issued": {
1238
+ "type": "number"
1239
+ },
1240
+ "skipped": {
1241
+ "type": "number"
1242
+ }
1243
+ }
1244
+ },
1224
1245
  "pushwoosh.cj.journey.PointStatMessageBus": {
1225
1246
  "type": "I",
1226
1247
  "fields": {}
@@ -2420,7 +2441,8 @@ export const data = {
2420
2441
  "POINT_TYPE_SEND_TELEGRAM",
2421
2442
  "POINT_TYPE_AUDIENCE_SYNC",
2422
2443
  "POINT_TYPE_SEND_VIBER",
2423
- "POINT_TYPE_SMART_CONTENT"
2444
+ "POINT_TYPE_SMART_CONTENT",
2445
+ "POINT_TYPE_ISSUE_WALLET_PASS"
2424
2446
  ]
2425
2447
  },
2426
2448
  "pushwoosh.cj.journey.Point": {
@@ -2527,6 +2549,9 @@ export const data = {
2527
2549
  },
2528
2550
  "smartContent": {
2529
2551
  "type": "pushwoosh.cj.journey.PointParamsSmartContent"
2552
+ },
2553
+ "issueWalletPass": {
2554
+ "type": "pushwoosh.cj.journey.PointParamsIssueWalletPass"
2530
2555
  }
2531
2556
  },
2532
2557
  "oneofs": {
@@ -2555,11 +2580,44 @@ export const data = {
2555
2580
  "sendTelegram",
2556
2581
  "audienceSync",
2557
2582
  "sendViber",
2558
- "smartContent"
2583
+ "smartContent",
2584
+ "issueWalletPass"
2559
2585
  ]
2560
2586
  }
2561
2587
  }
2562
2588
  },
2589
+ "pushwoosh.cj.journey.WalletPassValue": {
2590
+ "type": "I",
2591
+ "fields": {
2592
+ "key": {
2593
+ "type": "string"
2594
+ },
2595
+ "value": {
2596
+ "type": "string"
2597
+ },
2598
+ "dynamic": {
2599
+ "type": "pushwoosh.cj.journey.TagValueDynamic"
2600
+ }
2601
+ }
2602
+ },
2603
+ "pushwoosh.cj.journey.PointParamsIssueWalletPass": {
2604
+ "type": "I",
2605
+ "fields": {
2606
+ "applicationCode": {
2607
+ "type": "string"
2608
+ },
2609
+ "appleCampaignId": {
2610
+ "type": "number"
2611
+ },
2612
+ "googleCampaignId": {
2613
+ "type": "number"
2614
+ },
2615
+ "personalValues": {
2616
+ "type": "pushwoosh.cj.journey.WalletPassValue",
2617
+ "array": true
2618
+ }
2619
+ }
2620
+ },
2563
2621
  "pushwoosh.cj.journey.PointParamsSmartContent": {
2564
2622
  "type": "I",
2565
2623
  "fields": {
@@ -6107,6 +6165,49 @@ export const data = {
6107
6165
  }
6108
6166
  }
6109
6167
  },
6168
+ "pushwoosh.cj.journey.GetWalletCampaignsByAppCodeRequest": {
6169
+ "type": "I",
6170
+ "fields": {
6171
+ "code": {
6172
+ "type": "string"
6173
+ }
6174
+ }
6175
+ },
6176
+ "pushwoosh.cj.journey.GetWalletCampaignsByAppCodeResponse": {
6177
+ "type": "I",
6178
+ "fields": {
6179
+ "campaigns": {
6180
+ "type": "pushwoosh.cj.journey.WalletCampaign",
6181
+ "array": true
6182
+ }
6183
+ }
6184
+ },
6185
+ "pushwoosh.cj.journey.WalletCampaignPlatform": {
6186
+ "type": "E",
6187
+ "values": [
6188
+ "WALLET_CAMPAIGN_PLATFORM_UNSPECIFIED",
6189
+ "WALLET_CAMPAIGN_PLATFORM_APPLE",
6190
+ "WALLET_CAMPAIGN_PLATFORM_GOOGLE"
6191
+ ]
6192
+ },
6193
+ "pushwoosh.cj.journey.WalletCampaign": {
6194
+ "type": "I",
6195
+ "fields": {
6196
+ "campaignId": {
6197
+ "type": "number"
6198
+ },
6199
+ "name": {
6200
+ "type": "string"
6201
+ },
6202
+ "platform": {
6203
+ "type": "pushwoosh.cj.journey.WalletCampaignPlatform"
6204
+ },
6205
+ "inputFieldKeys": {
6206
+ "type": "string",
6207
+ "array": true
6208
+ }
6209
+ }
6210
+ },
6110
6211
  "pushwoosh.cj.journey.GetPushPresetsByAppCodeRequest": {
6111
6212
  "type": "I",
6112
6213
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.75",
3
+ "version": "0.27.77",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -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>;
@@ -272,7 +273,11 @@ export type PointStat_pointStat_smartContent = {
272
273
  type: 'smartContent';
273
274
  data: PointStatSmartContent;
274
275
  };
275
- 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 | PointStat_pointStat_sendViber | PointStat_pointStat_smartContent;
276
+ export type PointStat_pointStat_issueWalletPass = {
277
+ type: 'issueWalletPass';
278
+ data: PointStatIssueWalletPass;
279
+ };
280
+ 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 | PointStat_pointStat_sendViber | PointStat_pointStat_smartContent | PointStat_pointStat_issueWalletPass;
276
281
  export type PointStat = {
277
282
  pointStat: PointStat_pointStat;
278
283
  };
@@ -402,6 +407,10 @@ export type PointStatAudienceSync = {
402
407
  synced: number;
403
408
  skipped: number;
404
409
  };
410
+ export type PointStatIssueWalletPass = {
411
+ issued: number;
412
+ skipped: number;
413
+ };
405
414
  export type PointStatMessageBus = {};
406
415
  export type PointStatGoalEvent = {};
407
416
  export type PointStatTerminator = {};
@@ -837,7 +846,7 @@ export type User = {
837
846
  email: string;
838
847
  username: string;
839
848
  };
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';
849
+ 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
850
  export type Point = {
842
851
  uuid: string;
843
852
  title: string;
@@ -944,10 +953,25 @@ export type PointDataWrapper_data_smartContent = {
944
953
  type: 'smartContent';
945
954
  data: PointParamsSmartContent;
946
955
  };
947
- 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;
956
+ export type PointDataWrapper_data_issueWalletPass = {
957
+ type: 'issueWalletPass';
958
+ data: PointParamsIssueWalletPass;
959
+ };
960
+ 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
961
  export type PointDataWrapper = {
949
962
  data: PointDataWrapper_data;
950
963
  };
964
+ export type WalletPassValue = {
965
+ key: string;
966
+ value: string;
967
+ dynamic: TagValueDynamic;
968
+ };
969
+ export type PointParamsIssueWalletPass = {
970
+ applicationCode: string;
971
+ appleCampaignId: number;
972
+ googleCampaignId: number;
973
+ personalValues: WalletPassValue[];
974
+ };
951
975
  export type PointParamsSmartContent = {
952
976
  applicationCode: string;
953
977
  campaignCode?: string;
@@ -2181,6 +2205,19 @@ export type SmsPresetByAppCodeItem = {
2181
2205
  name: string;
2182
2206
  content: string;
2183
2207
  };
2208
+ export type GetWalletCampaignsByAppCodeRequest = {
2209
+ code?: string;
2210
+ };
2211
+ export type GetWalletCampaignsByAppCodeResponse = {
2212
+ campaigns: WalletCampaign[];
2213
+ };
2214
+ export type WalletCampaignPlatform = 'WALLET_CAMPAIGN_PLATFORM_UNSPECIFIED' | 'WALLET_CAMPAIGN_PLATFORM_APPLE' | 'WALLET_CAMPAIGN_PLATFORM_GOOGLE';
2215
+ export type WalletCampaign = {
2216
+ campaignId: number;
2217
+ name: string;
2218
+ platform: WalletCampaignPlatform;
2219
+ inputFieldKeys: string[];
2220
+ };
2184
2221
  export type GetPushPresetsByAppCodeRequest = {
2185
2222
  code?: string;
2186
2223
  journeyUuid?: string;