-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdomain.yml
185 lines (185 loc) · 5.31 KB
/
domain.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
session_config:
session_expiration_time: 0
carry_over_slots_to_new_session: true
intents:
- inform
- greet
- goodbye
- affirm
- deny
- thankyou
- fuel_my_entity
- ixo_entity
entities:
- token
- ixo_amount
- ixo_entity
slots:
account_balance:
type: unfeaturized
initial_value: 1000
agent_id:
type: unfeaturized
amount_transferred:
type: unfeaturized
initial_value: 1000
confirm:
type: unfeaturized
credit_card:
type: unfeaturized
currency:
type: unfeaturized
initial_value: IXO
entity_id:
type: unfeaturized
initial_value: to be specified
fee_amount:
type: unfeaturized
fee_currency:
type: unfeaturized
initial_value: Euros
fee_description:
type: unfeaturized
fee_id:
type: unfeaturized
fee_type:
type: unfeaturized
from_wallet_balance_post:
type: unfeaturized
initial_value: 0
from_wallet_balance_pre:
type: unfeaturized
initial_value: 1000
ixo_amount:
type: unfeaturized
initial_value: 1000
ixo_currency_conversion:
type: unfeaturized
initial_value: 10
ixo_entity:
type: unfeaturized
initial_value: unspecficied entity
ixo_gas_fee:
type: unfeaturized
initial_value: 10
offer_description:
type: unfeaturized
payment_amount:
type: unfeaturized
payment_amount_type:
type: unfeaturized
requested_slot:
type: unfeaturized
start_time:
type: unfeaturized
to_wallet_address:
type: unfeaturized
token:
type: unfeaturized
transaction_fee:
type: unfeaturized
initial_value: 10
transaction_fee_currency:
type: unfeaturized
initial_value: IXO
vendor_name:
type: unfeaturized
responses:
utter_ixo_entity_id:
- text: I understand that you would like to add {ixo_amount) IXO credits to your
{ixo_entity} with ID {entity_id}
utter_currency:
- text: The currency of this transaction is {currency}
utter_add_fuel:
- text: I'm going to take you through a few steps to fuel your {ixo_entity}
utter_wallet_balance_pre:
- text: Your current IXO Credits balance in this wallet is {from_wallet_balance_pre}
utter_wallet_balance_post:
- text: The balance in your wallet after this transaction will be {from_wallet_balance_post}
utter_fee_type:
- text: The fee type for this transacton is {fee_type}
utter_transaction_fee_ixo:
- text: You will be charged a standard transaction fee of {ixo_gas_fee} IXO credits.
This will be included in the total transaction amount).
utter_fuel_credit_amount:
- text: The suggested amount of credits to cover all fees is {ixo_amount} IXO
utter_fuel_credit_refund_policy:
- text: You will be able to withdraw any remaining balance of IXO credits
utter_ixo_currency_conversion:
- text: The equivalent _currency value of your credits will be approximately {ixo_currency_conversion}
utter_fee_description_freehosting:
- text: If you add 1,000 or more IXO credits, you will get 12 months of standard
data hosting included (fair use terms apply).
utter_adding_fuel:
- text: Now carefully check your order details, then I will transfer you to sign
this transaction in your wallet.
utter_ask_confirm_hosting_offer:
- buttons:
- payload: /affirm_offer
title: Confirm
- payload: /deny_offer
title: No thanks
text: Would you like to accept the offer of {offer_description}?
utter_ask_fuel_entity_form_from_wallet_address:
- text: IXO will be sent from the wallet address (which you control)
utter_got_it:
- text: Got it!
utter_ask_fuel_entity_form_to_wallet_address:
- text: The wallet address to which the IXO credits will be sent is {to_wallet_address}
utter_ask_fuel_entity_form_ixo_amount:
- text: Let's go ahead with adding {ixo_amount} IXO credits, or please enter a different
amount
utter_ask_fuel_entity_form_confirm:
- buttons:
- payload: /affirm
title: Confirm
- payload: /deny
title: Cancel
text: So lets confirm that we are loading up {ixo_amount} IXO credits. You will
still have the opportunity to review your order before submitting the transaction
utter_goodbye:
- text: Bye
utter_greet:
- text: Hi, how can I help you?
utter_noworries:
- text: You're welcome :)
utter_fuel_instruction_done:
- text: You have successfully set up an instruction to fuel your {ixo_entity} with
{ixo_amount} IXO credits
utter_instruction_cancelled:
- text: This instruction has been cancelled
utter_ask_continue:
- text: Would you like to continue?
utter_default:
- text: I didn't get that. Please try rephrase
utter_ask_ixo_fuel_amount:
- text: How many IXO credits would you like to add
actions:
- utter_ixo_entity_id
- utter_currency
- utter_add_fuel
- utter_wallet_balance_pre
- utter_wallet_balance_post
- utter_fee_type
- utter_transaction_fee_ixo
- utter_fuel_credit_amount
- utter_fuel_credit_refund_policy
- utter_ixo_currency_conversion
- utter_fee_description_freehosting
- utter_adding_fuel
- utter_ask_confirm_hosting_offer
- utter_ask_fuel_entity_form_from_wallet_address
- utter_got_it
- utter_ask_fuel_entity_form_to_wallet_address
- utter_ask_fuel_entity_form_ixo_amount
- utter_ask_fuel_entity_form_confirm
- utter_goodbye
- utter_greet
- utter_noworries
- utter_fuel_instruction_done
- utter_instruction_cancelled
- utter_ask_continue
- utter_default
- utter_ask_ixo_fuel_amount
forms:
- fuel_entity_form