@yoctol/kurator
Version:
119 lines (118 loc) • 3.06 kB
JavaScript
module.exports = {
version: '0.6.4',
actions: {
'1': {
id: '1',
projectId: '208304842723038640',
name: '測試',
createdAt: '2018-06-13T09:44:44.114Z',
updatedAt: '2018-07-10T03:56:13.115Z',
deletedAt: null,
triggers: [
{
id: '227698568754894271',
type: 'REGEXP',
compositeActionId: '1',
createdAt: '2018-07-10T03:56:24.611Z',
updatedAt: '2018-07-10T03:56:24.611Z',
deletedAt: null,
regexp: {
id: '304704176301020767',
pattern: 'abc',
flags: 'i',
createdAt: '2018-10-24T09:52:48.377Z',
updatedAt: '2018-10-24T09:52:56.299Z',
deletedAt: null,
triggerId: '304704150547994206',
},
},
],
actions: [
{
id: '209644852630001119',
order: 1,
type: 'text',
descriptor: {
text: '基本的',
buttons: [],
},
actionableId: '208304941675058610',
actionableType: 'composite_actions',
platform: 'messenger',
createdAt: '2018-06-15T06:06:53.940Z',
updatedAt: '2018-07-10T03:56:13.100Z',
deletedAt: null,
},
],
},
'269736288330978969': {
id: '269736288330978969',
projectId: '209754680127919592',
name: '未綁定-活動/消息',
createdAt: '2018-09-06T03:57:51.294Z',
updatedAt: '2018-09-06T03:58:03.400Z',
deletedAt: null,
actionGroupId: '211379736947988330',
broadcastId: null,
triggers: [],
actions: [
{
id: '269736329292551834',
order: 1,
type: 'text',
descriptor: {
text: '未綁定的活動消息',
buttons: [],
},
actionableId: '269736288330978969',
actionableType: 'composite_actions',
platform: 'messenger',
createdAt: '2018-09-06T03:57:56.171Z',
updatedAt: '2018-09-06T03:58:03.384Z',
deletedAt: null,
actions: [],
},
],
},
},
persistentMenu: {
id: 'td5NmLqV_o2',
items: [
{
id: 'IS3izvIAv',
url: '',
type: 'postback',
items: null,
title: '回到主選單',
postback: '246137674417575378',
},
{
id: 'ndm-uKjka',
type: 'web_url',
title: 'Yoctol',
items: null,
postback: '',
url: 'https://yoctol.com',
webviewSetting: {
extension: true,
heightRatio: 'tall',
},
},
{
id: 'ndm-uKjka',
url:
'https://sns.tstartel.com/SNSWEB/fb/callback?ru=https://www.tstartel.com',
type: 'web_url',
items: null,
title: '個人化服務申請',
postback: '',
webviewSetting: {
extension: true,
heightRatio: 'full',
},
},
],
textfield: true,
},
greetingText: 'hi',
};