Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
VoicegainGithub authored and DrJJ committed Apr 3, 2024
1 parent 1527acd commit 542ecbe
Show file tree
Hide file tree
Showing 7 changed files with 419 additions and 7 deletions.
2 changes: 2 additions & 0 deletions voicegain_speech/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@
from voicegain_speech.models.keyword_spot_group import KeywordSpotGroup
from voicegain_speech.models.keyword_spot_item import KeywordSpotItem
from voicegain_speech.models.language import Language
from voicegain_speech.models.logic import Logic
from voicegain_speech.models.logic_all_of import LogicAllOf
from voicegain_speech.models.mrcp_version import MRCPVersion
from voicegain_speech.models.mrc_pv1_asr_settings import MRCPv1AsrSettings
from voicegain_speech.models.mrc_pv2_asr_settings import MRCPv2AsrSettings
Expand Down
2 changes: 2 additions & 0 deletions voicegain_speech/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@
from voicegain_speech.models.keyword_spot_group import KeywordSpotGroup
from voicegain_speech.models.keyword_spot_item import KeywordSpotItem
from voicegain_speech.models.language import Language
from voicegain_speech.models.logic import Logic
from voicegain_speech.models.logic_all_of import LogicAllOf
from voicegain_speech.models.mrcp_version import MRCPVersion
from voicegain_speech.models.mrc_pv1_asr_settings import MRCPv1AsrSettings
from voicegain_speech.models.mrc_pv2_asr_settings import MRCPv2AsrSettings
Expand Down
5 changes: 3 additions & 2 deletions voicegain_speech/models/aivr_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class AIVREvent(object):
'error': 'Error',
'hangup': 'Hangup',
'disconnect': 'Disconnect',
'logic': 'Logic',
'input': 'Input'
}

Expand Down Expand Up @@ -133,7 +134,7 @@ def logic_type(self, logic_type):
def sequence(self):
"""Gets the sequence of this AIVREvent. # noqa: E501
Sequence of the event. Events sequences are represented as strings because there may be more than one event during a turn.</br> For example, on turn number 2 we may have two events identified with sequences: 2.1 and 2.2</br> If there is just one event, the sequence will not have the `.` and the number after it. # noqa: E501
Sequence of the event. Events sequences are represented as strings because there may be more than one event during a turn.</br> For example, on turn number 2 we may have two events identified with sequences: 2.1 and 2.2</br> If there is just one event, the sequence will not have the `.` and the number after it.</br> Event of type logic will have sequence number with zero, e.g. 1.0, 2.0, etc. (the .0 is reserved for logic events)</br> # noqa: E501
:return: The sequence of this AIVREvent. # noqa: E501
:rtype: str
Expand All @@ -144,7 +145,7 @@ def sequence(self):
def sequence(self, sequence):
"""Sets the sequence of this AIVREvent.
Sequence of the event. Events sequences are represented as strings because there may be more than one event during a turn.</br> For example, on turn number 2 we may have two events identified with sequences: 2.1 and 2.2</br> If there is just one event, the sequence will not have the `.` and the number after it. # noqa: E501
Sequence of the event. Events sequences are represented as strings because there may be more than one event during a turn.</br> For example, on turn number 2 we may have two events identified with sequences: 2.1 and 2.2</br> If there is just one event, the sequence will not have the `.` and the number after it.</br> Event of type logic will have sequence number with zero, e.g. 1.0, 2.0, etc. (the .0 is reserved for logic events)</br> # noqa: E501
:param sequence: The sequence of this AIVREvent. # noqa: E501
:type: str
Expand Down
3 changes: 2 additions & 1 deletion voicegain_speech/models/aivr_event_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ class AIVREventType(object):
"""
allowed enum values
"""
LOGIC = "logic"
OUTPUT = "output"
INPUT = "input"
HANGUP = "hangup"
DISCONNECT = "disconnect"
TRANSFER = "transfer"
ERROR = "error"

allowable_values = [OUTPUT, INPUT, HANGUP, DISCONNECT, TRANSFER, ERROR] # noqa: E501
allowable_values = [LOGIC, OUTPUT, INPUT, HANGUP, DISCONNECT, TRANSFER, ERROR] # noqa: E501

"""
Attributes:
Expand Down
8 changes: 4 additions & 4 deletions voicegain_speech/models/aivr_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, callback_url=None, callback_urls=None, media=None, type=None,
def callback_url(self):
"""Gets the callback_url of this AIVRLogic. # noqa: E501
Callback URL. If not provided then will run a basic test LUA script to verify connectivity. # noqa: E501
Callback URL. This is deprecated and if provided together with `callbackUrls` it will be ignored. # noqa: E501
:return: The callback_url of this AIVRLogic. # noqa: E501
:rtype: str
Expand All @@ -88,7 +88,7 @@ def callback_url(self):
def callback_url(self, callback_url):
"""Sets the callback_url of this AIVRLogic.
Callback URL. If not provided then will run a basic test LUA script to verify connectivity. # noqa: E501
Callback URL. This is deprecated and if provided together with `callbackUrls` it will be ignored. # noqa: E501
:param callback_url: The callback_url of this AIVRLogic. # noqa: E501
:type: str
Expand Down Expand Up @@ -165,7 +165,7 @@ def type(self, type):
def user_app_data(self):
"""Gets the user_app_data of this AIVRLogic. # noqa: E501
(optional) App specific data that was associated in the AIVR portal with this AIVR number/application.</br> It is a string that is not interpreted by the AIVR and only passed to Customer dialog engine. # noqa: E501
(optional) App specific data that was associated in the AIVR portal with this AIVR number/application.</br> It is a string that is not interpreted by the AIVR and only passed to Customer dialog engine.</br> This is deprecated and if provided together with `callbackUrls` it will be ignored. # noqa: E501
:return: The user_app_data of this AIVRLogic. # noqa: E501
:rtype: str
Expand All @@ -176,7 +176,7 @@ def user_app_data(self):
def user_app_data(self, user_app_data):
"""Sets the user_app_data of this AIVRLogic.
(optional) App specific data that was associated in the AIVR portal with this AIVR number/application.</br> It is a string that is not interpreted by the AIVR and only passed to Customer dialog engine. # noqa: E501
(optional) App specific data that was associated in the AIVR portal with this AIVR number/application.</br> It is a string that is not interpreted by the AIVR and only passed to Customer dialog engine.</br> This is deprecated and if provided together with `callbackUrls` it will be ignored. # noqa: E501
:param user_app_data: The user_app_data of this AIVRLogic. # noqa: E501
:type: str
Expand Down
203 changes: 203 additions & 0 deletions voicegain_speech/models/logic.py

Large diffs are not rendered by default.

203 changes: 203 additions & 0 deletions voicegain_speech/models/logic_all_of.py

Large diffs are not rendered by default.

0 comments on commit 542ecbe

Please sign in to comment.