@pushwoosh/rpc-gateway-journey-data 0.26.313 → 0.26.315
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 +95 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +31 -0
package/data.js
CHANGED
|
@@ -243,6 +243,12 @@ export const data = {
|
|
|
243
243
|
"response": "pushwoosh.cj.journey.ValidateJourneyResponse",
|
|
244
244
|
"method": "post",
|
|
245
245
|
"path": "/api/v3/journeygateway/validate"
|
|
246
|
+
},
|
|
247
|
+
"GetWhatsAppPresetsByAppCode": {
|
|
248
|
+
"request": "pushwoosh.cj.journey.GetWhatsAppPresetsByAppCodeRequest",
|
|
249
|
+
"response": "pushwoosh.cj.journey.GetWhatsAppPresetsByAppCodeResponse",
|
|
250
|
+
"method": "get",
|
|
251
|
+
"path": "/api/v2/application/{code}/whatsapp-presets"
|
|
246
252
|
}
|
|
247
253
|
}
|
|
248
254
|
},
|
|
@@ -2711,6 +2717,9 @@ export const data = {
|
|
|
2711
2717
|
},
|
|
2712
2718
|
"multiEntry": {
|
|
2713
2719
|
"type": "pushwoosh.cj.journey.MultiEntry"
|
|
2720
|
+
},
|
|
2721
|
+
"isTravelerPresenceExtendable": {
|
|
2722
|
+
"type": "boolean"
|
|
2714
2723
|
}
|
|
2715
2724
|
}
|
|
2716
2725
|
},
|
|
@@ -3907,6 +3916,92 @@ export const data = {
|
|
|
3907
3916
|
}
|
|
3908
3917
|
}
|
|
3909
3918
|
},
|
|
3919
|
+
"pushwoosh.cj.journey.GetWhatsAppPresetsByAppCodeRequest": {
|
|
3920
|
+
"type": "I",
|
|
3921
|
+
"fields": {
|
|
3922
|
+
"code": {
|
|
3923
|
+
"type": "string"
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
},
|
|
3927
|
+
"pushwoosh.cj.journey.GetWhatsAppPresetsByAppCodeResponse": {
|
|
3928
|
+
"type": "I",
|
|
3929
|
+
"fields": {
|
|
3930
|
+
"payload": {
|
|
3931
|
+
"type": "pushwoosh.cj.journey.WhatsAppPresetsByAppCodePayload"
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
},
|
|
3935
|
+
"pushwoosh.cj.journey.WhatsAppPresetsByAppCodePayload": {
|
|
3936
|
+
"type": "I",
|
|
3937
|
+
"fields": {
|
|
3938
|
+
"items": {
|
|
3939
|
+
"type": "pushwoosh.cj.journey.WhatsAppPresetByAppCodeItem",
|
|
3940
|
+
"array": true
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
},
|
|
3944
|
+
"pushwoosh.cj.journey.WhatsAppPresetByAppCodeItem": {
|
|
3945
|
+
"type": "I",
|
|
3946
|
+
"fields": {
|
|
3947
|
+
"content": {
|
|
3948
|
+
"type": "string"
|
|
3949
|
+
},
|
|
3950
|
+
"code": {
|
|
3951
|
+
"type": "string"
|
|
3952
|
+
},
|
|
3953
|
+
"name": {
|
|
3954
|
+
"type": "string"
|
|
3955
|
+
},
|
|
3956
|
+
"headerType": {
|
|
3957
|
+
"type": "string"
|
|
3958
|
+
},
|
|
3959
|
+
"headerVariables": {
|
|
3960
|
+
"type": "string",
|
|
3961
|
+
"array": true
|
|
3962
|
+
},
|
|
3963
|
+
"headerText": {
|
|
3964
|
+
"type": "string"
|
|
3965
|
+
},
|
|
3966
|
+
"variables": {
|
|
3967
|
+
"type": "string",
|
|
3968
|
+
"array": true
|
|
3969
|
+
},
|
|
3970
|
+
"quickReplies": {
|
|
3971
|
+
"type": "pushwoosh.cj.journey.WhatsAppPresetQuickReply",
|
|
3972
|
+
"array": true
|
|
3973
|
+
},
|
|
3974
|
+
"buttonUrlVariables": {
|
|
3975
|
+
"type": "pushwoosh.cj.journey.WhatsAppButtonURLVariables",
|
|
3976
|
+
"array": true
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
},
|
|
3980
|
+
"pushwoosh.cj.journey.WhatsAppPresetQuickReply": {
|
|
3981
|
+
"type": "I",
|
|
3982
|
+
"fields": {
|
|
3983
|
+
"name": {
|
|
3984
|
+
"type": "string"
|
|
3985
|
+
},
|
|
3986
|
+
"output": {
|
|
3987
|
+
"type": "string"
|
|
3988
|
+
}
|
|
3989
|
+
}
|
|
3990
|
+
},
|
|
3991
|
+
"pushwoosh.cj.journey.WhatsAppButtonURLVariables": {
|
|
3992
|
+
"type": "I",
|
|
3993
|
+
"fields": {
|
|
3994
|
+
"index": {
|
|
3995
|
+
"type": "number"
|
|
3996
|
+
},
|
|
3997
|
+
"text": {
|
|
3998
|
+
"type": "string"
|
|
3999
|
+
},
|
|
4000
|
+
"url": {
|
|
4001
|
+
"type": "string"
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
},
|
|
3910
4005
|
"pushwoosh.cj.journey_category.Category": {
|
|
3911
4006
|
"type": "S",
|
|
3912
4007
|
"key": "category",
|
package/package.json
CHANGED
|
@@ -41,6 +41,7 @@ export interface Journey {
|
|
|
41
41
|
RenameV2(request: RenameV2Request): Promise<RenameJourneyResponse>;
|
|
42
42
|
UpdateABSSplitterParamsV2(request: UpdateABSSplitterParamsV2Request): Promise<UpdateABSSplitterParamsResponse>;
|
|
43
43
|
ValidateJourneyV2(request: ValidateJourneyV2Request): Promise<ValidateJourneyResponse>;
|
|
44
|
+
GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
|
|
44
45
|
}
|
|
45
46
|
export type GetPlaceholdersRequest = {
|
|
46
47
|
templateCode?: string;
|
|
@@ -1026,6 +1027,7 @@ export type PointParamsWaitEvent = {
|
|
|
1026
1027
|
events: PointWaitEventInfo[];
|
|
1027
1028
|
conditionsScript: string;
|
|
1028
1029
|
multiEntry: MultiEntry;
|
|
1030
|
+
isTravelerPresenceExtendable: boolean;
|
|
1029
1031
|
};
|
|
1030
1032
|
export type PointWaitEventInfo = {
|
|
1031
1033
|
eventName: string;
|
|
@@ -1447,3 +1449,32 @@ export type GetVoucherPoolsResponse = {
|
|
|
1447
1449
|
export type VoucherPool = {
|
|
1448
1450
|
name: string;
|
|
1449
1451
|
};
|
|
1452
|
+
export type GetWhatsAppPresetsByAppCodeRequest = {
|
|
1453
|
+
code?: string;
|
|
1454
|
+
};
|
|
1455
|
+
export type GetWhatsAppPresetsByAppCodeResponse = {
|
|
1456
|
+
payload: WhatsAppPresetsByAppCodePayload;
|
|
1457
|
+
};
|
|
1458
|
+
export type WhatsAppPresetsByAppCodePayload = {
|
|
1459
|
+
items: WhatsAppPresetByAppCodeItem[];
|
|
1460
|
+
};
|
|
1461
|
+
export type WhatsAppPresetByAppCodeItem = {
|
|
1462
|
+
content: string;
|
|
1463
|
+
code: string;
|
|
1464
|
+
name: string;
|
|
1465
|
+
headerType: string;
|
|
1466
|
+
headerVariables: string[];
|
|
1467
|
+
headerText: string;
|
|
1468
|
+
variables: string[];
|
|
1469
|
+
quickReplies: WhatsAppPresetQuickReply[];
|
|
1470
|
+
buttonUrlVariables: WhatsAppButtonURLVariables[];
|
|
1471
|
+
};
|
|
1472
|
+
export type WhatsAppPresetQuickReply = {
|
|
1473
|
+
name: string;
|
|
1474
|
+
output: string;
|
|
1475
|
+
};
|
|
1476
|
+
export type WhatsAppButtonURLVariables = {
|
|
1477
|
+
index: number;
|
|
1478
|
+
text: string;
|
|
1479
|
+
url: string;
|
|
1480
|
+
};
|