Class: Roistat::Resources::Speech

Inherits:
Base
  • Object
show all
Defined in:
lib/roistat/resources/speech.rb,
sig/roistat.rbs

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Roistat::Resources::Base

Instance Method Details

#call_add(**body) ⇒ Object

POST /project/speech/call/add

Parameters:

  • (Object)

Returns:

  • (Object)


15
16
17
# File 'lib/roistat/resources/speech.rb', line 15

def call_add(**body)
  client.post("project/speech/call/add", body: body)
end

#call_comment_update(**body) ⇒ Object

POST /project/speech/call/comment/update

Parameters:

  • (Object)

Returns:

  • (Object)


20
21
22
# File 'lib/roistat/resources/speech.rb', line 20

def call_comment_update(**body)
  client.post("project/speech/call/comment/update", body: body)
end

#call_list(**body) ⇒ Object

POST /project/speech/call/list

Parameters:

  • (Object)

Returns:

  • (Object)


5
6
7
# File 'lib/roistat/resources/speech.rb', line 5

def call_list(**body)
  post_optional_body("project/speech/call/list", body)
end

#call_list_export_excel(**body) ⇒ Object

POST /project/speech/call/list/export/excel

Parameters:

  • (Object)

Returns:

  • (Object)


10
11
12
# File 'lib/roistat/resources/speech.rb', line 10

def call_list_export_excel(**body)
  client.post("project/speech/call/list/export/excel", body: body, parse: :binary)
end

#call_operator_update(**body) ⇒ Object

POST /project/speech/call/operator/update

Parameters:

  • (Object)

Returns:

  • (Object)


25
26
27
# File 'lib/roistat/resources/speech.rb', line 25

def call_operator_update(**body)
  client.post("project/speech/call/operator/update", body: body)
end

#call_transcription_list(**body) ⇒ Object

POST /project/speech/call/transcription/list

Parameters:

  • (Object)

Returns:

  • (Object)


30
31
32
# File 'lib/roistat/resources/speech.rb', line 30

def call_transcription_list(**body)
  post_optional_body("project/speech/call/transcription/list", body)
end

#dictionary_custom_create(**body) ⇒ Object

POST /project/speech/dictionary/custom/create

Parameters:

  • (Object)

Returns:

  • (Object)


40
41
42
# File 'lib/roistat/resources/speech.rb', line 40

def dictionary_custom_create(**body)
  client.post("project/speech/dictionary/custom/create", body: body)
end

#dictionary_custom_delete(**body) ⇒ Object

POST /project/speech/dictionary/custom/delete

Parameters:

  • (Object)

Returns:

  • (Object)


50
51
52
# File 'lib/roistat/resources/speech.rb', line 50

def dictionary_custom_delete(**body)
  client.post("project/speech/dictionary/custom/delete", body: body)
end

#dictionary_custom_phrase_list(**body) ⇒ Object

POST /project/speech/dictionary/custom/phrase/list

Parameters:

  • (Object)

Returns:

  • (Object)


55
56
57
# File 'lib/roistat/resources/speech.rb', line 55

def dictionary_custom_phrase_list(**body)
  post_optional_body("project/speech/dictionary/custom/phrase/list", body)
end

#dictionary_custom_update(**body) ⇒ Object

POST /project/speech/dictionary/custom/update

Parameters:

  • (Object)

Returns:

  • (Object)


45
46
47
# File 'lib/roistat/resources/speech.rb', line 45

def dictionary_custom_update(**body)
  client.post("project/speech/dictionary/custom/update", body: body)
end

#dictionary_list(**body) ⇒ Object

POST /project/speech/dictionary/list

Parameters:

  • (Object)

Returns:

  • (Object)


35
36
37
# File 'lib/roistat/resources/speech.rb', line 35

def dictionary_list(**body)
  post_optional_body("project/speech/dictionary/list", body)
end

#settings_list(**body) ⇒ Object

POST /project/speech/settings/list

Parameters:

  • (Object)

Returns:

  • (Object)


60
61
62
# File 'lib/roistat/resources/speech.rb', line 60

def settings_list(**body)
  post_optional_body("project/speech/settings/list", body)
end

#settings_update(**body) ⇒ Object

POST /project/speech/settings/update

Parameters:

  • (Object)

Returns:

  • (Object)


65
66
67
# File 'lib/roistat/resources/speech.rb', line 65

def settings_update(**body)
  client.post("project/speech/settings/update", body: body)
end