@pushwoosh/rpc-v2-http-api-data 0.2.477 → 0.2.478
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 +48 -0
- package/fb_messenger_presets.d.ts +10 -0
- package/line_presets.d.ts +10 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -19589,6 +19589,30 @@ export const data = {
|
|
|
19589
19589
|
},
|
|
19590
19590
|
"updated": {
|
|
19591
19591
|
"type": "Date"
|
|
19592
|
+
},
|
|
19593
|
+
"localizedQuickReplies": {
|
|
19594
|
+
"type": "pushwoosh.rpc_v2.fb_messenger_presets.FbMessengerQuickReplies",
|
|
19595
|
+
"mapKeyType": "string"
|
|
19596
|
+
}
|
|
19597
|
+
}
|
|
19598
|
+
},
|
|
19599
|
+
"pushwoosh.rpc_v2.fb_messenger_presets.FbMessengerQuickReplies": {
|
|
19600
|
+
"type": "I",
|
|
19601
|
+
"fields": {
|
|
19602
|
+
"items": {
|
|
19603
|
+
"type": "pushwoosh.rpc_v2.fb_messenger_presets.FbMessengerQuickReply",
|
|
19604
|
+
"array": true
|
|
19605
|
+
}
|
|
19606
|
+
}
|
|
19607
|
+
},
|
|
19608
|
+
"pushwoosh.rpc_v2.fb_messenger_presets.FbMessengerQuickReply": {
|
|
19609
|
+
"type": "I",
|
|
19610
|
+
"fields": {
|
|
19611
|
+
"id": {
|
|
19612
|
+
"type": "string"
|
|
19613
|
+
},
|
|
19614
|
+
"title": {
|
|
19615
|
+
"type": "string"
|
|
19592
19616
|
}
|
|
19593
19617
|
}
|
|
19594
19618
|
},
|
|
@@ -25289,6 +25313,30 @@ export const data = {
|
|
|
25289
25313
|
},
|
|
25290
25314
|
"managedBy": {
|
|
25291
25315
|
"type": "string"
|
|
25316
|
+
},
|
|
25317
|
+
"localizedQuickReplies": {
|
|
25318
|
+
"type": "pushwoosh.rpc_v2.line_presets.LineQuickReplies",
|
|
25319
|
+
"mapKeyType": "string"
|
|
25320
|
+
}
|
|
25321
|
+
}
|
|
25322
|
+
},
|
|
25323
|
+
"pushwoosh.rpc_v2.line_presets.LineQuickReplies": {
|
|
25324
|
+
"type": "I",
|
|
25325
|
+
"fields": {
|
|
25326
|
+
"items": {
|
|
25327
|
+
"type": "pushwoosh.rpc_v2.line_presets.LineQuickReply",
|
|
25328
|
+
"array": true
|
|
25329
|
+
}
|
|
25330
|
+
}
|
|
25331
|
+
},
|
|
25332
|
+
"pushwoosh.rpc_v2.line_presets.LineQuickReply": {
|
|
25333
|
+
"type": "I",
|
|
25334
|
+
"fields": {
|
|
25335
|
+
"id": {
|
|
25336
|
+
"type": "string"
|
|
25337
|
+
},
|
|
25338
|
+
"title": {
|
|
25339
|
+
"type": "string"
|
|
25292
25340
|
}
|
|
25293
25341
|
}
|
|
25294
25342
|
},
|
|
@@ -16,6 +16,16 @@ export type FbMessengerPreset = {
|
|
|
16
16
|
managedBy: string;
|
|
17
17
|
created: Date;
|
|
18
18
|
updated: Date;
|
|
19
|
+
/** Reply buttons per language as of the last save; a journey branches on their ids. */
|
|
20
|
+
localizedQuickReplies: Record<string, FbMessengerQuickReplies>;
|
|
21
|
+
};
|
|
22
|
+
export type FbMessengerQuickReplies = {
|
|
23
|
+
items: FbMessengerQuickReply[];
|
|
24
|
+
};
|
|
25
|
+
/** One reply button: the id comes back in the postback when it is tapped, the title is what the person sees. */
|
|
26
|
+
export type FbMessengerQuickReply = {
|
|
27
|
+
id: string;
|
|
28
|
+
title: string;
|
|
19
29
|
};
|
|
20
30
|
export type ListFbMessengerPresetsRequest = {
|
|
21
31
|
/** Application code (XXXXX-XXXXX) whose Messenger presets to list. */
|
package/line_presets.d.ts
CHANGED
|
@@ -83,6 +83,16 @@ export type LinePreset = {
|
|
|
83
83
|
* A managed preset rejects Update and Delete; edit the chat preset instead.
|
|
84
84
|
*/
|
|
85
85
|
managedBy: string;
|
|
86
|
+
/** Output only: reply buttons per language as of the last save; a journey branches on their ids. */
|
|
87
|
+
localizedQuickReplies: Record<string, LineQuickReplies>;
|
|
88
|
+
};
|
|
89
|
+
export type LineQuickReplies = {
|
|
90
|
+
items: LineQuickReply[];
|
|
91
|
+
};
|
|
92
|
+
/** One reply button: the id comes back in the postback when it is tapped, the title is what the person sees. */
|
|
93
|
+
export type LineQuickReply = {
|
|
94
|
+
id: string;
|
|
95
|
+
title: string;
|
|
86
96
|
};
|
|
87
97
|
export type ListLinePresetsResponse = {
|
|
88
98
|
presets: LinePreset[];
|