@pushwoosh/rpc-gateway-journey-data 0.26.389 → 0.26.391
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 +481 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +156 -0
package/data.js
CHANGED
|
@@ -268,11 +268,71 @@ export const data = {
|
|
|
268
268
|
"method": "get",
|
|
269
269
|
"path": "/api/application/{code}/email-preset"
|
|
270
270
|
},
|
|
271
|
+
"GetLinePresetsByAppCode": {
|
|
272
|
+
"request": "pushwoosh.cj.journey.GetLinePresetsByAppCodeRequest",
|
|
273
|
+
"response": "pushwoosh.cj.journey.GetLinePresetsByAppCodeResponse",
|
|
274
|
+
"method": "get",
|
|
275
|
+
"path": "/api/application/{code}/line-preset"
|
|
276
|
+
},
|
|
277
|
+
"GetSmsPresetsByAppCode": {
|
|
278
|
+
"request": "pushwoosh.cj.journey.GetSmsPresetsByAppCodeRequest",
|
|
279
|
+
"response": "pushwoosh.cj.journey.GetSmsPresetsByAppCodeResponse",
|
|
280
|
+
"method": "get",
|
|
281
|
+
"path": "/api/application/{code}/sms-preset"
|
|
282
|
+
},
|
|
283
|
+
"GetPushPresetsByAppCode": {
|
|
284
|
+
"request": "pushwoosh.cj.journey.GetPushPresetsByAppCodeRequest",
|
|
285
|
+
"response": "pushwoosh.cj.journey.GetPushPresetsByAppCodeResponse",
|
|
286
|
+
"method": "get",
|
|
287
|
+
"path": "/api/application/{code}/preset"
|
|
288
|
+
},
|
|
289
|
+
"GetEventsByApplicationCode": {
|
|
290
|
+
"request": "pushwoosh.cj.journey.GetEventsByApplicationCodeRequest",
|
|
291
|
+
"response": "pushwoosh.cj.journey.GetEventsByApplicationCodeResponse",
|
|
292
|
+
"method": "get",
|
|
293
|
+
"path": "/api/v2/application/{code}/event"
|
|
294
|
+
},
|
|
295
|
+
"GetEventAttributeValues": {
|
|
296
|
+
"request": "pushwoosh.cj.journey.GetEventAttributeValuesRequest",
|
|
297
|
+
"response": "pushwoosh.cj.journey.GetEventAttributeValuesResponse",
|
|
298
|
+
"method": "get",
|
|
299
|
+
"path": "/api/v2/application/{code}/event/{event_id}"
|
|
300
|
+
},
|
|
301
|
+
"GetRichMediaByApplicationCode": {
|
|
302
|
+
"request": "pushwoosh.cj.journey.GetRichMediaByApplicationCodeRequest",
|
|
303
|
+
"response": "pushwoosh.cj.journey.GetRichMediaByApplicationCodeResponse",
|
|
304
|
+
"method": "get",
|
|
305
|
+
"path": "/api/v2/application/{code}/richmedia"
|
|
306
|
+
},
|
|
307
|
+
"GetRichMediaByCode": {
|
|
308
|
+
"request": "pushwoosh.cj.journey.GetRichMediaByCodeRequest",
|
|
309
|
+
"response": "pushwoosh.cj.journey.GetRichMediaByCodeResponse",
|
|
310
|
+
"method": "get",
|
|
311
|
+
"path": "/api/v2/application/{code}/richmedia/{rmcode}"
|
|
312
|
+
},
|
|
271
313
|
"TestWebhook": {
|
|
272
314
|
"request": "pushwoosh.cj.journey.TestWebhookRequest",
|
|
273
315
|
"response": "pushwoosh.cj.journey.TestWebhookResponse",
|
|
274
316
|
"method": "post",
|
|
275
317
|
"path": "/api/v2/journeygateway/test-webhook"
|
|
318
|
+
},
|
|
319
|
+
"GetApplicationsByAccountId": {
|
|
320
|
+
"request": "pushwoosh.cj.journey.GetApplicationsByAccountIdRequest",
|
|
321
|
+
"response": "pushwoosh.cj.journey.GetApplicationsByAccountIdResponse",
|
|
322
|
+
"method": "get",
|
|
323
|
+
"path": "/api/v2/application"
|
|
324
|
+
},
|
|
325
|
+
"GetFiltersByAccountId": {
|
|
326
|
+
"request": "pushwoosh.cj.journey.GetFiltersByAccountIdRequest",
|
|
327
|
+
"response": "pushwoosh.cj.journey.GetFiltersByAccountIdResponse",
|
|
328
|
+
"method": "get",
|
|
329
|
+
"path": "/api/v2/filter"
|
|
330
|
+
},
|
|
331
|
+
"GetEventsByApplicationCodes": {
|
|
332
|
+
"request": "pushwoosh.cj.journey.GetEventsByApplicationCodesRequest",
|
|
333
|
+
"response": "pushwoosh.cj.journey.GetEventsByApplicationCodesResponse",
|
|
334
|
+
"method": "get",
|
|
335
|
+
"path": "/api/v2/events"
|
|
276
336
|
}
|
|
277
337
|
}
|
|
278
338
|
},
|
|
@@ -4972,6 +5032,427 @@ export const data = {
|
|
|
4972
5032
|
}
|
|
4973
5033
|
}
|
|
4974
5034
|
},
|
|
5035
|
+
"pushwoosh.cj.journey.GetEventsByApplicationCodeRequest": {
|
|
5036
|
+
"type": "I",
|
|
5037
|
+
"fields": {
|
|
5038
|
+
"code": {
|
|
5039
|
+
"type": "string"
|
|
5040
|
+
}
|
|
5041
|
+
}
|
|
5042
|
+
},
|
|
5043
|
+
"pushwoosh.cj.journey.GetEventsByApplicationCodeResponse": {
|
|
5044
|
+
"type": "I",
|
|
5045
|
+
"fields": {
|
|
5046
|
+
"payload": {
|
|
5047
|
+
"type": "pushwoosh.cj.journey.EventsByApplicationCodePayload"
|
|
5048
|
+
}
|
|
5049
|
+
}
|
|
5050
|
+
},
|
|
5051
|
+
"pushwoosh.cj.journey.EventsByApplicationCodePayload": {
|
|
5052
|
+
"type": "I",
|
|
5053
|
+
"fields": {
|
|
5054
|
+
"items": {
|
|
5055
|
+
"type": "pushwoosh.cj.journey.EventItem",
|
|
5056
|
+
"array": true
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
},
|
|
5060
|
+
"pushwoosh.cj.journey.EventItem": {
|
|
5061
|
+
"type": "I",
|
|
5062
|
+
"fields": {
|
|
5063
|
+
"id": {
|
|
5064
|
+
"type": "number"
|
|
5065
|
+
},
|
|
5066
|
+
"name": {
|
|
5067
|
+
"type": "string"
|
|
5068
|
+
},
|
|
5069
|
+
"description": {
|
|
5070
|
+
"type": "string"
|
|
5071
|
+
},
|
|
5072
|
+
"attributes": {
|
|
5073
|
+
"type": "pushwoosh.cj.journey.EventAttributeItem",
|
|
5074
|
+
"array": true
|
|
5075
|
+
}
|
|
5076
|
+
}
|
|
5077
|
+
},
|
|
5078
|
+
"pushwoosh.cj.journey.EventAttributeItem": {
|
|
5079
|
+
"type": "I",
|
|
5080
|
+
"fields": {
|
|
5081
|
+
"id": {
|
|
5082
|
+
"type": "number"
|
|
5083
|
+
},
|
|
5084
|
+
"name": {
|
|
5085
|
+
"type": "string"
|
|
5086
|
+
},
|
|
5087
|
+
"type": {
|
|
5088
|
+
"type": "number"
|
|
5089
|
+
}
|
|
5090
|
+
}
|
|
5091
|
+
},
|
|
5092
|
+
"pushwoosh.cj.journey.GetEventAttributeValuesRequest": {
|
|
5093
|
+
"type": "I",
|
|
5094
|
+
"fields": {
|
|
5095
|
+
"code": {
|
|
5096
|
+
"type": "string"
|
|
5097
|
+
},
|
|
5098
|
+
"eventId": {
|
|
5099
|
+
"type": "number"
|
|
5100
|
+
},
|
|
5101
|
+
"attribute": {
|
|
5102
|
+
"type": "string"
|
|
5103
|
+
},
|
|
5104
|
+
"limit": {
|
|
5105
|
+
"type": "number"
|
|
5106
|
+
},
|
|
5107
|
+
"searchValue": {
|
|
5108
|
+
"type": "string"
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
},
|
|
5112
|
+
"pushwoosh.cj.journey.GetEventAttributeValuesResponse": {
|
|
5113
|
+
"type": "I",
|
|
5114
|
+
"fields": {
|
|
5115
|
+
"payload": {
|
|
5116
|
+
"type": "pushwoosh.cj.journey.EventAttributeValuesPayload"
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
},
|
|
5120
|
+
"pushwoosh.cj.journey.EventAttributeValuesPayload": {
|
|
5121
|
+
"type": "I",
|
|
5122
|
+
"fields": {
|
|
5123
|
+
"values": {
|
|
5124
|
+
"type": "string",
|
|
5125
|
+
"array": true
|
|
5126
|
+
}
|
|
5127
|
+
}
|
|
5128
|
+
},
|
|
5129
|
+
"pushwoosh.cj.journey.GetRichMediaByApplicationCodeRequest": {
|
|
5130
|
+
"type": "I",
|
|
5131
|
+
"fields": {
|
|
5132
|
+
"code": {
|
|
5133
|
+
"type": "string"
|
|
5134
|
+
},
|
|
5135
|
+
"noContent": {
|
|
5136
|
+
"type": "boolean"
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
},
|
|
5140
|
+
"pushwoosh.cj.journey.GetRichMediaByApplicationCodeResponse": {
|
|
5141
|
+
"type": "I",
|
|
5142
|
+
"fields": {
|
|
5143
|
+
"payload": {
|
|
5144
|
+
"type": "pushwoosh.cj.journey.RichMediaByApplicationCodePayload"
|
|
5145
|
+
}
|
|
5146
|
+
}
|
|
5147
|
+
},
|
|
5148
|
+
"pushwoosh.cj.journey.RichMediaByApplicationCodePayload": {
|
|
5149
|
+
"type": "I",
|
|
5150
|
+
"fields": {
|
|
5151
|
+
"items": {
|
|
5152
|
+
"type": "pushwoosh.cj.journey.RichMediaItem",
|
|
5153
|
+
"array": true
|
|
5154
|
+
}
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
5157
|
+
"pushwoosh.cj.journey.RichMediaItem": {
|
|
5158
|
+
"type": "I",
|
|
5159
|
+
"fields": {
|
|
5160
|
+
"name": {
|
|
5161
|
+
"type": "string"
|
|
5162
|
+
},
|
|
5163
|
+
"uid": {
|
|
5164
|
+
"type": "number"
|
|
5165
|
+
},
|
|
5166
|
+
"params": {
|
|
5167
|
+
"type": "string"
|
|
5168
|
+
},
|
|
5169
|
+
"code": {
|
|
5170
|
+
"type": "string"
|
|
5171
|
+
},
|
|
5172
|
+
"applicationId": {
|
|
5173
|
+
"type": "number"
|
|
5174
|
+
},
|
|
5175
|
+
"applicationCode": {
|
|
5176
|
+
"type": "string"
|
|
5177
|
+
},
|
|
5178
|
+
"defaultLanguage": {
|
|
5179
|
+
"type": "string"
|
|
5180
|
+
},
|
|
5181
|
+
"businessCase": {
|
|
5182
|
+
"type": "string"
|
|
5183
|
+
},
|
|
5184
|
+
"fileHash": {
|
|
5185
|
+
"type": "string"
|
|
5186
|
+
},
|
|
5187
|
+
"isSystem": {
|
|
5188
|
+
"type": "boolean"
|
|
5189
|
+
},
|
|
5190
|
+
"zipContent": {
|
|
5191
|
+
"type": "string"
|
|
5192
|
+
}
|
|
5193
|
+
}
|
|
5194
|
+
},
|
|
5195
|
+
"pushwoosh.cj.journey.GetRichMediaByCodeRequest": {
|
|
5196
|
+
"type": "I",
|
|
5197
|
+
"fields": {
|
|
5198
|
+
"code": {
|
|
5199
|
+
"type": "string"
|
|
5200
|
+
},
|
|
5201
|
+
"rmcode": {
|
|
5202
|
+
"type": "string"
|
|
5203
|
+
}
|
|
5204
|
+
}
|
|
5205
|
+
},
|
|
5206
|
+
"pushwoosh.cj.journey.GetRichMediaByCodeResponse": {
|
|
5207
|
+
"type": "I",
|
|
5208
|
+
"fields": {
|
|
5209
|
+
"payload": {
|
|
5210
|
+
"type": "pushwoosh.cj.journey.RichMediaItem"
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
},
|
|
5214
|
+
"pushwoosh.cj.journey.GetLinePresetsByAppCodeRequest": {
|
|
5215
|
+
"type": "I",
|
|
5216
|
+
"fields": {
|
|
5217
|
+
"code": {
|
|
5218
|
+
"type": "string"
|
|
5219
|
+
}
|
|
5220
|
+
}
|
|
5221
|
+
},
|
|
5222
|
+
"pushwoosh.cj.journey.GetLinePresetsByAppCodeResponse": {
|
|
5223
|
+
"type": "I",
|
|
5224
|
+
"fields": {
|
|
5225
|
+
"payload": {
|
|
5226
|
+
"type": "pushwoosh.cj.journey.LinePresetsByAppCodePayload"
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5229
|
+
},
|
|
5230
|
+
"pushwoosh.cj.journey.LinePresetsByAppCodePayload": {
|
|
5231
|
+
"type": "I",
|
|
5232
|
+
"fields": {
|
|
5233
|
+
"items": {
|
|
5234
|
+
"type": "pushwoosh.cj.journey.LinePresetByAppCodeItem",
|
|
5235
|
+
"array": true
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
},
|
|
5239
|
+
"pushwoosh.cj.journey.LinePresetByAppCodeItem": {
|
|
5240
|
+
"type": "I",
|
|
5241
|
+
"fields": {
|
|
5242
|
+
"code": {
|
|
5243
|
+
"type": "string"
|
|
5244
|
+
},
|
|
5245
|
+
"name": {
|
|
5246
|
+
"type": "string"
|
|
5247
|
+
},
|
|
5248
|
+
"content": {
|
|
5249
|
+
"type": "string"
|
|
5250
|
+
}
|
|
5251
|
+
}
|
|
5252
|
+
},
|
|
5253
|
+
"pushwoosh.cj.journey.GetSmsPresetsByAppCodeRequest": {
|
|
5254
|
+
"type": "I",
|
|
5255
|
+
"fields": {
|
|
5256
|
+
"code": {
|
|
5257
|
+
"type": "string"
|
|
5258
|
+
}
|
|
5259
|
+
}
|
|
5260
|
+
},
|
|
5261
|
+
"pushwoosh.cj.journey.GetSmsPresetsByAppCodeResponse": {
|
|
5262
|
+
"type": "I",
|
|
5263
|
+
"fields": {
|
|
5264
|
+
"payload": {
|
|
5265
|
+
"type": "pushwoosh.cj.journey.SmsPresetsByAppCodePayload"
|
|
5266
|
+
}
|
|
5267
|
+
}
|
|
5268
|
+
},
|
|
5269
|
+
"pushwoosh.cj.journey.SmsPresetsByAppCodePayload": {
|
|
5270
|
+
"type": "I",
|
|
5271
|
+
"fields": {
|
|
5272
|
+
"items": {
|
|
5273
|
+
"type": "pushwoosh.cj.journey.SmsPresetByAppCodeItem",
|
|
5274
|
+
"array": true
|
|
5275
|
+
}
|
|
5276
|
+
}
|
|
5277
|
+
},
|
|
5278
|
+
"pushwoosh.cj.journey.SmsPresetByAppCodeItem": {
|
|
5279
|
+
"type": "I",
|
|
5280
|
+
"fields": {
|
|
5281
|
+
"code": {
|
|
5282
|
+
"type": "string"
|
|
5283
|
+
},
|
|
5284
|
+
"name": {
|
|
5285
|
+
"type": "string"
|
|
5286
|
+
},
|
|
5287
|
+
"content": {
|
|
5288
|
+
"type": "string"
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
5291
|
+
},
|
|
5292
|
+
"pushwoosh.cj.journey.GetPushPresetsByAppCodeRequest": {
|
|
5293
|
+
"type": "I",
|
|
5294
|
+
"fields": {
|
|
5295
|
+
"code": {
|
|
5296
|
+
"type": "string"
|
|
5297
|
+
},
|
|
5298
|
+
"journeyUuid": {
|
|
5299
|
+
"type": "string"
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
"pushwoosh.cj.journey.GetPushPresetsByAppCodeResponse": {
|
|
5304
|
+
"type": "I",
|
|
5305
|
+
"fields": {
|
|
5306
|
+
"payload": {
|
|
5307
|
+
"type": "pushwoosh.cj.journey.PushPresetsByAppCodePayload"
|
|
5308
|
+
}
|
|
5309
|
+
}
|
|
5310
|
+
},
|
|
5311
|
+
"pushwoosh.cj.journey.PushPresetsByAppCodePayload": {
|
|
5312
|
+
"type": "I",
|
|
5313
|
+
"fields": {
|
|
5314
|
+
"items": {
|
|
5315
|
+
"type": "pushwoosh.cj.journey.PushPresetByAppCodeItem",
|
|
5316
|
+
"array": true
|
|
5317
|
+
}
|
|
5318
|
+
}
|
|
5319
|
+
},
|
|
5320
|
+
"pushwoosh.cj.journey.PushPresetByAppCodeItem": {
|
|
5321
|
+
"type": "I",
|
|
5322
|
+
"fields": {
|
|
5323
|
+
"code": {
|
|
5324
|
+
"type": "string"
|
|
5325
|
+
},
|
|
5326
|
+
"name": {
|
|
5327
|
+
"type": "string"
|
|
5328
|
+
},
|
|
5329
|
+
"content": {
|
|
5330
|
+
"type": "string"
|
|
5331
|
+
},
|
|
5332
|
+
"title": {
|
|
5333
|
+
"type": "string"
|
|
5334
|
+
},
|
|
5335
|
+
"url": {
|
|
5336
|
+
"type": "string"
|
|
5337
|
+
},
|
|
5338
|
+
"variables": {
|
|
5339
|
+
"type": "pushwoosh.cj.journey.PushPresetVariables"
|
|
5340
|
+
}
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
"pushwoosh.cj.journey.PushPresetVariables": {
|
|
5344
|
+
"type": "I",
|
|
5345
|
+
"fields": {
|
|
5346
|
+
"title": {
|
|
5347
|
+
"type": "string",
|
|
5348
|
+
"array": true
|
|
5349
|
+
},
|
|
5350
|
+
"content": {
|
|
5351
|
+
"type": "string",
|
|
5352
|
+
"array": true
|
|
5353
|
+
},
|
|
5354
|
+
"url": {
|
|
5355
|
+
"type": "string",
|
|
5356
|
+
"array": true
|
|
5357
|
+
}
|
|
5358
|
+
}
|
|
5359
|
+
},
|
|
5360
|
+
"pushwoosh.cj.journey.GetApplicationsByAccountIdRequest": {
|
|
5361
|
+
"type": "I",
|
|
5362
|
+
"fields": {}
|
|
5363
|
+
},
|
|
5364
|
+
"pushwoosh.cj.journey.GetApplicationsByAccountIdResponse": {
|
|
5365
|
+
"type": "I",
|
|
5366
|
+
"fields": {
|
|
5367
|
+
"payload": {
|
|
5368
|
+
"type": "pushwoosh.cj.journey.ApplicationItem",
|
|
5369
|
+
"array": true
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
},
|
|
5373
|
+
"pushwoosh.cj.journey.ApplicationItem": {
|
|
5374
|
+
"type": "I",
|
|
5375
|
+
"fields": {
|
|
5376
|
+
"title": {
|
|
5377
|
+
"type": "string"
|
|
5378
|
+
},
|
|
5379
|
+
"code": {
|
|
5380
|
+
"type": "string"
|
|
5381
|
+
},
|
|
5382
|
+
"icon": {
|
|
5383
|
+
"type": "string"
|
|
5384
|
+
},
|
|
5385
|
+
"platforms": {
|
|
5386
|
+
"type": "pushwoosh.cj.journey.ApplicationPlatform",
|
|
5387
|
+
"array": true
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
},
|
|
5391
|
+
"pushwoosh.cj.journey.ApplicationPlatform": {
|
|
5392
|
+
"type": "I",
|
|
5393
|
+
"fields": {
|
|
5394
|
+
"type": {
|
|
5395
|
+
"type": "string"
|
|
5396
|
+
},
|
|
5397
|
+
"isEnabled": {
|
|
5398
|
+
"type": "boolean"
|
|
5399
|
+
},
|
|
5400
|
+
"isConfigured": {
|
|
5401
|
+
"type": "boolean"
|
|
5402
|
+
}
|
|
5403
|
+
}
|
|
5404
|
+
},
|
|
5405
|
+
"pushwoosh.cj.journey.GetFiltersByAccountIdRequest": {
|
|
5406
|
+
"type": "I",
|
|
5407
|
+
"fields": {}
|
|
5408
|
+
},
|
|
5409
|
+
"pushwoosh.cj.journey.GetFiltersByAccountIdResponse": {
|
|
5410
|
+
"type": "I",
|
|
5411
|
+
"fields": {
|
|
5412
|
+
"payload": {
|
|
5413
|
+
"type": "pushwoosh.cj.journey.FilterItem",
|
|
5414
|
+
"array": true
|
|
5415
|
+
}
|
|
5416
|
+
}
|
|
5417
|
+
},
|
|
5418
|
+
"pushwoosh.cj.journey.FilterItem": {
|
|
5419
|
+
"type": "I",
|
|
5420
|
+
"fields": {
|
|
5421
|
+
"id": {
|
|
5422
|
+
"type": "number"
|
|
5423
|
+
},
|
|
5424
|
+
"accountId": {
|
|
5425
|
+
"type": "number"
|
|
5426
|
+
},
|
|
5427
|
+
"applicationId": {
|
|
5428
|
+
"type": "number"
|
|
5429
|
+
},
|
|
5430
|
+
"name": {
|
|
5431
|
+
"type": "string"
|
|
5432
|
+
},
|
|
5433
|
+
"code": {
|
|
5434
|
+
"type": "string"
|
|
5435
|
+
}
|
|
5436
|
+
}
|
|
5437
|
+
},
|
|
5438
|
+
"pushwoosh.cj.journey.GetEventsByApplicationCodesRequest": {
|
|
5439
|
+
"type": "I",
|
|
5440
|
+
"fields": {
|
|
5441
|
+
"applicationCodes": {
|
|
5442
|
+
"type": "string",
|
|
5443
|
+
"array": true
|
|
5444
|
+
}
|
|
5445
|
+
}
|
|
5446
|
+
},
|
|
5447
|
+
"pushwoosh.cj.journey.GetEventsByApplicationCodesResponse": {
|
|
5448
|
+
"type": "I",
|
|
5449
|
+
"fields": {
|
|
5450
|
+
"payload": {
|
|
5451
|
+
"type": "pushwoosh.cj.journey.EventsByApplicationCodePayload",
|
|
5452
|
+
"mapKeyType": "string"
|
|
5453
|
+
}
|
|
5454
|
+
}
|
|
5455
|
+
},
|
|
4975
5456
|
"pushwoosh.cj.journey_category.Category": {
|
|
4976
5457
|
"type": "S",
|
|
4977
5458
|
"key": "category",
|
package/package.json
CHANGED
|
@@ -45,7 +45,17 @@ export interface Journey {
|
|
|
45
45
|
ValidateJourneyV2(request: ValidateJourneyV2Request): Promise<ValidateJourneyResponse>;
|
|
46
46
|
GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
|
|
47
47
|
GetEmailPresetsByAppCode(request: GetEmailPresetsByAppCodeRequest): Promise<GetEmailPresetsByAppCodeResponse>;
|
|
48
|
+
GetLinePresetsByAppCode(request: GetLinePresetsByAppCodeRequest): Promise<GetLinePresetsByAppCodeResponse>;
|
|
49
|
+
GetSmsPresetsByAppCode(request: GetSmsPresetsByAppCodeRequest): Promise<GetSmsPresetsByAppCodeResponse>;
|
|
50
|
+
GetPushPresetsByAppCode(request: GetPushPresetsByAppCodeRequest): Promise<GetPushPresetsByAppCodeResponse>;
|
|
51
|
+
GetEventsByApplicationCode(request: GetEventsByApplicationCodeRequest): Promise<GetEventsByApplicationCodeResponse>;
|
|
52
|
+
GetEventAttributeValues(request: GetEventAttributeValuesRequest): Promise<GetEventAttributeValuesResponse>;
|
|
53
|
+
GetRichMediaByApplicationCode(request: GetRichMediaByApplicationCodeRequest): Promise<GetRichMediaByApplicationCodeResponse>;
|
|
54
|
+
GetRichMediaByCode(request: GetRichMediaByCodeRequest): Promise<GetRichMediaByCodeResponse>;
|
|
48
55
|
TestWebhook(request: TestWebhookRequest): Promise<TestWebhookResponse>;
|
|
56
|
+
GetApplicationsByAccountId(request: GetApplicationsByAccountIdRequest): Promise<GetApplicationsByAccountIdResponse>;
|
|
57
|
+
GetFiltersByAccountId(request: GetFiltersByAccountIdRequest): Promise<GetFiltersByAccountIdResponse>;
|
|
58
|
+
GetEventsByApplicationCodes(request: GetEventsByApplicationCodesRequest): Promise<GetEventsByApplicationCodesResponse>;
|
|
49
59
|
}
|
|
50
60
|
export type GetPlaceholdersRequest = {
|
|
51
61
|
templateCode?: string;
|
|
@@ -1809,3 +1819,149 @@ export type TestWebhookResponse = {
|
|
|
1809
1819
|
statusCode: number;
|
|
1810
1820
|
body: string;
|
|
1811
1821
|
};
|
|
1822
|
+
export type GetEventsByApplicationCodeRequest = {
|
|
1823
|
+
code?: string;
|
|
1824
|
+
};
|
|
1825
|
+
export type GetEventsByApplicationCodeResponse = {
|
|
1826
|
+
payload: EventsByApplicationCodePayload;
|
|
1827
|
+
};
|
|
1828
|
+
export type EventsByApplicationCodePayload = {
|
|
1829
|
+
items: EventItem[];
|
|
1830
|
+
};
|
|
1831
|
+
export type EventItem = {
|
|
1832
|
+
id: number;
|
|
1833
|
+
name: string;
|
|
1834
|
+
description: string;
|
|
1835
|
+
attributes: EventAttributeItem[];
|
|
1836
|
+
};
|
|
1837
|
+
export type EventAttributeItem = {
|
|
1838
|
+
id: number;
|
|
1839
|
+
name: string;
|
|
1840
|
+
type: number;
|
|
1841
|
+
};
|
|
1842
|
+
export type GetEventAttributeValuesRequest = {
|
|
1843
|
+
code?: string;
|
|
1844
|
+
eventId?: number;
|
|
1845
|
+
attribute?: string;
|
|
1846
|
+
limit?: number;
|
|
1847
|
+
searchValue?: string;
|
|
1848
|
+
};
|
|
1849
|
+
export type GetEventAttributeValuesResponse = {
|
|
1850
|
+
payload: EventAttributeValuesPayload;
|
|
1851
|
+
};
|
|
1852
|
+
export type EventAttributeValuesPayload = {
|
|
1853
|
+
values: string[];
|
|
1854
|
+
};
|
|
1855
|
+
export type GetRichMediaByApplicationCodeRequest = {
|
|
1856
|
+
code?: string;
|
|
1857
|
+
noContent?: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
export type GetRichMediaByApplicationCodeResponse = {
|
|
1860
|
+
payload: RichMediaByApplicationCodePayload;
|
|
1861
|
+
};
|
|
1862
|
+
export type RichMediaByApplicationCodePayload = {
|
|
1863
|
+
items: RichMediaItem[];
|
|
1864
|
+
};
|
|
1865
|
+
export type RichMediaItem = {
|
|
1866
|
+
name: string;
|
|
1867
|
+
uid: number;
|
|
1868
|
+
params: string;
|
|
1869
|
+
code: string;
|
|
1870
|
+
applicationId: number;
|
|
1871
|
+
applicationCode: string;
|
|
1872
|
+
defaultLanguage: string;
|
|
1873
|
+
businessCase: string;
|
|
1874
|
+
fileHash: string;
|
|
1875
|
+
isSystem: boolean;
|
|
1876
|
+
zipContent: string;
|
|
1877
|
+
};
|
|
1878
|
+
export type GetRichMediaByCodeRequest = {
|
|
1879
|
+
code?: string;
|
|
1880
|
+
rmcode?: string;
|
|
1881
|
+
};
|
|
1882
|
+
export type GetRichMediaByCodeResponse = {
|
|
1883
|
+
payload: RichMediaItem;
|
|
1884
|
+
};
|
|
1885
|
+
export type GetLinePresetsByAppCodeRequest = {
|
|
1886
|
+
code?: string;
|
|
1887
|
+
};
|
|
1888
|
+
export type GetLinePresetsByAppCodeResponse = {
|
|
1889
|
+
payload: LinePresetsByAppCodePayload;
|
|
1890
|
+
};
|
|
1891
|
+
export type LinePresetsByAppCodePayload = {
|
|
1892
|
+
items: LinePresetByAppCodeItem[];
|
|
1893
|
+
};
|
|
1894
|
+
export type LinePresetByAppCodeItem = {
|
|
1895
|
+
code: string;
|
|
1896
|
+
name: string;
|
|
1897
|
+
content: string;
|
|
1898
|
+
};
|
|
1899
|
+
export type GetSmsPresetsByAppCodeRequest = {
|
|
1900
|
+
code?: string;
|
|
1901
|
+
};
|
|
1902
|
+
export type GetSmsPresetsByAppCodeResponse = {
|
|
1903
|
+
payload: SmsPresetsByAppCodePayload;
|
|
1904
|
+
};
|
|
1905
|
+
export type SmsPresetsByAppCodePayload = {
|
|
1906
|
+
items: SmsPresetByAppCodeItem[];
|
|
1907
|
+
};
|
|
1908
|
+
export type SmsPresetByAppCodeItem = {
|
|
1909
|
+
code: string;
|
|
1910
|
+
name: string;
|
|
1911
|
+
content: string;
|
|
1912
|
+
};
|
|
1913
|
+
export type GetPushPresetsByAppCodeRequest = {
|
|
1914
|
+
code?: string;
|
|
1915
|
+
journeyUuid?: string;
|
|
1916
|
+
};
|
|
1917
|
+
export type GetPushPresetsByAppCodeResponse = {
|
|
1918
|
+
payload: PushPresetsByAppCodePayload;
|
|
1919
|
+
};
|
|
1920
|
+
export type PushPresetsByAppCodePayload = {
|
|
1921
|
+
items: PushPresetByAppCodeItem[];
|
|
1922
|
+
};
|
|
1923
|
+
export type PushPresetByAppCodeItem = {
|
|
1924
|
+
code: string;
|
|
1925
|
+
name: string;
|
|
1926
|
+
content: string;
|
|
1927
|
+
title: string;
|
|
1928
|
+
url: string;
|
|
1929
|
+
variables: PushPresetVariables;
|
|
1930
|
+
};
|
|
1931
|
+
export type PushPresetVariables = {
|
|
1932
|
+
title: string[];
|
|
1933
|
+
content: string[];
|
|
1934
|
+
url: string[];
|
|
1935
|
+
};
|
|
1936
|
+
export type GetApplicationsByAccountIdRequest = {};
|
|
1937
|
+
export type GetApplicationsByAccountIdResponse = {
|
|
1938
|
+
payload: ApplicationItem[];
|
|
1939
|
+
};
|
|
1940
|
+
export type ApplicationItem = {
|
|
1941
|
+
title: string;
|
|
1942
|
+
code: string;
|
|
1943
|
+
icon: string;
|
|
1944
|
+
platforms: ApplicationPlatform[];
|
|
1945
|
+
};
|
|
1946
|
+
export type ApplicationPlatform = {
|
|
1947
|
+
type: string;
|
|
1948
|
+
isEnabled: boolean;
|
|
1949
|
+
isConfigured: boolean;
|
|
1950
|
+
};
|
|
1951
|
+
export type GetFiltersByAccountIdRequest = {};
|
|
1952
|
+
export type GetFiltersByAccountIdResponse = {
|
|
1953
|
+
payload: FilterItem[];
|
|
1954
|
+
};
|
|
1955
|
+
export type FilterItem = {
|
|
1956
|
+
id: number;
|
|
1957
|
+
accountId: number;
|
|
1958
|
+
applicationId: number;
|
|
1959
|
+
name: string;
|
|
1960
|
+
code: string;
|
|
1961
|
+
};
|
|
1962
|
+
export type GetEventsByApplicationCodesRequest = {
|
|
1963
|
+
applicationCodes?: string[];
|
|
1964
|
+
};
|
|
1965
|
+
export type GetEventsByApplicationCodesResponse = {
|
|
1966
|
+
payload: Record<string, EventsByApplicationCodePayload>;
|
|
1967
|
+
};
|