memori-client 0.1.0 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/memori_client/backend/resources.rb +3 -0
- data/lib/memori_client/backend/v1/asset.rb +51 -25
- data/lib/memori_client/backend/v2/action_log.rb +19 -7
- data/lib/memori_client/backend/v2/analysis.rb +54 -0
- data/lib/memori_client/backend/v2/asset.rb +79 -23
- data/lib/memori_client/backend/v2/badge.rb +34 -17
- data/lib/memori_client/backend/v2/completion_config.rb +202 -0
- data/lib/memori_client/backend/v2/consumption_log.rb +31 -10
- data/lib/memori_client/backend/v2/import_export.rb +246 -78
- data/lib/memori_client/backend/v2/integration.rb +95 -47
- data/lib/memori_client/backend/v2/invitation.rb +129 -59
- data/lib/memori_client/backend/v2/memori.rb +652 -313
- data/lib/memori_client/backend/v2/memori_list.rb +65 -31
- data/lib/memori_client/backend/v2/notification.rb +13 -7
- data/lib/memori_client/backend/v2/process.rb +70 -0
- data/lib/memori_client/backend/v2/tenant.rb +192 -102
- data/lib/memori_client/backend/v2/user.rb +1058 -547
- data/lib/memori_client/engine/resources.rb +4 -3
- data/lib/memori_client/engine/v2/chat_log.rb +51 -13
- data/lib/memori_client/engine/v2/completion_log.rb +1 -1
- data/lib/memori_client/engine/v2/context_var.rb +20 -10
- data/lib/memori_client/engine/v2/correlation_pair.rb +48 -23
- data/lib/memori_client/engine/v2/custom_dictionary.rb +76 -37
- data/lib/memori_client/engine/v2/dialog.rb +107 -57
- data/lib/memori_client/engine/v2/event_log.rb +54 -13
- data/lib/memori_client/engine/v2/expert_reference.rb +176 -0
- data/lib/memori_client/engine/v2/function.rb +220 -0
- data/lib/memori_client/engine/v2/intent.rb +175 -85
- data/lib/memori_client/engine/v2/localization_key.rb +72 -36
- data/lib/memori_client/engine/v2/medium.rb +92 -43
- data/lib/memori_client/engine/v2/memori.rb +7 -1
- data/lib/memori_client/engine/v2/memory.rb +343 -91
- data/lib/memori_client/engine/v2/nlp.rb +65 -128
- data/lib/memori_client/engine/v2/person.rb +88 -43
- data/lib/memori_client/engine/v2/prompted_question.rb +1 -1
- data/lib/memori_client/engine/v2/search.rb +240 -52
- data/lib/memori_client/engine/v2/session.rb +41 -22
- data/lib/memori_client/engine/v2/stat.rb +11 -42
- data/lib/memori_client/engine/v2/topic.rb +88 -0
- data/lib/memori_client/engine/v2/unanswered_question.rb +54 -26
- data/lib/memori_client/engine/v2/user.rb +152 -0
- data/lib/memori_client/engine/v2/web_hook.rb +80 -34
- metadata +9 -2
@@ -1,20 +1,21 @@
|
|
1
1
|
require 'memori_client/engine/v2/chat_log.rb'
|
2
|
-
require 'memori_client/engine/v2/completion_log.rb'
|
3
2
|
require 'memori_client/engine/v2/context_var.rb'
|
4
3
|
require 'memori_client/engine/v2/correlation_pair.rb'
|
5
4
|
require 'memori_client/engine/v2/custom_dictionary.rb'
|
6
5
|
require 'memori_client/engine/v2/dialog.rb'
|
7
6
|
require 'memori_client/engine/v2/event_log.rb'
|
7
|
+
require 'memori_client/engine/v2/expert_reference.rb'
|
8
|
+
require 'memori_client/engine/v2/function.rb'
|
8
9
|
require 'memori_client/engine/v2/intent.rb'
|
9
10
|
require 'memori_client/engine/v2/localization_key.rb'
|
10
11
|
require 'memori_client/engine/v2/medium.rb'
|
11
|
-
require 'memori_client/engine/v2/memori.rb'
|
12
12
|
require 'memori_client/engine/v2/memory.rb'
|
13
13
|
require 'memori_client/engine/v2/nlp.rb'
|
14
14
|
require 'memori_client/engine/v2/person.rb'
|
15
|
-
require 'memori_client/engine/v2/prompted_question.rb'
|
16
15
|
require 'memori_client/engine/v2/search.rb'
|
17
16
|
require 'memori_client/engine/v2/session.rb'
|
18
17
|
require 'memori_client/engine/v2/stat.rb'
|
18
|
+
require 'memori_client/engine/v2/topic.rb'
|
19
19
|
require 'memori_client/engine/v2/unanswered_question.rb'
|
20
|
+
require 'memori_client/engine/v2/user.rb'
|
20
21
|
require 'memori_client/engine/v2/web_hook.rb'
|
@@ -1,49 +1,87 @@
|
|
1
|
-
# Generated on
|
1
|
+
# Generated on 2025-01-27 16:56:16 +0000
|
2
2
|
class MemoriClient::Engine::V2::ChatLog < MemoriClient::Engine::Resource
|
3
|
-
# GET /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}
|
3
|
+
# `GET /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}`
|
4
|
+
#
|
4
5
|
# Gets the Chat Log objects for the Memori of the current session record in a specific date interval.
|
5
|
-
#
|
6
|
+
#
|
7
|
+
#
|
6
8
|
# @param [string] strSessionID The session ID. required
|
9
|
+
#
|
7
10
|
# @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
11
|
+
#
|
8
12
|
# @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
9
|
-
#
|
13
|
+
#
|
14
|
+
# `list_memori_chat_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)`
|
10
15
|
def self.list_memori_chat_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)
|
11
16
|
args = build_arguments(binding)
|
12
17
|
|
13
18
|
exec_http_request('get', '/memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}', **args)
|
14
19
|
end
|
15
20
|
|
16
|
-
# DELETE /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}
|
21
|
+
# `DELETE /memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}`
|
22
|
+
#
|
17
23
|
# Removes all Chat Log objects in a specific date interval.
|
18
|
-
#
|
24
|
+
#
|
25
|
+
#
|
19
26
|
# @param [string] strSessionID The session ID. required
|
27
|
+
#
|
20
28
|
# @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
29
|
+
#
|
21
30
|
# @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
22
|
-
#
|
31
|
+
#
|
32
|
+
# `remove_chat_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)`
|
23
33
|
def self.remove_chat_logs(strSessionID:, strDateFrom: nil, strDateTo: nil)
|
24
34
|
args = build_arguments(binding)
|
25
35
|
|
26
36
|
exec_http_request('delete', '/memori/v2/ChatLogs/{strSessionID}/{strDateFrom}/{strDateTo}', **args)
|
27
37
|
end
|
28
38
|
|
29
|
-
# GET /memori/v2/SessionChatLogs/{strSessionID}/{strChatLogSessionID}
|
39
|
+
# `GET /memori/v2/SessionChatLogs/{strSessionID}/{strChatLogSessionID}`
|
40
|
+
#
|
30
41
|
# Gets the Chat Log objects for the Memori of the current session recorded during a specific other session.
|
31
|
-
#
|
42
|
+
#
|
43
|
+
#
|
32
44
|
# @param [string] strSessionID The session ID. required
|
45
|
+
#
|
33
46
|
# @param [string] strChatLogSessionID The session ID for which Chat Log objects are being searched. required
|
34
|
-
#
|
47
|
+
#
|
48
|
+
# `list_session_chat_logs(strSessionID:, strChatLogSessionID:)`
|
35
49
|
def self.list_session_chat_logs(strSessionID:, strChatLogSessionID:)
|
36
50
|
args = build_arguments(binding)
|
37
51
|
|
38
52
|
exec_http_request('get', '/memori/v2/SessionChatLogs/{strSessionID}/{strChatLogSessionID}', **args)
|
39
53
|
end
|
40
54
|
|
41
|
-
#
|
55
|
+
# `GET /memori/v2/UserChatLogs/{strSessionID}/{strUserID}/{strDateFrom}/{strDateTo}`
|
56
|
+
#
|
57
|
+
# Gets the Chat Log objects for the Memori of the current session created by a specific User.
|
58
|
+
#
|
59
|
+
#
|
60
|
+
# @param [string] strSessionID The session ID. required
|
61
|
+
#
|
62
|
+
# @param [string] strUserID The user ID for which Chat Log objects are being searched. required
|
63
|
+
#
|
64
|
+
# @param [string] strDateFrom The optional begin of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
65
|
+
#
|
66
|
+
# @param [string] strDateTo The optional end of the date interval, in UTC time, in the format yyyyMMddHHmmssfff. optional
|
67
|
+
#
|
68
|
+
# `list_user_chat_logs(strSessionID:, strUserID:, strDateFrom: nil, strDateTo: nil)`
|
69
|
+
def self.list_user_chat_logs(strSessionID:, strUserID:, strDateFrom: nil, strDateTo: nil)
|
70
|
+
args = build_arguments(binding)
|
71
|
+
|
72
|
+
exec_http_request('get', '/memori/v2/UserChatLogs/{strSessionID}/{strUserID}/{strDateFrom}/{strDateTo}', **args)
|
73
|
+
end
|
74
|
+
|
75
|
+
# `DELETE /memori/v2/ChatLog/{strSessionID}/{strChatLogID}`
|
76
|
+
#
|
42
77
|
# Removes an existing Chat Log object.
|
43
|
-
#
|
78
|
+
#
|
79
|
+
#
|
44
80
|
# @param [string] strSessionID The session ID. required
|
81
|
+
#
|
45
82
|
# @param [string] strChatLogID The Chat Log object ID. required
|
46
|
-
#
|
83
|
+
#
|
84
|
+
# `remove_chat_log(strSessionID:, strChatLogID:)`
|
47
85
|
def self.remove_chat_log(strSessionID:, strChatLogID:)
|
48
86
|
args = build_arguments(binding)
|
49
87
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Generated on
|
1
|
+
# Generated on 2024-01-18 17:37:07 +0000
|
2
2
|
class MemoriClient::Engine::V2::CompletionLog < MemoriClient::Engine::Resource
|
3
3
|
# GET /memori/v2/CompletionLogs/{strMemoriID}/{strDateFrom}/{strDateTo}
|
4
4
|
# Gets the Completion Log objects for the specified Memori in a specific date interval.
|
@@ -1,33 +1,43 @@
|
|
1
|
-
# Generated on
|
1
|
+
# Generated on 2025-01-27 16:56:16 +0000
|
2
2
|
class MemoriClient::Engine::V2::ContextVar < MemoriClient::Engine::Resource
|
3
|
-
# GET /memori/v2/ContextVarNames/{strSessionID}
|
3
|
+
# `GET /memori/v2/ContextVarNames/{strSessionID}`
|
4
|
+
#
|
4
5
|
# Gets a list of currently known context variable names.
|
5
|
-
#
|
6
|
+
#
|
7
|
+
#
|
6
8
|
# @param [string] strSessionID The session ID. required
|
7
|
-
#
|
9
|
+
#
|
10
|
+
# `get_context_var_names(strSessionID:)`
|
8
11
|
def self.get_context_var_names(strSessionID:)
|
9
12
|
args = build_arguments(binding)
|
10
13
|
|
11
14
|
exec_http_request('get', '/memori/v2/ContextVarNames/{strSessionID}', **args)
|
12
15
|
end
|
13
16
|
|
14
|
-
# GET /memori/v2/ContextVarValues/{strSessionID}/{contextVarName}
|
17
|
+
# `GET /memori/v2/ContextVarValues/{strSessionID}/{contextVarName}`
|
18
|
+
#
|
15
19
|
# Gets a list of currently known values for a named context variable.
|
16
|
-
#
|
20
|
+
#
|
21
|
+
#
|
17
22
|
# @param [string] strSessionID The session ID. required
|
23
|
+
#
|
18
24
|
# @param [string] contextVarName The name of the context variable. required
|
19
|
-
#
|
25
|
+
#
|
26
|
+
# `get_context_var_values(strSessionID:, contextVarName:)`
|
20
27
|
def self.get_context_var_values(strSessionID:, contextVarName:)
|
21
28
|
args = build_arguments(binding)
|
22
29
|
|
23
30
|
exec_http_request('get', '/memori/v2/ContextVarValues/{strSessionID}/{contextVarName}', **args)
|
24
31
|
end
|
25
32
|
|
26
|
-
# GET /memori/v2/ContextVars/{strSessionID}
|
33
|
+
# `GET /memori/v2/ContextVars/{strSessionID}`
|
34
|
+
#
|
27
35
|
# Gets a dictionary of all the known values of known context variables.
|
28
|
-
#
|
36
|
+
#
|
37
|
+
#
|
29
38
|
# @param [string] strSessionID The session ID. required
|
30
|
-
#
|
39
|
+
#
|
40
|
+
# `get_context_vars(strSessionID:)`
|
31
41
|
def self.get_context_vars(strSessionID:)
|
32
42
|
args = build_arguments(binding)
|
33
43
|
|
@@ -1,44 +1,65 @@
|
|
1
|
-
# Generated on
|
1
|
+
# Generated on 2025-01-27 16:56:16 +0000
|
2
2
|
class MemoriClient::Engine::V2::CorrelationPair < MemoriClient::Engine::Resource
|
3
|
-
# GET /memori/v2/CorrelationPairs/{strSessionID}
|
3
|
+
# `GET /memori/v2/CorrelationPairs/{strSessionID}`
|
4
|
+
#
|
4
5
|
# Lists all Correlation Pair objects.
|
5
|
-
#
|
6
|
+
#
|
7
|
+
#
|
6
8
|
# @param [string] strSessionID The session ID. required
|
7
|
-
#
|
9
|
+
#
|
10
|
+
# `list_correlation_pairs(strSessionID:)`
|
8
11
|
def self.list_correlation_pairs(strSessionID:)
|
9
12
|
args = build_arguments(binding)
|
10
13
|
|
11
14
|
exec_http_request('get', '/memori/v2/CorrelationPairs/{strSessionID}', **args)
|
12
15
|
end
|
13
16
|
|
14
|
-
# GET /memori/v2/CorrelationPairs/{strSessionID}/{from}/{howMany}
|
17
|
+
# `GET /memori/v2/CorrelationPairs/{strSessionID}/{from}/{howMany}`
|
18
|
+
#
|
15
19
|
# Lists Correlation Pair objects with pagination.
|
16
|
-
#
|
20
|
+
#
|
21
|
+
#
|
17
22
|
# @param [string] strSessionID The session ID. required
|
23
|
+
#
|
18
24
|
# @param [integer] from The 0-based index of the first Correlation Pair object to list. required
|
25
|
+
#
|
19
26
|
# @param [integer] howMany The number of the Correlation Pair objects to list. required
|
20
|
-
#
|
27
|
+
#
|
28
|
+
# `list_correlation_pairs_paginated(strSessionID:, from:, howMany:)`
|
21
29
|
def self.list_correlation_pairs_paginated(strSessionID:, from:, howMany:)
|
22
30
|
args = build_arguments(binding)
|
23
31
|
|
24
32
|
exec_http_request('get', '/memori/v2/CorrelationPairs/{strSessionID}/{from}/{howMany}', **args)
|
25
33
|
end
|
26
34
|
|
27
|
-
# POST /memori/v2/CorrelationPair/{strSessionID}
|
35
|
+
# `POST /memori/v2/CorrelationPair/{strSessionID}`
|
36
|
+
#
|
28
37
|
# Adds a new Correlation Pair object.
|
29
|
-
#
|
38
|
+
#
|
39
|
+
#
|
30
40
|
# @param [string] strSessionID The session ID. required
|
31
|
-
#
|
32
|
-
# @param [
|
33
|
-
#
|
34
|
-
# @param [
|
35
|
-
#
|
36
|
-
# @param [
|
37
|
-
#
|
38
|
-
# @param [
|
39
|
-
#
|
40
|
-
# @param [
|
41
|
-
#
|
41
|
+
#
|
42
|
+
# @param [Hash] payload request payload. optional
|
43
|
+
#
|
44
|
+
# @param [String] payload.pairID . optional
|
45
|
+
#
|
46
|
+
# @param [String] payload.text1 . optional
|
47
|
+
#
|
48
|
+
# @param [String] payload.text2 . optional
|
49
|
+
#
|
50
|
+
# @param [Boolean] payload.correlated . optional
|
51
|
+
#
|
52
|
+
# @param [Integer] payload.occurrences . optional
|
53
|
+
#
|
54
|
+
# @param [String] payload.creationTimestamp . optional
|
55
|
+
#
|
56
|
+
# @param [String] payload.creationSessionID . optional
|
57
|
+
#
|
58
|
+
# @param [String] payload.lastChangeTimestamp . optional
|
59
|
+
#
|
60
|
+
# @param [String] payload.lastChangeSessionID . optional
|
61
|
+
#
|
62
|
+
# `add_correlation_pair(strSessionID:, payload: {})`
|
42
63
|
def self.add_correlation_pair(strSessionID:, payload: {})
|
43
64
|
args = build_arguments(binding)
|
44
65
|
payload_keys = [
|
@@ -58,12 +79,16 @@ class MemoriClient::Engine::V2::CorrelationPair < MemoriClient::Engine::Resource
|
|
58
79
|
exec_http_request('post', '/memori/v2/CorrelationPair/{strSessionID}', **args)
|
59
80
|
end
|
60
81
|
|
61
|
-
# DELETE /memori/v2/CorrelationPair/{strSessionID}/{strPairID}
|
82
|
+
# `DELETE /memori/v2/CorrelationPair/{strSessionID}/{strPairID}`
|
83
|
+
#
|
62
84
|
# Removes an existing Correlation Pair object.
|
63
|
-
#
|
85
|
+
#
|
86
|
+
#
|
64
87
|
# @param [string] strSessionID The session ID. required
|
88
|
+
#
|
65
89
|
# @param [string] strPairID The Correlation Pair object ID. required
|
66
|
-
#
|
90
|
+
#
|
91
|
+
# `remove_correlation_pair(strSessionID:, strPairID:)`
|
67
92
|
def self.remove_correlation_pair(strSessionID:, strPairID:)
|
68
93
|
args = build_arguments(binding)
|
69
94
|
|
@@ -1,55 +1,79 @@
|
|
1
|
-
# Generated on
|
1
|
+
# Generated on 2025-01-27 16:56:16 +0000
|
2
2
|
class MemoriClient::Engine::V2::CustomDictionary < MemoriClient::Engine::Resource
|
3
|
-
# GET /memori/v2/CustomWords/{strSessionID}
|
3
|
+
# `GET /memori/v2/CustomWords/{strSessionID}`
|
4
|
+
#
|
4
5
|
# Lists all Custom Word objects.
|
5
|
-
#
|
6
|
+
#
|
7
|
+
#
|
6
8
|
# @param [string] strSessionID The session ID. required
|
7
|
-
#
|
9
|
+
#
|
10
|
+
# `list_custom_words(strSessionID:)`
|
8
11
|
def self.list_custom_words(strSessionID:)
|
9
12
|
args = build_arguments(binding)
|
10
13
|
|
11
14
|
exec_http_request('get', '/memori/v2/CustomWords/{strSessionID}', **args)
|
12
15
|
end
|
13
16
|
|
14
|
-
# GET /memori/v2/CustomWords/{strSessionID}/{from}/{howMany}
|
17
|
+
# `GET /memori/v2/CustomWords/{strSessionID}/{from}/{howMany}`
|
18
|
+
#
|
15
19
|
# Lists Custom Word objects with pagination.
|
16
|
-
#
|
20
|
+
#
|
21
|
+
#
|
17
22
|
# @param [string] strSessionID The session ID. required
|
18
|
-
#
|
19
|
-
# @param [integer]
|
20
|
-
#
|
23
|
+
#
|
24
|
+
# @param [integer] from The 0-based index of the first Custom Word to list. required
|
25
|
+
#
|
26
|
+
# @param [integer] howMany The number of the Custom Word to list. required
|
27
|
+
#
|
28
|
+
# `list_custom_words_paginated(strSessionID:, from:, howMany:)`
|
21
29
|
def self.list_custom_words_paginated(strSessionID:, from:, howMany:)
|
22
30
|
args = build_arguments(binding)
|
23
31
|
|
24
32
|
exec_http_request('get', '/memori/v2/CustomWords/{strSessionID}/{from}/{howMany}', **args)
|
25
33
|
end
|
26
34
|
|
27
|
-
# GET /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}
|
35
|
+
# `GET /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}`
|
36
|
+
#
|
28
37
|
# Gets the details of a Custom Word object.
|
29
|
-
#
|
38
|
+
#
|
39
|
+
#
|
30
40
|
# @param [string] strSessionID The session ID. required
|
41
|
+
#
|
31
42
|
# @param [string] strCustomWordID The Custom Word object ID. required
|
32
|
-
#
|
43
|
+
#
|
44
|
+
# `get_custom_word(strSessionID:, strCustomWordID:)`
|
33
45
|
def self.get_custom_word(strSessionID:, strCustomWordID:)
|
34
46
|
args = build_arguments(binding)
|
35
47
|
|
36
48
|
exec_http_request('get', '/memori/v2/CustomWord/{strSessionID}/{strCustomWordID}', **args)
|
37
49
|
end
|
38
50
|
|
39
|
-
# PATCH /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}
|
51
|
+
# `PATCH /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}`
|
52
|
+
#
|
40
53
|
# Updates an existing Custom Word object.
|
41
|
-
#
|
54
|
+
#
|
55
|
+
#
|
42
56
|
# @param [string] strSessionID The session ID. required
|
57
|
+
#
|
43
58
|
# @param [string] strCustomWordID The Custom Word object ID. required
|
44
|
-
#
|
45
|
-
# @param [
|
46
|
-
#
|
47
|
-
# @param [
|
48
|
-
#
|
49
|
-
# @param [
|
50
|
-
#
|
51
|
-
# @param [
|
52
|
-
#
|
59
|
+
#
|
60
|
+
# @param [Hash] payload request payload. optional
|
61
|
+
#
|
62
|
+
# @param [String] payload.customWordID . optional
|
63
|
+
#
|
64
|
+
# @param [String] payload.word . optional
|
65
|
+
#
|
66
|
+
# @param [String] payload.definition . optional
|
67
|
+
#
|
68
|
+
# @param [String] payload.creationTimestamp . optional
|
69
|
+
#
|
70
|
+
# @param [String] payload.creationSessionID . optional
|
71
|
+
#
|
72
|
+
# @param [String] payload.lastChangeTimestamp . optional
|
73
|
+
#
|
74
|
+
# @param [String] payload.lastChangeSessionID . optional
|
75
|
+
#
|
76
|
+
# `update_custom_word(strSessionID:, strCustomWordID:, payload: {})`
|
53
77
|
def self.update_custom_word(strSessionID:, strCustomWordID:, payload: {})
|
54
78
|
args = build_arguments(binding)
|
55
79
|
payload_keys = [
|
@@ -67,31 +91,46 @@ class MemoriClient::Engine::V2::CustomDictionary < MemoriClient::Engine::Resourc
|
|
67
91
|
exec_http_request('patch', '/memori/v2/CustomWord/{strSessionID}/{strCustomWordID}', **args)
|
68
92
|
end
|
69
93
|
|
70
|
-
# DELETE /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}
|
94
|
+
# `DELETE /memori/v2/CustomWord/{strSessionID}/{strCustomWordID}`
|
95
|
+
#
|
71
96
|
# Removes an existing Custom Word object.
|
72
|
-
#
|
97
|
+
#
|
98
|
+
#
|
73
99
|
# @param [string] strSessionID The session ID. required
|
100
|
+
#
|
74
101
|
# @param [string] strCustomWordID The Custom Word object ID. required
|
75
|
-
#
|
102
|
+
#
|
103
|
+
# `remove_custom_word(strSessionID:, strCustomWordID:)`
|
76
104
|
def self.remove_custom_word(strSessionID:, strCustomWordID:)
|
77
105
|
args = build_arguments(binding)
|
78
106
|
|
79
107
|
exec_http_request('delete', '/memori/v2/CustomWord/{strSessionID}/{strCustomWordID}', **args)
|
80
108
|
end
|
81
109
|
|
82
|
-
# POST /memori/v2/CustomWord/{strSessionID}
|
110
|
+
# `POST /memori/v2/CustomWord/{strSessionID}`
|
111
|
+
#
|
83
112
|
# Adds a new Custom Word object.
|
84
|
-
#
|
113
|
+
#
|
114
|
+
#
|
85
115
|
# @param [string] strSessionID The session ID. required
|
86
|
-
#
|
87
|
-
# @param [
|
88
|
-
#
|
89
|
-
# @param [
|
90
|
-
#
|
91
|
-
# @param [
|
92
|
-
#
|
93
|
-
# @param [
|
94
|
-
#
|
116
|
+
#
|
117
|
+
# @param [Hash] payload request payload. optional
|
118
|
+
#
|
119
|
+
# @param [String] payload.customWordID . optional
|
120
|
+
#
|
121
|
+
# @param [String] payload.word . optional
|
122
|
+
#
|
123
|
+
# @param [String] payload.definition . optional
|
124
|
+
#
|
125
|
+
# @param [String] payload.creationTimestamp . optional
|
126
|
+
#
|
127
|
+
# @param [String] payload.creationSessionID . optional
|
128
|
+
#
|
129
|
+
# @param [String] payload.lastChangeTimestamp . optional
|
130
|
+
#
|
131
|
+
# @param [String] payload.lastChangeSessionID . optional
|
132
|
+
#
|
133
|
+
# `add_custom_word(strSessionID:, payload: {})`
|
95
134
|
def self.add_custom_word(strSessionID:, payload: {})
|
96
135
|
args = build_arguments(binding)
|
97
136
|
payload_keys = [
|